[vlc-devel] (direct3d module question)YUV data to LPDIRECT3DSURFACE9
skoruga at gmail.com
Wed Aug 4 23:55:32 CEST 2010
I have a question for anyone familiar with the direct3d module.
I was wondering if anyone knew at what point in the code the YUV data
gets transferred to LPDIRECT3DSURFACE9. I looked over the source many
times, and I just don't see exactly where it happens. The reasons I am
asking is because I want to write the YUV data to 3 textures (as
oppose to direct3dsurface9) in order to access it in the shader code.
I had some methods of writing to the texture that worked but was
unbearbly slow, and thus why I need to figure out what method is
currently being used.
Oh, and also, I'd like to know if anyone has any special shader
requests. Currently I have a 16-235 -> 0-255 shader, a grayscale
shader, an invert shader, a BT.601->BT.709 shader, and I'm still
working on the YUV->RGB and other image conversion shaders. I know
MPC-HC has a lot of shaders, but after checking them out, I realized
that most of them are completely useless and serve no purpose (e.g. a
circle that bounces around while the video is playing). Maybe I'm
missing the purpose of some of them (e.g. night vision shader -
brightens, blurs, and makes stuff green), and in such a case, please
let me know if you think a case exists where someone would actually
want to enable such a shader.
More information about the vlc-devel