YUV 420 downsampling

YUV 420 downsampling

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

4 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

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

Vladimir

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

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

Regards,
Vladimir

Leave a Comment

Please sign in to add a comment. Not a member? Join today