/third_party/ffmpeg/libavformat/ |
H A D | dash.c | 99 int dst_pos = 0; in ff_dash_fill_tmpl_params() local 101 while (dst_pos < buffer_size - 1 && *t_cur) { in ff_dash_fill_tmpl_params() 107 int num_copy_bytes = FFMIN(t_next - t_cur, buffer_size - dst_pos - 1); in ff_dash_fill_tmpl_params() 108 av_strlcpy(&dst[dst_pos], t_cur, num_copy_bytes + 1); in ff_dash_fill_tmpl_params() 110 dst_pos += num_copy_bytes; in ff_dash_fill_tmpl_params() 113 av_strlcpy(&dst[dst_pos], t_cur, buffer_size - dst_pos); in ff_dash_fill_tmpl_params() 117 if (dst_pos >= buffer_size - 1 || !*t_cur) in ff_dash_fill_tmpl_params() 124 av_strlcpy(&dst[dst_pos], "$", 2); in ff_dash_fill_tmpl_params() 128 n = snprintf(&dst[dst_pos], buffer_siz in ff_dash_fill_tmpl_params() [all...] |
/third_party/alsa-utils/axfer/ |
H A D | mapper-single.c | 26 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()
|
H A D | mapper-multiple.c | 27 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/ |
H A D | hscale.c | 50 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/vixl/test/ |
H A D | test-donkey.cc | 63 uint32_t dst_pos = (lrand48() >> 20) % 5; in Mutate() local 64 result = result ^ (1 << dst_pos); in Mutate()
|
/third_party/mesa3d/src/intel/blorp/ |
H A D | blorp_blit.c | 1174 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, in brw_blorp_build_nir_shader() [all...] |
H A D | blorp_clear.c | 141 nir_ssa_def *dst_pos = nir_load_global_invocation_id(&b, 32); in blorp_params_get_clear_kernel_cs() local 150 nir_ssa_def *in_bounds = blorp_check_in_bounds(&b, bounds_rect, dst_pos); in blorp_params_get_clear_kernel_cs() 153 nir_ssa_def *comp = nir_umod(&b, nir_channel(&b, dst_pos, 0), in blorp_params_get_clear_kernel_cs() 161 nir_pad_vector_imm_int(&b, dst_pos, 0, 4), in blorp_params_get_clear_kernel_cs()
|
/third_party/mesa3d/src/gallium/drivers/nouveau/ |
H A D | nouveau_buffer.h | 62 struct nv04_resource *dst, unsigned dst_pos,
|
/third_party/ffmpeg/libavcodec/ |
H A D | libopusenc.c | 448 const size_t dst_pos = bytes_per_sample * (nb_channels * sample + channel_map[channel]); in libopus_copy_samples_with_channel_map() local 450 memcpy(&dst[dst_pos], &src[src_pos], bytes_per_sample); in libopus_copy_samples_with_channel_map()
|
/third_party/mesa3d/src/microsoft/vulkan/ |
H A D | dzn_cmd_buffer.c | 2018 float dst_pos[4] = { in dzn_cmd_buffer_blit_set_2d_region() local 2036 dst_pos[0], dst_pos[1], src_pos[0], src_pos[1], in dzn_cmd_buffer_blit_set_2d_region() 2037 dst_pos[2], dst_pos[1], src_pos[2], src_pos[1], in dzn_cmd_buffer_blit_set_2d_region() 2038 dst_pos[0], dst_pos[3], src_pos[0], src_pos[3], in dzn_cmd_buffer_blit_set_2d_region() 2039 dst_pos[2], dst_pos[3], src_pos[2], src_pos[3], in dzn_cmd_buffer_blit_set_2d_region()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/ |
H A D | cord_rep_ring.cc | 257 auto* dst_pos = entry_end_pos(); in Fill() local 261 *dst_pos++ = src->entry_end_pos(index); in Fill()
|
/third_party/astc-encoder/Source/ |
H A D | tinyexr.h | 3892 mz_uint dst_pos = in tdefl_compress_fast() local 3900 mz_uint32 n = MZ_MIN(TDEFL_LZ_DICT_SIZE - dst_pos, num_bytes_to_process); in tdefl_compress_fast() 3901 memcpy(d->m_dict + dst_pos, d->m_pSrc, n); in tdefl_compress_fast() 3902 if (dst_pos < (TDEFL_MAX_MATCH_LEN - 1)) in tdefl_compress_fast() 3903 memcpy(d->m_dict + TDEFL_LZ_DICT_SIZE + dst_pos, d->m_pSrc, in tdefl_compress_fast() 3904 MZ_MIN(n, (TDEFL_MAX_MATCH_LEN - 1) - dst_pos)); in tdefl_compress_fast() 3906 dst_pos = (dst_pos + n) & TDEFL_LZ_DICT_SIZE_MASK; in tdefl_compress_fast() 4113 mz_uint dst_pos = (d->m_lookahead_pos + d->m_lookahead_size) & in tdefl_compress_normal() local 4126 d->m_dict[dst_pos] in tdefl_compress_normal() 4138 mz_uint dst_pos = (d->m_lookahead_pos + d->m_lookahead_size) & tdefl_compress_normal() local [all...] |
/third_party/ffmpeg/libavfilter/ |
H A D | vf_convolution.c | 654 const int dst_pos = slice_start * (mode == MATRIX_COLUMN ? bpc : dstride); in filter_slice() local 655 uint8_t *dst = out->data[plane] + dst_pos; in filter_slice()
|