What algorithm is used in the Debayer IP?

What algorithm is used in the Debayer IP?

Info
The Debayer IP (FPGA-IPUG-02203) uses Variable Number of Gradients (VNG) algorithm.