/external/clang/test/CodeGen/ |
struct-matching-constraint.c | 6 void b(uint16x8_t sat, uint16x8_t luma) 10 :"=w"(luma), "=w"(sat) 11 :"0"(luma)
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm_neon_asm/ |
h264bsdWriteMacroblock.s | 28 luma RN 3 label 74 ; Write one macroblock into the image. Both luma and chroma 79 ; luma followed by 64 values for both chroma components 94 LDR luma, [image, #0xC] 99 ; Write luma 104 VST1 {qRow0}, [luma@128], width 106 VST1 {qRow1}, [luma@128], width 108 VST1 {qRow2}, [luma@128], width 110 VST1 {qRow3}, [luma@128], width 112 VST1 {qRow4}, [luma@128], widt [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm_neon_asm_gcc/ |
h264bsdWriteMacroblock.S | 30 #define luma r3 define 76 Write one macroblock into the image. Both luma and chroma 81 luma followed by 64 values for both chroma components 96 LDR luma, [image, #0xC] 101 @ Write luma 106 VST1 {qRow0}, [luma,:128], width 108 VST1 {qRow1}, [luma,:128], width 110 VST1 {qRow2}, [luma,:128], width 112 VST1 {qRow3}, [luma,:128], width 114 VST1 {qRow4}, [luma,:128], widt [all...] |
/external/chromium_org/third_party/skia/src/core/ |
SkMaskGamma.cpp | 19 virtual SkScalar fromLuma(SkScalar SkDEBUGCODE(gamma), SkScalar luma) const SK_OVERRIDE { 21 return luma; 29 virtual SkScalar fromLuma(SkScalar gamma, SkScalar luma) const SK_OVERRIDE { 30 return SkScalarPow(luma, SkScalarInvert(gamma)); 45 virtual SkScalar fromLuma(SkScalar SkDEBUGCODE(gamma), SkScalar luma) const SK_OVERRIDE { 49 if (luma <= 0.0031308f) { 50 return luma * 12.92f; 52 return 1.055f * SkScalarPow(luma, SkScalarInvert(2.4f))
|
SkMaskGamma.h | 20 * Luma is used to specify a linear luminance value [0.0, 1.0]. 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/skia/src/core/ |
SkMaskGamma.cpp | 19 virtual SkScalar fromLuma(SkScalar SkDEBUGCODE(gamma), SkScalar luma) const SK_OVERRIDE { 21 return luma; 29 virtual SkScalar fromLuma(SkScalar gamma, SkScalar luma) const SK_OVERRIDE { 30 return SkScalarPow(luma, SkScalarInvert(gamma)); 45 virtual SkScalar fromLuma(SkScalar SkDEBUGCODE(gamma), SkScalar luma) const SK_OVERRIDE { 49 if (luma <= 0.0031308f) { 50 return luma * 12.92f; 52 return 1.055f * SkScalarPow(luma, SkScalarInvert(2.4f))
|
SkMaskGamma.h | 20 * Luma is used to specify a linear luminance value [0.0, 1.0]. 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);
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
h264bsd_image.h | 51 u8 *luma; member in struct:__anon18129
|
h264bsd_util.c | 51 /* look-up table for chroma quantization parameter as a function of luma QP */ 252 Set luma and chroma pointers in image_t for current MB 279 image->luma = (u8*)(image->data + col * 16 + tmp * 256);
|
/external/skia/src/effects/ |
SkLumaColorFilter.cpp | 29 * LumA = (k1 * r / a + k2 * g / a + k3 * b / a) * a 30 * LumA = (k1 * r + k2 * g + k3 * b) 32 unsigned luma = SkComputeLuminance(SkGetPackedR32(c), local 35 dst[i] = SkPackARGB32(luma, 0, 0, 0); 104 builder->fsCodeAppendf("\tfloat luma = dot(vec3(%f, %f, %f), %s.rgb);\n", 109 builder->fsCodeAppendf("\t%s = vec4(0, 0, 0, luma);\n",
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nouveau/ |
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) 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) [all...] |
/external/mesa3d/src/gallium/drivers/nouveau/ |
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) 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) [all...] |
/external/chromium_org/third_party/skia/src/effects/ |
SkLumaColorFilter.cpp | 30 * LumA = (k1 * r / a + k2 * g / a + k3 * b / a) * a 31 * LumA = (k1 * r + k2 * g + k3 * b) 33 unsigned luma = SkComputeLuminance(SkGetPackedR32(c), local 36 dst[i] = SkPackARGB32(luma, 0, 0, 0); 104 fsBuilder->codeAppendf("\tfloat luma = dot(vec3(%f, %f, %f), %s.rgb);\n", 109 fsBuilder->codeAppendf("\t%s = vec4(0, 0, 0, luma);\n",
|
/frameworks/support/v7/palette/src/android/support/v7/graphics/ |
Palette.java | 346 final float luma = swatch.getHsl()[2]; 349 luma >= minLuma && luma <= maxLuma && 351 float thisValue = createComparisonValue(sat, targetSaturation, luma, targetLuma, 370 // ...but we do have a dark vibrant, generate the value by modifying the luma 380 // ...but we do have a vibrant, generate the value by modifying the luma 474 float luma, float targetLuma, 478 invertDiff(luma, targetLuma), WEIGHT_LUMA,
|
/external/chromium_org/third_party/libwebp/dsp/ |
yuv.h | 49 // difference of allowing larger range for luma/chroma. 281 const int luma = 16839 * r + 33059 * g + 6420 * b; local 282 return (luma + rounding + (16 << YUV_FIX)) >> YUV_FIX; // no need to clip 301 const int luma = 19595 * r + 38470 * g + 7471 * b; local 302 return (luma + rounding) >> YUV_FIX; // no need to clip
|
/external/webp/src/dsp/ |
yuv.h | 49 // difference of allowing larger range for luma/chroma. 281 const int luma = 16839 * r + 33059 * g + 6420 * b; local 282 return (luma + rounding + (16 << YUV_FIX)) >> YUV_FIX; // no need to clip 301 const int luma = 19595 * r + 38470 * g + 7471 * b; local 302 return (luma + rounding) >> YUV_FIX; // no need to clip
|
/external/chromium_org/third_party/libwebp/webp/ |
decode.h | 77 // unlike the returned Y luma one. The dimension of the U and V planes 116 // into pre-allocated luma/chroma plane buffers. This function requires the 117 // strides to be passed: one for the luma plane and one for each of the 120 // Pointer to the luma plane ('*luma') is returned or NULL if an error occurred 124 uint8_t* luma, size_t luma_size, int luma_stride, 184 uint8_t* y, *u, *v, *a; // pointer to luma, chroma U/V, alpha samples 185 int y_stride; // luma stride 188 size_t y_size; // luma plane size 291 // will output the raw luma/chroma samples into a preallocated planes i [all...] |
/external/webp/include/webp/ |
decode.h | 77 // unlike the returned Y luma one. The dimension of the U and V planes 116 // into pre-allocated luma/chroma plane buffers. This function requires the 117 // strides to be passed: one for the luma plane and one for each of the 120 // Pointer to the luma plane ('*luma') is returned or NULL if an error occurred 124 uint8_t* luma, size_t luma_size, int luma_stride, 184 uint8_t* y, *u, *v, *a; // pointer to luma, chroma U/V, alpha samples 185 int y_stride; // luma stride 188 size_t y_size; // luma plane size 291 // will output the raw luma/chroma samples into a preallocated planes i [all...] |
/external/libpng/contrib/libtests/ |
makepng.c | 329 png_uint_32 luma = base - abs(2*x-size_max); local 331 /* 'luma' is now in the range 0..2*size_max, we need 334 luma = (luma*depth_max + size_max) / (2*size_max); 335 set_value(row, rowbytes, x, bit_depth, luma, gamma_table, conv); 451 const png_uint_32 luma = colors[1]; local 455 set_value(row, rowbytes, x, bit_depth, luma, gamma_table, 462 const png_uint_32 luma = colors[1]; local 468 set_value(row, rowbytes, 2*x, bit_depth, luma, gamma_table, [all...] |
/prebuilts/sdk/current/support/v7/palette/libs/ |
android-support-v7-palette.jar | |
/external/chromium_org/ui/gfx/ |
color_utils.cc | 80 int luma = static_cast<int>((0.3 * SkColorGetR(color)) + local 83 return std::max(std::min(luma, 255), 0);
|
/external/chromium_org/third_party/libwebp/dec/ |
idec.c | 660 WebPIDecoder* WebPINewYUVA(uint8_t* luma, size_t luma_size, int luma_stride, 664 const int is_external_memory = (luma != NULL); 673 } else { // A luma buffer was passed. Validate the other parameters. 688 idec->output_.u.YUVA.y = luma; 703 WebPIDecoder* WebPINewYUV(uint8_t* luma, size_t luma_size, int luma_stride, 706 return WebPINewYUVA(luma, luma_size, luma_stride,
|
/external/webp/src/dec/ |
idec.c | 660 WebPIDecoder* WebPINewYUVA(uint8_t* luma, size_t luma_size, int luma_stride, 664 const int is_external_memory = (luma != NULL); 673 } else { // A luma buffer was passed. Validate the other parameters. 688 idec->output_.u.YUVA.y = luma; 703 WebPIDecoder* WebPINewYUV(uint8_t* luma, size_t luma_size, int luma_stride, 706 return WebPINewYUVA(luma, luma_size, luma_stride,
|
/external/deqp/framework/common/ |
tcuFuzzyImageCompare.cpp | 332 float luma = toGrayscale(cmp.getPixel(x, y)); local 333 float rF = 0.7f + 0.3f*luma;
|
/bionic/libc/kernel/uapi/linux/ |
omap3isp.h | 400 struct omap3isp_prev_luma __user *luma; member in struct:omap3isp_prev_update_config
|