Home
last modified time | relevance | path

Searched refs:dst_a (Results 1 – 13 of 13) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dsheervideo.c42 uint16_t *dst_y, *dst_u, *dst_v, *dst_a; in decode_ca4i() local
45 dst_a = (uint16_t *)p->data[3]; in decode_ca4i()
53 dst_a[x] = get_bits(gb, 10); in decode_ca4i()
69 dst_a[x] = pred[3] = (a + pred[3]) & 0x3ff; in decode_ca4i()
79 dst_a += p->linesize[3] / 2; in decode_ca4i()
86 uint16_t *dst_y, *dst_u, *dst_v, *dst_a; in decode_ca4p() local
89 dst_a = (uint16_t *)p->data[3]; in decode_ca4p()
96 dst_a[x] = get_bits(gb, 10); in decode_ca4p()
112 dst_a[x] = pred[3] = (a + pred[3]) & 0x3ff; in decode_ca4p()
122 dst_a += p->linesize[3] / 2; in decode_ca4p()
[all …]
/third_party/openh264/test/processing/
DProcessUT_DownSample.cpp200 ENFORCE_STACK_ALIGN_1D (uint8_t, dst_a, 50000, 16); \
211 dst_c[j] = dst_a[j] = rand() % 256; \
215 func (dst_a, dst_stride_a, src_a, src_stride_a, src_width_a, src_height_a); \
218 ASSERT_EQ (dst_c[m + j * dst_stride_c], dst_a[m + j * dst_stride_a]); \
242 ENFORCE_STACK_ALIGN_1D (uint8_t, dst_a, 50000, 16); \
253 dst_c[j] = dst_a[j] = rand() % 256; \
257 func (dst_a, dst_stride_a, src_a, src_stride_a, src_width_a, src_height_a/3); \
260 ASSERT_EQ (dst_c[m + j * dst_stride_c], dst_a[m + j * dst_stride_a]); \
279 ENFORCE_STACK_ALIGN_1D (uint8_t, dst_a, 50000, 16); \
290 dst_c[j] = dst_a[j] = rand() % 256; \
[all …]
/third_party/mesa3d/src/gallium/drivers/vc4/
Dvc4_nir_lower_blend.c145 nir_ssa_def *dst_a, in vc4_blend_channel_i() argument
157 return dst_a; in vc4_blend_channel_i()
164 nir_inot(b, dst_a)), in vc4_blend_channel_i()
178 return nir_inot(b, dst_a); in vc4_blend_channel_i()
307 nir_ssa_def *dst_a; in vc4_do_blending_i() local
315 dst_a = vc4_nir_splat(b, nir_iand(b, nir_ushr(b, dst_color, in vc4_do_blending_i()
318 dst_a = nir_imm_int(b, ~0); in vc4_do_blending_i()
323 src_a, dst_a, in vc4_do_blending_i()
328 src_a, dst_a, in vc4_do_blending_i()
337 src_a, dst_a, in vc4_do_blending_i()
[all …]
/third_party/skia/third_party/externals/libwebp/examples/
Danim_diff.c47 const int dst_a = (dst >> 24) & 0xff; in PixelsAreSimilar() local
52 return (abs(src_r * src_a - dst_r * dst_a) <= (max_allowed_diff * 255)) && in PixelsAreSimilar()
53 (abs(src_g * src_a - dst_g * dst_a) <= (max_allowed_diff * 255)) && in PixelsAreSimilar()
54 (abs(src_b * src_a - dst_b * dst_a) <= (max_allowed_diff * 255)) && in PixelsAreSimilar()
55 (abs(src_a - dst_a) <= max_allowed_diff); in PixelsAreSimilar()
/third_party/vk-gl-cts/external/openglcts/modules/glesext/draw_buffers_indexed/
DesextcDrawBuffersIndexedBase.cpp257 glw::GLenum dst_a) in SetBlendFuncSeparatei() argument
259 gl.blendFuncSeparatei(idx, src_rgb, dst_rgb, src_a, dst_a); in SetBlendFuncSeparatei()
263 state[idx].func_dst_a = dst_a; in SetBlendFuncSeparatei()
336 glw::GLenum src_a, glw::GLenum dst_a) in SetBlendFuncSeparate() argument
339 gl.blendFuncSeparate(src_rgb, dst_rgb, src_a, dst_a); in SetBlendFuncSeparate()
345 state[i].func_dst_a = dst_a; in SetBlendFuncSeparate()
DesextcDrawBuffersIndexedBase.hpp106 glw::GLenum dst_a);
113 …tBlendFuncSeparate(glw::GLenum src_rgb, glw::GLenum dst_rgb, glw::GLenum src_a, glw::GLenum dst_a);
/third_party/skia/third_party/externals/libwebp/src/demux/
Danim_decode.c206 uint32_t dst, uint8_t dst_a, in BlendChannelNonPremult() argument
210 const uint32_t blend_unscaled = src_channel * src_a + dst_channel * dst_a; in BlendChannelNonPremult()
222 const uint8_t dst_a = (dst >> 24) & 0xff; in BlendPixelNonPremult() local
225 const uint8_t dst_factor_a = (dst_a * (256 - src_a)) >> 8; in BlendPixelNonPremult()
/third_party/ffmpeg/libavfilter/
Dvsrc_gradients.c307 float *dst_a = (float *)frame->data[0] + start * linesize_a; in draw_gradients_slice32_planar() local
313 &dst_r[x], &dst_g[x], &dst_b[x], &dst_a[x]); in draw_gradients_slice32_planar()
319 dst_a += linesize_a; in draw_gradients_slice32_planar()
Dvf_selectivecolor.c336 …uint##nbits##_t *dst_a = (uint##nbits##_t *)dst + aoffset; …
392dst_a[x] = src_a[x]; \
404dst_a += dst_linesize; \
Dvf_colorlevels.c120 type *dst_a = (type *)(td->dstrow[A]) + src_linesize * slice_start; \
168 dst_a[x] = clip((src_a[x] - imin_a) * coeff_a + omin_a, depth); \
178 dst_a += dst_linesize; \
/third_party/skia/third_party/externals/libwebp/src/enc/
Dpicture_csp_enc.c894 uint8_t* dst_a = picture->a; in ImportYUVAFromRGBA() local
931 dst_a, picture->a_stride); in ImportYUVAFromRGBA()
932 dst_a += 2 * picture->a_stride; in ImportYUVAFromRGBA()
965 row_has_alpha &= !WebPExtractAlpha(a_ptr, 0, width, 1, dst_a, 0); in ImportYUVAFromRGBA()
/third_party/skia/third_party/externals/libwebp/src/dec/
Dio_dec.c274 uint8_t* const dst_a = buf->a + (size_t)p->last_y * buf->a_stride; in EmitRescaledAlphaYUV() local
280 WebPMultRows(dst_y, buf->y_stride, dst_a, buf->a_stride, in EmitRescaledAlphaYUV()
286 FillAlphaPlane(dst_a, io->scaled_width, expected_num_lines_out, in EmitRescaledAlphaYUV()
/third_party/skia/third_party/externals/libwebp/src/mux/
Danim_encode.c373 const int dst_a = (dst >> 24) & 0xff; in PixelsAreSimilar() local
378 return (src_a == dst_a) && in PixelsAreSimilar()
379 (abs(src_r - dst_r) * dst_a <= (max_allowed_diff * 255)) && in PixelsAreSimilar()
380 (abs(src_g - dst_g) * dst_a <= (max_allowed_diff * 255)) && in PixelsAreSimilar()
381 (abs(src_b - dst_b) * dst_a <= (max_allowed_diff * 255)); in PixelsAreSimilar()