Home
last modified time | relevance | path

Searched refs:src_index (Results 1 – 25 of 56) sorted by relevance

123

/third_party/mesa3d/src/gallium/auxiliary/draw/
Ddraw_vertex.h78 unsigned src_index:8; /**< map to post-xform attribs */ member
115 int src_index) in draw_emit_vertex_attr() argument
121 if (src_index < 0) { in draw_emit_vertex_attr()
122 src_index = DRAW_ATTR_NONEXIST; in draw_emit_vertex_attr()
127 vinfo->attrib[n].src_index = src_index; in draw_emit_vertex_attr()
Ddraw_pt_emit.c88 unsigned src_offset = vinfo->attrib[i].src_index * 4 * sizeof(float); in draw_pt_emit_prepare()
100 else if (vinfo->attrib[i].src_index == DRAW_ATTR_NONEXIST) { in draw_pt_emit_prepare()
/third_party/ffmpeg/libavcodec/
Dmotion_est_template.c45 d= cmp_hpel(s, x, y, dx, dy, size, h, ref_index, src_index, cmp_sub, chroma_cmp_sub, flags);\
52 int src_index, int ref_index, in hpel_motion_search() argument
77 dmin= cmp(s, mx, my, 0, 0, size, h, ref_index, src_index, cmp_sub, chroma_cmp_sub, flags); in hpel_motion_search()
157 int src_index, int ref_index, in no_sub_motion_search() argument
166 int src_index, int ref_index, int size, in get_mb_score() argument
184 …d= cmp(s, mx>>(qpel+1), my>>(qpel+1), mx&mask, my&mask, size, h, ref_index, src_index, cmp_sub, ch… in get_mb_score()
192 int ff_get_mb_score(MpegEncContext *s, int mx, int my, int src_index, in ff_get_mb_score() argument
195 return get_mb_score(s, mx, my, src_index, ref_index, size, h, add_rate); in ff_get_mb_score()
202 d= cmp_qpel(s, x, y, dx, dy, size, h, ref_index, src_index, cmpf, chroma_cmpf, flags);\
209 int src_index, int ref_index, in qpel_motion_search() argument
[all …]
Dmotion_est.h97 int src_index, int ref_index,
120 int P[10][2], int src_index, int ref_index,
124 int ff_get_mb_score(struct MpegEncContext *s, int mx, int my, int src_index,
Dmotion_est.c52 int src_index, int ref_index,
108 const int size, const int h, int ref_index, int src_index, in cmp_direct_inline() argument
115 uint8_t * const * const src= c->src[src_index]; in cmp_direct_inline()
180 const int size, const int h, int ref_index, int src_index, in cmp_inline() argument
189 uint8_t * const * const src= c->src[src_index]; in cmp_inline()
232 int ref_index, int src_index, in cmp_simple() argument
234 return cmp_inline(s,x,y,0,0,0,16,ref_index,src_index, cmp_func, chroma_cmp_func, 0, 0); in cmp_simple()
238 const int size, const int h, int ref_index, int src_index, in cmp_fpel_internal() argument
241 …return cmp_direct_inline(s,x,y,0,0,size,h,ref_index,src_index, cmp_func, chroma_cmp_func, flags&FL… in cmp_fpel_internal()
243 …return cmp_inline(s,x,y,0,0,size,h,ref_index,src_index, cmp_func, chroma_cmp_func, 0, flags&FLAG_C… in cmp_fpel_internal()
[all …]
/third_party/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_variable.c87 int src_index = reader->U.P.Arg->Source; in rc_variable_change_dst() local
88 if (src_index == RC_PAIR_PRESUB_SRC) { in rc_variable_change_dst()
89 src_index = rc_pair_get_src_index( in rc_variable_change_dst()
97 src_index, old_mask)) { in rc_variable_change_dst()
104 pair_inst->RGB.Src[src_index] in rc_variable_change_dst()
106 pair_inst->RGB.Src[src_index] in rc_variable_change_dst()
108 pair_inst->RGB.Src[src_index] in rc_variable_change_dst()
112 pair_inst->Alpha.Src[src_index] in rc_variable_change_dst()
114 pair_inst->Alpha.Src[src_index] in rc_variable_change_dst()
116 pair_inst->Alpha.Src[src_index] in rc_variable_change_dst()
[all …]
Dradeon_optimize.c486 unsigned int src_index; in presub_helper() local
491 for (src_index = 0; src_index < info->NumSrcRegs; src_index++) { in presub_helper()
492 if (&reader.Inst->U.I.SrcReg[src_index] == reader.U.I.Src) in presub_helper()
493 presub_replace(inst_add, reader.Inst, src_index); in presub_helper()
504 unsigned int src_index) in presub_replace_add() argument
522 inst_reader->U.I.SrcReg[src_index] = in presub_replace_add()
523 chain_srcregs(inst_reader->U.I.SrcReg[src_index], in presub_replace_add()
525 inst_reader->U.I.SrcReg[src_index].File = RC_FILE_PRESUB; in presub_replace_add()
526 inst_reader->U.I.SrcReg[src_index].Index = presub_opcode; in presub_replace_add()
619 unsigned int src_index) in presub_replace_inv() argument
[all …]
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/int8/
Ddeconv_int8.c54 … int src_index = ih * src_ih_stride + iw * src_iw_stride + kh * src_kh_stride + kw * src_kw_stride; in DeConvPostInt8C4() local
57 const int32_t *tmp_src = src_ptr + src_index; in DeConvPostInt8C4()
101 int src_index = ic * output_channel * plane + hw * output_channel + oc; in DeConvWeightTransInt8() local
103 dst[dst_index] = src[src_index]; in DeConvWeightTransInt8()
119 int src_index = c4div * deep16 * C4NUM + r16div * C4NUM * C16NUM + c4mod * C16NUM + r16mod; in DeConvPackWeightSum() local
120 value += weight[src_index]; in DeConvPackWeightSum()
Dcommon_func_int8.c29 int src_index = c8div * in_plane_stride + r * size + c8mod; in PostConvFuncCommInt8() local
31 int32_t value = in[src_index]; in PostConvFuncCommInt8()
33 value = in[src_index] + bias[c]; in PostConvFuncCommInt8()
Dmatmul_int8.c29 int src_index = r * col + c; in RowMajor2Row2x16MajorInt8() local
30 dst_ptr[dst_index] = src_ptr[src_index]; in RowMajor2Row2x16MajorInt8()
57 int src_index = r * col + c; in RowMajor2Row8x4MajorInt8() local
58 dst_ptr[dst_index] = src_ptr[src_index]; in RowMajor2Row8x4MajorInt8()
89 int src_index = r * col + c; in RowMajor2Row4x16MajorInt8() local
90 dst_ptr[dst_index] = src_ptr[src_index]; in RowMajor2Row4x16MajorInt8()
Dpack_int8.c39 … int src_index = ri4div * C4NUM * ic16 + di16div * C16NUM * C4NUM + ri4mod * C16NUM + di16mod; in PackInputSum16x4PerChannelArm32() local
40 tmp_sum_value += input_value[src_index]; in PackInputSum16x4PerChannelArm32()
70 … int src_index = ri4div * C4NUM * ic16 + di16div * C16NUM * C4NUM + ri4mod * C16NUM + di16mod; in PackInputSum16x4PerChannel() local
71 tmp_sum_value += input_value[src_index]; in PackInputSum16x4PerChannel()
939 int src_index = r4div * C4NUM * col16 + c16div * C16NUM * C4NUM + r4mod * C16NUM + c16mod; in PackInputSum16x4PerLayer()
940 tmp_value += src[src_index]; in PackInputSum16x4PerLayer()
1136 int src_index = n * plane * channel + hw * channel + c; 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/fp32/
Ddeconv_fp32.c27 int src_index = ic * plane * output_channel + hw * output_channel + oc; in PackDeConvWeightFp32() local
29 dst[dst_index] = weight[src_index]; in PackDeConvWeightFp32()
77 … int src_index = ih * src_ih_stride + iw * src_iw_stride + kh * src_kh_stride + kw * src_kw_stride; in DeConvPostFp32C8() local
80 const float *tmp_src = src_ptr + src_index; in DeConvPostFp32C8()
Dcommon_func_fp32.c28 int src_index = oc_div * size * plane_stride + hw * size + oc_mod; in PostConvFuncComm() local
30 float value = src_ptr_[src_index]; in PostConvFuncComm()
/third_party/gn/src/gn/
Dhash_table_base.h510 for (size_t src_index = 0; src_index < size; ++src_index) { in GrowBuckets() local
511 const Node* node = &buckets_[src_index]; in GrowBuckets()
/third_party/ffmpeg/libavformat/
Dmovenchint.c29 int ff_mov_init_hinting(AVFormatContext *s, int index, int src_index) in ff_mov_init_hinting() argument
33 MOVTrack *src_track = &mov->tracks[src_index]; in ff_mov_init_hinting()
34 AVStream *src_st = s->streams[src_index]; in ff_mov_init_hinting()
38 track->src_track = src_index; in ff_mov_init_hinting()
47 RTP_MAX_PACKET_SIZE, src_index); in ff_mov_init_hinting()
60 "Unable to initialize hinting of stream %d\n", src_index); in ff_mov_init_hinting()
/third_party/mesa3d/src/compiler/nir/
Dnir_opt_vectorize.c308 unsigned src_index = 5; in instr_try_combine() local
311 src_index = i; in instr_try_combine()
315 assert(src_index != 5); in instr_try_combine()
321 i < nir_ssa_alu_instr_src_components(use, src_index); i++) { in instr_try_combine()
322 use->src[src_index].swizzle[i] += alu1_components; in instr_try_combine()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp16/
Ddeconv_fp16.c52 … int src_index = ih * src_ih_stride + iw * src_iw_stride + kh * src_kh_stride + kw * src_kw_stride; in DeConvPostFp16() local
55 const float16_t *tmp_src = src_ptr + src_index; in DeConvPostFp16()
Dcommon_func_fp16.c28 int src_index = oc_div * size * hw_stride + hw * size + oc_mod; in PostConvFuncCommFp16() local
30 float16_t value = src_ptr_[src_index]; in PostConvFuncCommFp16()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/
Dargmax_with_value_cpu_kernel.cc99 auto src_index = IntToSize(max_index) * num_after_axis_ + src_index_j; in Launch() local
100 output1[dst_index] = input[src_index]; in Launch()
Dargmin_with_value_cpu_kernel.cc106 size_t src_index = IntToSize(min_index) * num_after_axis_ + src_index_j; in Launch() local
107 output1[dst_index] = input[src_index]; in Launch()
/third_party/ffmpeg/libavfilter/
Debur128.c318 size_t src_index, size_t frames, \
327 type v = srcs[c][src_index + i * stride]; \
343 st->d->v[ci][0] = (double) (srcs[c][src_index + i * stride] / scaling_factor) \
462 size_t src_index = 0; \
465 ebur128_filter_##type(st, srcs, src_index, st->d->needed_frames, stride); \
466 src_index += st->d->needed_frames * stride; \
492 ebur128_filter_##type(st, srcs, src_index, frames, stride); \
Daf_loudnorm.c419 int i, n, c, subframe_length, src_index; in filter_frame() local
578 src_index = 0; in filter_frame()
582 s->limiter_buf[s->limiter_buf_index + c] = src[src_index + c] * gain * s->offset; in filter_frame()
584 src_index += inlink->channels; in filter_frame()
597 if (src_index < (in->nb_samples * inlink->channels)) { in filter_frame()
598 … limiter_buf[s->limiter_buf_index + c] = src[src_index + c] * gain * s->offset; in filter_frame()
604 if (src_index < (in->nb_samples * inlink->channels)) in filter_frame()
605 src_index += inlink->channels; in filter_frame()
/third_party/mesa3d/src/gallium/drivers/r300/compiler/tests/
Drc_test_helpers.h41 unsigned int src_index,
/third_party/mesa3d/src/gallium/drivers/softpipe/
Dsp_setup.h48 int src_index:8; member
/third_party/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_transform.h524 unsigned src_index, in tgsi_transform_kill_inst() argument
534 tgsi_transform_src_reg_xyzw(&inst.Src[0], src_file, src_index); in tgsi_transform_kill_inst()
550 unsigned src_index, in tgsi_transform_tex_inst() argument
566 tgsi_transform_src_reg_xyzw(&inst.Src[0], src_file, src_index); in tgsi_transform_tex_inst()

123