Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.
Ankündigungen
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

YUV 420 downsampling

Alex_B_5
Einsteiger
1.284Aufrufe
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 Antworten
Vladimir_Dudnik
Mitarbeiter
1.284Aufrufe

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

Vladimir

Alex_B_5
Einsteiger
1.284Aufrufe
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
Mitarbeiter
1.284Aufrufe

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

Regards,
Vladimir

Antworten