Home
last modified time | relevance | path

Searched refs:src_offset (Results 1 - 25 of 247) sorted by relevance

12345678910

/third_party/ffmpeg/tests/checkasm/
H A 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, src2
[all...]
H A 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/spirv-tools/source/diff/
H A Dlcs.h53 uint32_t src_offset; member
61 return index.src_offset < src_.size() && index.dst_offset < dst_.size(); in IsInBound()
65 return table_[index.src_offset][index.dst_offset].valid; in IsCalculated()
75 return table_[index.src_offset][index.dst_offset].best_match_length; in GetMemoizedLength()
79 return table_[index.src_offset][index.dst_offset].matched; in IsMatched()
84 DiffMatchEntry& entry = table_[index.src_offset][index.dst_offset]; in MarkMatched()
157 if (match(src_[current.src_offset], dst_[current.dst_offset])) { in CalculateLCS()
161 DiffMatchIndex next = {current.src_offset + 1, current.dst_offset + 1}; in CalculateLCS()
174 DiffMatchIndex next_src = {current.src_offset + 1, current.dst_offset}; in CalculateLCS()
175 DiffMatchIndex next_dst = {current.src_offset, curren in CalculateLCS()
[all...]
/third_party/alsa-lib/src/pcm/
H A Dpcm_plugin.h109 const snd_pcm_channel_area_t *src_areas, snd_pcm_uframes_t src_offset,
113 const snd_pcm_channel_area_t *src_areas, snd_pcm_uframes_t src_offset,
119 snd_pcm_uframes_t src_offset,
125 snd_pcm_uframes_t src_offset,
131 snd_pcm_uframes_t src_offset,
137 snd_pcm_uframes_t src_offset,
149 snd_pcm_uframes_t src_offset,
156 snd_pcm_uframes_t src_offset,
H A Dpcm_rate_linear.c46 snd_pcm_uframes_t src_offset, unsigned int src_frames);
71 snd_pcm_uframes_t src_offset, unsigned int src_frames) in linear_expand()
96 src = snd_pcm_channel_area_addr(src_area, src_offset); in linear_expand()
142 snd_pcm_uframes_t src_offset, unsigned int src_frames) in linear_expand_s16()
159 src = snd_pcm_channel_area_addr(src_area, src_offset); in linear_expand_s16()
193 snd_pcm_uframes_t src_offset, unsigned int src_frames) in linear_shrink()
219 src = snd_pcm_channel_area_addr(src_area, src_offset); in linear_shrink()
263 snd_pcm_uframes_t src_offset, unsigned int src_frames) in linear_shrink_s16()
281 src = snd_pcm_channel_area_addr(src_area, src_offset); in linear_shrink_s16()
314 snd_pcm_uframes_t src_offset, unsigne in linear_convert()
67 linear_expand(struct rate_linear *rate, const snd_pcm_channel_area_t *dst_areas, snd_pcm_uframes_t dst_offset, unsigned int dst_frames, const snd_pcm_channel_area_t *src_areas, snd_pcm_uframes_t src_offset, unsigned int src_frames) linear_expand() argument
138 linear_expand_s16(struct rate_linear *rate, const snd_pcm_channel_area_t *dst_areas, snd_pcm_uframes_t dst_offset, unsigned int dst_frames, const snd_pcm_channel_area_t *src_areas, snd_pcm_uframes_t src_offset, unsigned int src_frames) linear_expand_s16() argument
189 linear_shrink(struct rate_linear *rate, const snd_pcm_channel_area_t *dst_areas, snd_pcm_uframes_t dst_offset, unsigned int dst_frames, const snd_pcm_channel_area_t *src_areas, snd_pcm_uframes_t src_offset, unsigned int src_frames) linear_shrink() argument
259 linear_shrink_s16(struct rate_linear *rate, const snd_pcm_channel_area_t *dst_areas, snd_pcm_uframes_t dst_offset, unsigned int dst_frames, const snd_pcm_channel_area_t *src_areas, snd_pcm_uframes_t src_offset, unsigned int src_frames) linear_shrink_s16() argument
310 linear_convert(void *obj, const snd_pcm_channel_area_t *dst_areas, snd_pcm_uframes_t dst_offset, unsigned int dst_frames, const snd_pcm_channel_area_t *src_areas, snd_pcm_uframes_t src_offset, unsigned int src_frames) linear_convert() argument
[all...]
H A Dpcm_route.c78 snd_pcm_uframes_t src_offset,
114 snd_pcm_uframes_t src_offset ATTRIBUTE_UNUSED, in snd_pcm_route_convert1_zero()
128 snd_pcm_uframes_t src_offset, in snd_pcm_route_convert1_one()
153 src_areas, src_offset, in snd_pcm_route_convert1_one()
160 src = snd_pcm_channel_area_addr(src_area, src_offset); in snd_pcm_route_convert1_one()
178 snd_pcm_uframes_t src_offset, in snd_pcm_route_convert1_one_getput()
204 src_areas, src_offset, in snd_pcm_route_convert1_one_getput()
212 src = snd_pcm_channel_area_addr(src_area, src_offset); in snd_pcm_route_convert1_one_getput()
230 snd_pcm_uframes_t src_offset, in snd_pcm_route_convert1_many()
278 srcs[srcidx1] = snd_pcm_channel_area_addr(src_area, src_offset); in snd_pcm_route_convert1_many()
125 snd_pcm_route_convert1_one(const snd_pcm_channel_area_t *dst_area, snd_pcm_uframes_t dst_offset, const snd_pcm_channel_area_t *src_areas, snd_pcm_uframes_t src_offset, unsigned int src_channels, snd_pcm_uframes_t frames, const snd_pcm_route_ttable_dst_t* ttable, const snd_pcm_route_params_t *params) snd_pcm_route_convert1_one() argument
175 snd_pcm_route_convert1_one_getput(const snd_pcm_channel_area_t *dst_area, snd_pcm_uframes_t dst_offset, const snd_pcm_channel_area_t *src_areas, snd_pcm_uframes_t src_offset, unsigned int src_channels, snd_pcm_uframes_t frames, const snd_pcm_route_ttable_dst_t* ttable, const snd_pcm_route_params_t *params) snd_pcm_route_convert1_one_getput() argument
227 snd_pcm_route_convert1_many(const snd_pcm_channel_area_t *dst_area, snd_pcm_uframes_t dst_offset, const snd_pcm_channel_area_t *src_areas, snd_pcm_uframes_t src_offset, unsigned int src_channels, snd_pcm_uframes_t frames, const snd_pcm_route_ttable_dst_t* ttable, const snd_pcm_route_params_t *params) snd_pcm_route_convert1_many() argument
400 snd_pcm_route_convert(const snd_pcm_channel_area_t *dst_areas, snd_pcm_uframes_t dst_offset, const snd_pcm_channel_area_t *src_areas, snd_pcm_uframes_t src_offset, unsigned int src_channels, unsigned int dst_channels, snd_pcm_uframes_t frames, snd_pcm_route_params_t *params) snd_pcm_route_convert() argument
[all...]
/third_party/mesa3d/src/gallium/drivers/r600/
H A Devergreen_hw_context.c35 uint64_t src_offset, in evergreen_dma_copy_buffer()
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()
31 evergreen_dma_copy_buffer(struct r600_context *rctx, struct pipe_resource *dst, struct pipe_resource *src, uint64_t dst_offset, uint64_t src_offset, uint64_t size) evergreen_dma_copy_buffer() argument
H A Dr600_hw_context.c501 struct pipe_resource *src, uint64_t src_offset, in r600_cp_dma_copy_buffer()
516 src_offset += r600_resource(src)->gpu_address; in r600_cp_dma_copy_buffer()
550 radeon_emit(cs, src_offset); /* SRC_ADDR_LO [31:0] */ in r600_cp_dma_copy_buffer()
551 radeon_emit(cs, sync | ((src_offset >> 32) & 0xff)); /* CP_SYNC [31] | SRC_ADDR_HI [7:0] */ in r600_cp_dma_copy_buffer()
562 src_offset += byte_count; in r600_cp_dma_copy_buffer()
583 uint64_t src_offset, in r600_dma_copy_buffer()
608 radeon_emit(cs, src_offset & 0xfffffffc); in r600_dma_copy_buffer()
610 radeon_emit(cs, (src_offset >> 32UL) & 0xff); in r600_dma_copy_buffer()
612 src_offset += csize << 2; in r600_dma_copy_buffer()
499 r600_cp_dma_copy_buffer(struct r600_context *rctx, struct pipe_resource *dst, uint64_t dst_offset, struct pipe_resource *src, uint64_t src_offset, unsigned size) r600_cp_dma_copy_buffer() argument
579 r600_dma_copy_buffer(struct r600_context *rctx, struct pipe_resource *dst, struct pipe_resource *src, uint64_t dst_offset, uint64_t src_offset, uint64_t size) r600_dma_copy_buffer() argument
/third_party/optimized-routines/string/aarch64/
H A Dstrrchr.S27 #define src_offset x7 define
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/ffmpeg/libavcodec/
H A 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/gallium/drivers/vc4/kernel/
H A 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 in vc4_validate_bin_cl()
814 uint32_t src_offset = *(uint32_t *)(pkt_u + o); validate_gl_shader_rec() local
[all...]
/third_party/mesa3d/src/gallium/drivers/radeonsi/
H A Dsi_cp_dma.c286 struct pipe_resource *src, uint64_t dst_offset, uint64_t src_offset, in si_cp_dma_copy_buffer()
300 if (dst != src || dst_offset != src_offset) { in si_cp_dma_copy_buffer()
310 src_offset += si_resource(src)->gpu_address; in si_cp_dma_copy_buffer()
327 if (src && src_offset % SI_CPDMA_ALIGNMENT) { in si_cp_dma_copy_buffer()
328 skipped_size = SI_CPDMA_ALIGNMENT - (src_offset % SI_CPDMA_ALIGNMENT); in si_cp_dma_copy_buffer()
359 main_src_offset = src_offset + skipped_size; in si_cp_dma_copy_buffer()
383 si_emit_cp_dma(sctx, &sctx->gfx_cs, dst_offset, src_offset, skipped_size, dma_flags, in si_cp_dma_copy_buffer()
396 if (dst && src && (dst != src || dst_offset != src_offset)) in si_cp_dma_copy_buffer()
472 struct si_resource *src, unsigned src_offset) in si_cp_copy_data()
483 uint64_t src_va = (src ? src->gpu_address : 0ull) + src_offset; in si_cp_copy_data()
285 si_cp_dma_copy_buffer(struct si_context *sctx, struct pipe_resource *dst, struct pipe_resource *src, uint64_t dst_offset, uint64_t src_offset, unsigned size, unsigned user_flags, enum si_coherency coher, enum si_cache_policy cache_policy) si_cp_dma_copy_buffer() argument
470 si_cp_copy_data(struct si_context *sctx, struct radeon_cmdbuf *cs, unsigned dst_sel, struct si_resource *dst, unsigned dst_offset, unsigned src_sel, struct si_resource *src, unsigned src_offset) si_cp_copy_data() argument
[all...]
/third_party/alsa-lib/include/
H A 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/i915/
H A Di915_blit.c81 unsigned src_offset, unsigned short dst_pitch, in i915_copy_blit()
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()
79 i915_copy_blit(struct i915_context *i915, unsigned cpp, unsigned short src_pitch, struct i915_winsys_buffer *src_buffer, unsigned src_offset, unsigned short dst_pitch, struct i915_winsys_buffer *dst_buffer, unsigned dst_offset, short src_x, short src_y, short dst_x, short dst_y, short w, short h) i915_copy_blit() argument
/third_party/ffmpeg/libavresample/
H A Daudio_data.c279 int src_offset, int nb_samples) in ff_audio_data_combine()
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()
278 ff_audio_data_combine(AudioData *dst, int dst_offset, AudioData *src, int src_offset, int nb_samples) ff_audio_data_combine() argument
/third_party/mesa3d/src/gallium/drivers/crocus/
H A Dcrocus_blt.c148 unsigned src_offset, in emit_copy_blt()
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()
143 emit_copy_blt(struct crocus_batch *batch, struct crocus_resource *src, struct crocus_resource *dst, unsigned cpp, int32_t src_pitch, unsigned src_offset, int32_t dst_pitch, unsigned dst_offset, uint16_t src_x, uint16_t src_y, uint16_t dst_x, uint16_t dst_y, uint16_t w, uint16_t h) emit_copy_blt() argument
/third_party/mesa3d/src/panfrost/shared/test/
H A Dtest-tiling.cpp103 unsigned dst_offset, src_offset;
107 src_offset = linear_offset(linear_x_block, linear_y_block, src_stride, blocksize);
110 src_offset = tiled_offset(tiled_x_block, tiled_y_block, src_stride, tilesize, blocksize);
114 (const uint8_t *) src + src_offset,
/third_party/mesa3d/src/broadcom/vulkan/
H A Dv3dvx_meta_common.c676 uint32_t src_offset, in emit_copy_buffer_per_tile_list()
688 emit_linear_load(cl, RENDER_TARGET_0, src, src_offset, stride, format); in emit_copy_buffer_per_tile_list()
712 uint32_t src_offset, in meta_emit_copy_buffer()
719 dst_offset, src_offset, in meta_emit_copy_buffer()
729 uint32_t src_offset, in meta_emit_copy_buffer_rcl()
739 v3dX(meta_emit_copy_buffer)(job, dst, src, dst_offset, src_offset, in meta_emit_copy_buffer_rcl()
839 uint32_t src_offset, in meta_emit_tfu_job()
855 tfu.iia |= src_offset; in meta_emit_tfu_job()
1227 uint32_t src_offset, in meta_copy_buffer()
1236 src_offset in meta_copy_buffer()
672 emit_copy_buffer_per_tile_list(struct v3dv_job *job, struct v3dv_bo *dst, struct v3dv_bo *src, uint32_t dst_offset, uint32_t src_offset, uint32_t stride, uint32_t format) emit_copy_buffer_per_tile_list() argument
708 meta_emit_copy_buffer(struct v3dv_job *job, struct v3dv_bo *dst, struct v3dv_bo *src, uint32_t dst_offset, uint32_t src_offset, struct v3dv_meta_framebuffer *framebuffer, uint32_t format, uint32_t item_size) meta_emit_copy_buffer() argument
725 meta_emit_copy_buffer_rcl(struct v3dv_job *job, struct v3dv_bo *dst, struct v3dv_bo *src, uint32_t dst_offset, uint32_t src_offset, struct v3dv_meta_framebuffer *framebuffer, uint32_t format, uint32_t item_size) meta_emit_copy_buffer_rcl() argument
832 meta_emit_tfu_job(struct v3dv_cmd_buffer *cmd_buffer, uint32_t dst_bo_handle, uint32_t dst_offset, enum v3d_tiling_mode dst_tiling, uint32_t dst_padded_height_or_stride, uint32_t dst_cpp, uint32_t src_bo_handle, uint32_t src_offset, enum v3d_tiling_mode src_tiling, uint32_t src_padded_height_or_stride, uint32_t src_cpp, uint32_t width, uint32_t height, const struct v3dv_format *format) meta_emit_tfu_job() argument
1223 meta_copy_buffer(struct v3dv_cmd_buffer *cmd_buffer, struct v3dv_bo *dst, uint32_t dst_offset, struct v3dv_bo *src, uint32_t src_offset, const VkBufferCopy2 *region) meta_copy_buffer() argument
[all...]
/third_party/skia/third_party/externals/freetype/src/sfnt/
H A 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()
1759 FT_ULong src_offset = 0; FT_LOCAL_DEF() local
[all...]
/third_party/mesa3d/src/gallium/drivers/lima/ir/pp/
H A Ddisasm.c768 bitcopy(char *src, char *dst, unsigned bits, unsigned src_offset) in bitcopy() argument
770 src += src_offset / 8; in bitcopy()
771 src_offset %= 8; in bitcopy()
774 unsigned char out = ((unsigned char) *src) >> src_offset; in bitcopy()
775 if (src_offset > 0 && src_offset + b > 8) in bitcopy()
776 out |= ((unsigned char) *(src + 1)) << (8 - src_offset); in bitcopy()
/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/data/
H A Dgrowable_memory_byte_array.h40 int32_t src_offset, in CopyTo()
42 return ByteArray::CopyTo(dst_offset, array, src_offset, length); in CopyTo()
38 CopyTo(int32_t dst_offset, ByteArray* array, int32_t src_offset, int32_t length) CopyTo() argument
H A Dmemory_byte_array.h52 int32_t src_offset, in CopyTo()
54 return ByteArray::CopyTo(dst_offset, array, src_offset, length); in CopyTo()
50 CopyTo(int32_t dst_offset, ByteArray* array, int32_t src_offset, int32_t length) CopyTo() argument
/third_party/ffmpeg/libavutil/
H A Dsamplefmt.c223 int src_offset, int nb_samples, int nb_channels, in av_samples_copy()
233 src_offset *= block_align; in av_samples_copy()
237 memcpy(dst[i] + dst_offset, src[i] + src_offset, data_size); in av_samples_copy()
240 memmove(dst[i] + dst_offset, src[i] + src_offset, data_size); in av_samples_copy()
222 av_samples_copy(uint8_t **dst, uint8_t * const *src, int dst_offset, int src_offset, int nb_samples, int nb_channels, enum AVSampleFormat sample_fmt) av_samples_copy() argument
/third_party/mesa3d/src/gallium/auxiliary/draw/
H A Ddraw_pipe_vbuf.c215 unsigned src_offset = (vinfo->attrib[i].src_index * 4 * sizeof(float)); in vbuf_start_prim() local
225 src_offset = 0; in vbuf_start_prim()
230 src_offset = 0; in vbuf_start_prim()
236 hw_key.element[i].input_offset = src_offset; in vbuf_start_prim()
H A 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()

Completed in 17 milliseconds

12345678910