Home
last modified time | relevance | path

Searched refs:src_offset (Results 1 – 25 of 261) sorted by relevance

1234567891011

/third_party/ffmpeg/tests/checkasm/
Dpixblockdsp.c54 int src_offset = i * 64 * sizeof(type) + (aligned ? 8 : 1) * i; \
57 call_ref(dst0 + dst_offset, src10 + src_offset, 8); \
58 call_new(dst1 + dst_offset, src11 + src_offset, 8); \
61 bench_new(dst1 + dst_offset, src11 + src_offset, 8); \
71 int src_offset = i * 64 * sizeof(type) + (aligned ? 8 : 1) * i; \
74 call_ref(dst0 + dst_offset, src10 + src_offset, src20 + src_offset, 8); \
75 call_new(dst1 + dst_offset, src11 + src_offset, src21 + src_offset, 8); \
78 bench_new(dst1 + dst_offset, src11 + src_offset, src21 + src_offset, 8); \
Dvf_blend.c74 … int src_offset = i * SIZE_PER_UNIT + (BUF_UNITS - 1 - i) * depth; /* Test various alignments */ \
77 call_ref(top1 + src_offset, w, bot1 + src_offset, w, \
79 call_new(top2 + src_offset, w, bot2 + src_offset, w, \
/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_vX_descriptor_set.c222 unsigned src_offset = 0; in panvk_per_arch() local
224 while (src_offset < pDescriptorWrite->descriptorCount && in panvk_per_arch()
236 unsigned ndescs = MIN2(pDescriptorWrite->descriptorCount - src_offset, in panvk_per_arch()
246 const VkDescriptorImageInfo *info = &pDescriptorWrite->pImageInfo[src_offset + i]; in panvk_per_arch()
268 panvk_set_image_desc(&descs[i], &pDescriptorWrite->pImageInfo[src_offset + i]); in panvk_per_arch()
274 … panvk_set_texel_buffer_view_desc(&descs[i], &pDescriptorWrite->pTexelBufferView[src_offset + i]); in panvk_per_arch()
282 &pDescriptorWrite->pBufferInfo[src_offset + i]); in panvk_per_arch()
289 panvk_set_buffer_info_desc(&descs[i], &pDescriptorWrite->pBufferInfo[src_offset + i]); in panvk_per_arch()
295 src_offset += ndescs; in panvk_per_arch()
310 unsigned src_offset = pDescriptorCopy->srcArrayElement; in panvk_copy_descriptor_set() local
[all …]
/third_party/alsa-lib/src/pcm/
Dpcm_plugin.h105 const snd_pcm_channel_area_t *src_areas, snd_pcm_uframes_t src_offset,
109 const snd_pcm_channel_area_t *src_areas, snd_pcm_uframes_t src_offset,
115 snd_pcm_uframes_t src_offset,
121 snd_pcm_uframes_t src_offset,
127 snd_pcm_uframes_t src_offset,
133 snd_pcm_uframes_t src_offset,
145 snd_pcm_uframes_t src_offset,
152 snd_pcm_uframes_t src_offset,
Dpcm_rate_linear.c47 snd_pcm_uframes_t src_offset, unsigned int src_frames);
72 snd_pcm_uframes_t src_offset, unsigned int src_frames) in linear_expand() argument
97 src = snd_pcm_channel_area_addr(src_area, src_offset); in linear_expand()
143 snd_pcm_uframes_t src_offset, unsigned int src_frames) in linear_expand_s16() argument
160 src = snd_pcm_channel_area_addr(src_area, src_offset); in linear_expand_s16()
194 snd_pcm_uframes_t src_offset, unsigned int src_frames) in linear_shrink() argument
220 src = snd_pcm_channel_area_addr(src_area, src_offset); in linear_shrink()
264 snd_pcm_uframes_t src_offset, unsigned int src_frames) in linear_shrink_s16() argument
282 src = snd_pcm_channel_area_addr(src_area, src_offset); in linear_shrink_s16()
315 snd_pcm_uframes_t src_offset, unsigned int src_frames) in linear_convert() argument
[all …]
Dpcm_route.c79 snd_pcm_uframes_t src_offset,
115 snd_pcm_uframes_t src_offset ATTRIBUTE_UNUSED, in snd_pcm_route_convert1_zero()
129 snd_pcm_uframes_t src_offset, in snd_pcm_route_convert1_one() argument
154 src_areas, src_offset, in snd_pcm_route_convert1_one()
161 src = snd_pcm_channel_area_addr(src_area, src_offset); in snd_pcm_route_convert1_one()
179 snd_pcm_uframes_t src_offset, in snd_pcm_route_convert1_one_getput() argument
205 src_areas, src_offset, in snd_pcm_route_convert1_one_getput()
213 src = snd_pcm_channel_area_addr(src_area, src_offset); in snd_pcm_route_convert1_one_getput()
231 snd_pcm_uframes_t src_offset, in snd_pcm_route_convert1_many() argument
279 srcs[srcidx1] = snd_pcm_channel_area_addr(src_area, src_offset); in snd_pcm_route_convert1_many()
[all …]
/third_party/optimized-routines/string/aarch64/
Dstrrchr.S27 #define src_offset x7 macro
67 mov src_offset, #0
103 csel src_offset, chr_match, src_offset, ne
133 csel src_offset, chr_match, src_offset, ne
136 clz tmp3, src_offset
143 cmp src_offset, #0
/third_party/mesa3d/src/gallium/drivers/r600/
Devergreen_hw_context.c35 uint64_t src_offset, in evergreen_dma_copy_buffer() argument
50 src_offset += rsrc->gpu_address; in evergreen_dma_copy_buffer()
53 if (!(dst_offset % 4) && !(src_offset % 4) && !(size % 4)) { in evergreen_dma_copy_buffer()
71 radeon_emit(cs, src_offset & 0xffffffff); in evergreen_dma_copy_buffer()
73 radeon_emit(cs, (src_offset >> 32UL) & 0xff); in evergreen_dma_copy_buffer()
75 src_offset += csize << shift; in evergreen_dma_copy_buffer()
Dr600_hw_context.c502 struct pipe_resource *src, uint64_t src_offset, in r600_cp_dma_copy_buffer() argument
517 src_offset += r600_resource(src)->gpu_address; in r600_cp_dma_copy_buffer()
551 radeon_emit(cs, src_offset); /* SRC_ADDR_LO [31:0] */ in r600_cp_dma_copy_buffer()
552 radeon_emit(cs, sync | ((src_offset >> 32) & 0xff)); /* CP_SYNC [31] | SRC_ADDR_HI [7:0] */ in r600_cp_dma_copy_buffer()
563 src_offset += byte_count; in r600_cp_dma_copy_buffer()
584 uint64_t src_offset, in r600_dma_copy_buffer() argument
609 radeon_emit(cs, src_offset & 0xfffffffc); in r600_dma_copy_buffer()
611 radeon_emit(cs, (src_offset >> 32UL) & 0xff); in r600_dma_copy_buffer()
613 src_offset += csize << 2; in r600_dma_copy_buffer()
/third_party/ffmpeg/libavcodec/
Dproresdsp.c42 int x, y, src_offset, dst_offset; in put_pixel() local
46 src_offset = (y << 3) + x; in put_pixel()
49 dst[dst_offset + x] = CLIP_10(in[src_offset]); in put_pixel()
51 dst[dst_offset + x] = CLIP_12(in[src_offset]); in put_pixel()
/third_party/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_pixel_draw.c59 GLuint src_offset; in do_blit_drawpixels() local
107 src_offset = (GLintptr)pixels; in do_blit_drawpixels()
108 src_offset += _mesa_image_offset(2, unpack, width, height, in do_blit_drawpixels()
111 src_buffer = brw_bufferobj_buffer(brw, src, src_offset, in do_blit_drawpixels()
118 src_offset, in do_blit_drawpixels()
Dbrw_blit.c256 GLuint src_offset, in emit_copy_blit() argument
293 src_buffer, src_pitch, src_offset, src_x, src_y, in emit_copy_blit()
326 if (!alignment_valid(brw, src_offset, src_tiling)) in emit_copy_blit()
332 if (src_pitch % 4 != 0 || src_offset % cpp != 0 || in emit_copy_blit()
369 OUT_RELOC64(src_buffer, 0, src_offset); in emit_copy_blit()
371 OUT_RELOC(src_buffer, 0, src_offset); in emit_copy_blit()
424 uint64_t src_offset; in emit_miptree_blit() local
428 &src_offset, &src_tile_x, &src_tile_y); in emit_miptree_blit()
440 src_mt->bo, src_mt->offset + src_offset, in emit_miptree_blit()
/third_party/mesa3d/src/gallium/drivers/vc4/kernel/
Dvc4_validate.c479 uint32_t src_offset = 0; in vc4_validate_bin_cl() local
481 while (src_offset < len) { in vc4_validate_bin_cl()
483 void *src_pkt = unvalidated + src_offset; in vc4_validate_bin_cl()
489 src_offset, cmd); in vc4_validate_bin_cl()
496 src_offset, cmd); in vc4_validate_bin_cl()
500 if (src_offset + info->len > len) { in vc4_validate_bin_cl()
503 src_offset, cmd, info->name, info->len, in vc4_validate_bin_cl()
504 src_offset + len); in vc4_validate_bin_cl()
515 src_offset, cmd, info->name); in vc4_validate_bin_cl()
519 src_offset += info->len; in vc4_validate_bin_cl()
[all …]
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_cp_dma.c281 struct pipe_resource *src, uint64_t dst_offset, uint64_t src_offset, in si_cp_dma_copy_buffer() argument
295 if (dst != src || dst_offset != src_offset) { in si_cp_dma_copy_buffer()
305 src_offset += si_resource(src)->gpu_address; in si_cp_dma_copy_buffer()
322 if (src && src_offset % SI_CPDMA_ALIGNMENT) { in si_cp_dma_copy_buffer()
323 skipped_size = SI_CPDMA_ALIGNMENT - (src_offset % SI_CPDMA_ALIGNMENT); in si_cp_dma_copy_buffer()
351 main_src_offset = src_offset + skipped_size; in si_cp_dma_copy_buffer()
375 si_emit_cp_dma(sctx, &sctx->gfx_cs, dst_offset, src_offset, skipped_size, dma_flags, in si_cp_dma_copy_buffer()
388 if (dst && src && (dst != src || dst_offset != src_offset)) in si_cp_dma_copy_buffer()
504 struct si_resource *src, unsigned src_offset) in si_cp_copy_data() argument
515 uint64_t src_va = (src ? src->gpu_address : 0ull) + src_offset; in si_cp_copy_data()
Dsi_shaderlib_nir.c86 nir_ssa_def *src_offset = in si_create_dcc_retile_cs() local
91 src_offset = nir_iadd(&b, src_offset, src_dcc_offset); in si_create_dcc_retile_cs()
92 nir_ssa_def *value = nir_load_ssbo(&b, 1, 8, zero, src_offset, .align_mul=1); in si_create_dcc_retile_cs()
/third_party/mesa3d/src/mesa/drivers/dri/i915/
Dintel_blit.c82 GLuint src_offset, in emit_copy_blit() argument
106 if (src_offset & 4095) in emit_copy_blit()
131 src_buffer, src_pitch, src_offset, src_x, src_y, in emit_copy_blit()
137 if (src_pitch % 4 != 0 || src_offset % cpp != 0 || in emit_copy_blit()
193 src_offset); in emit_copy_blit()
578 unsigned int src_offset, in intel_emit_linear_blit() argument
592 pitch, src_bo, src_offset, I915_TILING_NONE, in intel_emit_linear_blit()
601 src_offset += pitch * height; in intel_emit_linear_blit()
608 pitch, src_bo, src_offset, I915_TILING_NONE, in intel_emit_linear_blit()
/third_party/ffmpeg/libavresample/
Daudio_data.c279 int src_offset, int nb_samples) in ff_audio_data_combine() argument
291 src_offset < 0 || src_offset > src->nb_samples) { in ff_audio_data_combine()
293 src_offset, dst_offset); in ff_audio_data_combine()
298 if (nb_samples > src->nb_samples - src_offset) in ff_audio_data_combine()
299 nb_samples = src->nb_samples - src_offset; in ff_audio_data_combine()
326 src->data[p] + src_offset * src->stride, in ff_audio_data_combine()
/third_party/mesa3d/src/gallium/drivers/i915/
Di915_blit.c81 unsigned src_offset, unsigned short dst_pitch, in i915_copy_blit() argument
93 __FUNCTION__, src_buffer, src_pitch, src_offset, src_x, src_y, in i915_copy_blit()
138 OUT_RELOC_FENCED(src_buffer, I915_USAGE_2D_SOURCE, src_offset); in i915_copy_blit()
/third_party/alsa-lib/include/
Dpcm_rate.h92 snd_pcm_uframes_t src_offset, unsigned int src_frames);
156 snd_pcm_uframes_t src_offset, unsigned int src_frames);
174 snd_pcm_uframes_t src_offset, unsigned int src_frames);
/third_party/mesa3d/src/gallium/drivers/crocus/
Dcrocus_blt.c148 unsigned src_offset, in emit_copy_blt() argument
163 src, src_pitch, src_offset, src_x, src_y, in emit_copy_blt()
197 if (src_pitch % 4 != 0 || src_offset % cpp != 0 || in emit_copy_blt()
215 xyblt.SourceBaseAddress = ro_bo(src->bo, src_offset); in emit_copy_blt()
326 uint64_t src_offset; in crocus_emit_blt() local
335 &src_offset, in crocus_emit_blt()
356 src_offset, in crocus_emit_blt()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp16/
Dpack_fp16.c168 int src_offset = b * plane * channel; in PackNCHWToNC4HW4Fp16() local
173 int src_c_offset = src_offset + c * plane; in PackNCHWToNC4HW4Fp16()
346 int src_offset = b * plane * c4 * C4NUM; in PackNC4HW4ToNHWC4Fp16() local
351 int src_c_offset = src_offset + c4_block_num * plane * C4NUM + c4_block_res; in PackNC4HW4ToNHWC4Fp16()
365 int src_offset = b * plane * c4 * C4NUM; in PackNC4HW4ToNHWCFp16() local
370 int src_c_offset = src_offset + c4_block_num * plane * C4NUM + c4_block_res; in PackNC4HW4ToNHWCFp16()
384 int src_offset = b * plane * c4 * C4NUM; in PackNC4HW4ToNCHWFp16() local
389 int src_c_offset = src_offset + c4_block_num * plane * C4NUM + c4_block_res; in PackNC4HW4ToNCHWFp16()
403 int src_offset = b * plane * channel; in PackNCHWFp32ToNC8HW8Fp16() local
408 int src_c_offset = src_offset + c * plane; in PackNCHWFp32ToNC8HW8Fp16()
[all …]
/third_party/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pt_emit.c88 unsigned src_offset = vinfo->attrib[i].src_index * 4 * sizeof(float); in draw_pt_emit_prepare() local
98 src_offset = 0; in draw_pt_emit_prepare()
103 src_offset = 0; in draw_pt_emit_prepare()
109 hw_key.element[i].input_offset = src_offset; in draw_pt_emit_prepare()
/third_party/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_tex_copy.c84 intptr_t src_offset = rrb->draw_offset; in do_copy_texsubimage() local
92 … x, y, rrb->base.Base.Width, rrb->base.Base.Height, (uint32_t) src_offset, rrb->pitch/rrb->cpp); in do_copy_texsubimage()
128 return radeon->vtbl.blit(ctx, rrb->bo, src_offset, src_mesaformat, rrb->pitch/rrb->cpp, in do_copy_texsubimage()
/third_party/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_tex_copy.c84 intptr_t src_offset = rrb->draw_offset; in do_copy_texsubimage() local
92 … x, y, rrb->base.Base.Width, rrb->base.Base.Height, (uint32_t) src_offset, rrb->pitch/rrb->cpp); in do_copy_texsubimage()
128 return radeon->vtbl.blit(ctx, rrb->bo, src_offset, src_mesaformat, rrb->pitch/rrb->cpp, in do_copy_texsubimage()
/third_party/skia/third_party/externals/freetype/src/sfnt/
Dsfwoff2.c1288 if ( FT_STREAM_SEEK( maxp_table->src_offset ) || FT_STREAM_SKIP( 8 ) ) in get_x_mins()
1297 if ( FT_STREAM_SEEK( head_table->src_offset ) || in get_x_mins()
1310 loca_offset = info->loca_table->src_offset; in get_x_mins()
1333 glyf_offset += info->glyf_table->src_offset; in get_x_mins()
1566 table.src_offset, table.src_length )); in reconstruct_font()
1573 if ( FT_STREAM_SEEK( table.src_offset ) ) in reconstruct_font()
1576 if ( table.src_offset + table.src_length > transformed_buf_size ) in reconstruct_font()
1597 buf_cursor = transformed_buf + table.src_offset + 8; in reconstruct_font()
1604 checksum = compute_ULong_sum( transformed_buf + table.src_offset, in reconstruct_font()
1608 if ( WRITE_SFNT_BUF( transformed_buf + table.src_offset, in reconstruct_font()
[all …]

1234567891011