Home
last modified time | relevance | path

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

123

/external/tensorflow/tensorflow/core/kernels/
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
747 ConvertLabToXYZ(luma,chroma*cos(hue*MagickPI/180.0),chroma* in ConvertLCHabToXYZ()
751 MagickPrivate void ConvertLCHabToRGB(const double luma,const double chroma, in ConvertLCHabToRGB() argument
765 ConvertLCHabToXYZ(100.0*luma,255.0*(chroma-0.5),360.0*hue,&X,&Y,&Z); in ConvertLCHabToRGB()
797 static inline void ConvertLCHuvToXYZ(const double luma,const double chroma, in ConvertLCHuvToXYZ() argument
800 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()
1231 chroma, local
1284 chroma=0.0;
1779 &hue,&chroma,&sans);
1780 HCLComposite(hue,chroma,luma,&red,&green,&blue);
1949 &hue,&chroma,&luma);
[all …]
Denhance.c3448 chroma; in ModulateHCL() local
3453 ConvertRGBToHCL(*red,*green,*blue,&hue,&chroma,&luma); in ModulateHCL()
3455 chroma*=0.01*percent_chroma; in ModulateHCL()
3457 ConvertHCLToRGB(hue,chroma,luma,red,green,blue); in ModulateHCL()
3467 chroma; in ModulateHCLp() local
3472 ConvertRGBToHCLp(*red,*green,*blue,&hue,&chroma,&luma); in ModulateHCLp()
3474 chroma*=0.01*percent_chroma; in ModulateHCLp()
3476 ConvertHCLpToRGB(hue,chroma,luma,red,green,blue); in ModulateHCLp()
3581 chroma; in ModulateLCHab() local
3586 ConvertRGBToLCHab(*red,*green,*blue,&luma,&chroma,&hue); in ModulateLCHab()
[all …]
/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/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.css.min1 …;border-color:#e6a #abcdef #feab2c;filter:chroma(color = #FFFFFF);filter:chroma(color="#AABBCC");f…
Dcolor-simple.css4 filter:chroma(color = #FFFFFF );
5 filter:chroma(color="#AABBCC");
6 filter:chroma(color='#BBDDEE');
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_uvd.c114 struct r600_texture *chroma = (struct r600_texture *)buf->resources[1]; in si_uvd_set_dtb() local
121 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.c92 RVCE_CS(enc->chroma->u.legacy.level[0].nblk_x * enc->chroma->bpe); // encRefPicChromaPitch in create()
319 enc->chroma->u.legacy.level[0].offset); // inputPictureChromaAddressHi/Lo in encode()
322 RVCE_CS(enc->chroma->u.legacy.level[0].nblk_x * enc->chroma->bpe); // encInputPicChromaPitch in encode()
Dradeon_vce_50.c126 enc->chroma->u.legacy.level[0].offset); // inputPictureChromaAddressHi/Lo in encode()
129 RVCE_CS(enc->chroma->u.legacy.level[0].nblk_x * enc->chroma->bpe); // encInputPicChromaPitch in encode()
Dradeon_vce_52.c184 RVCE_CS(enc->chroma->u.legacy.level[0].nblk_x * enc->chroma->bpe); // encRefPicChromaPitch in create()
188 RVCE_CS(enc->chroma->u.gfx9.surf_pitch * enc->chroma->bpe); // encRefPicChromaPitch in create()
257 enc->chroma->u.legacy.level[0].offset); // inputPictureChromaAddressHi/Lo in encode()
260 RVCE_CS(enc->chroma->u.legacy.level[0].nblk_x * enc->chroma->bpe); // encInputPicChromaPitch in encode()
265 enc->chroma->u.gfx9.surf_offset); // inputPictureChromaAddressHi/Lo in encode()
268 RVCE_CS(enc->chroma->u.gfx9.surf_pitch * enc->chroma->bpe); // encInputPicChromaPitch in encode()
Dradeon_uvd.c1572 struct radeon_surf *chroma, enum ruvd_surface_type type) in si_uvd_set_dt_surfaces() argument
1597 if (chroma) in si_uvd_set_dt_surfaces()
1598 msg->body.decode.dt_chroma_top_offset = texture_offset(chroma, 0, type); in si_uvd_set_dt_surfaces()
1601 if (chroma) in si_uvd_set_dt_surfaces()
1602 msg->body.decode.dt_chroma_bottom_offset = texture_offset(chroma, 1, type); in si_uvd_set_dt_surfaces()
1608 if (chroma) { in si_uvd_set_dt_surfaces()
1609 assert(luma->u.legacy.bankw == chroma->u.legacy.bankw); in si_uvd_set_dt_surfaces()
1610 assert(luma->u.legacy.bankh == chroma->u.legacy.bankh); in si_uvd_set_dt_surfaces()
1611 assert(luma->u.legacy.mtilea == chroma->u.legacy.mtilea); in si_uvd_set_dt_surfaces()
1624 msg->body.decode.dt_chroma_top_offset = texture_offset(chroma, 0, type); in si_uvd_set_dt_surfaces()
[all …]
/external/libdrm/tests/planetest/
Dbo.c41 uint8_t *chroma = bo->map_addr + (i + height) * bo->pitch; in draw_rect_yuv() local
44 chroma[j*2] = MAKE_YUV_601_U(r, g, b); in draw_rect_yuv()
45 chroma[j*2 + 1] = MAKE_YUV_601_V(r, g, b); in draw_rect_yuv()
/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/mesa3d/src/gallium/drivers/r600/
Dr600_uvd.c160 struct r600_texture *chroma = (struct r600_texture *)buf->resources[1]; in r600_uvd_set_dtb() local
165 ruvd_set_dt_surfaces(msg, &luma->surface, &chroma->surface); in r600_uvd_set_dtb()
Dradeon_uvd.c1450 struct radeon_surf *chroma) in ruvd_set_dt_surfaces() argument
1472 if (chroma) in ruvd_set_dt_surfaces()
1473 msg->body.decode.dt_chroma_top_offset = texture_offset(chroma, 0); in ruvd_set_dt_surfaces()
1476 if (chroma) in ruvd_set_dt_surfaces()
1477 msg->body.decode.dt_chroma_bottom_offset = texture_offset(chroma, 1); in ruvd_set_dt_surfaces()
1483 if (chroma) { in ruvd_set_dt_surfaces()
1484 assert(luma->u.legacy.bankw == chroma->u.legacy.bankw); in ruvd_set_dt_surfaces()
1485 assert(luma->u.legacy.bankh == chroma->u.legacy.bankh); in ruvd_set_dt_surfaces()
1486 assert(luma->u.legacy.mtilea == chroma->u.legacy.mtilea); in ruvd_set_dt_surfaces()
/external/libmpeg2/decoder/
Dimpeg2d_mc.h60 comp_mc_params_t *chroma,
/external/libxcam/cl_kernel/
Dkernel_wavelet_denoise.cl63 uint4 chroma;
201 chroma = vload4(0, src + chroma_index + inputUVOffset * (imageWidth / 4));
202 vstore4(chroma, 0, dest + chroma_index + outputUVOffset * (imageWidth / 4));
/external/ImageMagick/tests/
Dvalidate.c363 static inline void ConvertLCHabToXYZ(const double luma,const double chroma, in ConvertLCHabToXYZ() argument
366 ConvertLabToXYZ(luma,chroma*cos(hue*MagickPI/180.0),chroma* in ConvertLCHabToXYZ()
370 static void ConvertLCHabToRGB(const double luma,const double chroma, in ConvertLCHabToRGB() argument
378 ConvertLCHabToXYZ(luma*100.0,255.0*(chroma-0.5),360.0*hue,&X,&Y,&Z); in ConvertLCHabToRGB()
418 const double Z,double *luma,double *chroma,double *hue) in ConvertXYZToLCHab() argument
425 *chroma=hypot(255.0*(a-0.5),255.0*(b-0.5))/255.0+0.5; in ConvertXYZToLCHab()
432 const double blue,double *luma,double *chroma,double *hue) in ConvertRGBToLCHab() argument
440 ConvertXYZToLCHab(X,Y,Z,luma,chroma,hue); in ConvertRGBToLCHab()

123