/external/skia/src/core/ |
D | SkAntiRun.h | 25 static inline SkAlpha CatchOverflow(int alpha) { in CatchOverflow() argument 26 SkASSERT(alpha >= 0 && alpha <= 256); in CatchOverflow() 27 return alpha - (alpha >> 8); in CatchOverflow() 61 uint8_t* alpha = fAlpha + offsetX; in add() local 62 uint8_t* lastAlpha = alpha; in add() 66 SkAlphaRuns::Break(runs, alpha, x, 1); in add() 72 unsigned tmp = alpha[x] + startAlpha; in add() 74 …alpha[x] = SkToU8(tmp - (tmp >> 8)); // was (tmp >> 7), but that seems wrong if we're trying to… in add() 77 alpha += x + 1; in add() 83 SkAlphaRuns::Break(runs, alpha, x, middleCount); in add() [all …]
|
D | SkBlitRow_D32.cpp | 18 int count, U8CPU alpha) { in S32_Opaque_BlitRow32() argument 19 SkASSERT(255 == alpha); in S32_Opaque_BlitRow32() 25 int count, U8CPU alpha) { in S32_Blend_BlitRow32() argument 26 SkASSERT(alpha <= 255); in S32_Blend_BlitRow32() 28 unsigned src_scale = SkAlpha255To256(alpha); in S32_Blend_BlitRow32() 59 int count, U8CPU alpha) { in S32A_Blend_BlitRow32() argument 60 SkASSERT(alpha <= 255); in S32A_Blend_BlitRow32() 64 *dst = SkBlendARGB32(*(src++), *dst, alpha); in S32A_Blend_BlitRow32() 71 *dst = SkBlendARGB32(*(src++), *dst, alpha); in S32A_Blend_BlitRow32() 73 *dst = SkBlendARGB32(*(src++), *dst, alpha); in S32A_Blend_BlitRow32() [all …]
|
/external/cblas/include/ |
D | cblas.h | 25 float cblas_sdsdot(const int N, const float alpha, const float *X, 85 void cblas_saxpy(const int N, const float alpha, const float *X, 92 void cblas_daxpy(const int N, const double alpha, const double *X, 99 void cblas_caxpy(const int N, const void *alpha, const void *X, 106 void cblas_zaxpy(const int N, const void *alpha, const void *X, 131 void cblas_sscal(const int N, const float alpha, float *X, const int incX); 132 void cblas_dscal(const int N, const double alpha, double *X, const int incX); 133 void cblas_cscal(const int N, const void *alpha, void *X, const int incX); 134 void cblas_zscal(const int N, const void *alpha, void *X, const int incX); 135 void cblas_csscal(const int N, const float alpha, void *X, const int incX); [all …]
|
/external/ImageMagick/MagickCore/ |
D | composite-private.h | 35 static inline double MagickOver_(const double p,const double alpha, in MagickOver_() argument 42 Sa=QuantumScale*alpha; in MagickOver_() 53 const double alpha,const Quantum *q,const double beta,Quantum *composite) in CompositePixelOver() argument 66 Sa=QuantumScale*alpha; in CompositePixelOver() 86 composite[i]=ClampToQuantum(gamma*MagickOver_((double) p->red,alpha, in CompositePixelOver() 92 composite[i]=ClampToQuantum(gamma*MagickOver_((double) p->green,alpha, in CompositePixelOver() 98 composite[i]=ClampToQuantum(gamma*MagickOver_((double) p->blue,alpha, in CompositePixelOver() 104 composite[i]=ClampToQuantum(gamma*MagickOver_((double) p->black,alpha, in CompositePixelOver() 123 const double alpha,const PixelInfo *q,const double beta,PixelInfo *composite) in CompositePixelInfoOver() argument 133 Sa=QuantumScale*alpha; in CompositePixelInfoOver() [all …]
|
D | pixel.c | 2173 pixel->alpha=(double) OpaqueAlpha; in GetPixelInfo() 4509 alpha, in CatromWeights() local 4520 alpha=(double) 1.0-x; in CatromWeights() 4521 beta=(double) (-0.5)*x*alpha; in CatromWeights() 4522 (*weights)[0]=alpha*beta; in CatromWeights() 4529 (*weights)[1]=alpha-(*weights)[0]+gamma; in CatromWeights() 4536 alpha, in SplineWeights() local 4545 alpha=(double) 1.0-x; in SplineWeights() 4547 (*weights)[0]=(double) (1.0/6.0)*alpha*alpha*alpha; in SplineWeights() 4549 (*weights)[1]=alpha-(*weights)[0]+beta; in SplineWeights() [all …]
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/distribution/ |
D | BetaDistributionImpl.java | 51 private double alpha; field in BetaDistributionImpl 72 public BetaDistributionImpl(double alpha, double beta, double inverseCumAccuracy) { in BetaDistributionImpl() argument 73 this.alpha = alpha; in BetaDistributionImpl() 84 public BetaDistributionImpl(double alpha, double beta) { in BetaDistributionImpl() argument 85 this(alpha, beta, DEFAULT_INVERSE_ABSOLUTE_ACCURACY); in BetaDistributionImpl() 92 public void setAlpha(double alpha) { in setAlpha() argument 93 this.alpha = alpha; in setAlpha() 99 return alpha; in getAlpha() 121 z = Gamma.logGamma(alpha) + Gamma.logGamma(beta) - Gamma.logGamma(alpha + beta); in recomputeZ() 150 if (alpha < 1) { in density() [all …]
|
D | GammaDistributionImpl.java | 45 private double alpha; field in GammaDistributionImpl 58 public GammaDistributionImpl(double alpha, double beta) { in GammaDistributionImpl() argument 59 this(alpha, beta, DEFAULT_INVERSE_ABSOLUTE_ACCURACY); in GammaDistributionImpl() 70 public GammaDistributionImpl(double alpha, double beta, double inverseCumAccuracy) { in GammaDistributionImpl() argument 72 setAlphaInternal(alpha); in GammaDistributionImpl() 100 ret = Gamma.regularizedGammaP(alpha, x / beta); in cumulativeProbability() 138 public void setAlpha(double alpha) { in setAlpha() argument 139 setAlphaInternal(alpha); in setAlpha() 153 this.alpha = newAlpha; in setAlphaInternal() 161 return alpha; in getAlpha() [all …]
|
/external/llvm/test/Transforms/LoopReroll/ |
D | basic32iters.ll | 5 ; void goo32(float alpha, float *a, float *b) { 7 ; a[i] += alpha * b[i]; 8 ; a[i + 1] += alpha * b[i + 1]; 9 ; a[i + 2] += alpha * b[i + 2]; 10 ; a[i + 3] += alpha * b[i + 3]; 11 ; a[i + 4] += alpha * b[i + 4]; 12 ; a[i + 5] += alpha * b[i + 5]; 13 ; a[i + 6] += alpha * b[i + 6]; 14 ; a[i + 7] += alpha * b[i + 7]; 15 ; a[i + 8] += alpha * b[i + 8]; [all …]
|
/external/webp/src/dsp/ |
D | alpha_processing_neon.c | 26 const uint8x8_t alpha = (V).val[(ALPHA)]; \ 27 const uint16x8_t r1 = vmull_u8((V).val[1], alpha); \ 28 const uint16x8_t g1 = vmull_u8((V).val[2], alpha); \ 29 const uint16x8_t b1 = vmull_u8((V).val[(OTHER)], alpha); \ 65 const uint8_t* const alpha = rgba + (alpha_first ? 0 : 3); in ApplyAlphaMultiply_NEON() local 66 const uint32_t a = alpha[4 * i]; in ApplyAlphaMultiply_NEON() 83 static int DispatchAlpha_NEON(const uint8_t* alpha, int alpha_stride, in DispatchAlpha_NEON() argument 96 const uint8x8_t alphas = vld1_u8(alpha + i); in DispatchAlpha_NEON() 102 const uint32_t alpha_value = alpha[i]; in DispatchAlpha_NEON() 106 alpha += alpha_stride; in DispatchAlpha_NEON() [all …]
|
D | alpha_processing.c | 145 const uint32_t alpha = (argb >> 24) & 0xff; in WebPMultARGBRowC() local 146 const uint32_t scale = GetScale(alpha, inverse); in WebPMultARGBRowC() 157 void WebPMultRowC(uint8_t* const ptr, const uint8_t* const alpha, in WebPMultRowC() argument 161 const uint32_t a = alpha[x]; in WebPMultRowC() 178 void (*WebPMultRow)(uint8_t* const ptr, const uint8_t* const alpha, 194 const uint8_t* alpha, int alpha_stride, in WebPMultRows() argument 198 WebPMultRow(ptr, alpha, width, inverse); in WebPMultRows() 200 alpha += alpha_stride; in WebPMultRows() 224 const uint8_t* const alpha = rgba + (alpha_first ? 0 : 3); in ApplyAlphaMultiply() local 227 const uint32_t a = alpha[4 * i]; in ApplyAlphaMultiply() [all …]
|
/external/pdfium/third_party/lcms2-2.6/src/ |
D | cmssm.c | 45 cmsFloat64Number alpha; member 131 sp ->alpha = sp ->theta = 0; in ToSpherical() 135 sp ->alpha = _cmsAtan2(a, b); in ToSpherical() 150 sin_alpha = sin((M_PI * sp ->alpha) / 180.0); in ToCartesian() 151 cos_alpha = cos((M_PI * sp ->alpha) / 180.0); in ToCartesian() 168 void QuantizeToSector(const cmsSpherical* sp, int* alpha, int* theta) in QuantizeToSector() argument 170 *alpha = (int) floor(((sp->alpha * (SECTORS)) / 360.0) ); in QuantizeToSector() 173 if (*alpha >= SECTORS) in QuantizeToSector() 174 *alpha = SECTORS-1; in QuantizeToSector() 325 int alpha, theta; in GetPoint() local [all …]
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/inference/ |
D | TestUtils.java | 176 double alpha) in homoscedasticTTest() argument 178 return tTest. homoscedasticTTest(sample1, sample2, alpha); in homoscedasticTTest() 210 double alpha) in pairedTTest() argument 212 return tTest.pairedTTest(sample1, sample2, alpha); in pairedTTest() 259 public static boolean tTest(double mu, double[] sample, double alpha) in tTest() argument 261 return tTest.tTest(mu, sample, alpha); in tTest() 276 double alpha) in tTest() argument 278 return tTest. tTest(mu, sampleStats, alpha); in tTest() 292 public static boolean tTest(double[] sample1, double[] sample2, double alpha) in tTest() argument 294 return tTest.tTest(sample1, sample2, alpha); in tTest() [all …]
|
D | TTestImpl.java | 167 public boolean pairedTTest(double[] sample1, double[] sample2, double alpha) in pairedTTest() argument 169 checkSignificanceLevel(alpha); in pairedTTest() 170 return pairedTTest(sample1, sample2) < alpha; in pairedTTest() 451 public boolean tTest(double mu, double[] sample, double alpha) in tTest() argument 453 checkSignificanceLevel(alpha); in tTest() 454 return tTest(mu, sample) < alpha; in tTest() 529 double alpha) in tTest() argument 531 checkSignificanceLevel(alpha); in tTest() 532 return tTest(mu, sampleStats) < alpha; in tTest() 676 double alpha) in tTest() argument [all …]
|
/external/libvpx/libvpx/vp8/common/ |
D | postproc.c | 159 int y_1, int u_1, int v_1, int alpha, int stride) { in vp8_blend_mb_inner_c() argument 161 int y1_const = y_1 * ((1 << 16) - alpha); in vp8_blend_mb_inner_c() 162 int u1_const = u_1 * ((1 << 16) - alpha); in vp8_blend_mb_inner_c() 163 int v1_const = v_1 * ((1 << 16) - alpha); in vp8_blend_mb_inner_c() 168 y[j] = (y[j] * alpha + y1_const) >> 16; in vp8_blend_mb_inner_c() 180 u[j] = (u[j] * alpha + u1_const) >> 16; in vp8_blend_mb_inner_c() 181 v[j] = (v[j] * alpha + v1_const) >> 16; in vp8_blend_mb_inner_c() 192 int y_1, int u_1, int v_1, int alpha, int stride) { in vp8_blend_mb_outer_c() argument 194 int y1_const = y_1 * ((1 << 16) - alpha); in vp8_blend_mb_outer_c() 195 int u1_const = u_1 * ((1 << 16) - alpha); in vp8_blend_mb_outer_c() [all …]
|
/external/webp/src/enc/ |
D | analysis_enc.c | 92 const int alpha = 255 * (centers[n] - mid) / (max - min); in SetSegmentAlphas() local 94 enc->dqm_[n].alpha_ = clip(alpha, -127, 127); in SetSegmentAlphas() 106 #define IS_BETTER_ALPHA(alpha, best_alpha) ((alpha) > (best_alpha)) argument 108 static int FinalAlphaValue(int alpha) { in FinalAlphaValue() argument 109 alpha = MAX_ALPHA - alpha; in FinalAlphaValue() 110 return clip(alpha, 0, MAX_ALPHA); in FinalAlphaValue() 119 const int alpha = in GetAlpha() local 121 return alpha; in GetAlpha() 215 const int alpha = mb->alpha_; in AssignSegments() local 216 mb->segment_ = map[alpha]; in AssignSegments() [all …]
|
/external/libpng/tests/ |
D | pngstest | 18 alpha="$1" 43 *-alpha[-.]*) 44 test "$alpha" = "alpha" && args="$args $g";; 47 test "$alpha" = "tRNS" -o "$alpha" = "none" && args="$args $g";; 50 test "$alpha" = "opaque" -o "$alpha" = "none" && args="$args $g";; 54 exec ./pngstest --tmpfile "${gamma}-${alpha}-" --log ${1+"$@"} $args
|
/external/swiftshader/third_party/PowerVR_SDK/Tools/ |
D | PVRTDecompress.cpp | 37 PVRTuint8 red,green,blue,alpha; member 42 PVRTint32 red,green,blue,alpha; member 72 colour.alpha = (PVRTuint8)0xf;// 0->4 bits in getColourA() 80 colour.alpha = (PVRTuint8)((u32ColourData & 0x7000) >> 11);// 3->4 bits - note 0 at right in getColourA() 102 colour.alpha = (PVRTuint8)0xf;// 0 bits in getColourB() 110 colour.alpha = (PVRTuint8)((u32ColourData & 0x70000000) >> 27);// 3->4 bits - note 0 at right in getColourB() 132 Pixel128S hP = {(PVRTint32)P.red,(PVRTint32)P.green,(PVRTint32)P.blue,(PVRTint32)P.alpha}; in interpolateColours() 133 Pixel128S hQ = {(PVRTint32)Q.red,(PVRTint32)Q.green,(PVRTint32)Q.blue,(PVRTint32)Q.alpha}; in interpolateColours() 134 Pixel128S hR = {(PVRTint32)R.red,(PVRTint32)R.green,(PVRTint32)R.blue,(PVRTint32)R.alpha}; in interpolateColours() 135 Pixel128S hS = {(PVRTint32)S.red,(PVRTint32)S.green,(PVRTint32)S.blue,(PVRTint32)S.alpha}; in interpolateColours() [all …]
|
/external/mesa3d/src/mesa/swrast/ |
D | s_alpha.c | 135 GLfixed alpha = span->alpha; in _swrast_alpha_test() local 138 ALPHA_TEST(FixedToInt(alpha), alpha += alphaStep); in _swrast_alpha_test() 142 GLfixed alpha = span->alpha; in _swrast_alpha_test() local 145 ALPHA_TEST(FixedToInt(alpha), alpha += alphaStep); in _swrast_alpha_test() 149 GLfloat alpha = FixedToFloat(span->alpha); in _swrast_alpha_test() local 151 ALPHA_TEST(alpha, alpha += alphaStep); in _swrast_alpha_test()
|
/external/skia/tests/ |
D | SrcOverTest.cpp | 12 static int test_srcover0(unsigned dst, unsigned alpha) { in test_srcover0() argument 13 return alpha + SkAlphaMul(dst, SkAlpha255To256(255 - alpha)); in test_srcover0() 17 static int test_srcover1(unsigned dst, unsigned alpha) { in test_srcover1() argument 18 return alpha + SkAlphaMul(dst, 256 - alpha); in test_srcover1() 22 static int test_srcover2(unsigned dst, unsigned alpha) { in test_srcover2() argument 23 return alpha + SkMulDiv255Round(dst, 255 - alpha); in test_srcover2()
|
/external/eigen/blas/f2c/ |
D | chpmv.c | 15 /* Subroutine */ int chpmv_(char *uplo, integer *n, complex *alpha, complex * in chpmv_() argument 166 if (*n == 0 || (alpha->r == 0.f && alpha->i == 0.f && (beta->r == 1.f && in chpmv_() 235 if (alpha->r == 0.f && alpha->i == 0.f) { in chpmv_() 247 q__1.r = alpha->r * x[i__2].r - alpha->i * x[i__2].i, q__1.i = in chpmv_() 248 alpha->r * x[i__2].i + alpha->i * x[i__2].r; in chpmv_() 277 q__4.r = alpha->r * temp2.r - alpha->i * temp2.i, q__4.i = in chpmv_() 278 alpha->r * temp2.i + alpha->i * temp2.r; in chpmv_() 290 q__1.r = alpha->r * x[i__2].r - alpha->i * x[i__2].i, q__1.i = in chpmv_() 291 alpha->r * x[i__2].i + alpha->i * x[i__2].r; in chpmv_() 322 q__4.r = alpha->r * temp2.r - alpha->i * temp2.i, q__4.i = in chpmv_() [all …]
|
D | zhpmv.c | 15 /* Subroutine */ int zhpmv_(char *uplo, integer *n, doublecomplex *alpha, in zhpmv_() argument 166 if (*n == 0 || (alpha->r == 0. && alpha->i == 0. && (beta->r == 1. && in zhpmv_() 235 if (alpha->r == 0. && alpha->i == 0.) { in zhpmv_() 247 z__1.r = alpha->r * x[i__2].r - alpha->i * x[i__2].i, z__1.i = in zhpmv_() 248 alpha->r * x[i__2].i + alpha->i * x[i__2].r; in zhpmv_() 277 z__4.r = alpha->r * temp2.r - alpha->i * temp2.i, z__4.i = in zhpmv_() 278 alpha->r * temp2.i + alpha->i * temp2.r; in zhpmv_() 290 z__1.r = alpha->r * x[i__2].r - alpha->i * x[i__2].i, z__1.i = in zhpmv_() 291 alpha->r * x[i__2].i + alpha->i * x[i__2].r; in zhpmv_() 322 z__4.r = alpha->r * temp2.r - alpha->i * temp2.i, z__4.i = in zhpmv_() [all …]
|
/external/libpng/contrib/pngminus/ |
D | pnm2png.bat | 15 REM -- gray with alpha-channel 16 pnm2png.exe -alpha basn6a08.pgm basn4a08.pgm basn4a08.png 17 pnm2png.exe -alpha basn6a16.pgm basn4a16.pgm basn4a16.png 18 REM -- color with alpha-channel 19 pnm2png.exe -alpha basn6a08.pgm basn6a08.ppm basn6a08.png 20 pnm2png.exe -alpha basn6a16.pgm basn6a16.ppm basn6a16.png 35 REM -- gray with alpha-channel 36 pnm2png.exe -alpha rawn6a08.pgm rawn4a08.pgm rawn4a08.png 37 pnm2png.exe -alpha rawn6a16.pgm rawn4a16.pgm rawn4a16.png 38 REM -- color with alpha-channel [all …]
|
/external/skia/include/codec/ |
D | SkEncodedInfo.h | 70 static SkEncodedInfo Make(Color color, Alpha alpha, int bitsPerComponent) { in Make() 79 SkASSERT(kOpaque_Alpha == alpha); in Make() 82 SkASSERT(kOpaque_Alpha != alpha); in Make() 90 SkASSERT(kOpaque_Alpha == alpha); in Make() 96 SkASSERT(kOpaque_Alpha == alpha); in Make() 100 SkASSERT(kOpaque_Alpha != alpha); in Make() 105 SkASSERT(kOpaque_Alpha != alpha); in Make() 113 return SkEncodedInfo(color, alpha, bitsPerComponent); in Make() 158 Alpha alpha() const { return fAlpha; } in alpha() function 188 SkEncodedInfo(Color color, Alpha alpha, uint8_t bitsPerComponent) in SkEncodedInfo() [all …]
|
/external/webrtc/webrtc/base/ |
D | exp_filter.cc | 19 void ExpFilter::Reset(float alpha) { in Reset() argument 20 alpha_ = alpha; in Reset() 31 float alpha = pow(alpha_, exp); in Apply() local 32 filtered_ = alpha * filtered_ + (1 - alpha) * sample; in Apply() 40 void ExpFilter::UpdateBase(float alpha) { in UpdateBase() argument 41 alpha_ = alpha; in UpdateBase()
|
/external/speex/libspeex/ |
D | scal.c | 76 float *alpha; member 99 st->alpha = speex_alloc(channels*sizeof(float)); in speex_decorrelate_new() 113 st->alpha[ch] = 0; in speex_decorrelate_new() 160 float alpha; in speex_decorrelate() local 166 alpha = st->alpha[ch]; in speex_decorrelate() 185 …st->y[i] = alpha*(x[i-ALLPASS_ORDER+order]-beta*x[i-ALLPASS_ORDER+order-1])*st->vorbis_win[st->fra… in speex_decorrelate() 187 - alpha*(ring[ringID] in speex_decorrelate() 204 alpha = alpha + .4*uni_rand(&st->seed); in speex_decorrelate() 205 if (alpha > max_alpha) in speex_decorrelate() 206 alpha = max_alpha; in speex_decorrelate() [all …]
|