Home
last modified time | relevance | path

Searched refs:chroma (Results 1 – 25 of 71) sorted by relevance

123

/external/tensorflow/tensorflow/core/kernels/image/
Dadjust_hsv_gpu.cu.h44 const float chroma = M - m; in rgb2hsv_cuda() local
47 if (chroma > 0.0f) { in rgb2hsv_cuda()
49 const float num = (g - b) / chroma; in rgb2hsv_cuda()
53 h = ((b - r) / chroma + 2.0f) / 6.0f; in rgb2hsv_cuda()
55 h = ((r - g) / chroma + 4.0f) / 6.0f; in rgb2hsv_cuda()
62 s = chroma / M; in rgb2hsv_cuda()
76 const float chroma = v * s; in hsv2rgb_cuda() local
77 const float x = chroma * (1.0f - fabsf(fmodf(new_h, 2.0f) - 1.0f)); in hsv2rgb_cuda()
78 const float new_m = v - chroma; in hsv2rgb_cuda()
85 tuple.r = chroma * (between_0_and_1 || between_5_and_6) + in hsv2rgb_cuda()
[all …]
/external/ImageMagick/MagickCore/
Dgem.c88 MagickPrivate void ConvertHCLToRGB(const double hue,const double chroma, in ConvertHCLToRGB() argument
107 c=chroma; in ConvertHCLToRGB()
181 MagickPrivate void ConvertHCLpToRGB(const double hue,const double chroma, in ConvertHCLpToRGB() argument
201 c=chroma; in ConvertHCLpToRGB()
744 static inline void ConvertLCHabToXYZ(const double luma,const double chroma, in ConvertLCHabToXYZ() argument
748 ConvertLabToXYZ(luma,chroma*cos(hue*MagickPI/180.0),chroma* in ConvertLCHabToXYZ()
752 MagickPrivate void ConvertLCHabToRGB(const double luma,const double chroma, in ConvertLCHabToRGB() argument
767 ConvertLCHabToXYZ(100.0*luma,255.0*(chroma-0.5),360.0*hue,illuminant, in ConvertLCHabToRGB()
800 static inline void ConvertLCHuvToXYZ(const double luma,const double chroma, in ConvertLCHuvToXYZ() argument
804 ConvertLuvToXYZ(luma,chroma*cos(hue*MagickPI/180.0),chroma* in ConvertLCHuvToXYZ()
[all …]
Dcomposite.c181 static void HCLComposite(const MagickRealType hue,const MagickRealType chroma, in HCLComposite() argument
201 c=chroma; in HCLComposite()
248 const MagickRealType blue,MagickRealType *hue,MagickRealType *chroma, in CompositeHCL() argument
263 assert(chroma != (MagickRealType *) NULL); in CompositeHCL()
283 *chroma=QuantumScale*c; in CompositeHCL()
1224 chroma, in CompositeImage() local
1277 chroma=0.0; in CompositeImage()
1831 &hue,&chroma,&sans); in CompositeImage()
1832 HCLComposite(hue,chroma,luma,&red,&green,&blue); in CompositeImage()
2008 &hue,&chroma,&luma); in CompositeImage()
[all …]
Denhance.c3457 chroma; in ModulateHCL() local
3462 ConvertRGBToHCL(*red,*green,*blue,&hue,&chroma,&luma); in ModulateHCL()
3464 chroma*=0.01*percent_chroma; in ModulateHCL()
3466 ConvertHCLToRGB(hue,chroma,luma,red,green,blue); in ModulateHCL()
3476 chroma; in ModulateHCLp() local
3481 ConvertRGBToHCLp(*red,*green,*blue,&hue,&chroma,&luma); in ModulateHCLp()
3483 chroma*=0.01*percent_chroma; in ModulateHCLp()
3485 ConvertHCLpToRGB(hue,chroma,luma,red,green,blue); in ModulateHCLp()
3590 chroma; in ModulateLCHab() local
3595 ConvertRGBToLCHab(*red,*green,*blue,illuminant,&luma,&chroma,&hue); in ModulateLCHab()
[all …]
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rcssmin/tests/yui/
Dcolor.css7 filter: chroma(color="#FFFFFF");
15 filter: chroma(color = #FFFFFF );
25 filter: chroma(color= #FFFFFF)
31 filter: chroma(color=#11FFFFFF);
Dcolor.css.min1chroma(color="#FFFFFF");background:none repeat scroll 0 0 #f00;alpha:rgba(1,2,3,4);color:#12a}#AAB…
Dcolor-simple.css4 filter:chroma(color = #FFFFFF );
5 filter:chroma(color="#AABBCC");
6 filter:chroma(color='#BBDDEE');
Dcolor-simple.css.min1 …;border-color:#e6a #abcdef #feab2c;filter:chroma(color = #FFFFFF);filter:chroma(color="#AABBCC");f…
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rcssmin/tests/yui/out/
Dcolor.out1chroma(color="#FFFFFF");background:none repeat scroll 0 0 rgb(255,0,0);alpha:rgba(1,2,3,4);color:#…
Dcolor.out.b1chroma(color="#FFFFFF");background:none repeat scroll 0 0 rgb(255,0,0);alpha:rgba(1,2,3,4);color:#…
Dcolor-simple.out.b1 …order-color:#Ee66aA #ABCDEF #FeAb2C;filter:chroma(color=#FFFFFF);filter:chroma(color="#AABBCC");fi…
Dcolor-simple.out1 …order-color:#Ee66aA #ABCDEF #FeAb2C;filter:chroma(color=#FFFFFF);filter:chroma(color="#AABBCC");fi…
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_uvd.c55 struct si_texture *chroma = (struct si_texture *)buf->resources[1]; in si_uvd_set_dtb() local
61 si_uvd_set_dt_surfaces(msg, &luma->surface, (chroma) ? &chroma->surface : NULL, type); in si_uvd_set_dtb()
/external/mesa3d/src/gallium/drivers/radeon/
Dradeon_vce_40_2_2.c86 RVCE_CS(enc->chroma->u.legacy.level[0].nblk_x * enc->chroma->bpe); // encRefPicChromaPitch in create()
313 enc->chroma->u.legacy.level[0].offset); // inputPictureChromaAddressHi/Lo in encode()
316 RVCE_CS(enc->chroma->u.legacy.level[0].nblk_x * enc->chroma->bpe); // encInputPicChromaPitch in encode()
Dradeon_vce_50.c123 enc->chroma->u.legacy.level[0].offset); // inputPictureChromaAddressHi/Lo in encode()
126 RVCE_CS(enc->chroma->u.legacy.level[0].nblk_x * enc->chroma->bpe); // encInputPicChromaPitch in encode()
Dradeon_vce_52.c197 RVCE_CS(enc->chroma->u.legacy.level[0].nblk_x * enc->chroma->bpe); // encRefPicChromaPitch in create()
201 RVCE_CS(enc->chroma->u.gfx9.surf_pitch * enc->chroma->bpe); // encRefPicChromaPitch in create()
270 enc->chroma->u.legacy.level[0].offset); // inputPictureChromaAddressHi/Lo in encode()
273 RVCE_CS(enc->chroma->u.legacy.level[0].nblk_x * enc->chroma->bpe); // encInputPicChromaPitch in encode()
278 enc->chroma->u.gfx9.surf_offset); // inputPictureChromaAddressHi/Lo in encode()
281 RVCE_CS(enc->chroma->u.gfx9.surf_pitch * enc->chroma->bpe); // encInputPicChromaPitch in encode()
Dradeon_uvd_enc_1_1.c762 (enc->chroma->u.legacy.level[0].nblk_x * enc->chroma->bpe); in radeon_uvd_enc_ctx()
765 enc->enc_pic.ctx_buf.rec_chroma_pitch = enc->chroma->u.gfx9.surf_pitch * enc->chroma->bpe; in radeon_uvd_enc_ctx()
881 (enc->chroma->u.legacy.level[0].nblk_x * enc->chroma->bpe); in radeon_uvd_enc_encode_params_hevc()
885 enc->chroma->u.gfx9.surf_pitch * enc->chroma->bpe; in radeon_uvd_enc_encode_params_hevc()
902 RADEON_ENC_READ(enc->handle, RADEON_DOMAIN_VRAM, enc->chroma->u.legacy.level[0].offset); in radeon_uvd_enc_encode_params_hevc()
905 RADEON_ENC_READ(enc->handle, RADEON_DOMAIN_VRAM, enc->chroma->u.gfx9.surf_offset); in radeon_uvd_enc_encode_params_hevc()
Dradeon_uvd.c1438 struct radeon_surf *chroma, enum ruvd_surface_type type) in si_uvd_set_dt_surfaces() argument
1463 if (chroma) in si_uvd_set_dt_surfaces()
1464 msg->body.decode.dt_chroma_top_offset = texture_offset(chroma, 0, type); in si_uvd_set_dt_surfaces()
1467 if (chroma) in si_uvd_set_dt_surfaces()
1468 msg->body.decode.dt_chroma_bottom_offset = texture_offset(chroma, 1, type); in si_uvd_set_dt_surfaces()
1474 if (chroma) { in si_uvd_set_dt_surfaces()
1475 assert(luma->u.legacy.bankw == chroma->u.legacy.bankw); in si_uvd_set_dt_surfaces()
1476 assert(luma->u.legacy.bankh == chroma->u.legacy.bankh); in si_uvd_set_dt_surfaces()
1477 assert(luma->u.legacy.mtilea == chroma->u.legacy.mtilea); in si_uvd_set_dt_surfaces()
1491 msg->body.decode.dt_chroma_top_offset = texture_offset(chroma, 0, type); in si_uvd_set_dt_surfaces()
[all …]
/external/mesa3d/src/gallium/drivers/r600/
Dr600_uvd.c163 struct r600_texture *chroma = (struct r600_texture *)buf->resources[1]; in r600_uvd_set_dtb() local
168 ruvd_set_dt_surfaces(msg, &luma->surface, &chroma->surface); in r600_uvd_set_dtb()
Dradeon_uvd.c1207 struct radeon_surf *chroma) in ruvd_set_dt_surfaces() argument
1229 if (chroma) in ruvd_set_dt_surfaces()
1230 msg->body.decode.dt_chroma_top_offset = texture_offset(chroma, 0); in ruvd_set_dt_surfaces()
1233 if (chroma) in ruvd_set_dt_surfaces()
1234 msg->body.decode.dt_chroma_bottom_offset = texture_offset(chroma, 1); in ruvd_set_dt_surfaces()
1240 if (chroma) { in ruvd_set_dt_surfaces()
1241 assert(luma->u.legacy.bankw == chroma->u.legacy.bankw); in ruvd_set_dt_surfaces()
1242 assert(luma->u.legacy.bankh == chroma->u.legacy.bankh); in ruvd_set_dt_surfaces()
1243 assert(luma->u.legacy.mtilea == chroma->u.legacy.mtilea); in ruvd_set_dt_surfaces()
/external/libavc/common/arm/
Dih264_deblk_chroma_a9.s61 @* 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 the
[all …]
Dih264_inter_pred_chroma_a9q.s52 @* Interprediction chroma filter
55 @* Applies filtering to chroma samples as mentioned in
/external/libyuv/files/docs/
Dformats.md105 I400 and J400 have no chroma channel.
158 chroma plane with weaved U and V values.
161 height chroma channel, and therefore is a 420 subsampling.
163 NV24 is 24 bits per pixel with full sized chroma channel. aka 444.
/external/libmpeg2/decoder/
Dimpeg2d_mc.h60 comp_mc_params_t *chroma,
/external/libaom/libaom/
DSample.cfg14 disable_cfl = 0 # disable chroma from luma prediction

123