/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/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/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/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/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/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/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 …]
|
D | alpha_processing.c | 148 const uint32_t alpha = (argb >> 24) & 0xff; in WebPMultARGBRow_C() local 149 const uint32_t scale = GetScale(alpha, inverse); in WebPMultARGBRow_C() 160 void WebPMultRow_C(uint8_t* const ptr, const uint8_t* const alpha, in WebPMultRow_C() argument 164 const uint32_t a = alpha[x]; in WebPMultRow_C() 181 void (*WebPMultRow)(uint8_t* const ptr, const uint8_t* const alpha, 197 const uint8_t* alpha, int alpha_stride, in WebPMultRows() argument 201 WebPMultRow(ptr, alpha, width, inverse); in WebPMultRows() 203 alpha += alpha_stride; in WebPMultRows() 228 const uint8_t* const alpha = rgba + (alpha_first ? 0 : 3); in ApplyAlphaMultiply_C() local 231 const uint32_t a = alpha[4 * i]; in ApplyAlphaMultiply_C() [all …]
|
/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))
|
D | library-reference-8.symbols | 2 /// <reference types="alpha" /> 4 var x: string = alpha.a + beta.b; 6 >alpha.a : Symbol(a, Decl(index.d.ts, 3, 20)) 7 >alpha : Symbol(alpha, Decl(index.d.ts, 3, 11)) 14 === /test/types/alpha/index.d.ts === 18 declare var alpha: { a: string }; 19 >alpha : Symbol(alpha, Decl(index.d.ts, 3, 11)) 23 /// <reference types="alpha" />
|
D | library-reference-8.types | 2 /// <reference types="alpha" /> 4 var x: string = alpha.a + beta.b; 6 >alpha.a + beta.b : string 7 >alpha.a : string 8 >alpha : { a: string; } 15 === /test/types/alpha/index.d.ts === 19 declare var alpha: { a: string }; 20 >alpha : { a: string; } 24 /// <reference types="alpha" />
|
/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/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/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() 205 const int alpha = mb->alpha_; in AssignSegments() local 206 mb->segment_ = map[alpha]; in AssignSegments() [all …]
|
/third_party/skia/third_party/externals/opengl-registry/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 …]
|
/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 …]
|
/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/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/ffmpeg/libavfilter/ |
D | drawutils.c | 304 static void blend_line(uint8_t *dst, unsigned src, unsigned alpha, in blend_line() argument 307 unsigned asrc = alpha * src; in blend_line() 308 unsigned tau = 0x1010101 - alpha; in blend_line() 312 unsigned suba = (left * alpha) >> hsub; in blend_line() 321 unsigned suba = (right * alpha) >> hsub; in blend_line() 326 static void blend_line16(uint8_t *dst, unsigned src, unsigned alpha, in blend_line16() argument 329 unsigned asrc = alpha * src; in blend_line16() 330 unsigned tau = 0x10001 - alpha; in blend_line16() 334 unsigned suba = (left * alpha) >> hsub; in blend_line16() 345 unsigned suba = (right * alpha) >> hsub; in blend_line16() [all …]
|
/third_party/flutter/flutter/packages/flutter/lib/src/painting/ |
D | colors.dart | 28 double alpha, 62 …return Color.fromARGB((alpha * 0xFF).round(), ((red + match) * 0xFF).round(), ((green + match) * 0… 65 /// A color represented using [alpha], [hue], [saturation], and [value]. 91 const HSVColor.fromAHSV(this.alpha, this.hue, this.saturation, this.value) 92 : assert(alpha != null), 96 assert(alpha >= 0.0), 97 assert(alpha <= 1.0), 118 final double alpha = color.alpha / 0xFF; 122 return HSVColor.fromAHSV(alpha, hue, saturation, max); 127 final double alpha; [all …]
|