/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_bld_blend_aos.c | 71 LLVMValueRef src_alpha; member 98 LLVMValueRef src_alpha = bld->src_alpha ? bld->src_alpha : bld->src; in lp_build_blend_factor_unswizzled() local 110 return src_alpha; in lp_build_blend_factor_unswizzled() 124 bld->saturate = lp_build_min(&bld->base, src_alpha, bld->base.zero); in lp_build_blend_factor_unswizzled() 136 bld->saturate = lp_build_min(&bld->base, src_alpha, inv_dst); in lp_build_blend_factor_unswizzled() 141 bld->saturate = lp_build_min(&bld->base, src_alpha, bld->inv_dst); in lp_build_blend_factor_unswizzled() 160 bld->inv_src_alpha = lp_build_comp(&bld->base, src_alpha); in lp_build_blend_factor_unswizzled() 316 LLVMValueRef src_alpha, in lp_build_blend_aos() argument 339 bld.src_alpha = src_alpha; in lp_build_blend_aos() 346 if (!src_alpha) { in lp_build_blend_aos()
|
D | lp_bld_blend.h | 64 LLVMValueRef src_alpha,
|
D | lp_state_fs.c | 2274 LLVMValueRef* src_alpha) in convert_alpha() argument 2282 lp_bld_quad_twiddle(gallivm, alpha_type, src_alpha, block_height, src_alpha); in convert_alpha() 2289 lp_build_conv(gallivm, alpha_type, row_type, &src_alpha[i], 1, &src_alpha[i], 1); in convert_alpha() 2298 lp_build_concat_n(gallivm, alpha_type, src_alpha, block_height, src_alpha, src_count); in convert_alpha() 2306 src_alpha[idx] = lp_build_extract_range(gallivm, src_alpha[(idx * pixels) / 4], in convert_alpha() 2314 src_alpha[i] = lp_build_broadcast(gallivm, in convert_alpha() 2315 lp_build_vec_type(gallivm, row_type), src_alpha[i]); in convert_alpha() 2345 src_alpha[i] = LLVMBuildShuffleVector(builder, in convert_alpha() 2346 src_alpha[idx1], in convert_alpha() 2347 src_alpha[idx2], in convert_alpha() [all …]
|
/third_party/gstreamer/gstplugins_good/gst/videomixer/ |
D | blend.c | 47 gdouble src_alpha, GstVideoFrame * destframe) \ 64 s_alpha = CLAMP ((gint) (src_alpha * 256), 0, 256); \ 207 gdouble src_alpha) \ 213 if (G_UNLIKELY (src_alpha == 0.0)) { \ 219 if (G_UNLIKELY (src_alpha == 1.0)) { \ 229 b_alpha = CLAMP ((gint) (src_alpha * 256), 0, 256); \ 236 gdouble src_alpha, GstVideoFrame * destframe) \ 308 src_alpha); \ 324 src_alpha); \ 340 src_alpha); \ [all …]
|
D | blend.h | 26 typedef void (*BlendFunction) (GstVideoFrame *srcframe, gint xpos, gint ypos, gdouble src_alpha, Gs…
|
/third_party/gstreamer/gstplugins_base/gst/compositor/ |
D | blend.c | 45 gdouble src_alpha, GstVideoFrame * destframe, gint dst_y_start, \ 63 s_alpha = CLAMP ((gint) (src_alpha * 255), 0, 255); \ 265 gdouble src_alpha, GstCompositorBlendMode mode) \ 272 src_alpha = 1.0; \ 276 if (G_UNLIKELY (src_alpha == 0.0)) { \ 282 if (G_UNLIKELY (src_alpha == 1.0)) { \ 292 b_alpha = CLAMP ((gint) (src_alpha * 255), 0, 255); \ 299 gdouble src_alpha, GstVideoFrame * destframe, gint dst_y_start, \ 375 src_alpha, mode); \ 391 src_alpha, mode); \ [all …]
|
D | blend.h | 50 typedef void (*BlendFunction) (GstVideoFrame *srcframe, gint xpos, gint ypos, gdouble src_alpha, Gs…
|
/third_party/mesa3d/src/compiler/glsl/ |
D | lower_blend_equation_advanced.cpp | 301 ir_variable *src_alpha = f.make_temp(glsl_type::float_type, "__blend_src_a"); in calc_blend_result() local 318 f.emit(assign(src_alpha, swizzle_w(src))); in calc_blend_result() 319 f.emit(if_tree(equal(src_alpha, imm1(0)), in calc_blend_result() 324 div(swizzle_xyz(src), src_alpha))))); in calc_blend_result() 404 f.emit(assign(p0, mul(src_alpha, dst_alpha))); in calc_blend_result() 405 f.emit(assign(p1, mul(src_alpha, sub(imm1(1), dst_alpha)))); in calc_blend_result() 406 f.emit(assign(p2, mul(dst_alpha, sub(imm1(1), src_alpha)))); in calc_blend_result()
|
/third_party/flutter/skia/third_party/externals/libwebp/src/demux/ |
D | anim_decode.c | 242 const uint8_t src_alpha = (src[i] >> 24) & 0xff; in BlendPixelRowNonPremult() local 243 if (src_alpha != 0xff) { in BlendPixelRowNonPremult() 269 const uint8_t src_alpha = (src[i] >> 24) & 0xff; in BlendPixelRowPremult() local 270 if (src_alpha != 0xff) { in BlendPixelRowPremult()
|
/third_party/skia/third_party/externals/libwebp/src/demux/ |
D | anim_decode.c | 250 const uint8_t src_alpha = (src[i] >> 24) & 0xff; in BlendPixelRowNonPremult() local 251 if (src_alpha != 0xff) { in BlendPixelRowNonPremult() 277 const uint8_t src_alpha = (src[i] >> 24) & 0xff; in BlendPixelRowPremult() local 278 if (src_alpha != 0xff) { in BlendPixelRowPremult()
|
/third_party/ffmpeg/libswscale/ |
D | swscale_unscaled.c | 571 int src_alpha, int swap, int shift, int width) in packed16togbra16() argument 579 if (src_alpha && dst_alpha) { in packed16togbra16() 593 } else if (src_alpha) { in packed16togbra16() 609 if (src_alpha && dst_alpha) { in packed16togbra16() 623 } else if (src_alpha) { in packed16togbra16() 639 if (src_alpha && dst_alpha) { in packed16togbra16() 653 } else if (src_alpha) { in packed16togbra16() 669 if (src_alpha && dst_alpha) { in packed16togbra16() 683 } else if (src_alpha) { in packed16togbra16() 768 int src_alpha = src[3] != NULL; in gbr16ptopacked16() local [all …]
|
/third_party/vk-gl-cts/external/amber/src/tests/cases/ |
D | draw_rect_blend.amber | 34 SRC_COLOR_FACTOR src_alpha
|
/third_party/flutter/skia/third_party/externals/libwebp/examples/ |
D | gifdec.c | 289 const int src_alpha = src_pixel >> 24; in GIFBlendFrames() local 290 if (src_alpha != 0) { in GIFBlendFrames()
|
/third_party/skia/third_party/externals/libwebp/examples/ |
D | gifdec.c | 289 const int src_alpha = src_pixel >> 24; in GIFBlendFrames() local 290 if (src_alpha != 0) { in GIFBlendFrames()
|
/third_party/ffmpeg/libavcodec/ |
D | libvpxenc.c | 1145 const struct vpx_codec_cx_pkt *src_alpha, in cx_pktcpy() argument 1169 if (src_alpha) { in cx_pktcpy() 1170 dst->buf_alpha = src_alpha->data.frame.buf; in cx_pktcpy() 1171 dst->sz_alpha = src_alpha->data.frame.sz; in cx_pktcpy()
|
/third_party/mesa3d/src/gallium/drivers/crocus/ |
D | crocus_state.c | 1533 enum pipe_blendfactor src_alpha = in set_blend_entry_bits() local 1541 src_rgb != src_alpha || dst_rgb != dst_alpha) in set_blend_entry_bits() 1560 entry->SourceAlphaBlendFactor = (int) src_alpha; in set_blend_entry_bits() 1615 enum pipe_blendfactor src_alpha = in crocus_create_blend_state() local 1623 src_rgb != src_alpha || dst_rgb != dst_alpha) in crocus_create_blend_state()
|
/third_party/vk-gl-cts/external/amber/src/docs/ |
D | amber_script.md | 519 * `src_alpha`
|
/third_party/mesa3d/src/gallium/drivers/iris/ |
D | iris_state.c | 1370 enum pipe_blendfactor src_alpha = in iris_create_blend_state() local 1378 src_rgb != src_alpha || dst_rgb != dst_alpha) in iris_create_blend_state() 1403 be.SourceAlphaBlendFactor = (int) src_alpha; in iris_create_blend_state()
|