/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/chromium_org/third_party/libwebp/dsp/ |
H A D | yuv.h | 46 // difference of allowing larger range for luma/chroma. 243 const int luma = 16839 * r + 33059 * g + 6420 * b; local 244 return (luma + kRound) >> YUV_FIX; // no need to clip 264 const int luma = 19595 * r + 38470 * g + 7471 * b; local 265 return (luma + kRound) >> YUV_FIX; // no need to clip
|
/external/chromium_org/third_party/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 * SkFloatToScalar(SK_LUM_COEFF_R) + local 41 SkASSERT(luma <= SK_Scalar1); 42 return SkScalarRoundToInt(luminance.fromLuma(gamma, luma) * 255);
|
/external/chromium_org/ui/gfx/ |
H A D | color_utils.cc | 80 int luma = static_cast<int>((0.3 * SkColorGetR(color)) + local 83 return std::max(std::min(luma, 255), 0);
|
/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 * SkFloatToScalar(SK_LUM_COEFF_R) + local 41 SkASSERT(luma <= SK_Scalar1); 42 return SkScalarRoundToInt(luminance.fromLuma(gamma, luma) * 255);
|
/external/webp/src/dsp/ |
H A D | yuv.h | 46 // difference of allowing larger range for luma/chroma. 243 const int luma = 16839 * r + 33059 * g + 6420 * b; local 244 return (luma + kRound) >> YUV_FIX; // no need to clip 264 const int luma = 19595 * r + 38470 * g + 7471 * b; local 265 return (luma + kRound) >> YUV_FIX; // no need to clip
|
/external/chromium_org/third_party/WebKit/Source/core/platform/graphics/ |
H A D | ImageBuffer.cpp | 439 double luma = (r * 0.2125 + g * 0.7154 + b * 0.0721) * ((double)a / 255.0); local 440 srcPixelArray->set(pixelOffset + 3, luma);
|
/external/chromium_org/third_party/libwebp/dec/ |
H A D | webp.c | 551 uint8_t* luma, size_t luma_size, int luma_stride, 556 if (luma == NULL) return NULL; 561 output.u.YUVA.y = luma; 574 return luma; 550 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.c | 646 WebPIDecoder* WebPINewYUVA(uint8_t* luma, size_t luma_size, int luma_stride, argument 650 const int is_external_memory = (luma != NULL); 659 } else { // A luma buffer was passed. Validate the other parameters. 674 idec->output_.u.YUVA.y = luma; 689 WebPIDecoder* WebPINewYUV(uint8_t* luma, size_t luma_size, int luma_stride, argument 692 return WebPINewYUVA(luma, luma_size, luma_stride,
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nouveau/ |
H A D | nouveau_video.c | 160 bool luma) 165 unsigned y = luma ? mb->y * 16 : mb->y * 8; 180 if (luma && mb->macroblock_modes.bits.dct_type == PIPE_MPEG12_DCT_TYPE_FIELD) 189 if (luma) { 202 nouveau_vpe_mb_mv_flags(bool luma, int mv_h, int mv_v, bool forward, bool first, bool vert) argument 205 if (luma) 244 bool luma, bool frame, bool forward, bool vert, 261 if (!luma) { 266 mc_header |= nouveau_vpe_mb_mv_flags(luma, mv_horizontal, mv_vertical, forward, first, vert); 270 if (luma) 158 nouveau_vpe_mb_dct_header(struct nouveau_decoder *dec, const struct pipe_mpeg12_macroblock *mb, bool luma) argument 243 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 282 nouveau_vpe_mb_mv_header(struct nouveau_decoder *dec, const struct pipe_mpeg12_macroblock *mb, bool luma) argument [all...] |
/external/mesa3d/src/gallium/drivers/nouveau/ |
H A D | nouveau_video.c | 160 bool luma) 165 unsigned y = luma ? mb->y * 16 : mb->y * 8; 180 if (luma && mb->macroblock_modes.bits.dct_type == PIPE_MPEG12_DCT_TYPE_FIELD) 189 if (luma) { 202 nouveau_vpe_mb_mv_flags(bool luma, int mv_h, int mv_v, bool forward, bool first, bool vert) argument 205 if (luma) 244 bool luma, bool frame, bool forward, bool vert, 261 if (!luma) { 266 mc_header |= nouveau_vpe_mb_mv_flags(luma, mv_horizontal, mv_vertical, forward, first, vert); 270 if (luma) 158 nouveau_vpe_mb_dct_header(struct nouveau_decoder *dec, const struct pipe_mpeg12_macroblock *mb, bool luma) argument 243 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 282 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.c | 534 uint8_t* luma, size_t luma_size, int luma_stride, 539 if (luma == NULL) return NULL; 544 output.u.YUVA.y = luma; 557 return luma; 533 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.c | 650 WebPIDecoder* WebPINewYUVA(uint8_t* luma, size_t luma_size, int luma_stride, argument 654 const int is_external_memory = (luma != NULL); 663 } else { // A luma buffer was passed. Validate the other parameters. 678 idec->output_.u.YUVA.y = luma; 693 WebPIDecoder* WebPINewYUV(uint8_t* luma, size_t luma_size, int luma_stride, argument 696 return WebPINewYUVA(luma, luma_size, luma_stride,
|
/external/chromium_org/third_party/libva/va/ |
H A D | va.h | 986 unsigned int luma : 3; /* ENTRY_POINT_LAYER::RANGE_MAPY */ member in struct:_VAPictureParameterBufferVC1::__anon11523::__anon11524
|