Searched refs:luma (Results 1 - 10 of 10) sorted by relevance

/external/clang/test/CodeGen/
H A Dstruct-matching-constraint.c6 void b(uint16x8_t sat, uint16x8_t luma) argument
10 :"=w"(luma), "=w"(sat)
11 :"0"(luma)
/external/skia/src/core/
H A DSkMaskGamma.cpp19 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 <= SkFloatToScalar(0.0031308f)) {
50 return luma * SkFloatToScalar(12.92f);
52 return SkFloatToScalar(1.055f) * SkScalarPow(luma, SkScalarInvert(SkFloatToScalar(2.4f)))
H A DSkMaskGamma.h27 /** 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 Dyuv.h40 // difference of allowing larger range for luma/chroma.
150 const int luma = 16839 * r + 33059 * g + 6420 * b; local
151 return (luma + kRound) >> YUV_FIX; // no need to clip
171 const int luma = 19595 * r + 38470 * g + 7471 * b; local
172 return (luma + kRound) >> YUV_FIX; // no need to clip
H A Ddsp.h115 // simple filter (only for luma)
123 typedef void (*VP8LumaFilterFunc)(uint8_t* luma, int stride,
/external/webp/include/webp/
H A Ddecode.h75 // unlike the returned Y luma one. The dimension of the U and V planes
114 // into pre-allocated luma/chroma plane buffers. This function requires the
115 // strides to be passed: one for the luma plane and one for each of the
118 // Pointer to the luma plane ('*luma') is returned or NULL if an error occurred
122 uint8_t* luma, size_t luma_size, int luma_stride,
182 uint8_t* y, *u, *v, *a; // pointer to luma, chroma U/V, alpha samples
183 int y_stride; // luma stride
186 size_t y_size; // luma plane size
283 // will output the raw luma/chrom
[all...]
/external/webkit/Source/WebCore/rendering/svg/
H A DRenderSVGResourceMasker.cpp174 double luma = (r * 0.2125 + g * 0.7154 + b * 0.0721) * ((double)a / 255.0); local
175 srcPixelArray->set(pixelOffset + 3, luma);
/external/webp/src/dec/
H A Dwebp.c515 uint8_t* luma, size_t luma_size, int luma_stride,
520 if (luma == NULL) return NULL;
525 output.u.YUVA.y = luma;
538 return luma;
514 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 Didec.c620 WebPIDecoder* WebPINewYUVA(uint8_t* luma, size_t luma_size, int luma_stride, argument
624 const int is_external_memory = (luma != NULL);
633 } else { // A luma buffer was passed. Validate the other parameters.
648 idec->output_.u.YUVA.y = luma;
663 WebPIDecoder* WebPINewYUV(uint8_t* luma, size_t luma_size, int luma_stride, argument
666 return WebPINewYUVA(luma, luma_size, luma_stride,
/external/libvpx/libvpx/vp8/common/ppc/
H A Dloopfilter_filters_altivec.asm88 ;# To avoid excess transposes, we filter all 3 vertical luma subblock

Completed in 301 milliseconds