i need a glsl implementation for a demosiac\debayer shader.
there are many different algorithms to choose from, and will discuss the best one for the job. i'll run that shader using a visual programming environment named max\msp\jitter but that deosnt need to concern you, as i'll modify it to my requaremnts. it should work using any opengl support lib your comfrtable with (glut, dsl, etc.).
## Deliverables
the shader must be able to process each video frame in less then 40ms (25fps).