A possible bug in IPP function which convert YCbCr411 to RGB values

A possible bug in IPP function which convert YCbCr411 to RGB values

Hi, 

I think there is a bug in IPP function "ippiYCbCr411ToBGR_8u_P3C4R" when it converts saturated YCbCr 411 values to RGB values. When an image is saturated, its YCbCr values are Y=235, Cb=128, and Cr=128. In this case, after conversionis done, the RGB values are all 254, instead of 255.

I am using IPP 7.0.6.278

I attached my sample codes, and the output of my sample codes are shown as below:

dst[ 0]=254
dst[ 1]=254
dst[ 2]=254
dst[ 3]=0
dst[ 4]=254
dst[ 5]=254
dst[ 6]=254
dst[ 7]=0
dst[ 8]=254
dst[ 9]=254
dst[10]=254
dst[11]=0
dst[12]=254
dst[13]=254
dst[14]=254
dst[15]=0

Does anyone else ever encounter the same issue?

AttachmentSize
Downloadtext/x-c++src ycbcr411torgb.cpp1.72 KB
Daniel Tang, Researcher at Point Grey Research Inc.
6 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

thanks, we will check the problem on our side.

yes, this is the issue with color conversion function. the problem is escalated. i will give you know when the problem would be fixed.

here is the number of this issue for tracking - DPD200305775

hello, the problem has been fixed in IPP 8.0 released the last week. 

Thank you for the update.

Daniel Tang, Researcher at Point Grey Research Inc.

Leave a Comment

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