<br><br><div class="gmail_quote">2011/4/26 Christian König <span dir="ltr"><<a href="mailto:deathsimple@vodafone.de">deathsimple@vodafone.de</a>></span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Am Dienstag, den 26.04.2011, 17:53 +0000 schrieb <a href="mailto:younes.m@gmail.com">younes.m@gmail.com</a>:<br>
<div class="im">> Hi Christian,<br>
><br>
> Thanks for spending so much time on continuing this. I haven't really<br>
> touched it since you started, but someone else had some patches for<br>
> basic NV50 support. I don't recall who but I hope they can comment and<br>
> are interested in getting their changes merged. Also, your<br>
> implementation of interlaced MC breaks older chips that lack shader<br>
> control flow if I'm not mistaken, but that can probably be fixed<br>
> without much trouble.. Finally, someone else (Jimmy Rentz) had some<br>
> patches that implemented hardware decoding on NV40 chips, but they<br>
> were never merged into nouveau DRM and the pipe-video patches won't<br>
> apply anymore anyhow. Those changes required a bit of work in<br>
> pipe-video to support planar surfaces, but it worked quite well with<br>
> the old vl_compositor. Recently Ben Skeggs added HW decoder bits to<br>
> nouveau's DRM so if anyone is motivated enough to rework the userspace<br>
> side it will require proper planar surface support in pipe-video.<br>
> (This is just an FYI for anyone who is paying attention to<br>
> pipe-video.)<br>
><br>
> Cheers.<br>
</div>If I remember correctly Bryan Cain was working on getting this to work<br>
again on NV50, he had MC working, but was struggling with the iDCT code.<br>
<br>
I also stumbled over the issue of planar texture resources, and solved<br>
it by implementing an abstraction class that uses up to three separate<br>
textures to emulate the behaviour of an YV12 or NV12 texture. If a<br>
hardware driver has native support for planar buffers it should be easy<br>
to override the creation function and use a native buffer instead.<br>
<br>
So things like: native idct -> shader base mc or shader based idct -><br>
native mc should now be easily possible. But there is still allot of<br>
work todo.<br>
<br>
Regards,<br>
<font color="#888888">Christian.<br>
<br>
</font></blockquote></div><br>Yes, I got MC working on nv50 but couldn't get the iDCT to work properly. I still need to send in the patches for what I did accomplish. Should I send them to the mesa-dev mailing list and just label them as being for the pipe-video branch?<br>
<br>Regards,<br>Bryan<br><br>