Searched defs:luma (Results 1 - 25 of 26) sorted by relevance

12

/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/effects/
H A DSkLumaColorFilter.cpp32 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/skia/src/effects/
H A DSkLumaColorFilter.cpp33 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",
/external/chromium_org/third_party/libwebp/dsp/
H A Dyuv.h49 // 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/skia/src/core/
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 * 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 Dcolor_utils.cc80 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 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 * 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.h49 // 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/deqp/framework/common/
H A DtcuFuzzyImageCompare.cpp332 float luma = toGrayscale(cmp.getPixel(x, y)); local
333 float rF = 0.7f + 0.3f*luma;
/external/chromium_org/third_party/libwebp/dec/
H A Dwebp.c571 uint8_t* luma, size_t luma_size, int luma_stride,
576 if (luma == NULL) return NULL;
581 output.u.YUVA.y = luma;
594 return luma;
570 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.c660 WebPIDecoder* WebPINewYUVA(uint8_t* luma, size_t luma_size, int luma_stride, argument
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, argument
706 return WebPINewYUVA(luma, luma_size, luma_stride,
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nouveau/
H A Dnouveau_video.c160 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 Dnouveau_video.c160 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 Dwebp.c583 uint8_t* luma, size_t luma_size, int luma_stride,
588 if (luma == NULL) return NULL;
593 output.u.YUVA.y = luma;
606 return luma;
582 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.c660 WebPIDecoder* WebPINewYUVA(uint8_t* luma, size_t luma_size, int luma_stride, argument
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, argument
706 return WebPINewYUVA(luma, luma_size, luma_stride,
/external/chromium_org/third_party/libvpx/source/libvpx/third_party/libyuv/source/
H A Dplanar_functions.cc2160 const uint8* luma,
2164 int width, const uint8* luma, const uint32 lumacoeff) =
2166 if (!src_argb || !dst_argb || !luma || width <= 0 || height == 0) {
2189 ARGBLumaColorTableRow(src_argb, dst_argb, width, luma, 0x00264b0f);
2158 ARGBLumaColorTable(const uint8* src_argb, int src_stride_argb, uint8* dst_argb, int dst_stride_argb, const uint8* luma, int width, int height) argument
H A Drow_common.cc2222 const uint8* luma, uint32 lumacoeff) {
2231 src_argb[2] * rc) & 0x7F00u) + luma;
2238 src_argb[6] * rc) & 0x7F00u) + luma;
2249 src_argb[2] * rc) & 0x7F00u) + luma;
2221 ARGBLumaColorTableRow_C(const uint8* src_argb, uint8* dst_argb, int width, const uint8* luma, uint32 lumacoeff) argument
H A Drow_posix.cc6335 // Tranform RGB pixels with luma table.
6338 const uint8* luma, uint32 lumacoeff) {
6428 : "r"(luma), // %5
6336 ARGBLumaColorTableRow_SSSE3(const uint8* src_argb, uint8* dst_argb, int width, const uint8* luma, uint32 lumacoeff) argument
H A Drow_win.cc7298 // Tranform RGB pixels with luma table.
7302 const uint8* luma, uint32 lumacoeff) {
7309 movd xmm2, dword ptr [esp + 8 + 16] // luma table
7320 movdqu xmm0, qword ptr [eax] // generate luma ptr
7300 ARGBLumaColorTableRow_SSSE3(const uint8* src_argb, uint8* dst_argb, int width, const uint8* luma, uint32 lumacoeff) argument
/external/chromium_org/third_party/libyuv/source/
H A Dplanar_functions.cc2160 const uint8* luma,
2164 int width, const uint8* luma, const uint32 lumacoeff) =
2166 if (!src_argb || !dst_argb || !luma || width <= 0 || height == 0) {
2189 ARGBLumaColorTableRow(src_argb, dst_argb, width, luma, 0x00264b0f);
2158 ARGBLumaColorTable(const uint8* src_argb, int src_stride_argb, uint8* dst_argb, int dst_stride_argb, const uint8* luma, int width, int height) argument
H A Drow_common.cc2222 const uint8* luma, uint32 lumacoeff) {
2231 src_argb[2] * rc) & 0x7F00u) + luma;
2238 src_argb[6] * rc) & 0x7F00u) + luma;
2249 src_argb[2] * rc) & 0x7F00u) + luma;
2221 ARGBLumaColorTableRow_C(const uint8* src_argb, uint8* dst_argb, int width, const uint8* luma, uint32 lumacoeff) argument
H A Drow_posix.cc6335 // Tranform RGB pixels with luma table.
6338 const uint8* luma, uint32 lumacoeff) {
6428 : "r"(luma), // %5
6336 ARGBLumaColorTableRow_SSSE3(const uint8* src_argb, uint8* dst_argb, int width, const uint8* luma, uint32 lumacoeff) argument
H A Drow_win.cc7299 // Tranform RGB pixels with luma table.
7303 const uint8* luma, uint32 lumacoeff) {
7310 movd xmm2, dword ptr [esp + 8 + 16] // luma table
7321 movdqu xmm0, qword ptr [eax] // generate luma ptr
7301 ARGBLumaColorTableRow_SSSE3(const uint8* src_argb, uint8* dst_argb, int width, const uint8* luma, uint32 lumacoeff) argument
/external/libpng/contrib/libtests/
H A Dmakepng.c329 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,
/external/kernel-headers/original/uapi/linux/
H A Domap3isp.h602 * @table: Array for luma enhancement table.
613 * @luma: Pointer to luma enhancement structure.
632 struct omap3isp_prev_luma __user *luma; member in struct:omap3isp_prev_update_config

Completed in 4169 milliseconds

12