/external/clang/test/CodeGen/ |
H A D | struct-matching-constraint.c | 6 void b(uint16x8_t sat, uint16x8_t luma) argument 10 :"=w"(luma), "=w"(sat) 11 :"0"(luma)
|
/external/skia/src/gpu/effects/ |
H A D | GrLumaColorFilterEffect.h | 22 float luma = SK_ITU_BT709_LUM_COEFF_R * input.fRGBA[0] + variable 25 return GrColor4f(0, 0, 0, luma);
|
/external/skqp/src/gpu/effects/ |
H A D | GrLumaColorFilterEffect.h | 22 float luma = SK_ITU_BT709_LUM_COEFF_R * input.fRGBA[0] + variable 25 return GrColor4f(0, 0, 0, luma);
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
H A D | si_uvd.c | 124 struct r600_texture *luma = (struct r600_texture *)buf->resources[0]; local 129 ruvd_set_dt_surfaces(msg, &luma->surface, &chroma->surface); 131 return luma->resource.buf;
|
/external/libdrm/tests/planetest/ |
H A D | bo.c | 34 uint8_t *luma = bo->map_addr + i * bo->pitch; local 37 luma[j] = MAKE_YUV_601_Y(r, g, b);
|
/external/mesa3d/src/gallium/drivers/r600/ |
H A D | r600_uvd.c | 159 struct r600_texture *luma = (struct r600_texture *)buf->resources[0]; local 165 ruvd_set_dt_surfaces(msg, &luma->surface, &chroma->surface); 167 return luma->resource.buf;
|
/external/webp/src/dsp/ |
H A D | yuv.h | 179 const int luma = 16839 * r + 33059 * g + 6420 * b; local 180 return (luma + rounding + (16 << YUV_FIX)) >> YUV_FIX; // no need to clip
|
/external/pdfium/third_party/libtiff/ |
H A D | tif_color.c | 236 TIFFYCbCrToRGBInit(TIFFYCbCrToRGB* ycbcr, float *luma, float *refBlackWhite) argument 241 #define LumaRed luma[0] 242 #define LumaGreen luma[1] 243 #define LumaBlue luma[2]
|
/external/skia/src/core/ |
H A D | SkMaskGamma.h | 27 /** Converts a color component luminance in the color space to a linear luma. */ 29 /** Converts a linear luma to a color component luminance in the color space. */ 30 virtual SkScalar fromLuma(SkScalar gamma, SkScalar luma) const = 0; 38 SkScalar luma = r * SK_LUM_COEFF_R + local 41 SkASSERT(luma <= SK_Scalar1); 42 return SkScalarRoundToInt(luminance.fromLuma(gamma, luma) * 255);
|
/external/skqp/src/core/ |
H A D | SkMaskGamma.h | 27 /** Converts a color component luminance in the color space to a linear luma. */ 29 /** Converts a linear luma to a color component luminance in the color space. */ 30 virtual SkScalar fromLuma(SkScalar gamma, SkScalar luma) const = 0; 38 SkScalar luma = r * SK_LUM_COEFF_R + local 41 SkASSERT(luma <= SK_Scalar1); 42 return SkScalarRoundToInt(luminance.fromLuma(gamma, luma) * 255);
|
/external/ImageMagick/coders/ |
H A D | pcd.c | 98 % MagickBooleanType DecodeImage(Image *image,unsigned char *luma, 105 % o luma: the address of a character buffer that contains the 115 static MagickBooleanType DecodeImage(Image *image,unsigned char *luma, 185 assert(luma != (unsigned char *) NULL); 249 q=luma; 268 q=luma+row*image->columns; 516 *luma; 597 Allocate luma and chroma memory. 606 luma=(unsigned char *) AcquireQuantumMemory(image->columns+1UL,image->rows* 607 10*sizeof(*luma)); 112 DecodeImage(Image *image,unsigned char *luma, unsigned char *chroma1,unsigned char *chroma2,ExceptionInfo *exception) argument 511 *luma; local [all...] |
/external/ImageMagick/MagickCore/ |
H A D | composite.c | 184 const MagickRealType luma,MagickRealType *red,MagickRealType *green, 243 m=luma-(0.298839*r+0.586811*g+0.114350*b); 251 MagickRealType *luma) 266 assert(luma != (MagickRealType *) NULL); 286 *luma=QuantumScale*(0.298839*r+0.586811*g+0.114350*b); 1172 Determine the luma and chroma scale. 1226 luma, 1277 luma=0.0; 1763 &sans,&sans,&luma); 1766 HCLComposite(hue,chroma,luma, 181 HCLComposite(const MagickRealType hue,const MagickRealType chroma, const MagickRealType luma,MagickRealType *red,MagickRealType *green, MagickRealType *blue) argument 247 CompositeHCL(const MagickRealType red,const MagickRealType green, const MagickRealType blue,MagickRealType *hue,MagickRealType *chroma, MagickRealType *luma) argument 1224 luma, local [all...] |
H A D | gem.c | 74 % ConvertHCLToRGB() transforms a (hue, chroma, luma) to a (red, green, 80 % const double luma,double *red,double *green,double *blue) 84 % o hue, chroma, luma: A double value representing a component of the 91 const double luma,double *red,double *green,double *blue) 149 m=luma-(0.298839*r+0.586811*g+0.114350*b); 167 % ConvertHCLpToRGB() transforms a (hue, chroma, luma) to a (red, green, 174 % const double luma,double *red,double *green,double *blue) 178 % o hue, chroma, luma: A double value representing a componenet of the 185 const double luma,double *red,double *green,double *blue) 244 m=luma 88 ConvertHCLToRGB(const double hue,const double chroma, const double luma,double *red,double *green,double *blue) argument 181 ConvertHCLpToRGB(const double hue,const double chroma, const double luma,double *red,double *green,double *blue) argument 744 ConvertLCHabToXYZ(const double luma,const double chroma, const double hue,double *X,double *Y,double *Z) argument 751 ConvertLCHabToRGB(const double luma,const double chroma, const double hue,double *red,double *green,double *blue) argument 797 ConvertLCHuvToXYZ(const double luma,const double chroma, const double hue,double *X,double *Y,double *Z) argument 804 ConvertLCHuvToRGB(const double luma,const double chroma, const double hue,double *red,double *green,double *blue) argument 850 ConvertRGBToHCL(const double red,const double green, const double blue,double *hue,double *chroma,double *luma) argument 911 ConvertRGBToHCLp(const double red,const double green, const double blue,double *hue,double *chroma,double *luma) argument 1300 ConvertXYZToLCHab(const double X,const double Y, const double Z,double *luma,double *chroma,double *hue) argument 1314 ConvertRGBToLCHab(const double red,const double green, const double blue,double *luma,double *chroma,double *hue) argument 1361 ConvertXYZToLCHuv(const double X,const double Y, const double Z,double *luma,double *chroma,double *hue) argument 1375 ConvertRGBToLCHuv(const double red,const double green, const double blue,double *luma,double *chroma,double *hue) argument [all...] |
H A D | effect.c | 1607 luma; 1609 luma=GetPixelLuma(gaussian_image,k); 1610 variance+=(luma-GetMeanLuma(gaussian_image,mean))* 1611 (luma-GetMeanLuma(gaussian_image,mean)); 1597 luma; local
|
H A D | enhance.c | 741 luma; 743 luma=0.21267f*image->colormap[i].red+0.71526*image->colormap[i].green+ 745 image->colormap[i].red=luma+color_correction.saturation*cdl_map[ 746 ScaleQuantumToMap(ClampToQuantum(image->colormap[i].red))].red-luma; 747 image->colormap[i].green=luma+color_correction.saturation*cdl_map[ 748 ScaleQuantumToMap(ClampToQuantum(image->colormap[i].green))].green-luma; 749 image->colormap[i].blue=luma+color_correction.saturation*cdl_map[ 750 ScaleQuantumToMap(ClampToQuantum(image->colormap[i].blue))].blue-luma; 765 luma; 783 luma 735 luma; local 759 luma; local 2943 luma, local 2966 luma, local 3104 luma, local 3127 luma, local [all...] |
/external/deqp/framework/common/ |
H A D | tcuFuzzyImageCompare.cpp | 337 const float luma = toGrayscale(cmp.getPixel(x, y)); local 338 const float rF = 0.7f + 0.3f*luma;
|
/external/mesa3d/src/gallium/drivers/nouveau/ |
H A D | nouveau_video.c | 149 bool luma) 154 unsigned y = luma ? mb->y * 16 : mb->y * 8; 169 if (luma && mb->macroblock_modes.bits.dct_type == PIPE_MPEG12_DCT_TYPE_FIELD) 178 if (luma) { 191 nouveau_vpe_mb_mv_flags(bool luma, int mv_h, int mv_v, bool forward, bool first, bool vert) argument 194 if (luma) 233 bool luma, bool frame, bool forward, bool vert, 250 if (!luma) { 255 mc_header |= nouveau_vpe_mb_mv_flags(luma, mv_horizontal, mv_vertical, forward, first, vert); 259 if (luma) 147 nouveau_vpe_mb_dct_header(struct nouveau_decoder *dec, const struct pipe_mpeg12_macroblock *mb, bool luma) argument 232 nouveau_vpe_mb_mv(struct nouveau_decoder *dec, unsigned mc_header, bool luma, bool frame, bool forward, bool vert, int x, int y, const short motions[2], unsigned surface, bool first) argument 271 nouveau_vpe_mb_mv_header(struct nouveau_decoder *dec, const struct pipe_mpeg12_macroblock *mb, bool luma) argument [all...] |
/external/webp/src/dec/ |
H A D | webp_dec.c | 576 uint8_t* luma, size_t luma_size, int luma_stride, 581 if (luma == NULL) return NULL; 586 output.u.YUVA.y = luma; 599 return luma; 575 WebPDecodeYUVInto(const uint8_t* data, size_t data_size, uint8_t* luma, size_t luma_size, int luma_stride, uint8_t* u, size_t u_size, int u_stride, uint8_t* v, size_t v_size, int v_stride) argument
|
H A D | idec_dec.c | 700 WebPIDecoder* WebPINewYUVA(uint8_t* luma, size_t luma_size, int luma_stride, argument 704 const int is_external_memory = (luma != NULL) ? 1 : 0; 713 } else { // A luma buffer was passed. Validate the other parameters. 728 idec->output_.u.YUVA.y = luma; 743 WebPIDecoder* WebPINewYUV(uint8_t* luma, size_t luma_size, int luma_stride, argument 746 return WebPINewYUVA(luma, luma_size, luma_stride,
|
/external/ImageMagick/tests/ |
H A D | validate.c | 366 static inline void ConvertLCHabToXYZ(const double luma,const double chroma, 369 ConvertLabToXYZ(luma,chroma*cos(hue*MagickPI/180.0),chroma* 373 static void ConvertLCHabToRGB(const double luma,const double chroma, 381 ConvertLCHabToXYZ(luma*100.0,255.0*(chroma-0.5),360.0*hue,&X,&Y,&Z); 421 const double Z,double *luma,double *chroma,double *hue) 427 ConvertXYZToLab(X,Y,Z,luma,&a,&b); 435 const double blue,double *luma,double *chroma,double *hue) 443 ConvertXYZToLCHab(X,Y,Z,luma,chroma,hue); 363 ConvertLCHabToXYZ(const double luma,const double chroma, const double hue,double *X,double *Y,double *Z) argument 370 ConvertLCHabToRGB(const double luma,const double chroma, const double hue,double *red,double *green,double *blue) argument 417 ConvertXYZToLCHab(const double X,const double Y, const double Z,double *luma,double *chroma,double *hue) argument 431 ConvertRGBToLCHab(const double red,const double green, const double blue,double *luma,double *chroma,double *hue) argument
|
/external/libpng/contrib/libtests/ |
H A D | makepng.c | 542 png_uint_32 luma = base - abs(2*x-size_max); local 544 /* 'luma' is now in the range 0..2*size_max, we need 547 luma = (luma*depth_max + size_max) / (2*size_max); 548 set_value(row, rowbytes, x, bit_depth, luma, gamma_table, conv); 664 const png_uint_32 luma = colors[1]; local 668 set_value(row, rowbytes, x, bit_depth, luma, gamma_table, 675 const png_uint_32 luma = colors[1]; local 681 set_value(row, rowbytes, 2*x, bit_depth, luma, gamma_table,
|
/external/mesa3d/src/gallium/drivers/radeon/ |
H A D | radeon_uvd.c | 1351 * fill decoding target field from the luma and chroma surfaces 1353 void ruvd_set_dt_surfaces(struct ruvd_msg *msg, struct radeon_surf *luma, argument 1356 msg->body.decode.dt_pitch = luma->level[0].nblk_x * luma->bpe; 1357 switch (luma->level[0].mode) { 1375 msg->body.decode.dt_luma_top_offset = texture_offset(luma, 0); 1378 msg->body.decode.dt_luma_bottom_offset = texture_offset(luma, 1); 1385 assert(luma->bankw == chroma->bankw); 1386 assert(luma->bankh == chroma->bankh); 1387 assert(luma [all...] |
/external/libvpx/libvpx/third_party/libyuv/source/ |
H A D | planar_functions.cc | 2432 const uint8* luma, 2436 int width, const uint8* luma, const uint32 lumacoeff) = 2438 if (!src_argb || !dst_argb || !luma || width <= 0 || height == 0) { 2461 ARGBLumaColorTableRow(src_argb, dst_argb, width, luma, 0x00264b0f); 2430 ARGBLumaColorTable(const uint8* src_argb, int src_stride_argb, uint8* dst_argb, int dst_stride_argb, const uint8* luma, int width, int height) argument
|
/external/libyuv/files/source/ |
H A D | planar_functions.cc | 2921 const uint8* luma, 2926 const uint8* src_argb, uint8* dst_argb, int width, const uint8* luma, 2928 if (!src_argb || !dst_argb || !luma || width <= 0 || height == 0) { 2950 ARGBLumaColorTableRow(src_argb, dst_argb, width, luma, 0x00264b0f); 2917 ARGBLumaColorTable(const uint8* src_argb, int src_stride_argb, uint8* dst_argb, int dst_stride_argb, const uint8* luma, int width, int height) argument
|
/external/webp/src/enc/ |
H A D | picture_csp_enc.c | 253 const int luma = 13933 * r + 46871 * g + 4732 * b + YUV_HALF; local 254 return (luma >> YUV_FIX); 375 const int luma = 16839 * r + 33059 * g + 6420 * b + SROUNDER; local 376 return clip_8b(16 + (luma >> (YUV_FIX + SFIX)));
|