HomeSort by relevance Sort by last modified time
    Searched refs:luma (Results 1 - 25 of 115) sorted by null

1 2 3 4 5

  /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.8 {qRow0}, [luma,:128], width
108 VST1.8 {qRow1}, [luma,:128], width
110 VST1.8 {qRow2}, [luma,:128], width
112 VST1.8 {qRow3}, [luma,:128], width
114 VST1.8 {qRow4}, [luma,:128], widt
    [all...]
  /external/skia/src/core/
SkMaskGamma.cpp 19 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))
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:__anon40344
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);
  /cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/
ImageCompare.java 26 * Compute the luma channel of an RGB image, i.e., the Y channel of the
30 private static double luma(int pixel) { method in class:ImageCompare
70 final double Y1 = luma(pixel1);
71 final double Y2 = luma(pixel2);
  /frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/
ImageCompare.java 26 * Compute the luma channel of an RGB image, i.e., the Y channel of the
30 private static double luma(int pixel) { method in class:ImageCompare
70 final double Y1 = luma(pixel1);
71 final double Y2 = luma(pixel2);
  /external/ImageMagick/MagickCore/
gem.c 74 % ConvertHCLToRGB() transforms a (hue, chroma, luma) to a (red, green,
80 % const double luma,double *red,double *green,double *blue)
84 % o hue, chroma, luma: A double value representing a component of the
91 const double luma,double *red,double *green,double *blue)
149 m=luma-(0.298839*r+0.586811*g+0.114350*b);
167 % ConvertHCLpToRGB() transforms a (hue, chroma, luma) to a (red, green,
174 % const double luma,double *red,double *green,double *blue)
178 % o hue, chroma, luma: A double value representing a componenet of the
185 const double luma,double *red,double *green,double *blue)
244 m=luma-(0.298839*r+0.586811*g+0.114350*b)
    [all...]
enhance.c 741 luma;
743 luma=0.21267f*image->colormap[i].red+0.71526*image->colormap[i].green+
745 image->colormap[i].red=luma+color_correction.saturation*cdl_map[
746 ScaleQuantumToMap(ClampToQuantum(image->colormap[i].red))].red-luma;
747 image->colormap[i].green=luma+color_correction.saturation*cdl_map[
748 ScaleQuantumToMap(ClampToQuantum(image->colormap[i].green))].green-luma;
749 image->colormap[i].blue=luma+color_correction.saturation*cdl_map[
750 ScaleQuantumToMap(ClampToQuantum(image->colormap[i].blue))].blue-luma;
765 luma;
783 luma=0.21267f*GetPixelRed(image,q)+0.71526*GetPixelGreen(image,q)
735 luma; local
759 luma; local
2943 luma, local
2966 luma, local
3104 luma, local
3127 luma, local
    [all...]
  /external/mesa3d/src/gallium/drivers/nouveau/
