Home
last modified time | relevance | path

Searched refs:intensity (Results 1 – 25 of 88) sorted by relevance

1234

/external/skia/src/shaders/
DSkLights.h53 static Light MakePoint(const SkColor3f& color, const SkPoint3& pos, SkScalar intensity) { in MakePoint() argument
54 return Light(kPoint_LightType, color, pos, intensity); in MakePoint()
67 SkScalar intensity() const { in intensity() function
97 SkScalar intensity) in Light() argument
101 , fIntensity(intensity) {} in Light()
DSkLights.cpp39 SkScalar intensity; in MakeFromBuffer() local
40 intensity = buf.readScalar(); in MakeFromBuffer()
41 Light light = Light::MakePoint(color, dirOrPos, intensity); in MakeFromBuffer()
88 buf.writeScalar(light.intensity()); in flatten()
/external/skqp/src/shaders/
DSkLights.h53 static Light MakePoint(const SkColor3f& color, const SkPoint3& pos, SkScalar intensity) { in MakePoint() argument
54 return Light(kPoint_LightType, color, pos, intensity); in MakePoint()
67 SkScalar intensity() const { in intensity() function
97 SkScalar intensity) in Light() argument
101 , fIntensity(intensity) {} in Light()
DSkLights.cpp39 SkScalar intensity; in MakeFromBuffer() local
40 intensity = buf.readScalar(); in MakeFromBuffer()
41 Light light = Light::MakePoint(color, dirOrPos, intensity); in MakeFromBuffer()
88 buf.writeScalar(light.intensity()); in flatten()
/external/ImageMagick/MagickCore/
Dpixel-accessor.h242 intensity; in GetPixelInfoLuma() local
246 intensity=(MagickRealType) (0.212656f*pixel->red+0.715158f*pixel->green+ in GetPixelInfoLuma()
248 return(intensity); in GetPixelInfoLuma()
250 intensity=(MagickRealType) (0.212656f*EncodePixelGamma(pixel->red)+ in GetPixelInfoLuma()
253 return(intensity); in GetPixelInfoLuma()
260 intensity; in GetPixelInfoLuminance() local
264 intensity=(MagickRealType) (0.212656f*pixel->red+0.715158f*pixel->green+ in GetPixelInfoLuminance()
266 return(intensity); in GetPixelInfoLuminance()
268 intensity=(MagickRealType) (0.212656f*DecodePixelGamma(pixel->red)+ in GetPixelInfoLuminance()
271 return(intensity); in GetPixelInfoLuminance()
[all …]
Dgem.c390 const double intensity,double *red,double *green,double *blue) in ConvertHSIToRGB() argument
408 b=intensity*(1.0-saturation); in ConvertHSIToRGB()
409 r=intensity*(1.0+saturation*cos(h*(MagickPI/180.0))/cos((60.0-h)* in ConvertHSIToRGB()
411 g=3.0*intensity-r-b; in ConvertHSIToRGB()
417 r=intensity*(1.0-saturation); in ConvertHSIToRGB()
418 g=intensity*(1.0+saturation*cos(h*(MagickPI/180.0))/cos((60.0-h)* in ConvertHSIToRGB()
420 b=3.0*intensity-r-g; in ConvertHSIToRGB()
425 g=intensity*(1.0-saturation); in ConvertHSIToRGB()
426 b=intensity*(1.0+saturation*cos(h*(MagickPI/180.0))/cos((60.0-h)* in ConvertHSIToRGB()
428 r=3.0*intensity-g-b; in ConvertHSIToRGB()
[all …]
Denhance.c416 intensity; in InterpolateCLAHE() local
428 intensity=lut[*pixels]; in InterpolateCLAHE()
430 tile->height)*(y*(x*Q12[intensity]+(tile->width-x)*Q22[intensity])+ in InterpolateCLAHE()
431 (tile->height-y)*(x*Q11[intensity]+(tile->width-x)*Q21[intensity]))); in InterpolateCLAHE()
1651 intensity; in ContrastStretchImage() local
1658 intensity=0.0; in ContrastStretchImage()
1661 intensity+=histogram[GetPixelChannels(image)*j+i]; in ContrastStretchImage()
1662 if (intensity > black_point) in ContrastStretchImage()
1666 intensity=0.0; in ContrastStretchImage()
1669 intensity+=histogram[GetPixelChannels(image)*j+i]; in ContrastStretchImage()
[all …]
Dcolormap.c276 intensity; in IntensityCompare() local
280 intensity=(int) GetPixelInfoIntensity((const Image *) NULL,color_2)-(int) in IntensityCompare()
282 return(intensity); in IntensityCompare()
Daccelerate.c343 method = image->intensity; in LaunchHistogramKernel()
962 intensity; in ComputeContrastStretchImage() local
1137 intensity=0.0; in ComputeContrastStretchImage()
1140 intensity+=histogram[i].s[2]; in ComputeContrastStretchImage()
1141 if (intensity > black_point) in ComputeContrastStretchImage()
1145 intensity=0.0; in ComputeContrastStretchImage()
1148 intensity+=histogram[i].s[2]; in ComputeContrastStretchImage()
1149 if (intensity > ((double) image->columns*image->rows-white_point)) in ComputeContrastStretchImage()
1158 intensity=0.0; in ComputeContrastStretchImage()
1161 intensity+=histogram[i].s[2]; in ComputeContrastStretchImage()
[all …]
Dxwindow-private.h590 intensity; in XPixelIntensity() local
594 intensity=0.212656*pixel->red+0.715158*pixel->green+0.072186*pixel->blue; in XPixelIntensity()
595 return(intensity); in XPixelIntensity()
Dquantize.c649 intensity; in AssignImageColors() local
654 intensity=0.0; in AssignImageColors()
658 intensity=(double) QuantumRange; in AssignImageColors()
659 image->colormap[0].red=intensity; in AssignImageColors()
660 image->colormap[0].green=intensity; in AssignImageColors()
661 image->colormap[0].blue=intensity; in AssignImageColors()
664 image->colormap[1].red=(double) QuantumRange-intensity; in AssignImageColors()
665 image->colormap[1].green=(double) QuantumRange-intensity; in AssignImageColors()
666 image->colormap[1].blue=(double) QuantumRange-intensity; in AssignImageColors()
3289 intensity; in IntensityCompare() local
[all …]
Daccelerate-kernels-private.h498 float intensity;
507 intensity=(red+green+blue)/3.0;
512 intensity=MagickMax(MagickMax(red,green),blue);
517 intensity=(MagickMin(MagickMin(red,green),blue)+
523 intensity=(float) (((float) red*red+green*green+blue*blue)/
537 intensity=0.298839*red+0.586811*green+0.114350*blue;
550 intensity=0.298839*red+0.586811*green+0.114350*blue;
564 intensity=0.212656*red+0.715158*green+0.072186*blue;
577 intensity=0.212656*red+0.715158*green+0.072186*blue;
582 intensity=(float) (sqrt((float) red*red+green*green+blue*blue)/
[all …]
Dresize.c2130 intensity[9]; in MagnifyImage() local
2152 intensity[i]=GetPixelIntensity(image,p+i*channels); in MagnifyImage()
2154 if ((fabs(intensity[1]-intensity[7]) < MagickEpsilon) || in MagnifyImage()
2155 (fabs(intensity[3]-intensity[5]) < MagickEpsilon)) in MagnifyImage()
2177 if (fabs(intensity[1]-intensity[3]) < MagickEpsilon) in MagnifyImage()
2184 if (fabs(intensity[1]-intensity[5]) < MagickEpsilon) in MagnifyImage()
2191 if (fabs(intensity[3]-intensity[7]) < MagickEpsilon) in MagnifyImage()
2198 if (fabs(intensity[5]-intensity[7]) < MagickEpsilon) in MagnifyImage()
/external/libopus/celt/
Drate.c250 … int skip_rsv, int *intensity, int intensity_rsv, int *dual_stereo, int dual_stereo_rsv, int *bits, in interp_bits2pulses() argument
397 *intensity = IMIN(*intensity, codedBands); in interp_bits2pulses()
398 ec_enc_uint(ec, *intensity-start, codedBands+1-start); in interp_bits2pulses()
401 *intensity = start+ec_dec_uint(ec, codedBands+1-start); in interp_bits2pulses()
404 *intensity = 0; in interp_bits2pulses()
405 if (*intensity <= start) in interp_bits2pulses()
453 den=(C*N+ ((C==2 && N>2 && !*dual_stereo && j<*intensity) ? 1 : 0)); in interp_bits2pulses()
532 …tart, int end, const int *offsets, const int *cap, int alloc_trim, int *intensity, int *dual_stere… in clt_compute_allocation() argument
639 total, balance, skip_rsv, intensity, intensity_rsv, dual_stereo, dual_stereo_rsv, in clt_compute_allocation()
Dcelt_encoder.c113 int intensity; member
789 int intensity, opus_val16 surround_trim, opus_int32 equiv_rate, int arch) in alloc_trim_analysis() argument
820 for (i=8;i<intensity;i++) in alloc_trim_analysis()
1298 int LM, opus_int32 bitrate, int lastCodedBands, int C, int intensity, in compute_vbr() argument
1318 coded_bins += eBands[IMIN(intensity, coded_bands)]<<LM; in compute_vbr()
1333 coded_stereo_bands = IMIN(intensity, coded_bands); in compute_vbr()
2032 st->intensity = hysteresis_decision((opus_val16)(equiv_rate/1000), in celt_encode_with_ec()
2033 intensity_thresholds, intensity_histeresis, 21, st->intensity); in celt_encode_with_ec()
2034 st->intensity = IMIN(end,IMAX(start, st->intensity)); in celt_encode_with_ec()
2047 st->intensity, surround_trim, equiv_rate, st->arch); in celt_encode_with_ec()
[all …]
Dbands.c678 int intensity; member
717 int intensity; in compute_theta() local
724 intensity = ctx->intensity; in compute_theta()
732 if (stereo && i>=intensity) in compute_theta()
1400 int dual_stereo, int intensity, int *tf_res, opus_int32 total_bits, in quant_all_bands() argument
1463 ctx.intensity = intensity; in quant_all_bands()
1561 if (dual_stereo && i==intensity) in quant_all_bands()
1582 if (theta_rdo && i < intensity) in quant_all_bands()
/external/ImageMagick/coders/
Dcut.c265 intensity, in GetCutColors() local
275 intensity=0; in GetCutColors()
284 if (intensity < GetPixelRed(image,q)) in GetCutColors()
285 intensity=GetPixelRed(image,q); in GetCutColors()
286 if (intensity >= scale_intensity) in GetCutColors()
291 if (intensity < ScaleCharToQuantum(2)) in GetCutColors()
293 if (intensity < ScaleCharToQuantum(16)) in GetCutColors()
295 return((int) intensity); in GetCutColors()
Dmpc.c621 intensity; in ReadMPCImage() local
623 intensity=ParseCommandOption(MagickPixelIntensityOptions, in ReadMPCImage()
625 if (intensity < 0) in ReadMPCImage()
627 image->intensity=(PixelIntensityMethod) intensity; in ReadMPCImage()
1207 if (image->intensity != UndefinedPixelIntensityMethod) in WriteMPCImage()
1211 MagickPixelIntensityOptions,image->intensity)); in WriteMPCImage()
/external/ImageMagick/tests/
Dvalidate.c96 const double intensity,double *red,double *green,double *blue) in ConvertHSIToRGB() argument
105 *blue=intensity*(1.0-saturation); in ConvertHSIToRGB()
106 *red=intensity*(1.0+saturation*cos(h*(MagickPI/180.0))/cos((60.0-h)* in ConvertHSIToRGB()
108 *green=3.0*intensity-*red-*blue; in ConvertHSIToRGB()
114 *red=intensity*(1.0-saturation); in ConvertHSIToRGB()
115 *green=intensity*(1.0+saturation*cos(h*(MagickPI/180.0))/cos((60.0-h)* in ConvertHSIToRGB()
117 *blue=3.0*intensity-*red-*green; in ConvertHSIToRGB()
122 *green=intensity*(1.0-saturation); in ConvertHSIToRGB()
123 *blue=intensity*(1.0+saturation*cos(h*(MagickPI/180.0))/cos((60.0-h)* in ConvertHSIToRGB()
125 *red=3.0*intensity-*green-*blue; in ConvertHSIToRGB()
[all …]
/external/libpng/contrib/gregbook/
Drpng2-x.c1228 double freq, rotate, saturate, gray, intensity; in rpng2_x_load_bg_image() local
1252 intensity = 0.0; in rpng2_x_load_bg_image()
1264 intensity = cos((angle+(rotate*dist*PI)) * freq) * in rpng2_x_load_bg_image()
1266 intensity = (MAX(MIN(intensity,1.0),-1.0) + 1.0) * 0.5; in rpng2_x_load_bg_image()
1270 v = MIN(MAX(intensity,0.0), 1.0); in rpng2_x_load_bg_image()
2000 double freq, rotate, saturate, gray, intensity; in rpng2_x_reload_bg_image() local
2020 intensity = 0.0; in rpng2_x_reload_bg_image()
2032 intensity = cos((angle+(rotate*dist*PI)) * freq) * in rpng2_x_reload_bg_image()
2034 intensity = (MAX(MIN(intensity,1.0),-1.0) + 1.0) * 0.5; in rpng2_x_reload_bg_image()
2038 v = MIN(MAX(intensity,0.0), 1.0); in rpng2_x_reload_bg_image()
Drpng2-win.c976 double freq, rotate, saturate, gray, intensity;
1000 intensity = 0.0;
1012 intensity = cos((angle+(rotate*dist*PI)) * freq) *
1014 intensity = (MAX(MIN(intensity,1.0),-1.0) + 1.0) * 0.5;
1018 v = MIN(MAX(intensity,0.0), 1.0);
/external/perfetto/src/traced/probes/ftrace/test/data/android_walleye_OPM5.171019.017.A1_4.4.88/events/thermal/lmh_sensor_reading/
Dformat12 print fmt: "Sensor:[%s] throttling intensity:%u", __get_str(_name), REC->reading
/external/perfetto/src/traced/probes/ftrace/test/data/android_walleye_OPM5.171019.017.A1_4.4.88/events/thermal/lmh_sensor_interrupt/
Dformat12 print fmt: "Sensor:[%s] throttling intensity:%u", __get_str(_name), REC->reading
/external/v8/benchmarks/
Draytrace.js200 intensity: 10.0, property in Flog.RayTracer.Light
202 initialize : function(pos, color, intensity) { argument
205 this.intensity = (intensity ? intensity : 10.0);
/external/libhevc/test/encoder/
Dvid_enc_cfg.txt114 …evel 20 /* 16bit unsigned number indicating max pixel intensity*/
115 …_level 10 /* 16bit unsigned number indicating max avg pixel intensity*/

1234