Home
last modified time | relevance | path

Searched refs:dst_pos (Results 1 – 11 of 11) sorted by relevance

/third_party/ffmpeg/libavformat/
Ddash.c100 int dst_pos = 0; in ff_dash_fill_tmpl_params() local
102 while (dst_pos < buffer_size - 1 && *t_cur) { in ff_dash_fill_tmpl_params()
108 int num_copy_bytes = FFMIN(t_next - t_cur, buffer_size - dst_pos - 1); in ff_dash_fill_tmpl_params()
109 av_strlcpy(&dst[dst_pos], t_cur, num_copy_bytes + 1); in ff_dash_fill_tmpl_params()
111 dst_pos += num_copy_bytes; in ff_dash_fill_tmpl_params()
114 av_strlcpy(&dst[dst_pos], t_cur, buffer_size - dst_pos); in ff_dash_fill_tmpl_params()
118 if (dst_pos >= buffer_size - 1 || !*t_cur) in ff_dash_fill_tmpl_params()
125 av_strlcpy(&dst[dst_pos], "$", 2); in ff_dash_fill_tmpl_params()
129 n = snprintf(&dst[dst_pos], buffer_size - dst_pos, format_tag, rep_id); in ff_dash_fill_tmpl_params()
132 n = snprintf(&dst[dst_pos], buffer_size - dst_pos, format_tag, number); in ff_dash_fill_tmpl_params()
[all …]
/third_party/alsa-utils/axfer/
Dmapper-single.c26 unsigned int dst_pos; in align_to_vector() local
34 dst_pos = bytes_per_sample * j; in align_to_vector()
36 memcpy(dst + dst_pos, src + src_pos, bytes_per_sample); in align_to_vector()
47 unsigned int dst_pos; in align_from_vector() local
56 dst_pos = bytes_per_sample * (samples_per_frame * j + i); in align_from_vector()
58 memcpy(dst + dst_pos, src + src_pos, bytes_per_sample); in align_from_vector()
Dmapper-multiple.c27 unsigned int dst_pos; in align_to_i() local
41 dst_pos = bytes_per_sample * (cntr_count * j + i); in align_to_i()
43 memcpy(dst + dst_pos, src + src_pos, bytes_per_sample); in align_to_i()
56 unsigned int dst_pos; in align_from_i() local
67 dst_pos = bytes_per_sample * cntr->samples_per_frame * j; in align_from_i()
69 memcpy(dst + dst_pos, src + src_pos, bytes_per_sample); in align_from_i()
/third_party/ffmpeg/libswscale/
Dhscale.c50 int dst_pos = sliceY+i - desc->dst->plane[0].sliceY; in lum_h_scale() local
54 c->hyscale_fast(c, (int16_t*)dst[dst_pos], dstW, src[src_pos], srcW, xInc); in lum_h_scale()
56 … c->hyScale(c, (int16_t*)dst[dst_pos], dstW, (const uint8_t *)src[src_pos], instance->filter, in lum_h_scale()
61 c->lumConvertRange((int16_t*)dst[dst_pos], dstW); in lum_h_scale()
70 dst_pos = sliceY+i - desc->dst->plane[3].sliceY; in lum_h_scale()
75 c->hyscale_fast(c, (int16_t*)dst[dst_pos], dstW, src[src_pos], srcW, xInc); in lum_h_scale()
77 … c->hyScale(c, (int16_t*)dst[dst_pos], dstW, (const uint8_t *)src[src_pos], instance->filter, in lum_h_scale()
/third_party/mesa3d/src/intel/blorp/
Dblorp_blit.c1174 nir_ssa_def *src_pos, *dst_pos, *color; in brw_blorp_build_nir_shader() local
1214 dst_pos = compute ? in brw_blorp_build_nir_shader()
1236 dst_pos = blorp_nir_encode_msaa(&b, dst_pos, key->rt_samples, in brw_blorp_build_nir_shader()
1240 dst_pos = blorp_nir_retile_y_to_w(&b, dst_pos); in brw_blorp_build_nir_shader()
1242 dst_pos = blorp_nir_decode_msaa(&b, dst_pos, key->dst_samples, in brw_blorp_build_nir_shader()
1253 assert(dst_pos->num_components == 2); in brw_blorp_build_nir_shader()
1254 nir_ssa_def *dst_x = nir_channel(&b, dst_pos, 0); in brw_blorp_build_nir_shader()
1256 dst_pos = nir_vec2(&b, nir_idiv(&b, dst_x, nir_imm_int(&b, 3)), in brw_blorp_build_nir_shader()
1257 nir_channel(&b, dst_pos, 1)); in brw_blorp_build_nir_shader()
1272 dst_pos); in brw_blorp_build_nir_shader()
[all …]
Dblorp_clear.c135 nir_ssa_def *dst_pos = nir_load_global_invocation_id(&b, 32); in blorp_params_get_clear_kernel_cs() local
144 nir_ssa_def *in_bounds = blorp_check_in_bounds(&b, bounds_rect, dst_pos); in blorp_params_get_clear_kernel_cs()
147 nir_ssa_def *comp = nir_umod(&b, nir_channel(&b, dst_pos, 0), in blorp_params_get_clear_kernel_cs()
155 nir_pad_vector_imm_int(&b, dst_pos, 0, 4), in blorp_params_get_clear_kernel_cs()
/third_party/mesa3d/src/gallium/drivers/nouveau/
Dnouveau_buffer.h62 struct nv04_resource *dst, unsigned dst_pos,
/third_party/ffmpeg/libavcodec/
Dlibopusenc.c446 const size_t dst_pos = bytes_per_sample * (nb_channels * sample + channel_map[channel]); in libopus_copy_samples_with_channel_map() local
448 memcpy(&dst[dst_pos], &src[src_pos], bytes_per_sample); in libopus_copy_samples_with_channel_map()
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/
Dcord_rep_ring.cc257 auto* dst_pos = entry_end_pos(); in Fill() local
261 *dst_pos++ = src->entry_end_pos(index); in Fill()
/third_party/ffmpeg/libavfilter/
Dvf_convolution.c614 const int dst_pos = slice_start * (mode == MATRIX_COLUMN ? bpc : dstride); in filter_slice() local
615 uint8_t *dst = out->data[plane] + dst_pos; in filter_slice()
/third_party/ffmpeg/doc/
Dfilters.texi23187 float2 dst_pos = convert_float2(dst_loc) - dst_cen;
23189 cos(angle) * dst_pos.x - sin(angle) * dst_pos.y,
23190 sin(angle) * dst_pos.x + cos(angle) * dst_pos.y