Intel® Integrated Performance Primitives
Community support and discussions relating to developing high-performance vision, signal, security, and storage applications.
Announcements
The Intel sign-in experience is changing in February to support enhanced security controls. If you sign in, click here for more information.

YUV 420 downsampling

Alex_B_5
Beginner
285 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
285 Views

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

Vladimir

Alex_B_5
Beginner
285 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
Vladimir_Dudnik
Employee
285 Views

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

Regards,
Vladimir

Reply