Scaling of YUY2 image ?

Scaling of YUY2 image ?

Portrait de mac_kal@alnet.pl



I need a fast (down) scaling function for YUY2 images ( Y, U, Y, V ). Is there any function in IPP to help me ?

Thanks in advance,
Kamil

5 posts / 0 nouveau(x)
Dernière contribution
Reportez-vous à notre Notice d'optimisation pour plus d'informations sur les choix et l'optimisation des performances dans les produits logiciels Intel.
Portrait de Community Admin

Hi Kamil,


what scalind do you mean? Do you mean converting from 422 to 888 format?


Regards,
Vladimir


Portrait de mac_kal@alnet.pl

Sorry, I meant resizing.


I tried to use ippiResize for two-channel image and ippiResize for four channel images, but they both give incorrect results.


Portrait de borix

what is possible today= yuv2rgb; resize; rgb2yuv;
no resize in IPP yuv color space

Portrait de mac_kal@alnet.pl

I know a better way - split the source image into several planes, resize those planes and join them back into one multi-channel image. But I'm looking for some method to display video in window, so I have no time to copy the frame two times.

Connectez-vous pour laisser un commentaire.