Searched refs:luma (Results 1 - 25 of 32) 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/core/
H A DSkMaskGamma.cpp19 SkScalar fromLuma(SkScalar SkDEBUGCODE(gamma), SkScalar luma) const override {
21 return luma;
29 SkScalar fromLuma(SkScalar gamma, SkScalar luma) const override {
30 return SkScalarPow(luma, SkScalarInvert(gamma));
45 SkScalar fromLuma(SkScalar SkDEBUGCODE(gamma), SkScalar luma) const override {
49 if (luma <= 0.0031308f) {
50 return luma * 12.92f;
52 return 1.055f * SkScalarPow(luma, SkScalarInvert(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 * SK_LUM_COEFF_R + local
41 SkASSERT(luma <= SK_Scalar1);
42 return SkScalarRoundToInt(luminance.fromLuma(gamma, luma) * 255);
/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/skia/src/effects/
H A DSkLumaColorFilter.cpp33 unsigned luma = SkComputeLuminance(SkGetPackedR32(c), local
36 dst[i] = SkPackARGB32(luma, 0, 0, 0);
94 fsBuilder->codeAppendf("\tfloat luma = dot(vec3(%f, %f, %f), %s.rgb);\n",
99 fsBuilder->codeAppendf("\t%s = vec4(0, 0, 0, luma);\n",
/external/libmpeg2/decoder/
H A Dimpeg2d_mc.h59 void impeg2d_set_mc_params(comp_mc_params_t *luma,
/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
H A Ddsp.h173 // simple filter (only for luma)
181 typedef void (*VP8LumaFilterFunc)(uint8_t* luma, int stride,
/external/webp/include/webp/
H A Ddecode.h77 // 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/chrom
[all...]
/external/webp/src/webp/
H A Ddecode.h77 // 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/chrom
[all...]
/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/webp/src/dec/
H A Didec.c671 WebPIDecoder* WebPINewYUVA(uint8_t* luma, size_t luma_size, int luma_stride, argument
675 const int is_external_memory = (luma != NULL);
684 } else { // A luma buffer was passed. Validate the other parameters.
699 idec->output_.u.YUVA.y = luma;
714 WebPIDecoder* WebPINewYUV(uint8_t* luma, size_t luma_size, int luma_stride, argument
717 return WebPINewYUVA(luma, luma_size, luma_stride,
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
/external/deqp/framework/common/
H A DtcuFuzzyImageCompare.cpp333 float luma = toGrayscale(cmp.getPixel(x, y)); local
334 float rF = 0.7f + 0.3f*luma;
/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
/external/webp/src/enc/
H A Dpicture_csp.c274 const int luma = 19595 * r + 38470 * g + 7471 * b + YUV_HALF; local
275 return (luma >> YUV_FIX);
403 const int luma = 16839 * r + 33059 * g + 6420 * b + TROUNDER; local
404 return clip_8b(16 + (luma >> (YUV_FIX + TFIX)));
/external/libavc/common/arm/
H A Dih264_inter_pred_filters_luma_horz_a9q.s49 @* Interprediction luma filter for horizontal input
H A Dih264_inter_pred_luma_copy_a9q.s25 @* Interprediction luma function for copy
H A Dih264_inter_pred_luma_horz_qpel_a9q.s49 @* Quarter pel interprediction luma filter for horizontal input
H A Dih264_deblk_luma_a9.s24 @/* Description : Contains function definitions for deblocking luma */
54 @* Performs filtering of a luma block horizontal edge for cases where the
194 @* Performs filtering of a luma block horizontal edge when the
360 @* Performs filtering of a luma block vertical edge for cases where the
581 @* Performs filtering of a luma block vertical edge when the
807 @* Performs filtering of a luma block vertical edge when the
949 @* Performs filtering of a luma block vertical edge for cases where the
H A Dih264_padding_neon.s117 @* Padding (luma block) at the left of a 2d array
381 @* Padding (luma block) at the right of a 2d array
H A Dih264_default_weighted_pred_a9q.s47 @* 8.4.2.3.1 titled "Default weighted sample prediction process" for luma.
H A Dih264_inter_pred_filters_luma_vert_a9q.s50 @ * Interprediction luma filter for vertical input
H A Dih264_inter_pred_luma_vert_qpel_a9q.s47 @* Quarter pel interprediction luma filter for vertical input
/external/libvpx/libvpx/third_party/libyuv/source/
H A Dplanar_functions.cc2222 const uint8* luma,
2226 int width, const uint8* luma, const uint32 lumacoeff) =
2228 if (!src_argb || !dst_argb || !luma || width <= 0 || height == 0) {
2251 ARGBLumaColorTableRow(src_argb, dst_argb, width, luma, 0x00264b0f);
2220 ARGBLumaColorTable(const uint8* src_argb, int src_stride_argb, uint8* dst_argb, int dst_stride_argb, const uint8* luma, int width, int height) argument

Completed in 2441 milliseconds

12