Home
last modified time | relevance | path

Searched refs:dst_index (Results 1 – 25 of 33) sorted by relevance

12

/third_party/ffmpeg/libswresample/
Dresample_template.c80 int dst_index; in RENAME() local
82 for (dst_index = 0; dst_index < dst_size; dst_index++) { in RENAME()
83 dst[dst_index] = src[index2 >> 32]; in RENAME()
94 int dst_index; in RENAME() local
104 for (dst_index = 0; dst_index < n; dst_index++) { in RENAME()
117 OUT(dst[dst_index], val + (FELEML)val2); in RENAME()
119 OUT(dst[dst_index], val + val2); in RENAME()
149 int dst_index; in RENAME() local
162 for (dst_index = 0; dst_index < n; dst_index++) { in RENAME()
180 OUT(dst[dst_index], val); in RENAME()
/third_party/pulseaudio/src/pulsecore/ffmpeg/
Dresample2.c211 int dst_index, i; in av_resample() local
223 for(dst_index=0; dst_index < dst_size; dst_index++){ in av_resample()
224 dst[dst_index] = src[index2>>32]; in av_resample()
227 frac += dst_index * dst_incr_frac; in av_resample()
228 index += dst_index * dst_incr; in av_resample()
232 for(dst_index=0; dst_index < dst_size; dst_index++){ in av_resample()
256 dst[dst_index] = av_clip_int16(lrintf(val)); in av_resample()
259 dst[dst_index] = (unsigned)(val + 32768) > 65535 ? (val>>31) ^ 32767 : val; in av_resample()
269 if(dst_index + 1 == compensation_distance){ in av_resample()
280 compensation_distance -= dst_index; in av_resample()
[all …]
/third_party/ffmpeg/libavresample/
Dresample.c263 int dst_index; in resample() local
281 for(dst_index = 0; dst_index < dst_size; dst_index++) { in resample()
282 c->resample_nearest(dst, dst_index, src, index2 >> 32); in resample()
286 dst_index = dst_size; in resample()
288 index += dst_index * dst_incr; in resample()
289 index += (frac + dst_index * (int64_t)dst_incr_frac) / c->src_incr; in resample()
290 frac = (frac + dst_index * (int64_t)dst_incr_frac) % c->src_incr; in resample()
292 for (dst_index = 0; dst_index < dst_size; dst_index++) { in resample()
299 c->resample_one(c, dst, dst_index, src, index, frac); in resample()
307 if (dst_index + 1 == compensation_distance) { in resample()
[all …]
Dresample_template.c57 static void SET_TYPE(resample_nearest)(void *dst0, int dst_index, const void *src0, unsigned int in… in SET_TYPE()
61 dst[dst_index] = src[index]; in SET_TYPE()
64 static void SET_TYPE(resample_linear)(ResampleContext *c, void *dst0, int dst_index, in SET_TYPE()
82 OUT(dst[dst_index], val); in SET_TYPE()
86 void *dst0, int dst_index, const void *src0, in SET_TYPE()
100 OUT(dst[dst_index], val); in SET_TYPE()
Dresample.h46 int dst_index, const void *src0,
48 void (*resample_nearest)(void *dst0, int dst_index,
/third_party/ffmpeg/libavresample/aarch64/
Dresample_init.c36 int dst_index, const void *src0,
39 int dst_index, const void *src0,
42 int dst_index, const void *src0,
45 int dst_index, const void *src0,
/third_party/ffmpeg/libavresample/arm/
Dresample_init.c39 int dst_index, const void *src0,
42 int dst_index, const void *src0,
45 int dst_index, const void *src0,
49 int dst_index, const void *src0,
/third_party/ffmpeg/libswresample/arm/
Dresample_init.c44 int dst_index; \
56 for (dst_index = 0; dst_index < n; dst_index++) { \
74 OUT(dst[dst_index], val); \
/third_party/ffmpeg/libswresample/aarch64/
Dresample_init.c44 int dst_index; \
56 for (dst_index = 0; dst_index < n; dst_index++) { \
74 OUT(dst[dst_index], val); \
/third_party/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_transform.h290 unsigned dst_index, in tgsi_transform_op1_inst() argument
301 inst.Dst[0].Register.Index = dst_index; in tgsi_transform_op1_inst()
314 unsigned dst_index, in tgsi_transform_op2_inst() argument
328 inst.Dst[0].Register.Index = dst_index; in tgsi_transform_op2_inst()
343 unsigned dst_index, in tgsi_transform_op3_inst() argument
358 inst.Dst[0].Register.Index = dst_index; in tgsi_transform_op3_inst()
374 unsigned dst_index, in tgsi_transform_op1_swz_inst() argument
386 inst.Dst[0].Register.Index = dst_index; in tgsi_transform_op1_swz_inst()
415 unsigned dst_index, in tgsi_transform_op2_swz_inst() argument
431 inst.Dst[0].Register.Index = dst_index; in tgsi_transform_op2_swz_inst()
[all …]
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp32/
Ddeconv_fp32.c28 int dst_index = oc4div * ic_up4 * plane * C4NUM + hw * ic_up4 * C4NUM + ic * C4NUM + oc4mod; in PackDeConvWeightFp32() local
29 dst[dst_index] = weight[src_index]; in PackDeConvWeightFp32()
78 … int dst_index = oh * dst_oh_stride + ow * dst_ow_stride + kh * dst_kh_stride + kw * dst_kw_stride; in DeConvPostFp32C8() local
79 float *tmp_dst = dst_ptr + dst_index; in DeConvPostFp32C8()
Dcommon_func_fp32.c29 int dst_index = hw * oc_stride + oc; in PostConvFuncComm() local
36 out_ptr[dst_index] = value; in PostConvFuncComm()
/third_party/gn/src/gn/
Dhash_table_base.h514 size_t dst_index = node->hash_value() & new_mask; in GrowBuckets() local
516 Node* node2 = new_buckets + dst_index; in GrowBuckets()
521 dst_index = (dst_index + 1) & new_mask; in GrowBuckets()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/
Dargmax_with_value_cpu_kernel.cc97 auto dst_index = i * num_after_axis_ + j; in Launch() local
98 output0[dst_index] = max_index; in Launch()
100 output1[dst_index] = input[src_index]; in Launch()
Dargmin_with_value_cpu_kernel.cc104 size_t dst_index = i * num_after_axis_ + j; in Launch() local
105 output0[dst_index] = min_index; in Launch()
107 output1[dst_index] = input[src_index]; in Launch()
Dargmax_cpu_kernel.cc102 auto dst_index = i * num_after_axis_ + j; in Launch() local
103 output[dst_index] = max_index; in Launch()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/int8/
Ddeconv_int8.c55 … int dst_index = oh * dst_oh_stride + ow * dst_ow_stride + kh * dst_kh_stride + kw * dst_kw_stride; in DeConvPostInt8C4() local
56 int32_t *tmp_dst = dst_ptr + dst_index; in DeConvPostInt8C4()
102 …int dst_index = hw * ic16 * oc4 + oc4div * ic16 * C4NUM + ic16div * C16NUM * C4NUM + oc4mod * C16N… in DeConvWeightTransInt8() local
103 dst[dst_index] = src[src_index]; in DeConvWeightTransInt8()
Dcommon_func_int8.c30 int dst_index = r * out_oc_stride + c; in PostConvFuncCommInt8() local
38 out[dst_index] = (int8_t)value; in PostConvFuncCommInt8()
Dmatmul_int8.c28 int dst_index = rd2 * col16 * C2NUM + cd16 * C2NUM * C16NUM + rm2 * C16NUM + cm16; in RowMajor2Row2x16MajorInt8() local
30 dst_ptr[dst_index] = src_ptr[src_index]; in RowMajor2Row2x16MajorInt8()
56 int dst_index = rd8 * col4 * C8NUM + cd4 * C8NUM * C4NUM + rm8 * C4NUM + cm4; in RowMajor2Row8x4MajorInt8() local
58 dst_ptr[dst_index] = src_ptr[src_index]; in RowMajor2Row8x4MajorInt8()
88 int dst_index = rd16 * col4 * C16NUM + cd4 * C16NUM * C4NUM + rm16 * C4NUM + cm4; in RowMajor2Row4x16MajorInt8() local
90 dst_ptr[dst_index] = src_ptr[src_index]; in RowMajor2Row4x16MajorInt8()
Dpack_int8.c42 int dst_index = ci2div * C2NUM * hw4 + ri * C2NUM + ci2mod; in PackInputSum16x4PerChannelArm32() local
43 input_sum[dst_index] = tmp_sum_value * filter_zp; in PackInputSum16x4PerChannelArm32()
73 int dst_index = ci4div * C4NUM * hw4 + ri * C4NUM + ci4mod; in PackInputSum16x4PerChannel() local
74 input_sum[dst_index] = tmp_sum_value * filter_zp; in PackInputSum16x4PerChannel()
1137 int dst_index = c8div * batch * plane * C8NUM + hw * batch * C8NUM + n * C8NUM + c8mod; in PackNHWCToC8HWN8Int8() local
1138 ((int8_t *)dst)[dst_index] = ((int8_t *)src)[src_index]; in PackNHWCToC8HWN8Int8()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp16/
Dcommon_func_fp16.c29 int dst_index = hw * oc_stride + oc; in PostConvFuncCommFp16() local
36 out_ptr[dst_index] = value; in PostConvFuncCommFp16()
Ddeconv_fp16.c53 … int dst_index = oh * dst_oh_stride + ow * dst_ow_stride + kh * dst_kh_stride + kw * dst_kw_stride; in DeConvPostFp16() local
54 float16_t *tmp_dst = dst_ptr + dst_index; in DeConvPostFp16()
/third_party/mesa3d/src/gallium/auxiliary/util/
Du_vbuf.c969 unsigned dst_index = start_slot + i; in u_vbuf_set_vertex_buffers() local
971 pipe_vertex_buffer_unreference(&mgr->vertex_buffer[dst_index]); in u_vbuf_set_vertex_buffers()
972 pipe_vertex_buffer_unreference(&mgr->real_vertex_buffer[dst_index]); in u_vbuf_set_vertex_buffers()
981 unsigned dst_index = start_slot + i; in u_vbuf_set_vertex_buffers() local
983 struct pipe_vertex_buffer *orig_vb = &mgr->vertex_buffer[dst_index]; in u_vbuf_set_vertex_buffers()
984 struct pipe_vertex_buffer *real_vb = &mgr->real_vertex_buffer[dst_index]; in u_vbuf_set_vertex_buffers()
1000 nonzero_stride_vb_mask |= 1 << dst_index; in u_vbuf_set_vertex_buffers()
1002 enabled_vb_mask |= 1 << dst_index; in u_vbuf_set_vertex_buffers()
1006 incompatible_vb_mask |= 1 << dst_index; in u_vbuf_set_vertex_buffers()
1015 user_vb_mask |= 1 << dst_index; in u_vbuf_set_vertex_buffers()
[all …]
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_state.c1102 unsigned dst_index = start_slot + i; in nv50_set_vertex_buffers() local
1105 nv50->vbo_user |= 1 << dst_index; in nv50_set_vertex_buffers()
1107 nv50->vbo_constant |= 1 << dst_index; in nv50_set_vertex_buffers()
1109 nv50->vbo_constant &= ~(1 << dst_index); in nv50_set_vertex_buffers()
1110 nv50->vtxbufs_coherent &= ~(1 << dst_index); in nv50_set_vertex_buffers()
1112 nv50->vbo_user &= ~(1 << dst_index); in nv50_set_vertex_buffers()
1113 nv50->vbo_constant &= ~(1 << dst_index); in nv50_set_vertex_buffers()
1117 nv50->vtxbufs_coherent |= (1 << dst_index); in nv50_set_vertex_buffers()
1119 nv50->vtxbufs_coherent &= ~(1 << dst_index); in nv50_set_vertex_buffers()
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_state.c1046 unsigned dst_index = start_slot + i; in nvc0_set_vertex_buffers() local
1049 nvc0->vbo_user |= 1 << dst_index; in nvc0_set_vertex_buffers()
1051 nvc0->constant_vbos |= 1 << dst_index; in nvc0_set_vertex_buffers()
1053 nvc0->constant_vbos &= ~(1 << dst_index); in nvc0_set_vertex_buffers()
1054 nvc0->vtxbufs_coherent &= ~(1 << dst_index); in nvc0_set_vertex_buffers()
1056 nvc0->vbo_user &= ~(1 << dst_index); in nvc0_set_vertex_buffers()
1057 nvc0->constant_vbos &= ~(1 << dst_index); in nvc0_set_vertex_buffers()
1061 nvc0->vtxbufs_coherent |= (1 << dst_index); in nvc0_set_vertex_buffers()
1063 nvc0->vtxbufs_coherent &= ~(1 << dst_index); in nvc0_set_vertex_buffers()

12