Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavcodec/
Dsheervideo.c46 uint16_t *dst_y, *dst_u, *dst_v, *dst_a; in decode_ca4i() local
49 dst_a = (uint16_t *)p->data[3]; in decode_ca4i()
57 dst_a[x] = get_bits(gb, 10); in decode_ca4i()
73 dst_a[x] = pred[3] = (a + pred[3]) & 0x3ff; in decode_ca4i()
83 dst_a += p->linesize[3] / 2; in decode_ca4i()
90 uint16_t *dst_y, *dst_u, *dst_v, *dst_a; in decode_ca4p() local
93 dst_a = (uint16_t *)p->data[3]; in decode_ca4p()
100 dst_a[x] = get_bits(gb, 10); in decode_ca4p()
116 dst_a[x] = pred[3] = (a + pred[3]) & 0x3ff; in decode_ca4p()
126 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/flutter/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/flutter/skia/third_party/externals/libwebp/src/demux/
Danim_decode.c198 uint32_t dst, uint8_t dst_a, in BlendChannelNonPremult() argument
202 const uint32_t blend_unscaled = src_channel * src_a + dst_channel * dst_a; in BlendChannelNonPremult()
214 const uint8_t dst_a = (dst >> 24) & 0xff; in BlendPixelNonPremult() local
217 const uint8_t dst_factor_a = (dst_a * (256 - src_a)) >> 8; in BlendPixelNonPremult()
/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/boost/boost/geometry/srs/projections/impl/
Dpj_transform.hpp901 calc_t src_a, src_es, dst_a, dst_es; in pj_datum_transform() local
922 dst_a = dstdefn.a_orig; in pj_datum_transform()
951 dst_a = wgs84_a; in pj_datum_transform()
958 if( src_es != dst_es || src_a != dst_a in pj_datum_transform()
1003 err = pj_geocentric_to_geodetic( dst_a, dst_es, z_range ); in pj_datum_transform()
/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/flutter/skia/third_party/externals/libwebp/src/enc/
Dpicture_csp_enc.c890 uint8_t* dst_a = picture->a; in ImportYUVAFromRGBA() local
927 dst_a, picture->a_stride); in ImportYUVAFromRGBA()
928 dst_a += 2 * picture->a_stride; in ImportYUVAFromRGBA()
961 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/flutter/skia/third_party/externals/libwebp/src/dec/
Dio_dec.c279 uint8_t* const dst_a = buf->a + p->last_y * buf->a_stride; in EmitRescaledAlphaYUV() local
285 WebPMultRows(dst_y, buf->y_stride, dst_a, buf->a_stride, in EmitRescaledAlphaYUV()
291 FillAlphaPlane(dst_a, io->scaled_width, expected_num_lines_out, in EmitRescaledAlphaYUV()
/third_party/flutter/skia/third_party/externals/libwebp/src/mux/
Danim_encode.c376 const int dst_a = (dst >> 24) & 0xff; in PixelsAreSimilar() local
381 return (src_a == dst_a) && in PixelsAreSimilar()
382 (abs(src_r - dst_r) * dst_a <= (max_allowed_diff * 255)) && in PixelsAreSimilar()
383 (abs(src_g - dst_g) * dst_a <= (max_allowed_diff * 255)) && in PixelsAreSimilar()
384 (abs(src_b - dst_b) * dst_a <= (max_allowed_diff * 255)); in PixelsAreSimilar()
/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()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp16/
Ddeconv_winograd_fp16.c388 …float16_t *dst_a = (float16_t *)tmp_a->dest_buffer_ + task_id * unit->winograd_.kw_ * unit->winogr… in DeconvWgFp16() local
393 …alWgFp16(tile_in, tile_out, (float16_t *)unit->weight_, tmp_buf, unit->winograd_.AT_, mid_a, dst_a, in DeconvWgFp16()