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

1 2 3

  /external/tensorflow/tensorflow/core/kernels/
adjust_hsv_gpu.cu.h 44 const float chroma = M - m; local
47 if (chroma > 0.0f) {
49 const float num = (g - b) / chroma;
53 h = ((b - r) / chroma + 2.0f) / 6.0f;
55 h = ((r - g) / chroma + 4.0f) / 6.0f;
62 s = chroma / M;
76 const float chroma = v * s; local
77 const float x = chroma * (1.0f - fabsf(fmodf(new_h, 2.0f) - 1.0f));
78 const float new_m = v - chroma;
85 tuple.r = chroma * (between_0_and_1 || between_5_and_6)
    [all...]
  /packages/apps/Gallery2/jni/filters/
hsv.c 35 int iMin,iMax,chroma; local
55 chroma = iMax - iMin;
63 rs = (short)((k1*chroma)/iMax);
70 rh = (short)( (k2*(6*chroma+gi - bi))/(6*chroma));
73 rh = (short)( (k2*(2*chroma+bi - ri ))/(6*chroma));
75 rh = (short)( (k2*(4*chroma+ri - gi ))/(6*chroma));
98 // set chroma and min component value
    [all...]
  /frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
shadows.rs 53 int iMin,iMax,chroma;
68 chroma = iMax - iMin;
76 rs = (short)((k1*chroma)/iMax);
83 rh = (short)( (k2*(6*chroma+gi - bi))/(6*chroma));
86 rh = (short)( (k2*(2*chroma+bi - ri ))/(6*chroma));
88 rh = (short)( (k2*(4*chroma+ri - gi ))/(6*chroma));
114 // set chroma and min component value
    [all...]
  /frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
shadows.rs 53 int iMin,iMax,chroma;
68 chroma = iMax - iMin;
76 rs = (short)((k1*chroma)/iMax);
83 rh = (short)( (k2*(6*chroma+gi - bi))/(6*chroma));
86 rh = (short)( (k2*(2*chroma+bi - ri ))/(6*chroma));
88 rh = (short)( (k2*(4*chroma+ri - gi ))/(6*chroma));
114 // set chroma and min component value
    [all...]
  /frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
shadows.rs 53 int iMin,iMax,chroma;
68 chroma = iMax - iMin;
76 rs = (short)((k1*chroma)/iMax);
83 rh = (short)( (k2*(6*chroma+gi - bi))/(6*chroma));
86 rh = (short)( (k2*(2*chroma+bi - ri ))/(6*chroma));
88 rh = (short)( (k2*(4*chroma+ri - gi ))/(6*chroma));
114 // set chroma and min component value
    [all...]
  /frameworks/rs/tests/java_api/ScriptGroupTest/src/com/android/rs/sgtest/
shadows_f.rs 53 int iMin,iMax,chroma;
68 chroma = iMax - iMin;
76 rs = (short)((k1*chroma)/iMax);
83 rh = (short)( (k2*(6*chroma+gi - bi))/(6*chroma));
86 rh = (short)( (k2*(2*chroma+bi - ri ))/(6*chroma));
88 rh = (short)( (k2*(4*chroma+ri - gi ))/(6*chroma));
114 // set chroma and min component value
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
saturation.rs 106 int iMin,iMax,chroma;
127 chroma = iMax - iMin;
128 rs = (short) ((k1 * chroma) / iMax);
134 rh = (short) ((k2 * (6 * chroma + gi - bi))/(6 * chroma));
142 return(short) ((k2 * (2 * chroma + bi - ri)) / (6 * chroma));
145 return (short) ((k2 * (4 * chroma + ri - gi)) / (6 * chroma));
  /external/ImageMagick/MagickCore/
gem.c 74 % ConvertHCLToRGB() transforms a (hue, chroma, luma) to a (red, green,
79 % void ConvertHCLToRGB(const double hue,const double chroma,
84 % o hue, chroma, luma: A double value representing a component of the
90 MagickPrivate void ConvertHCLToRGB(const double hue,const double chroma,
109 c=chroma;
167 % ConvertHCLpToRGB() transforms a (hue, chroma, luma) to a (red, green,
173 % void ConvertHCLpToRGB(const double hue,const double chroma,
178 % o hue, chroma, luma: A double value representing a componenet of the
184 MagickPrivate void ConvertHCLpToRGB(const double hue,const double chroma,
204 c=chroma;
    [all...]
composite.c 183 static void HCLComposite(const MagickRealType hue,const MagickRealType chroma,
203 c=chroma;
250 const MagickRealType blue,MagickRealType *hue,MagickRealType *chroma,
265 assert(chroma != (MagickRealType *) NULL);
285 *chroma=QuantumScale*c;
1221 chroma, local
    [all...]
enhance.c 2944 chroma; local
2967 chroma; local
3105 chroma; local
3128 chroma; local
    [all...]
  /external/libmpeg2/decoder/
impeg2d_mc.h 60 comp_mc_params_t *chroma,
  /hardware/intel/img/psb_video/src/
psb_surface.h 98 * Temporarily map surface and set all chroma values of surface to 'chroma'
100 VAStatus psb_surface_set_chroma(psb_surface_p psb_surface, int chroma);
psb_surface.c 165 unsigned int __maybe_unused chroma_u_stride, /* chroma stride */
200 unsigned int __maybe_unused chroma_u_stride, /* chroma stride */
318 * Temporarily map surface and set all chroma values of surface to 'chroma'
320 VAStatus psb_surface_set_chroma(psb_surface_p psb_surface, int chroma)
327 memset(surface_data + psb_surface->chroma_offset, chroma, psb_surface->size - psb_surface->chroma_offset);
  /external/mesa3d/src/gallium/drivers/r600/
r600_uvd.c 160 struct r600_texture *chroma = (struct r600_texture *)buf->resources[1]; local
165 ruvd_set_dt_surfaces(msg, &luma->surface, &chroma->surface);
  /external/mesa3d/src/gallium/drivers/radeonsi/
si_uvd.c 125 struct r600_texture *chroma = (struct r600_texture *)buf->resources[1]; local
129 ruvd_set_dt_surfaces(msg, &luma->surface, &chroma->surface);
  /external/libdrm/tests/planetest/
bo.c 41 uint8_t *chroma = bo->map_addr + (i + height) * bo->pitch; local
44 chroma[j*2] = MAKE_YUV_601_U(r, g, b);
45 chroma[j*2 + 1] = MAKE_YUV_601_V(r, g, b);
  /external/mesa3d/src/gallium/drivers/radeon/
radeon_vce_50.c 132 enc->chroma->level[0].offset); // inputPictureChromaAddressHi/Lo
135 RVCE_CS(enc->chroma->level[0].nblk_x * enc->chroma->bpe); // encInputPicChromaPitch
radeon_vce_40_2_2.c 98 RVCE_CS(enc->chroma->level[0].nblk_x * enc->chroma->bpe); // encRefPicChromaPitch
325 enc->chroma->level[0].offset); // inputPictureChromaAddressHi/Lo
328 RVCE_CS(enc->chroma->level[0].nblk_x * enc->chroma->bpe); // encInputPicChromaPitch
  /external/mesa3d/src/gallium/state_trackers/va/
picture_vc1.c 61 context->desc.vc1.range_mapuv = vc1->range_mapping_fields.bits.chroma;
  /external/libavc/common/arm/
ih264_inter_pred_chroma_a9q.s 52 @* Interprediction chroma filter
55 @* Applies filtering to chroma samples as mentioned in
56 @* sec 8.4.2.2.2 titled "chroma sample interpolation process"
ih264_deblk_chroma_a9.s 61 @* Performs filtering of a chroma block horizontal edge when the
95 sub r0, r0, r1, lsl #1 @R0 = uc_edgePixel pointing to p1 of chroma
97 mov r4, r0 @Keeping a backup of the pointer p0 of chroma
137 @* Performs filtering of a chroma block vertical edge when the
231 @* Performs filtering of a chroma block horizontal edge for cases where the
273 sub r0, r0, r1, lsl #1 @R0 = uc_edgePixelU pointing to p2 of chroma U
280 mov r6, r0 @Keeping a backup of the pointer to chroma U P0
333 @* Performs filtering of a chroma block vertical edge for cases where the
472 @* Performs filtering of a chroma block vertical edge when the
550 @* Performs filtering of a chroma block vertical edge for cases where th
    [all...]
  /hardware/qcom/msm8960/kernel-headers/linux/
msm_q6vdec.h 277 u32 chroma; member in struct:stride_type
  /hardware/qcom/msm8960/original-kernel-headers/linux/
msm_q6vdec.h 159 u32 vc1_rangeUV; /* chroma range mapping */
247 u32 chroma; member in struct:stride_type
  /hardware/qcom/msm8996/kernel-headers/linux/
msm_q6vdec.h 277 u32 chroma; member in struct:stride_type
  /hardware/qcom/msm8996/original-kernel-headers/linux/
msm_q6vdec.h 159 u32 vc1_rangeUV; /* chroma range mapping */
247 u32 chroma; member in struct:stride_type

Completed in 1778 milliseconds

1 2 3