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
https://www.artistsworkshop.eu/meble-kuchenne-na-wymiar-warszawa-gdzie-zamowic/
Joined: Sat Jan 31, 2004 2:34 pm
Location: Russia/Novosibirsk
Has thanked: 1 time
Been thanked: 0
Contact:

Re: PVR YUV->UYVY Conversion

Post by SWAT »

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 thanked: 0
Been thanked: 5 times

Re: PVR YUV->UYVY Conversion

Post by PH3NOM »

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 thanked: 1 time
Been thanked: 0
Contact:

Re: PVR YUV->UYVY Conversion

Post by SWAT »

I think yes.
Image
Post Reply