XV: Making use of Radeon's YV12 scaler

Tilman Sauerbeck tilman at code-monkey.de
Fri Mar 24 13:37:57 PST 2006


Roland Scheidegger [2006-03-24 02:25]:
> Tilman Sauerbeck wrote:
> >Alex Deucher [2006-01-25 20:12]:
> >>On 1/8/06, Tilman Sauerbeck <tilman at code-monkey.de> wrote:
> >>>Hi,
> >>>I noticed that the Radeon's driver support for YUV420 just sucks
> >>>(it's going through software conversion from YUV420 to YUV422) ;)
> >>>
> >>>Radeon has a YV12 BES though, which I think can be used for this.
> >>>I tried to use that YV12 scaler, but I cannot get it to work properly.
> >>>All I get is b/w video output (which tells me it cannot be *that* much
> >>>off).
> >>perhaps the UV need to be swapped?  try this out (based on your code, 
> >>untested):
> >>
> >>#       define  RADEON_OV0_SWAP_UV                 (1<<5)
> >>[snip]
> >Thanks for your replay. Unfortunately, setting the SWAP_UV bit doesn't
> >seem to affect the output at all.
>
> [...]
> 
> proper hostdata blit instead of the memcopy. Do you (or someone else) feel 
> tempted to clean it up :-)? I'm pretty certain I didn't get aligning and stuff 
Thanks for picking this up :)
I actually am tempted to play with that code again, but I don't think
I'd get anything useful done anyway... ;)

Regards,
Tilman

-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20060324/6a08fbe3/attachment.pgp>


More information about the xorg mailing list