Searched defs:Cr (Results 1 - 11 of 11) sorted by relevance

/external/syslinux/com32/lib/jpeg/
H A Dbgr24.c48 * YCbCr is defined per CCIR 601-1, except that Cb and Cr are
51 * R = Y + 1.40200 * Cr
52 * G = Y - 0.34414 * Cb - 0.71414 * Cr
74 const unsigned char *Y, *Cb, *Cr; local
86 Cr = priv->Cr;
97 cr = *Cr++ - 128;
130 const unsigned char *Y, *Cb, *Cr; local
142 Cr = priv->Cr;
197 const unsigned char *Y, *Cb, *Cr; local
267 const unsigned char *Y, *Cb, *Cr; local
[all...]
H A Dbgra32.c48 * YCbCr is defined per CCIR 601-1, except that Cb and Cr are
51 * R = Y + 1.40200 * Cr
52 * G = Y - 0.34414 * Cb - 0.71414 * Cr
74 const unsigned char *Y, *Cb, *Cr; local
86 Cr = priv->Cr;
97 cr = *Cr++ - 128;
132 const unsigned char *Y, *Cb, *Cr; local
144 Cr = priv->Cr;
202 const unsigned char *Y, *Cb, *Cr; local
276 const unsigned char *Y, *Cb, *Cr; local
[all...]
H A Drgb24.c48 * YCbCr is defined per CCIR 601-1, except that Cb and Cr are
51 * R = Y + 1.40200 * Cr
52 * G = Y - 0.34414 * Cb - 0.71414 * Cr
74 const unsigned char *Y, *Cb, *Cr; local
86 Cr = priv->Cr;
96 cr = *Cr++ - 128;
128 const unsigned char *Y, *Cb, *Cr; local
140 Cr = priv->Cr;
197 const unsigned char *Y, *Cb, *Cr; local
266 const unsigned char *Y, *Cb, *Cr; local
[all...]
H A Drgba32.c48 * YCbCr is defined per CCIR 601-1, except that Cb and Cr are
51 * R = Y + 1.40200 * Cr
52 * G = Y - 0.34414 * Cb - 0.71414 * Cr
74 const unsigned char *Y, *Cb, *Cr; local
86 Cr = priv->Cr;
97 cr = *Cr++ - 128;
131 const unsigned char *Y, *Cb, *Cr; local
143 Cr = priv->Cr;
203 const unsigned char *Y, *Cb, *Cr; local
276 const unsigned char *Y, *Cb, *Cr; local
[all...]
H A Dtinyjpeg-internal.h110 uint8_t Y[64*4], Cr[64], Cb[64]; member in struct:jdec_private
/external/pdfium/third_party/libtiff/
H A Dtif_color.c183 TIFFYCbCrtoRGB(TIFFYCbCrToRGB *ycbcr, uint32 Y, int32 Cb, int32 Cr, argument
189 Y = HICLAMP(Y, 255), Cb = CLAMP(Cb, 0, 255), Cr = CLAMP(Cr, 0, 255);
191 i = ycbcr->Y_tab[Y] + ycbcr->Cr_r_tab[Cr];
194 + (int)((ycbcr->Cb_g_tab[Cb] + ycbcr->Cr_g_tab[Cr]) >> SHIFT);
204 * R = Y + Cr*(2 - 2*LumaRed)
208 * - LumaRed*Cr*(2-2*LumaRed)/LumaGreen
213 * pre-calculating possible values indexed by Cb and Cr (this code
251 * Cb and Cr values are in the range -128..127 (actually
257 int32 Cr local
[all...]
H A Dtif_getimage.c1764 TIFFYCbCrtoRGB(img->ycbcr, (Y), Cb, Cr, &r, &g, &b); \
1792 int32 Cb, Cr; local
1816 Cr = pp[17];
1862 int32 Cr = pp[17];
1891 int32 Cr = pp[17];
1956 int32 Cr = pp[9];
1977 int32 Cr = pp[9];
2030 int32 Cr = pp[5];
2045 int32 Cr = pp[5];
2078 uint32 Cr
[all...]
/external/ImageMagick/MagickCore/
H A Dcolorspace.c214 const double blue,double *Y,double *Cb,double *Cr)
216 ConvertRGBToYPbPr(red,green,blue,Y,Cb,Cr);
809 Cr= 0.5000000*R-0.4186880*G-0.0813120*B
811 Cb and Cr, normally -0.5 through 0.5, are normalized to the range 0
841 Cr= 0.500000*R-0.454153*G-0.045847*B
843 Cb and Cr, normally -0.5 through 0.5, are normalized to the range 0
1420 const double Cr,double *red,double *green,double *blue)
1422 ConvertYPbPrToRGB(Y,Cb,Cr,red,green,blue);
2284 R = Y +1.402000*Cr
2285 G = Y-0.344136*Cb-0.714136*Cr
209 ConvertRGBToYCbCr(const double red,const double green, const double blue,double *Y,double *Cb,double *Cr) argument
1413 ConvertYCbCrToRGB(const double Y,const double Cb, const double Cr,double *red,double *green,double *blue) argument
[all...]
H A Dfourier.c244 *magick_restrict Cr;
255 Cr=QueueCacheViewAuthenticPixels(Cr_view,0,y,Cr_image->columns,1,exception);
259 (Cr == (Quantum *) NULL) || (Ci == (Quantum *) NULL))
275 Cr[i]=Ar[i]+Br[i];
282 Cr[i]=Ar[i];
292 Cr[i]=gamma*(Ar[i]*Br[i]+Ai[i]*Bi[i]);
298 Cr[i]=sqrt(Ar[i]*Ar[i]+Ai[i]*Ai[i]);
304 Cr[i]=QuantumScale*(Ar[i]*Br[i]-Ai[i]*Bi[i]);
310 Cr[i]=Ar[i]*cos(2.0*MagickPI*(Ai[i]-0.5));
316 Cr[
241 *magick_restrict Cr; local
[all...]
/external/ImageMagick/tests/
H A Dvalidate.c344 const double blue,double *Y,double *Cb,double *Cr)
346 ConvertRGBToYPbPr(red,green,blue,Y,Cb,Cr);
361 const double Cr,double *red,double *green,double *blue)
363 ConvertYPbPrToRGB(Y,Cb,Cr,red,green,blue);
702 Cr,
707 0.463759*QuantumRange,&Y,&Cb,&Cr);
710 (fabs(Cr-0.330539) >= ReferenceEpsilon))
340 ConvertRGBToYCbCr(const double red,const double green, const double blue,double *Y,double *Cb,double *Cr) argument
357 ConvertYCbCrToRGB(const double Y,const double Cb, const double Cr,double *red,double *green,double *blue) argument
699 Cr, local
/external/opencv/otherlibs/highgui/
H A Dgrfmt_jpeg.cpp1216 int Cr = cmpCr[x]; local
1219 t = (Y + Cb*g_cb + Cr*g_cr) >> (fixc + 2);
1221 t = (Y + Cr*r_cr) >> (fixc + 2);
1231 int Cr = cmpCr[xc]; local
1234 t = (Y + Cb*g_cb + Cr*g_cr) >> (fixc + 2);
1236 t = (Y + Cr*r_cr) >> (fixc + 2);
1241 t = (Y + Cb*g_cb + Cr*g_cr) >> (fixc + 2);
1243 t = (Y + Cr*r_cr) >> (fixc + 2);
1251 int Cr = cmpCr[x >> x_shift]; local
1254 t = (Y + Cb*g_cb + Cr*g_c
[all...]

Completed in 748 milliseconds