Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.
Announcements
FPGA community forums and blogs have moved to the Altera Community. Existing Intel Community members can sign in with their current credentials.

YUV 420 downsampling

Alex_B_5
Beginner
1,321 Views
hello

in case of downsampling an RGB image to YUV 420, with an unpair number of rows and/or columns, what is done with the last sample of each row/column ? is it used to produce chroma samples or is it just lost ?

thanks

aymeric
0 Kudos
3 Replies
Vladimir_Dudnik
Employee
1,321 Views

I thinkoddsamples are ignored, could you please specify exactly function name?

Vladimir

0 Kudos
Alex_B_5
Beginner
1,321 Views
I use ippiRGBToYUV420_8u_P3R()
and i noticed some odd-sized images could cause memory error when i allocate memory of half original plane size.

for example, i have a plane of size 9 and i allocate a plane of size 4.

thanks

aymeric
0 Kudos
Vladimir_Dudnik
Employee
1,321 Views

Agree, in any case function should not destroy memory. Please submit your bug report to Premier Intel Support

Regards,
Vladimir

0 Kudos
Reply