opengl - RGB to YUV using GLSL -


i looking sample glsl fragment shader code can convert rgb frame (say pixel format argb) yuv (say yuv420).

imagine rgb frame of size 1920x1080. use fragment shader convert yuv frame.

can point me code can compiled , run on ubuntu box?

for future reference, bunch of colorspace conversions in glsl shaders can found in gstreamer gst-plugins-gl codebase :)


Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

javascript - addthis share facebook and google+ url -

ios - Show keyboard with UITextField in the input accessory view -