Home
last modified time | relevance | path

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

123

/external/ImageMagick/MagickCore/
Dpixel-accessor.h232 intensity; in GetPixelInfoLuma() local
236 intensity=(MagickRealType) (0.212656f*pixel->red+0.715158f*pixel->green+ in GetPixelInfoLuma()
238 return(intensity); in GetPixelInfoLuma()
240 intensity=(MagickRealType) (0.212656f*EncodePixelGamma(pixel->red)+ in GetPixelInfoLuma()
243 return(intensity); in GetPixelInfoLuma()
250 intensity; in GetPixelInfoLuminance() local
254 intensity=(MagickRealType) (0.212656f*pixel->red+0.715158f*pixel->green+ in GetPixelInfoLuminance()
256 return(intensity); in GetPixelInfoLuminance()
258 intensity=(MagickRealType) (0.212656f*DecodePixelGamma(pixel->red)+ in GetPixelInfoLuminance()
261 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.c1118 intensity; in ContrastStretchImage() local
1125 intensity=0.0; in ContrastStretchImage()
1128 intensity+=histogram[GetPixelChannels(image)*j+i]; in ContrastStretchImage()
1129 if (intensity > black_point) in ContrastStretchImage()
1133 intensity=0.0; in ContrastStretchImage()
1136 intensity+=histogram[GetPixelChannels(image)*j+i]; in ContrastStretchImage()
1137 if (intensity > ((double) image->columns*image->rows-white_point)) in ContrastStretchImage()
1582 intensity; in EqualizeImage() local
1584 intensity=p[i]; in EqualizeImage()
1586 intensity=GetPixelIntensity(image,p); in EqualizeImage()
[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.c332 method = image->intensity; in LaunchHistogramKernel()
1006 intensity; in ComputeContrastStretchImage() local
1181 intensity=0.0; in ComputeContrastStretchImage()
1184 intensity+=histogram[i].s[2]; in ComputeContrastStretchImage()
1185 if (intensity > black_point) in ComputeContrastStretchImage()
1189 intensity=0.0; in ComputeContrastStretchImage()
1192 intensity+=histogram[i].s[2]; in ComputeContrastStretchImage()
1193 if (intensity > ((double) image->columns*image->rows-white_point)) in ComputeContrastStretchImage()
1202 intensity=0.0; in ComputeContrastStretchImage()
1205 intensity+=histogram[i].s[2]; in ComputeContrastStretchImage()
[all …]
Dquantize.c650 intensity; in AssignImageColors() local
655 intensity=0.0; in AssignImageColors()
659 intensity=(double) QuantumRange; in AssignImageColors()
660 image->colormap[0].red=intensity; in AssignImageColors()
661 image->colormap[0].green=intensity; in AssignImageColors()
662 image->colormap[0].blue=intensity; in AssignImageColors()
665 image->colormap[1].red=(double) QuantumRange-intensity; in AssignImageColors()
666 image->colormap[1].green=(double) QuantumRange-intensity; in AssignImageColors()
667 image->colormap[1].blue=(double) QuantumRange-intensity; in AssignImageColors()
3281 intensity; in IntensityCompare() local
[all …]
Dxwindow-private.h584 intensity; in XPixelIntensity() local
588 intensity=0.212656*pixel->red+0.715158*pixel->green+0.072186*pixel->blue; in XPixelIntensity()
589 return(intensity); in XPixelIntensity()
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.c2091 intensity[9]; in MagnifyImage() local
2113 intensity[i]=GetPixelIntensity(image,p+i*channels); in MagnifyImage()
2115 if ((fabs(intensity[1]-intensity[7]) < MagickEpsilon) || in MagnifyImage()
2116 (fabs(intensity[3]-intensity[5]) < MagickEpsilon)) in MagnifyImage()
2138 if (fabs(intensity[1]-intensity[3]) < MagickEpsilon) in MagnifyImage()
2145 if (fabs(intensity[1]-intensity[5]) < MagickEpsilon) in MagnifyImage()
2152 if (fabs(intensity[3]-intensity[7]) < MagickEpsilon) in MagnifyImage()
2159 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 compute_allocation() argument
639 total, balance, skip_rsv, intensity, intensity_rsv, dual_stereo, dual_stereo_rsv, in compute_allocation()
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()
1560 if (dual_stereo && i==intensity) in quant_all_bands()
1581 if (theta_rdo && i < intensity) in quant_all_bands()
Dcelt_encoder.c113 int intensity; member
783 int intensity, opus_val16 surround_trim, opus_int32 equiv_rate, int arch) in alloc_trim_analysis() argument
814 for (i=8;i<intensity;i++) in alloc_trim_analysis()
1239 int LM, opus_int32 bitrate, int lastCodedBands, int C, int intensity, in compute_vbr() argument
1259 coded_bins += eBands[IMIN(intensity, coded_bands)]<<LM; in compute_vbr()
1274 coded_stereo_bands = IMIN(intensity, coded_bands); in compute_vbr()
1962 st->intensity = hysteresis_decision((opus_val16)(equiv_rate/1000), in celt_encode_with_ec()
1963 intensity_thresholds, intensity_histeresis, 21, st->intensity); in celt_encode_with_ec()
1964 st->intensity = IMIN(end,IMAX(start, st->intensity)); in celt_encode_with_ec()
1977 st->intensity, surround_trim, equiv_rate, st->arch); in celt_encode_with_ec()
[all …]
/external/syslinux/com32/lib/sys/
Dansi.c45 .intensity = 1,
314 st->intensity = 1; in __ansi_putchar()
320 st->intensity = 2; in __ansi_putchar()
323 st->intensity = 0; in __ansi_putchar()
336 st->intensity = 1; in __ansi_putchar()
Dansicon_write.c120 else if (st->intensity == 0) in ansicon_attribute()
134 if (st->intensity == 2) in ansicon_attribute()
Dansi.h36 uint8_t intensity; member
/external/ImageMagick/coders/
Dcut.c231 intensity, in GetCutColors() local
241 intensity=0; in GetCutColors()
250 if (intensity < GetPixelRed(image,q)) in GetCutColors()
251 intensity=GetPixelRed(image,q); in GetCutColors()
252 if (intensity >= scale_intensity) in GetCutColors()
257 if (intensity < ScaleCharToQuantum(2)) in GetCutColors()
259 if (intensity < ScaleCharToQuantum(16)) in GetCutColors()
261 return((int) intensity); in GetCutColors()
Dmpc.c593 intensity; in ReadMPCImage() local
595 intensity=ParseCommandOption(MagickPixelIntensityOptions, in ReadMPCImage()
597 if (intensity < 0) in ReadMPCImage()
599 image->intensity=(PixelIntensityMethod) intensity; in ReadMPCImage()
1134 if (image->intensity != UndefinedPixelIntensityMethod) in WriteMPCImage()
1138 MagickPixelIntensityOptions,image->intensity)); in WriteMPCImage()
/external/tensorflow/tensorflow/tools/api/golden/
Dtensorflow.keras.preprocessing.image.pbtxt41 …argspec: "args=[\'x\', \'intensity\', \'channel_axis\'], varargs=None, keywords=None, defaults=[\'…
49 …argspec: "args=[\'x\', \'intensity\', \'row_axis\', \'col_axis\', \'channel_axis\', \'fill_mode\',…
/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/ftrace_reader/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/perfetto/src/ftrace_reader/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/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/tensorflow/tensorflow/python/keras/_impl/keras/preprocessing/
Dimage.py140 intensity, argument
163 shear = np.deg2rad(np.random.uniform(-intensity, intensity))
218 def random_channel_shift(x, intensity, channel_axis=0): argument
222 np.clip(x_channel + np.random.uniform(-intensity, intensity), min_x,

123