Home
last modified time | relevance | path

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

/external/adhd/cras/src/server/
Dlinear_resampler.c118 unsigned int dst_idx = 0; in linear_resampler_resample() local
129 for (dst_idx = 0; dst_idx <= dst_frames; dst_idx++) { in linear_resampler_resample()
130 src_pos = (float)(lr->dst_offset + dst_idx) / lr->f; in linear_resampler_resample()
137 if (src_pos > *src_frames - 1 || dst_idx >= dst_frames) { in linear_resampler_resample()
146 out = (int16_t *)(dst + dst_idx * lr->format_bytes); in linear_resampler_resample()
165 lr->dst_offset += dst_idx; in linear_resampler_resample()
172 return dst_idx; in linear_resampler_resample()
Dcras_audio_area.c32 unsigned int src_idx, dst_idx; in cras_audio_area_copy() local
41 for (dst_idx = 0; dst_idx < dst->num_channels; dst_idx++) { in cras_audio_area_copy()
43 dst->channels[dst_idx].ch_set)) in cras_audio_area_copy()
48 dchan = dst->channels[dst_idx].buf + in cras_audio_area_copy()
49 dst_offset * dst->channels[dst_idx].step_bytes; in cras_audio_area_copy()
53 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/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.c440 int dst_idx = 0; in av1_get_block_hash_value() local
445 dst_idx = 1 - dst_idx; in av1_get_block_hash_value()
463 x->hash_value_buffer[0][dst_idx][dst_pos] = av1_get_crc_value( in av1_get_block_hash_value()
472 x->hash_value_buffer[1][dst_idx][dst_pos] = av1_get_crc_value( in av1_get_block_hash_value()
482 *hash_value1 = (x->hash_value_buffer[0][dst_idx][0] & crc_mask) + add_value; in av1_get_block_hash_value()
483 *hash_value2 = x->hash_value_buffer[1][dst_idx][0]; in av1_get_block_hash_value()
Drdopt.c2317 const int dst_idx = (blk_row * dst_stride + blk_col) << tx_size_wide_log2[0]; in dist_block_px_domain() local
2319 const uint8_t *dst = &xd->plane[plane].dst.buf[dst_idx]; in dist_block_px_domain()
/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()
188 const Eigen::DSizes<Eigen::DenseIndex, 8>& dst_idx); \
/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/common_runtime/
Dshape_refiner.cc417 int dst_idx, bool* evaluated, in EvaluateConstantTensorForEdge() argument
421 TF_RETURN_IF_ERROR(node->input_edge(dst_idx, &input_edge)); in EvaluateConstantTensorForEdge()
430 int dst_idx, bool* evaluated, in EvaluateConstantIntScalarEdge() argument
434 EvaluateConstantTensorForEdge(node, dst_idx, evaluated, &scalar)); in EvaluateConstantIntScalarEdge()
452 const Node* node, int dst_idx, in ConstantPartialShape() argument
455 TF_RETURN_IF_ERROR(node->input_edge(dst_idx, &input_edge)); in ConstantPartialShape()
465 EvaluateConstantTensorForEdge(node, dst_idx, &evaluated, &t)); in ConstantPartialShape()
542 EvaluateConstantTensorForEdge(node, dst_idx, &evaluated, &t)); in ConstantPartialShape()
Dshape_refiner.h221 Status EvaluateConstantTensorForEdge(const Node* node, int dst_idx,
227 Status EvaluateConstantIntScalarEdge(const Node* node, int dst_idx,
252 const Node* node, int dst_idx,
Dhierarchical_tree_broadcaster.cc404 int dst_idx = in DispatchSend() local
408 << col_params_->instance.device_names[dst_idx] << " subdiv=" << subdiv in DispatchSend()
409 << " dst_rank=" << dst_rank << " dst_idx=" << dst_idx; in DispatchSend()
410 col_ctx_->col_exec->PostToPeer(col_params_->instance.device_names[dst_idx], in DispatchSend()
411 col_params_->instance.task_names[dst_idx], in DispatchSend()
/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/mesa/state_tracker/tests/
Dtest_glsl_to_tgsi_lifetime.cpp85 st_dst_reg create_dst_register(int dst_idx);
87 st_dst_reg create_dst_register(int dst_idx,int writemask);
1489 st_dst_reg MockShader::create_dst_register(int dst_idx,int writemask) in create_dst_register() argument
1493 if (dst_idx >= 0) { in create_dst_register()
1495 idx = dst_idx; in create_dst_register()
1500 idx = 1 - dst_idx; in create_dst_register()
1505 st_dst_reg MockShader::create_dst_register(int dst_idx) in create_dst_register() argument
1509 if (dst_idx >= 0) { in create_dst_register()
1511 idx = dst_idx; in create_dst_register()
1516 idx = 1 - dst_idx; in create_dst_register()
/external/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_info.c320 tgsi_opcode_infer_dst_type( uint opcode, uint dst_idx ) in tgsi_opcode_infer_dst_type() argument
322 if (dst_idx == 1 && opcode == TGSI_OPCODE_DFRACEXP) in tgsi_opcode_infer_dst_type()
Dtgsi_info.h117 tgsi_opcode_infer_dst_type( uint opcode, uint dst_idx );
/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/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.cc98 int dst_idx = e->dst_input(); in MergeOutgoingDataEdges() local
102 dst_idx); in MergeOutgoingDataEdges()
/external/v8/src/wasm/baseline/
Dliftoff-assembler.cc284 auto dst_idx = range ? 0 : stack_state.size() - arity; in InitMerge() local
285 for (; src_idx < src_end; ++src_idx, ++dst_idx) { in InitMerge()
286 auto& dst = stack_state[dst_idx]; in InitMerge()
/external/mesa3d/src/amd/vulkan/
Dradv_descriptor_set.c797 unsigned dst_idx = copyset->dstArrayElement + j; in radv_update_descriptor_sets() local
800 dst_idx += dst_binding_layout->dynamic_offset_offset; in radv_update_descriptor_sets()
803 dst_range = dst_set->dynamic_descriptors + dst_idx; in radv_update_descriptor_sets()
/external/v8/third_party/v8/builtins/
Darray-sort.tq572 let dst_idx: Smi = dstPos;
579 tempArray[dst_idx++] = element;
594 let dst_idx: Smi = dstPos;
599 context, sortState, Store, dstElements, dst_idx++,
624 let dst_idx: Smi = dstPos + length - 1;
627 context, sortState, Load, Store, elements, src_idx--, dst_idx--)
632 let dst_idx: Smi = dstPos;
636 context, sortState, Load, Store, elements, src_idx++, dst_idx++)
/external/mesa3d/src/intel/blorp/
Dblorp_blit.c895 unsigned dst_idx = 0; in bit_cast_color() local
900 dst_chan[dst_idx] = shifted; in bit_cast_color()
902 dst_chan[dst_idx] = nir_ior(b, dst_chan[dst_idx], shifted); in bit_cast_color()
907 dst_idx++; in bit_cast_color()
/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/libvpx/libvpx/vp9/encoder/
Dvp9_rdopt.c584 const int dst_idx = 4 * (blk_row * dst_stride + blk_col); in dist_block() local
586 const uint8_t *dst = &pd->dst.buf[dst_idx]; in dist_block()