Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
73 user(s) are online (60 user(s) are browsing Forums)

Members: 0
Guests: 73

more...

Support us!

Recent OS4 Files
OS4Depot.net

Report message:*
 

Re: radeonHD video hw acceleration

Subject: Re: radeonHD video hw acceleration
by Hans on 2013/1/9 20:19:04

Quote:

Rogue wrote:
Note that most Radeons actually support one or the other form of YUV textures, but support for that was never included in Warp3D. It's difficult to retrofit it into the compositing code since that would only work under certain contraints. The R200 for example can use separate YUV plane data but only when using the full three texture units. That means there is no room for a separate alpha map, so things would need to be done in multiple passes with temporary bitmaps.


Interestingly, the R200 entry on wikipedia claims that it can handle up to 6 textures per pass via some "loop-back" technique. I have no idea what the restrictions are, but it could still be doable. If not, then it should still be able to handle YUV422, as that requires just one texture. Plus, they have overlay.

Quote:
Here's hoping we can support more of that stuff on the later chips, with Gallium there is certainly better chances to see this working.


Radeon HD cards have 4 or more texture units (depending on the series), which is enough for separate Y, U, and V textures plus an alpha mask. That will cover planar YUV modes. I already have example shader code for this, although it will have to be adapted.

Radeon X1000 (R500) series cards also have 4 or more texture units, but I'll probably stick to the Radeon HD series only (almost no one uses the Radeon X1000 series, and there are so many other things to spend time on).

Hans


Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project