Home
last modified time | relevance | path

Searched refs:dst_idx (Results 1 – 25 of 27) sorted by relevance

12

/external/adhd/cras/src/server/
Dlinear_resampler.c115 unsigned int dst_idx = 0; in linear_resampler_resample() local
126 for (dst_idx = 0; dst_idx <= dst_frames; dst_idx++) { in linear_resampler_resample()
127 src_pos = (float)(lr->dst_offset + dst_idx) / lr->f; in linear_resampler_resample()
134 if (src_pos > *src_frames - 1 || dst_idx >= dst_frames) { in linear_resampler_resample()
143 out = (int16_t *)(dst + dst_idx * lr->format_bytes); in linear_resampler_resample()
163 lr->dst_offset += dst_idx; in linear_resampler_resample()
170 return dst_idx; in linear_resampler_resample()
Dcras_audio_area.c32 unsigned int src_idx, dst_idx; in cras_audio_area_copy() local
40 for (dst_idx = 0; dst_idx < dst->num_channels; dst_idx++) { in cras_audio_area_copy()
42 dst->channels[dst_idx].ch_set)) in cras_audio_area_copy()
47 dchan = dst->channels[dst_idx].buf + in cras_audio_area_copy()
48 dst_offset * dst->channels[dst_idx].step_bytes; in cras_audio_area_copy()
52 dst->channels[dst_idx].step_bytes, in cras_audio_area_copy()
/external/libhevc/encoder/
Dihevce_had_satd.c679 WORD32 dst_idx = (i >> 2) * dst_strd + (i % 4); in ihevce_compute_8x8HAD_using_4x4() local
691 pi2_dst0[dst_idx] = b0 + b2; in ihevce_compute_8x8HAD_using_4x4()
692 pi2_dst1[dst_idx] = b1 + b3; in ihevce_compute_8x8HAD_using_4x4()
693 pi2_dst2[dst_idx] = b0 - b2; in ihevce_compute_8x8HAD_using_4x4()
694 pi2_dst3[dst_idx] = b1 - b3; in ihevce_compute_8x8HAD_using_4x4()
696 if(ABS(pi2_dst0[dst_idx]) > threshold) in ihevce_compute_8x8HAD_using_4x4()
698 if(ABS(pi2_dst1[dst_idx]) > threshold) in ihevce_compute_8x8HAD_using_4x4()
700 if(ABS(pi2_dst2[dst_idx]) > threshold) in ihevce_compute_8x8HAD_using_4x4()
702 if(ABS(pi2_dst3[dst_idx]) > threshold) in ihevce_compute_8x8HAD_using_4x4()
705 u4_satd += ABS(pi2_dst0[dst_idx]); in ihevce_compute_8x8HAD_using_4x4()
[all …]
/external/mesa3d/src/mesa/state_tracker/tests/
Dst_tests_common.cpp336 st_dst_reg FakeCodeline::create_dst_register(int dst_idx,int writemask) in create_dst_register() argument
340 if (dst_idx >= 0) { in create_dst_register()
342 idx = dst_idx; in create_dst_register()
347 idx = 1 - dst_idx; in create_dst_register()
352 st_dst_reg FakeCodeline::create_dst_register(int dst_idx) in create_dst_register() argument
354 return create_dst_register(dst_idx, dst_idx < 0 ? in create_dst_register()
358 st_dst_reg FakeCodeline::create_dst_register(int dst_idx, gl_register_file file) in create_dst_register() argument
362 retval.index = dst_idx >= 0 ? dst_idx : 1 - dst_idx; in create_dst_register()
365 if (max_temp_id < dst_idx) in create_dst_register()
366 max_temp_id = dst_idx; in create_dst_register()
[all …]
Dst_tests_common.h84 st_dst_reg create_dst_register(int dst_idx);
85 st_dst_reg create_dst_register(int dst_idx, int writemask);
86 st_dst_reg create_dst_register(int dst_idx, gl_register_file file);
/external/tensorflow/tensorflow/core/grappler/
Dgraph_topology_view.cc92 const int dst_idx = dst->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/libaom/libaom/av1/encoder/
Dhash_motion.c450 int dst_idx = 0; in av1_get_block_hash_value() local
456 dst_idx = 1 - dst_idx; in av1_get_block_hash_value()
472 buf_1[dst_idx][dst_pos] = in av1_get_block_hash_value()
479 buf_2[dst_idx][dst_pos] = in av1_get_block_hash_value()
489 *hash_value1 = (buf_1[dst_idx][0] & crc_mask) + add_value; in av1_get_block_hash_value()
490 *hash_value2 = buf_2[dst_idx][0]; in av1_get_block_hash_value()
Dencodeframe.c5705 const int dst_idx = !src_idx; in encode_frame_internal() local
5708 block_hash_values[dst_idx], is_block_same[src_idx], in encode_frame_internal()
5709 is_block_same[dst_idx]); in encode_frame_internal()
5712 &intrabc_hash_info->intrabc_hash_table, block_hash_values[dst_idx], in encode_frame_internal()
5713 is_block_same[dst_idx][2], pic_width, pic_height, size); in encode_frame_internal()
/external/tensorflow/tensorflow/core/kernels/
Ddata_format_ops.cc114 Eigen::DSizes<Eigen::DenseIndex, 8> dst_idx; in Compute() local
115 ComputeDstIndex(input.dims(), &dst_idx); in Compute()
119 output->flat<T>(), dst_idx); in Compute()
198 const Eigen::DSizes<Eigen::DenseIndex, 8>& dst_idx); \
/external/tensorflow/tensorflow/core/common_runtime/
Dshape_refiner.cc390 int dst_idx, bool* evaluated, in EvaluateConstantTensorForEdge() argument
394 TF_RETURN_IF_ERROR(node->input_edge(dst_idx, &input_edge)); in EvaluateConstantTensorForEdge()
403 int dst_idx, bool* evaluated, in EvaluateConstantIntScalarEdge() argument
407 EvaluateConstantTensorForEdge(node, dst_idx, evaluated, &scalar)); in EvaluateConstantIntScalarEdge()
429 const Node* node, int dst_idx, in ConstantPartialShape() argument
432 TF_RETURN_IF_ERROR(node->input_edge(dst_idx, &input_edge)); in ConstantPartialShape()
442 EvaluateConstantTensorForEdge(node, dst_idx, &evaluated, &t)); in ConstantPartialShape()
475 if (EvaluateConstantTensorForEdge(node, dst_idx, &evaluated, &t).ok()) { in ConstantPartialShape()
560 EvaluateConstantTensorForEdge(node, dst_idx, &evaluated, &t)); in ConstantPartialShape()
Dshape_refiner.h189 Status EvaluateConstantTensorForEdge(const Node* node, int dst_idx,
195 Status EvaluateConstantIntScalarEdge(const Node* node, int dst_idx,
220 const Node* node, int dst_idx,
Dhierarchical_tree_broadcaster.cc414 int dst_idx = in DispatchSend() local
418 << col_params_->instance.device_names[dst_idx] << " subdiv=" << subdiv in DispatchSend()
419 << " dst_rank=" << dst_rank << " dst_idx=" << dst_idx; in DispatchSend()
420 col_ctx_->col_exec->PostToPeer(col_params_->instance.device_names[dst_idx], in DispatchSend()
421 col_params_->instance.task_names[dst_idx], in DispatchSend()
/external/grpc-grpc/test/core/iomgr/
Dtcp_server_posix_test.cc354 size_t dst_idx; in test_connect() local
356 for (dst_idx = 0; dst_idx < dst_addrs->naddrs; ++dst_idx) { in test_connect()
357 test_addr dst = dst_addrs->addrs[dst_idx]; in test_connect()
376 dst_addrs->addrs[dst_idx].addr.len = 0; in test_connect()
/external/tensorflow/tensorflow/core/graph/
Dcollective_order.cc99 int dst_idx = instance_keys[i] > instance_keys[j] ? j : i; in CreateControlDependencies() local
101 Node* dst_node = collective_nodes[dst_idx]; in CreateControlDependencies()
104 << dst_node->name() << " instance " << instance_keys[dst_idx]; in CreateControlDependencies()
/external/mesa3d/src/compiler/nir/
Dnir_format_convert.h173 unsigned dst_idx = 0; in nir_format_bitcast_uvec_unmasked() local
178 dst_chan[dst_idx] = shifted; in nir_format_bitcast_uvec_unmasked()
180 dst_chan[dst_idx] = nir_ior(b, dst_chan[dst_idx], shifted); in nir_format_bitcast_uvec_unmasked()
185 dst_idx++; in nir_format_bitcast_uvec_unmasked()
/external/grpc-grpc/src/core/lib/channel/
Dchannel_args.cc99 size_t dst_idx = 0; in grpc_channel_args_copy_and_add_and_remove() local
103 dst->args[dst_idx++] = copy_arg(&src->args[i]); in grpc_channel_args_copy_and_add_and_remove()
109 dst->args[dst_idx++] = copy_arg(&to_add[i]); in grpc_channel_args_copy_and_add_and_remove()
111 GPR_ASSERT(dst_idx == dst->num_args); in grpc_channel_args_copy_and_add_and_remove()
/external/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_info.c336 tgsi_opcode_infer_dst_type(enum tgsi_opcode opcode, uint dst_idx) in tgsi_opcode_infer_dst_type() argument
338 if (dst_idx == 1 && opcode == TGSI_OPCODE_DFRACEXP) in tgsi_opcode_infer_dst_type()
Dtgsi_info.h117 tgsi_opcode_infer_dst_type(enum tgsi_opcode opcode, uint dst_idx);
/external/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_compiler_util.h82 unsigned int dst_idx,
Dradeon_compiler_util.c317 unsigned int dst_idx, in rc_src_reads_dst_mask() argument
320 if (src_file != dst_file || src_idx != dst_idx) { in rc_src_reads_dst_mask()
/external/tensorflow/tensorflow/compiler/jit/
Dbuild_xla_ops_pass.cc166 int dst_idx = e->dst_input(); in MergeOutgoingDataEdges() local
170 dst_idx); in MergeOutgoingDataEdges()
/external/mesa3d/src/freedreno/vulkan/
Dtu_descriptor_set.c916 unsigned dst_idx = copyset->dstArrayElement + j; in tu_update_descriptor_sets() local
918 dst_idx += dst_binding_layout->dynamic_offset_offset; in tu_update_descriptor_sets()
922 dst_dynamic = dst_set->dynamic_descriptors + dst_idx * A6XX_TEX_CONST_DWORDS; in tu_update_descriptor_sets()
Dtu_cmd_buffer.c1679 unsigned dst_idx = j + layout->set[idx].dynamic_offset_start; in tu_CmdBindDescriptorSets() local
1683 &descriptors_state->dynamic_descriptors[dst_idx * A6XX_TEX_CONST_DWORDS]; in tu_CmdBindDescriptorSets()
/external/kmod/tools/
Ddepmod.c1923 uint16_t dst_idx = dst->idx; in depmod_calculate_dependencies() local
1924 assert(users[dst_idx] > 0); in depmod_calculate_dependencies()
1925 users[dst_idx]--; in depmod_calculate_dependencies()
1926 if (users[dst_idx] == 0) { in depmod_calculate_dependencies()
1927 roots[n_roots] = dst_idx; in depmod_calculate_dependencies()
/external/mesa3d/src/amd/vulkan/
Dradv_descriptor_set.c1182 unsigned dst_idx = copyset->dstArrayElement + j; in radv_update_descriptor_sets() local
1185 dst_idx += dst_binding_layout->dynamic_offset_offset; in radv_update_descriptor_sets()
1188 dst_range = dst_set->dynamic_descriptors + dst_idx; in radv_update_descriptor_sets()

12