Home
last modified time | relevance | path

Searched refs:src_idx (Results 1 – 25 of 57) sorted by relevance

123

/external/adhd/cras/src/server/
Dcras_audio_area.c32 unsigned int src_idx, dst_idx; in cras_audio_area_copy() local
39 for (src_idx = 0; src_idx < src->num_channels; src_idx++) { in cras_audio_area_copy()
41 if (!(src->channels[src_idx].ch_set & in cras_audio_area_copy()
45 schan = src->channels[src_idx].buf + in cras_audio_area_copy()
46 src_offset * src->channels[src_idx].step_bytes; in cras_audio_area_copy()
53 src->channels[src_idx].step_bytes, in cras_audio_area_copy()
Dlinear_resampler.c114 unsigned int src_idx = 0; in linear_resampler_resample() local
132 src_idx = (unsigned int)src_pos; in linear_resampler_resample()
136 src_idx = *src_frames - 1; in linear_resampler_resample()
142 in = (int16_t *)(src + src_idx * lr->format_bytes); in linear_resampler_resample()
147 if (src_idx == *src_frames - 1) { in linear_resampler_resample()
153 (src_pos - src_idx) * in linear_resampler_resample()
160 *src_frames = src_idx + 1; in linear_resampler_resample()
/external/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_util.c173 unsigned src_idx) in tgsi_util_get_inst_usage_mask() argument
175 const struct tgsi_full_src_register *src = &inst->Src[src_idx]; in tgsi_util_get_inst_usage_mask()
220 if (src_idx == 0) in tgsi_util_get_inst_usage_mask()
264 if (src_idx == 0) in tgsi_util_get_inst_usage_mask()
271 if (src_idx == 0) { in tgsi_util_get_inst_usage_mask()
281 if (src_idx == 0) in tgsi_util_get_inst_usage_mask()
325 switch (src_idx) { in tgsi_util_get_inst_usage_mask()
361 if (src_idx == 0) { in tgsi_util_get_inst_usage_mask()
370 if (src_idx == 0) { in tgsi_util_get_inst_usage_mask()
389 if (src_idx == 0) { in tgsi_util_get_inst_usage_mask()
[all …]
Dtgsi_info.c251 tgsi_opcode_infer_src_type(enum tgsi_opcode opcode, uint src_idx) in tgsi_opcode_infer_src_type() argument
253 if (src_idx == 1 && in tgsi_opcode_infer_src_type()
257 if (src_idx == 1 && in tgsi_opcode_infer_src_type()
261 if (src_idx == 0 && in tgsi_opcode_infer_src_type()
265 if (src_idx == 1 && in tgsi_opcode_infer_src_type()
/external/tensorflow/tensorflow/core/kernels/mkl/
Dmkl_aggregate_ops.cc95 for (int src_idx = 0; src_idx < num_inputs; ++src_idx) { in ComputeScalar() local
96 const Tensor& src_tensor = MklGetInput(ctx, src_idx); in ComputeScalar()
183 for (int src_idx = 0; src_idx < num_inputs; ++src_idx) { in Compute() local
185 GetMklShape(ctx, src_idx, &src_mkl_shape); in Compute()
188 const Tensor& src_tensor = MklGetInput(ctx, src_idx); in Compute()
Dmkl_quantize_op.cc266 const unsigned int src_idx = 0; in ComputeScalar() local
267 const Tensor& src_tensor = MklGetInput(ctx, src_idx); in ComputeScalar()
305 const unsigned int src_idx = 0; in Compute() local
306 const Tensor& input = ctx->input(src_idx); in Compute()
331 const Tensor& src_tensor = MklGetInput(ctx, src_idx); in Compute()
333 GetMklShape(ctx, src_idx, &src_mkl_shape); in Compute()
Dmkl_softmax_op.cc204 size_t src_idx = 0; in Compute() local
205 const Tensor& src_tensor = MklGetInput(context, src_idx); in Compute()
207 GetMklShape(context, src_idx, &src_mkl_shape); in Compute()
/external/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_inline_literals.c96 unsigned src_idx; in rc_inline_literals() local
106 for (src_idx = 0; src_idx < info->NumSrcRegs; src_idx++) { in rc_inline_literals()
112 &inst->U.I.SrcReg[src_idx]; in rc_inline_literals()
/external/OpenCSD/decoder/include/interfaces/
Dtrc_indexer_src_i.h82 virtual ocsd_err_t TrcIDIndex(const ocsd_trc_index_t src_idx, const uint8_t ID) = 0;
109 virtual ocsd_err_t TrcEventIndex(const ocsd_trc_index_t src_idx, const int event_type) = 0;
118 virtual void TrcSyncIndex(const ocsd_trc_index_t src_idx);
/external/mesa3d/src/mesa/state_tracker/tests/
Dst_tests_common.cpp200 st_src_reg FakeCodeline::create_src_register(int src_idx) in create_src_register() argument
202 return create_src_register(src_idx, in create_src_register()
203 src_idx < 0 ? PROGRAM_INPUT : PROGRAM_TEMPORARY); in create_src_register()
228 st_src_reg FakeCodeline::create_src_register(int src_idx, const char *sw) in create_src_register() argument
230 st_src_reg result = create_src_register(src_idx); in create_src_register()
235 st_src_reg FakeCodeline::create_src_register(int src_idx, gl_register_file file) in create_src_register() argument
239 retval.index = src_idx >= 0 ? src_idx : 1 - src_idx; in create_src_register()
242 if (max_temp_id < src_idx) in create_src_register()
243 max_temp_id = src_idx; in create_src_register()
308 int src_idx = std::get<0>(src); in create_src_register() local
[all …]
Dst_tests_common.h76 st_src_reg create_src_register(int src_idx);
77 st_src_reg create_src_register(int src_idx, const char *swizzle);
78 st_src_reg create_src_register(int src_idx, gl_register_file file);
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/
DWebAssemblyInstrBulkMemory.td56 BULK_I<(outs), (ins i32imm_op:$src_idx, i32imm_op:$dst_idx,
58 (outs), (ins i32imm_op:$src_idx, i32imm_op:$dst_idx),
59 [(wasm_memcpy (i32 imm:$src_idx), (i32 imm:$dst_idx),
62 "memory.copy\t$src_idx, $dst_idx, $dst, $src, $len",
63 "memory.copy\t$src_idx, $dst_idx", 0x0a>;
/external/llvm-project/llvm/lib/Target/WebAssembly/
DWebAssemblyInstrBulkMemory.td56 BULK_I<(outs), (ins i32imm_op:$src_idx, i32imm_op:$dst_idx,
58 (outs), (ins i32imm_op:$src_idx, i32imm_op:$dst_idx),
59 [(wasm_memcpy (i32 imm:$src_idx), (i32 imm:$dst_idx),
62 "memory.copy\t$src_idx, $dst_idx, $dst, $src, $len",
63 "memory.copy\t$src_idx, $dst_idx", 0x0a>;
/external/libaom/libaom/av1/encoder/
Dhash_motion.c449 int src_idx = 1; in av1_get_block_hash_value() local
455 src_idx = 1 - src_idx; in av1_get_block_hash_value()
467 to_hash[0] = buf_1[src_idx][srcPos]; in av1_get_block_hash_value()
468 to_hash[1] = buf_1[src_idx][srcPos + 1]; in av1_get_block_hash_value()
469 to_hash[2] = buf_1[src_idx][srcPos + src_sub_block_in_width]; in av1_get_block_hash_value()
470 to_hash[3] = buf_1[src_idx][srcPos + src_sub_block_in_width + 1]; in av1_get_block_hash_value()
475 to_hash[0] = buf_2[src_idx][srcPos]; in av1_get_block_hash_value()
476 to_hash[1] = buf_2[src_idx][srcPos + 1]; in av1_get_block_hash_value()
477 to_hash[2] = buf_2[src_idx][srcPos + src_sub_block_in_width]; in av1_get_block_hash_value()
478 to_hash[3] = buf_2[src_idx][srcPos + src_sub_block_in_width + 1]; in av1_get_block_hash_value()
/external/mesa3d/src/compiler/nir/
Dnir_move_vec_src_uses_to_dest.c145 unsigned src_idx = use_alu_src - use_alu->src; in move_vec_src_uses_to_dest_block() local
146 assert(src_idx < nir_op_infos[use_alu->op].num_inputs); in move_vec_src_uses_to_dest_block()
150 if (!nir_alu_instr_channel_used(use_alu, src_idx, j)) in move_vec_src_uses_to_dest_block()
169 if (!nir_alu_instr_channel_used(use_alu, src_idx, j)) in move_vec_src_uses_to_dest_block()
Dnir_lower_samplers.c31 nir_tex_instr *instr, unsigned src_idx) in lower_tex_src_to_offset() argument
36 nir_tex_src *src = &instr->src[src_idx]; in lower_tex_src_to_offset()
107 nir_tex_instr_remove_src(instr, src_idx); in lower_tex_src_to_offset()
Dnir_lower_non_uniform_access.c121 int src_idx = nir_tex_instr_src_index(tex, nir_tex_src_texture_deref); in lower_non_uniform_tex_access() local
124 tex->src[src_idx].src = nir_src_for_ssa(&deref->dest.ssa); in lower_non_uniform_tex_access()
128 int src_idx = nir_tex_instr_src_index(tex, nir_tex_src_sampler_deref); in lower_non_uniform_tex_access() local
131 tex->src[src_idx].src = nir_src_for_ssa(&deref->dest.ssa); in lower_non_uniform_tex_access()
Dnir_from_ssa.c645 int src_idx = -1; in resolve_parallel_copy() local
648 src_idx = i; in resolve_parallel_copy()
650 if (src_idx < 0) { in resolve_parallel_copy()
651 src_idx = num_vals++; in resolve_parallel_copy()
652 values[src_idx] = entry->src; in resolve_parallel_copy()
674 loc[src_idx] = src_idx; in resolve_parallel_copy()
675 pred[dest_idx] = src_idx; in resolve_parallel_copy()
/external/mesa3d/src/panfrost/midgard/
Dmidgard_print.c112 mir_print_embedded_constant(midgard_instruction *ins, unsigned src_idx) in mir_print_embedded_constant() argument
114 assert(src_idx <= 1); in mir_print_embedded_constant()
117 unsigned sz = nir_alu_type_get_type_size(ins->src_types[src_idx]); in mir_print_embedded_constant()
119 unsigned mod = mir_pack_mod(ins, src_idx, false); in mir_print_embedded_constant()
120 unsigned *swizzle = ins->swizzle[src_idx]; in mir_print_embedded_constant()
/external/libhevc/encoder/
Dihevce_had_satd.c678 WORD32 src_idx = (i >> 2) * had4_strd + (i % 4); in ihevce_compute_8x8HAD_using_4x4() local
681 WORD16 a0 = pi2_y0[src_idx]; in ihevce_compute_8x8HAD_using_4x4()
682 WORD16 a1 = pi2_y1[src_idx]; in ihevce_compute_8x8HAD_using_4x4()
683 WORD16 a2 = pi2_y2[src_idx]; in ihevce_compute_8x8HAD_using_4x4()
684 WORD16 a3 = pi2_y3[src_idx]; in ihevce_compute_8x8HAD_using_4x4()
1108 WORD32 src_idx = (i >> 3) * had8_strd + (i % 8); in ihevce_compute_16x16HAD_using_8x8() local
1111 WORD16 a0 = pi2_y0[src_idx]; in ihevce_compute_16x16HAD_using_8x8()
1112 WORD16 a1 = pi2_y1[src_idx]; in ihevce_compute_16x16HAD_using_8x8()
1113 WORD16 a2 = pi2_y2[src_idx]; in ihevce_compute_16x16HAD_using_8x8()
1114 WORD16 a3 = pi2_y3[src_idx]; in ihevce_compute_16x16HAD_using_8x8()
[all …]
/external/virglrenderer/src/gallium/auxiliary/tgsi/
Dtgsi_util.c173 unsigned src_idx) in tgsi_util_get_inst_usage_mask() argument
175 const struct tgsi_full_src_register *src = &inst->Src[src_idx]; in tgsi_util_get_inst_usage_mask()
278 read_mask = src_idx == 0 ? TGSI_WRITEMASK_XYZ : TGSI_WRITEMASK_XYZW; in tgsi_util_get_inst_usage_mask()
286 if (src_idx == 0) { in tgsi_util_get_inst_usage_mask()
Dtgsi_util.h77 unsigned src_idx);
/external/tensorflow/tensorflow/core/grappler/
Dgraph_topology_view.cc91 const int src_idx = src->second; in InitializeFromGraph() local
93 if (ignore_control_edges && (src_idx < 0 || dst_idx < 0)) { in InitializeFromGraph()
96 fanins_[dst_idx].push_back(src_idx); in InitializeFromGraph()
97 fanouts_[src_idx].push_back(dst_idx); in InitializeFromGraph()
/external/tensorflow/tensorflow/core/common_runtime/
Dhierarchical_tree_broadcaster.cc435 int src_idx = in DispatchRecv() local
438 << col_params_->group.device_names[src_idx] << " to_device " in DispatchRecv()
440 << " src_rank=" << src_rank << " src_idx=" << src_idx; in DispatchRecv()
442 col_params_->group.device_names[src_idx], in DispatchRecv()
443 col_params_->group.task_names[src_idx], in DispatchRecv()
444 col_params_->task.is_local[src_idx], recv_buf_key, col_ctx_->device, in DispatchRecv()
/external/tensorflow/tensorflow/core/graph/
Dcollective_order.cc98 int src_idx = instance_keys[i] > instance_keys[j] ? i : j; in CreateControlDependencies() local
100 Node* src_node = collective_nodes[src_idx]; in CreateControlDependencies()
103 << " instance " << instance_keys[src_idx] << " to node " in CreateControlDependencies()

123