Attaching Grayscale Image to FrameBuffer object in OpenGL ES

Hi All,

I’m trying to do YUV420->RGB conversion using OpenGL ES for Android Platform.

I’ve written the shaders logic and its working fine when i’m displaying the output on Surface view.
But the same thing I want to attach to Framebuffer.

Here input would be GrayScale image (Y, U and V components). If I attach the grayscale textures to Framebuffer
I’m getting INCOMPLETE FRAMEBUFFER status. Please help me to fix this?

[QUOTE=Devikaelangovan;1282415]
I’m trying to do YUV420->RGB conversion using OpenGL ES for Android Platform.

I’ve written the shaders logic and its working fine when i’m displaying the output on Surface view.
But the same thing I want to attach to Framebuffer.

Here input would be GrayScale image (Y, U and V components). If I attach the grayscale textures to Framebuffer
I’m getting INCOMPLETE FRAMEBUFFER status.[/QUOTE]
Why would you attach the Y/U/V images to the framebuffer?