<br><br><div class="gmail_quote">2010/8/5 Sasha Koruga <span dir="ltr"><<a href="mailto:skoruga@gmail.com">skoruga@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hey,<br>
I have a question for anyone familiar with the direct3d module.<br>
I was wondering if anyone knew at what point in the code the YUV data<br>
gets transferred to LPDIRECT3DSURFACE9. I looked over the source many<br>
times, and I just don't see exactly where it happens. The reasons I am<br>
asking is because I want to write the YUV data to 3 textures (as<br>
oppose to direct3dsurface9) in order to access it in the shader code.<br>
I had some methods of writing to the texture that worked but was<br>
unbearbly slow, and thus why I need to figure out what method is<br>
currently being used.<br>
<br>
Oh, and also, I'd like to know if anyone has any special shader<br>
requests. Currently I have a 16-235 -> 0-255 shader, a grayscale<br>
shader, an invert shader, a BT.601->BT.709 shader, and I'm still<br>
working on the YUV->RGB and other image conversion shaders. I know<br>
MPC-HC has a lot of shaders, but after checking them out, I realized<br>
that most of them are completely useless and serve no purpose (e.g. a<br>
circle that bounces around while the video is playing). Maybe I'm<br>
missing the purpose of some of them (e.g. night vision shader -<br>
brightens, blurs, and makes stuff green), and in such a case, please<br>
let me know if you think a case exists where someone would actually<br>
want to enable such a shader.<br></blockquote><div><br></div><div>Most shaders in MPC-HC are useless. And if people really want those they can be added as separate patches later.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<br>
Thanks,<br>
Sasha<br>
_______________________________________________<br>
vlc-devel mailing list<br>
To unsubscribe or modify your subscription options:<br>
<a href="http://mailman.videolan.org/listinfo/vlc-devel" target="_blank">http://mailman.videolan.org/listinfo/vlc-devel</a><br>
</blockquote></div><br>