PVR YUV->UYVY Conversion

If you have any questions on programming, this is the place to ask them, whether you're a newbie or an experienced programmer. Discussion on programming in general is also welcome. We will help you with programming homework, but we will not do your work for you! Any porting requests must be made in Developmental Ideas.
User avatar
SWAT
Insane DCEmu
Insane DCEmu
Posts: 191
Joined: Sat Jan 31, 2004 2:34 pm
Location: Russia/Novosibirsk
Has liked: 0
Been liked: 0
Contact:

Re: PVR YUV->UYVY Conversion

Post by SWAT » Sat Aug 06, 2011 11:58 pm

I'm not sure what this will work faster than if i packed in to YUV422 on C and sended by DMA complete texture :)
It turns out that the conversion YUV420p to YUV422 simpler than the division into macro blocks, and sends by one request to the DMA, in contrast to the converter...
Image
User avatar
PH3NOM
DC Developer
DC Developer
Posts: 576
Joined: Fri Jun 18, 2010 9:29 pm
Has liked: 0
Been liked: 3 times

Re: PVR YUV->UYVY Conversion

Post by PH3NOM » Sun Aug 07, 2011 11:44 am

SWAT wrote:I'm not sure what this will work faster than if i packed in to YUV422 on C and sended by DMA complete texture :)
It turns out that the conversion YUV420p to YUV422 simpler than the division into macro blocks, and sends by one request to the DMA, in contrast to the converter...
Yeah, I was bummed out when I got this far, to find out its really not much faster to do this way.

Maybe the best thing we can do is optimize the YUV420p to YUV422 packing in SH4 ASM?
User avatar
SWAT
Insane DCEmu
Insane DCEmu
Posts: 191
Joined: Sat Jan 31, 2004 2:34 pm
Location: Russia/Novosibirsk
Has liked: 0
Been liked: 0
Contact:

Re: PVR YUV->UYVY Conversion

Post by SWAT » Sun Aug 07, 2011 11:14 pm

I think yes.
Image
Post Reply