nouveau_video.c 149 bool luma)
154 unsigned y = luma ? mb->y * 16 : mb->y * 8;
169 if (luma && mb->macroblock_modes.bits.dct_type == PIPE_MPEG12_DCT_TYPE_FIELD)
178 if (luma) {
191 nouveau_vpe_mb_mv_flags(bool luma, int mv_h, int mv_v, bool forward, bool first, bool vert)
194 if (luma)
233 bool luma, bool frame, bool forward, bool vert,
250 if (!luma) {
255 mc_header |= nouveau_vpe_mb_mv_flags(luma, mv_horizontal, mv_vertical, forward, first, vert);
259 if (luma)
    [all...]
  /external/skia/src/effects/
SkLumaColorFilter.cpp 64 fragBuilder->codeAppendf("\tfloat luma = dot(vec3(%f, %f, %f), %s.rgb);\n",
69 fragBuilder->codeAppendf("\t%s = vec4(0, 0, 0, luma);\n",
95 float luma = SK_ITU_BT709_LUM_COEFF_R * input.fRGBA[0] + variable
98 return GrColor4f(0, 0, 0, luma);
  /external/ImageMagick/coders/
pcd.c 98 % MagickBooleanType DecodeImage(Image *image,unsigned char *luma,
105 % o luma: the address of a character buffer that contains the
115 static MagickBooleanType DecodeImage(Image *image,unsigned char *luma,
185 assert(luma != (unsigned char *) NULL);
249 q=luma;
268 q=luma+row*image->columns;
516 *luma;
597 Allocate luma and chroma memory.
606 luma=(unsigned char *) AcquireQuantumMemory(image->columns+1UL,image->rows*
607 10*sizeof(*luma));
511 *luma; local
    [all...]
  /cts/apps/CameraITS/tests/scene1/
test_ev_compensation_basic.py 75 luma = its.image.compute_image_means(tile)[0]
76 luma_locked.append(luma)
78 lumas.append(luma)
94 pylab.ylabel('Mean Luma (Normalized)')
114 print 'Min of the luma value difference between adjacent ev comp: ',
116 # All luma brightness should be increasing with increasing ev comp.
  /external/mesa3d/src/gallium/drivers/r600/
r600_uvd.c 159 struct r600_texture *luma = (struct r600_texture *)buf->resources[0]; local
165 ruvd_set_dt_surfaces(msg, &luma->surface, &chroma->surface);
167 return luma->resource.buf;
  /external/mesa3d/src/gallium/drivers/radeonsi/
si_uvd.c 124 struct r600_texture *luma = (struct r600_texture *)buf->resources[0]; local
129 ruvd_set_dt_surfaces(msg, &luma->surface, &chroma->surface);
131 return luma->resource.buf;
  /external/libmpeg2/decoder/
impeg2d_mc.h 59 void impeg2d_set_mc_params(comp_mc_params_t *luma,
  /external/mesa3d/src/gallium/drivers/radeon/
radeon_vce_50.c 130 enc->luma->level[0].offset); // inputPictureLumaAddressHi/Lo
133 RVCE_CS(align(enc->luma->level[0].nblk_y, 16)); // encInputFrameYPitch
134 RVCE_CS(enc->luma->level[0].nblk_x * enc->luma->bpe); // encInputPicLumaPitch
radeon_vce_40_2_2.c 97 RVCE_CS(enc->luma->level[0].nblk_x * enc->luma->bpe); // encRefPicLumaPitch
99 RVCE_CS(align(enc->luma->level[0].nblk_y, 16) / 8); // encRefYHeightInQw
323 enc->luma->level[0].offset); // inputPictureLumaAddressHi/Lo
326 RVCE_CS(align(enc->luma->level[0].nblk_y, 16)); // encInputFrameYPitch
327 RVCE_CS(enc->luma->level[0].nblk_x * enc->luma->bpe); // encInputPicLumaPitch
  /external/webp/src/dsp/
yuv.h 45 // difference of allowing larger range for luma/chroma.
198 const int luma = 16839 * r + 33059 * g + 6420 * b; local
199 return (luma + rounding + (16 << YUV_FIX)) >> YUV_FIX; // no need to clip
218 const int luma = 19595 * r + 38470 * g + 7471 * b; local
219 return (luma + rounding) >> YUV_FIX; // no need to clip
  /external/pdfium/third_party/libtiff/
tif_color.c 217 TIFFYCbCrToRGBInit(TIFFYCbCrToRGB* ycbcr, float *luma, float *refBlackWhite)
222 #define LumaRed luma[0]
223 #define LumaGreen luma[1]
224 #define LumaBlue luma[2]
  /external/webp/include/webp/
decode.h 77 // WebPFree(), unlike the returned Y luma one. The dimension of the U and V
119 // into pre-allocated luma/chroma plane buffers. This function requires the
120 // strides to be passed: one for the luma plane and one for each of the
123 // Pointer to the luma plane ('*luma') is returned or NULL if an error occurred
127 uint8_t* luma, size_t luma_size, int luma_stride,
187 uint8_t* y, *u, *v, *a; // pointer to luma, chroma U/V, alpha samples
188 int y_stride; // luma stride
191 size_t y_size; // luma plane size
297 // will output the raw luma/chroma samples into a preallocated planes i
    [all...]
  /external/webp/src/webp/
decode.h 77 // WebPFree(), unlike the returned Y luma one. The dimension of the U and V
119 // into pre-allocated luma/chroma plane buffers. This function requires the
120 // strides to be passed: one for the luma plane and one for each of the
123 // Pointer to the luma plane ('*luma') is returned or NULL if an error occurred
127 uint8_t* luma, size_t luma_size, int luma_stride,
187 uint8_t* y, *u, *v, *a; // pointer to luma, chroma U/V, alpha samples
188 int y_stride; // luma stride
191 size_t y_size; // luma plane size
297 // will output the raw luma/chroma samples into a preallocated planes i
    [all...]
  /external/libdrm/tests/planetest/
bo.c 34 uint8_t *luma = bo->map_addr + i * bo->pitch; local
37 luma[j] = MAKE_YUV_601_Y(r, g, b);

Completed in 570 milliseconds

1 2 3 4 5