/third_party/gstreamer/gstplugins_base/ext/gl/ |
D | gstglalpha.c | 232 return glalpha->method == ALPHA_METHOD_SET && glalpha->alpha == 1.0; in gst_gl_alpha_is_passthrough() 339 _create_shader (GstGLAlpha * alpha) in _create_shader() argument 341 GstGLBaseFilter *base_filter = GST_GL_BASE_FILTER (alpha); in _create_shader() 342 GstGLFilter *filter = GST_GL_FILTER (alpha); in _create_shader() 346 if (alpha->alpha_shader) in _create_shader() 347 gst_object_unref (alpha->alpha_shader); in _create_shader() 355 if (!(alpha->alpha_shader = in _create_shader() 362 GST_ELEMENT_ERROR (alpha, RESOURCE, NOT_FOUND, ("%s", in _create_shader() 368 if (alpha->chroma_key_shader) in _create_shader() 369 gst_object_unref (alpha->chroma_key_shader); in _create_shader() [all …]
|
/third_party/boost/libs/math/test/ |
D | jacobi_test.cpp | 27 for (Real alpha = -1 + h; alpha < 2; alpha += h) { in test_to_quadratic() local 31 Real computed = jacobi(0, alpha, beta, x); in test_to_quadratic() 34 expected = (alpha + 1) + (alpha + beta +2)*(x-1)/2; in test_to_quadratic() 35 computed = jacobi(1, alpha, beta, x); in test_to_quadratic() 38 …expected = (alpha + 1)*(alpha+2)/2 + (alpha + 2)*(alpha + beta + 3)*(x-1)/2 + (alpha + beta + 3)*(… in test_to_quadratic() 39 computed = jacobi(2, alpha, beta, x); in test_to_quadratic() 51 for (Real alpha = -1 + h; alpha < 2; alpha += h) { in test_symmetry() local 56 Real expected = jacobi(n, beta, alpha , -x); in test_symmetry() 57 Real computed = jacobi(n, alpha, beta, x); in test_symmetry() 60 expected = jacobi(n+1, beta, alpha, -x); in test_symmetry() [all …]
|
/third_party/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 | 16 U8CPU alpha) { in blit_row_s32_opaque() argument 17 SkASSERT(255 == alpha); in blit_row_s32_opaque() 58 static void blit_row_s32_blend(SkPMColor* dst, const SkPMColor* src, int count, U8CPU alpha) { in blit_row_s32_blend() argument 59 SkASSERT(alpha <= 255); in blit_row_s32_blend() 67 SkAlpha255To256(alpha))); in blit_row_s32_blend() 77 *dst = SkPMLerp(*src, *dst, SkAlpha255To256(alpha)); in blit_row_s32_blend() 86 unsigned alpha = SkAlpha255To256(aa); in SkBlendARGB32_SSE2() local 87 __m128i src_scale = _mm_set1_epi16(alpha); in SkBlendARGB32_SSE2() 123 static void blit_row_s32a_blend(SkPMColor* dst, const SkPMColor* src, int count, U8CPU alpha) { in blit_row_s32a_blend() argument 124 SkASSERT(alpha <= 255); in blit_row_s32a_blend() [all …]
|
/third_party/flutter/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 | 17 U8CPU alpha) { in blit_row_s32_opaque() argument 18 SkASSERT(255 == alpha); in blit_row_s32_opaque() 59 static void blit_row_s32_blend(SkPMColor* dst, const SkPMColor* src, int count, U8CPU alpha) { in blit_row_s32_blend() argument 60 SkASSERT(alpha <= 255); in blit_row_s32_blend() 68 SkAlpha255To256(alpha))); in blit_row_s32_blend() 78 *dst = SkPMLerp(*src, *dst, SkAlpha255To256(alpha)); in blit_row_s32_blend() 87 unsigned alpha = SkAlpha255To256(aa); in SkBlendARGB32_SSE2() local 88 __m128i src_scale = _mm_set1_epi16(alpha); in SkBlendARGB32_SSE2() 124 static void blit_row_s32a_blend(SkPMColor* dst, const SkPMColor* src, int count, U8CPU alpha) { in blit_row_s32a_blend() argument 125 SkASSERT(alpha <= 255); in blit_row_s32a_blend() [all …]
|
/third_party/gstreamer/gstplugins_good/gst/alpha/ |
D | gstalpha.c | 150 #define GST_ALPHA_LOCK(alpha) G_STMT_START { \ argument 151 GST_LOG_OBJECT (alpha, "Locking alpha from thread %p", g_thread_self ()); \ 152 g_mutex_lock (&alpha->lock); \ 153 GST_LOG_OBJECT (alpha, "Locked alpha from thread %p", g_thread_self ()); \ 156 #define GST_ALPHA_UNLOCK(alpha) G_STMT_START { \ argument 157 GST_LOG_OBJECT (alpha, "Unlocking alpha from thread %p", g_thread_self ()); \ 158 g_mutex_unlock (&alpha->lock); \ 172 static void gst_alpha_init_params_full (GstAlpha * alpha, 174 static void gst_alpha_init_params (GstAlpha * alpha); 175 static void gst_alpha_set_process_function (GstAlpha * alpha); [all …]
|
D | gstalphacolor.c | 102 gst_alpha_color_init (GstAlphaColor * alpha) in gst_alpha_color_init() argument 104 GstBaseTransform *btrans = GST_BASE_TRANSFORM (alpha); in gst_alpha_color_init() 471 GstAlphaColor *alpha = GST_ALPHA_COLOR (filter); in gst_alpha_color_set_info() local 474 alpha->process = NULL; in gst_alpha_color_set_info() 475 alpha->matrix = NULL; in gst_alpha_color_set_info() 488 alpha->process = NULL; in gst_alpha_color_set_info() 489 alpha->matrix = NULL; in gst_alpha_color_set_info() 492 alpha->process = transform_argb_bgra; in gst_alpha_color_set_info() 493 alpha->matrix = NULL; in gst_alpha_color_set_info() 496 alpha->process = transform_argb_abgr; in gst_alpha_color_set_info() [all …]
|
/third_party/boost/boost/math/special_functions/ |
D | jacobi.hpp | 15 Real jacobi(unsigned n, Real alpha, Real beta, Real x) in jacobi() argument 23 Real y1 = (alpha+1) + (alpha+beta+2)*(x-1)/Real(2); in jacobi() 31 Real denom = 2*k*(k+alpha+beta)*(2*k+alpha+beta-2); in jacobi() 32 …Real gamma1 = (2*k+alpha+beta-1)*( (2*k+alpha+beta)*(2*k+alpha+beta-2)*x + alpha*alpha -beta*beta); in jacobi() 33 Real gamma0 = -2*(k+alpha-1)*(k+beta-1)*(2*k+alpha+beta); in jacobi() 43 Real jacobi_derivative(unsigned n, Real alpha, Real beta, Real x, unsigned k) in jacobi_derivative() argument 50 scale *= (alpha + beta + n + j)/2; in jacobi_derivative() 53 return scale*jacobi<Real>(n-k, alpha + k, beta+k, x); in jacobi_derivative() 57 Real jacobi_prime(unsigned n, Real alpha, Real beta, Real x) in jacobi_prime() argument 59 return jacobi_derivative<Real>(n, alpha, beta, x, 1); in jacobi_prime() [all …]
|
/third_party/ffmpeg/libavcodec/ |
D | h264dsp_template.c | 104 …int8_t *p_pix, ptrdiff_t xstride, ptrdiff_t ystride, int inner_iters, int alpha, int beta, int8_t … in FUNCC() 110 alpha <<= BIT_DEPTH - 8; in FUNCC() 126 if( FFABS( p0 - q0 ) < alpha && in FUNCC() 152 static void FUNCC(h264_v_loop_filter_luma)(uint8_t *pix, ptrdiff_t stride, int alpha, int beta, int… in FUNCC() 154 FUNCC(h264_loop_filter_luma)(pix, stride, sizeof(pixel), 4, alpha, beta, tc0); in FUNCC() 156 static void FUNCC(h264_h_loop_filter_luma)(uint8_t *pix, ptrdiff_t stride, int alpha, int beta, int… in FUNCC() 158 FUNCC(h264_loop_filter_luma)(pix, sizeof(pixel), stride, 4, alpha, beta, tc0); in FUNCC() 160 static void FUNCC(h264_h_loop_filter_luma_mbaff)(uint8_t *pix, ptrdiff_t stride, int alpha, int bet… in FUNCC() 162 FUNCC(h264_loop_filter_luma)(pix, sizeof(pixel), stride, 2, alpha, beta, tc0); in FUNCC() 165 …_intra)(uint8_t *p_pix, ptrdiff_t xstride, ptrdiff_t ystride, int inner_iters, int alpha, int beta) in FUNCC() [all …]
|
/third_party/boost/libs/math/doc/distributions/ |
D | inverse_gamma.qbk | 48 For shape parameter [alpha] and scale parameter [beta], it is defined 51 [expression f(x;[alpha], [beta]) = [beta][super [alpha]] * (1/x) [super [alpha]+1] exp(-[beta]/x) /… 55 [expression F(x;[alpha], [beta]) = [Gamma]([alpha], [beta]/x) / [Gamma]([alpha])] 68 Constructs an inverse gamma distribution with shape [alpha] and scale [beta]. 75 Returns the [alpha] shape parameter of this inverse gamma distribution. 101 In the following table [alpha] is the shape parameter of the distribution, 102 [alpha] is its scale parameter, /x/ is the random variate, /p/ is the probability 107 [[pdf][Using the relation: pdf = __gamma_p_derivative([alpha], [beta]/ x, [beta]) / x * x ]] 108 [[cdf][Using the relation: p = __gamma_q([alpha], [beta] / x) ]] 109 [[cdf complement][Using the relation: q = __gamma_p([alpha], [beta] / x) ]] [all …]
|
D | weibull.qbk | 33 [expression f(x; [alpha], [beta]) = ([alpha]\/[beta]) * (x \/ [beta])[super [alpha] - 1] * e[super … 35 For shape parameter ['[alpha]] > 0, and scale parameter ['[beta]] > 0, and /x/ > 0. 41 * constant over time, then ['[alpha]] = 1, suggests that items are failing from random events. 42 * decreases over time, then ['[alpha]] < 1, suggesting "infant mortality". 43 * increases over time, then ['[alpha]] > 1, suggesting "wear out" - more likely to fail as time goe… 45 The following graph illustrates how the PDF varies with the shape parameter ['[alpha]]: 55 When ['[alpha]] = 3, the 58 When ['[alpha]] = 1, the Weibull distribution reduces to the 100 In the following table ['[alpha]] is the shape parameter of the distribution, 106 [[pdf][Using the relation: pdf = [alpha][beta][super -[alpha] ]x[super [alpha] - 1] e[super -(x/bet… [all …]
|
/third_party/gstreamer/gstplugins_good/tests/check/elements/ |
D | alpha.c | 51 GstElement *alpha; in setup_alpha() local 53 alpha = gst_check_setup_element ("alpha"); in setup_alpha() 54 srcpad = gst_check_setup_src_pad (alpha, &srctemplate); in setup_alpha() 55 sinkpad = gst_check_setup_sink_pad (alpha, &sinktemplate); in setup_alpha() 60 return alpha; in setup_alpha() 64 cleanup_alpha (GstElement * alpha) in cleanup_alpha() argument 68 gst_check_teardown_src_pad (alpha); in cleanup_alpha() 69 gst_check_teardown_sink_pad (alpha); in cleanup_alpha() 70 gst_check_teardown_element (alpha); in cleanup_alpha() 129 GstElement *alpha; in GST_START_TEST() local [all …]
|
/third_party/boost/libs/math/example/ |
D | chi_square_std_dev_test.cpp | 51 double alpha[] = { 0.5, 0.25, 0.1, 0.05, 0.01, 0.001, 0.0001, 0.00001 }; in confidence_limits_on_std_deviation() local 65 for(unsigned i = 0; i < sizeof(alpha)/sizeof(alpha[0]); ++i) in confidence_limits_on_std_deviation() 68 cout << fixed << setprecision(3) << setw(10) << right << 100 * (1-alpha[i]); in confidence_limits_on_std_deviation() 70 double lower_limit = sqrt((N - 1) * Sd * Sd / quantile(complement(dist, alpha[i] / 2))); in confidence_limits_on_std_deviation() 71 double upper_limit = sqrt((N - 1) * Sd * Sd / quantile(dist, alpha[i] / 2)); in confidence_limits_on_std_deviation() 81 double alpha // confidence in confidence_limits_on_std_deviation_alpha() argument 103 cout << setw(40) << left << "Confidence level (two-sided) " << "= " << alpha << "\n"; in confidence_limits_on_std_deviation_alpha() 120 double lower_limit = sqrt((N - 1) * Sd * Sd / quantile(complement(dist, alpha / 2))); in confidence_limits_on_std_deviation_alpha() 121 double upper_limit = sqrt((N - 1) * Sd * Sd / quantile(dist, alpha / 2)); in confidence_limits_on_std_deviation_alpha() 133 double alpha) // Significance level in chi_squared_test() argument [all …]
|
D | students_t_single_sample.cpp | 59 double alpha[] = { 0.5, 0.25, 0.1, 0.05, 0.01, 0.001, 0.0001, 0.00001 }; in confidence_limits_on_mean() local 75 for(unsigned i = 0; i < sizeof(alpha)/sizeof(alpha[0]); ++i) in confidence_limits_on_mean() 78 cout << fixed << setprecision(3) << setw(10) << right << 100 * (1-alpha[i]); in confidence_limits_on_mean() 80 double T = quantile(complement(dist, alpha[i] / 2)); in confidence_limits_on_mean() 97 void single_sample_t_test(double M, double Sm, double Sd, unsigned Sn, double alpha) in single_sample_t_test() argument 149 << setprecision(4) << fixed << alpha << "\n\n"; in single_sample_t_test() 152 if(q < alpha / 2) in single_sample_t_test() 157 if(cdf(complement(dist, t_stat)) > alpha) in single_sample_t_test() 162 if(cdf(dist, t_stat) > alpha) in single_sample_t_test() 191 double alpha[] = { 0.5, 0.25, 0.1, 0.05, 0.01, 0.001, 0.0001, 0.00001 }; in single_sample_find_df() local [all …]
|
D | geometric_examples.cpp | 264 double alpha = 0.05; in main() local 267 double t = geometric::find_lower_bound_on_p(k, alpha/2); in main() 268 cout << "geometric::find_lower_bound_on_p(" << int(k) << ", " << alpha/2 << ") = " in main() 270 t = geometric::find_upper_bound_on_p(k, alpha/2); in main() 271 cout << "geometric::find_upper_bound_on_p(" << int(k) << ", " << alpha/2 << ") = " in main() 277 alpha = 0.1; // 90% confidence. in main() 278 t = geometric::find_lower_bound_on_p(k, alpha/2); in main() 279 cout << "geometric::find_lower_bound_on_p(" << int(k) << ", " << alpha/2 << ") = " in main() 281 t = geometric::find_upper_bound_on_p(k, alpha/2); in main() 282 cout << "geometric::find_upper_bound_on_p(" << int(k) << ", " << alpha/2 << ") = " in main() [all …]
|
/third_party/ffmpeg/libavcodec/alpha/ |
D | Makefile | 1 OBJS-$(CONFIG_BLOCKDSP) += alpha/blockdsp_alpha.o 2 OBJS-$(CONFIG_ME_CMP) += alpha/me_cmp_alpha.o \ 3 alpha/me_cmp_mvi_asm.o 4 OBJS-$(CONFIG_HPELDSP) += alpha/hpeldsp_alpha.o \ 5 alpha/hpeldsp_alpha_asm.o 6 OBJS-$(CONFIG_IDCTDSP) += alpha/idctdsp_alpha.o \ 7 alpha/idctdsp_alpha_asm.o \ 8 alpha/simple_idct_alpha.o 9 OBJS-$(CONFIG_MPEGVIDEO) += alpha/mpegvideo_alpha.o 10 OBJS-$(CONFIG_PIXBLOCKDSP) += alpha/pixblockdsp_alpha.o
|
/third_party/typescript/tests/baselines/reference/ |
D | library-reference-5.errors.txt | 1 …cting definitions for 'alpha' found at '/node_modules/bar/node_modules/alpha/index.d.ts' and '/nod… 3 Type library referenced via 'alpha' from file '/node_modules/foo/index.d.ts' 4 Type library referenced via 'alpha' from file '/node_modules/bar/index.d.ts' 14 /// <reference types="alpha" /> 17 ==== /node_modules/foo/node_modules/alpha/index.d.ts (0 errors) ==== 18 declare var alpha: any; 21 /// <reference types="alpha" /> 23 …cting definitions for 'alpha' found at '/node_modules/bar/node_modules/alpha/index.d.ts' and '/nod… 25 !!! error TS4090: Type library referenced via 'alpha' from file '/node_modules/foo/index.d.ts' 26 !!! error TS4090: Type library referenced via 'alpha' from file '/node_modules/bar/index.d.ts' [all …]
|
D | library-reference-6.symbols | 2 /// <reference types="alpha" /> 3 var x: string = alpha.a; 5 >alpha.a : Symbol(a, Decl(index.d.ts, 2, 20)) 6 >alpha : Symbol(alpha, Decl(index.d.ts, 2, 11)) 9 === /node_modules/@types/alpha/index.d.ts === 12 declare var alpha: { a: string }; 13 >alpha : Symbol(alpha, Decl(index.d.ts, 2, 11))
|
/third_party/flutter/skia/third_party/externals/libwebp/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 …]
|
/third_party/skia/third_party/externals/libwebp/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* WEBP_RESTRICT alpha, 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 …]
|
/third_party/skia/include/private/ |
D | SkEncodedInfo.h | 98 static SkEncodedInfo Make(int width, int height, Color color, Alpha alpha, in Make() 100 return Make(width, height, color, alpha, bitsPerComponent, nullptr); in Make() 103 static SkEncodedInfo Make(int width, int height, Color color, Alpha alpha, in Make() 113 SkASSERT(kOpaque_Alpha == alpha); in Make() 116 SkASSERT(kOpaque_Alpha != alpha); in Make() 124 SkASSERT(kOpaque_Alpha == alpha); in Make() 130 SkASSERT(kOpaque_Alpha == alpha); in Make() 141 SkASSERT(kUnpremul_Alpha == alpha); in Make() 145 SkASSERT(kOpaque_Alpha == alpha); in Make() 153 return SkEncodedInfo(width, height, color, alpha, bitsPerComponent, std::move(profile)); in Make() [all …]
|
/third_party/flutter/skia/include/private/ |
D | SkEncodedInfo.h | 96 static SkEncodedInfo Make(int width, int height, Color color, Alpha alpha, in Make() 98 return Make(width, height, color, alpha, bitsPerComponent, nullptr); in Make() 101 static SkEncodedInfo Make(int width, int height, Color color, Alpha alpha, in Make() 111 SkASSERT(kOpaque_Alpha == alpha); in Make() 114 SkASSERT(kOpaque_Alpha != alpha); in Make() 122 SkASSERT(kOpaque_Alpha == alpha); in Make() 128 SkASSERT(kOpaque_Alpha == alpha); in Make() 139 SkASSERT(kUnpremul_Alpha == alpha); in Make() 143 SkASSERT(kOpaque_Alpha == alpha); in Make() 151 return SkEncodedInfo(width, height, color, alpha, bitsPerComponent, std::move(profile)); in Make() [all …]
|
/third_party/flutter/skia/third_party/externals/libwebp/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 …]
|
/third_party/openGLES/extensions/SUN/ |
D | SUN_global_alpha.txt | 34 Transparency is done in OpenGL using alpha blending. An alpha value 35 of 0.0 is used for fully transparent objects, while an alpha value 39 OpenGL defines alpha as a component of the vertex color state. 40 Whenever a color is set, the alpha component is set along with the 43 modifying the color of each vertex, replacing the old alpha 44 component with the new alpha component. This can be very expensive 48 This extension defines a new global alpha attribute that can be 49 used to specify an alpha factor that is independent from the alpha 50 component of the color value. The global alpha factor is 51 multiplied by the fragment's alpha value after primitive [all …]
|