Hi, 2012/4/24 Oliver Seitz <[email protected]>:
>>> Planned scheme: h.264 stream ->vaapi decoder -> VaSurface -> OpenGl >>> Surface >>> -> Opengl postprocessing -> VaSurface -> vaapi encoder -> h.264 >>> stream. >> >> >> There is work in progress for this use case, through EGL extensions. > > > Using this scheme, would this add a possibility to adjust image contrast and > brightness for VAAPI accelerated playback through OpenGL controls? If you write the relevant shader code for it, yes. You ultimately get the Y component in a texture, likewise for the UV components. You just do whatever you want with them next. And HSBC control is indeed simpler to perform at the YUV level. Regards, Gwenole. _______________________________________________ Libva mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libva
