Home
last modified time | relevance | path

Searched refs:cur_index (Results 1 – 24 of 24) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dmimic.c51 int cur_index; member
134 ctx->cur_index = 15; in mimic_decode_init()
162 dst->cur_index = src->next_cur_index; in mimic_decode_update_thread_context()
268 const int stride = ctx->frames[ctx->cur_index ].f->linesize[plane]; in decode()
270 uint8_t *dst = ctx->frames[ctx->cur_index ].f->data[plane]; in decode()
292 int index = (ctx->cur_index + backref) & 15; in decode()
295 if (index != ctx->cur_index && p) { in decode()
317 ff_thread_report_progress(&ctx->frames[ctx->cur_index], in decode()
397 ff_thread_release_buffer(avctx, &ctx->frames[ctx->cur_index]); in mimic_decode_frame()
398 ctx->frames[ctx->cur_index].f->pict_type = is_pframe ? AV_PICTURE_TYPE_P : in mimic_decode_frame()
[all …]
Dmlpenc.c1290 unsigned int cur_index = (ctx->starting_frame_index + index) % ctx->max_restart_interval; in input_to_sample_buffer() local
1291 int32_t *input_buffer = ctx->inout_buffer + cur_index * ctx->one_sample_buffer_size; in input_to_sample_buffer()
1294 for (i = 0; i < ctx->frame_size[cur_index]; i++) { in input_to_sample_buffer()
/third_party/mindspore/mindspore/core/utils/
Dms_utils.cc27 uint32_t cur_index = index++; in SafeCStr() local
28 cur_index = cur_index & CACHED_STR_MASK; in SafeCStr()
29 STR_HOLDER[cur_index] = str; in SafeCStr()
30 return STR_HOLDER[cur_index].c_str(); in SafeCStr()
/third_party/mindspore/mindspore/profiler/parser/
Doptime_parser.py185 cur_index = 0
188 while cur_index < length:
189 if cur_index + 1 == length:
192 op_start = op_map_list[cur_index]
193 op_end = op_map_list[cur_index + 1]
198 cur_index += 2
202 cur_index += 1
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/
Dgather_d_grad_cpu_kernel.cc48 size_t cur_index = (*pos)[dim]; in GatherDGradCopyTask() local
55 (*pos)[dim] = cur_index; in GatherDGradCopyTask()
Dgather_d_cpu_kernel.cc47 size_t cur_index = (*pos)[dim]; in CopyTask() local
58 (*pos)[dim] = cur_index; in CopyTask()
/third_party/mindspore/tests/st/networks/models/deeplabv3/src/
Dei_dataset.py37 self.cur_index = 0
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/core/
Dtensor.cc437 …::PrintRecursive(std::ostream &out, int32_t cur_dim, const std::vector<dsize_t> &cur_index) const { in PrintRecursive()
438 if (cur_index.size() == shape_.Rank()) { in PrintRecursive()
439 PrintItemAt(cur_index, out); in PrintRecursive()
443 std::vector<dsize_t> new_index = cur_index; in PrintRecursive()
1144 std::vector<dsize_t> cur_index = HandleNegIndices(indices[i], dim_length); in SliceNumeric() local
1150 RETURN_IF_NOT_OK(shape_.ToFlatIndex(cur_index, &flat_idx_curr)); in SliceNumeric()
1178 std::vector<dsize_t> cur_index = HandleNegIndices(index, dim_length); in SliceString() local
1180 RETURN_IF_NOT_OK(shape_.ToFlatIndex(cur_index, &cur_flat_index)); in SliceString()
1182 RETURN_IF_NOT_OK(GetItemAt(&sv, {cur_index})); in SliceString()
Dtensor.h680 …void PrintRecursive(std::ostream &out, int32_t cur_dim, const std::vector<dsize_t> &cur_index) con…
/third_party/mindspore/mindspore/lite/src/
Dscheduler.cc1515 … const InnerContext &context, size_t *cur_index, int schema_version) { in FindAllSubGraphKernels() argument
1517 sub_kernels.emplace_back(sorted_kernels[*cur_index]); in FindAllSubGraphKernels()
1518 auto cur_sub_graph_type = GetKernelSubGraphType(sorted_kernels[*cur_index], context); in FindAllSubGraphKernels()
1519 for (*cur_index = *cur_index + 1; *cur_index < sorted_kernels.size(); ++(*cur_index)) { in FindAllSubGraphKernels()
1520 auto cur_kernel = sorted_kernels[*cur_index]; in FindAllSubGraphKernels()
1525 --(*cur_index); in FindAllSubGraphKernels()
1531 --(*cur_index); in FindAllSubGraphKernels()
/third_party/mindspore/mindspore/ccsrc/backend/session/
Danf_runtime_algorithm.h267 static size_t GetRealInputIndex(const AnfNodePtr &anf_node, const size_t cur_index);
269 static size_t GetOriginalInputIndex(const AnfNodePtr &anf_node, const size_t cur_index);
Danf_runtime_algorithm.cc1579 …untimeAlgorithm::GetRealInputIndex(const mindspore::AnfNodePtr &anf_node, const size_t cur_index) { in GetRealInputIndex() argument
1581 size_t ret = cur_index; in GetRealInputIndex()
1588 ret = dyn_index_converter.first[cur_index]; in GetRealInputIndex()
1596 ret = index_converter.first[cur_index]; in GetRealInputIndex()
1603 …meAlgorithm::GetOriginalInputIndex(const mindspore::AnfNodePtr &anf_node, const size_t cur_index) { in GetOriginalInputIndex() argument
1605 size_t ret = cur_index; in GetOriginalInputIndex()
1612 ret = dyn_index_converter.second[cur_index]; in GetOriginalInputIndex()
1620 ret = index_converter.second[cur_index]; in GetOriginalInputIndex()
Dsession_basic.cc424 std::vector<size_t> cur_index = indexes; in CreateNodeOutputPlaceholder() local
425 cur_index.emplace_back(i - 1); in CreateNodeOutputPlaceholder()
426 …auto out = CreateNodeOutputPlaceholder(cnode->input(i), graph, input_tensors, cur_index, output_in… in CreateNodeOutputPlaceholder()
/third_party/flutter/skia/third_party/externals/spirv-tools/source/
Dvalidate_id.cpp1400 const uint32_t cur_index = cur_word_instr->word(3); in isValid() local
1405 if (cur_index >= num_struct_members) { in isValid()
1407 << " can not find index " << cur_index in isValid()
1415 auto structMemberId = typePointedTo->word(cur_index + 2); in isValid()
1749 const uint32_t cur_index = *word_iter; in walkCompositeTypeHierarchy() local
1754 if (cur_index >= num_struct_members) { in walkCompositeTypeHierarchy()
1756 << " can not find index " << cur_index in walkCompositeTypeHierarchy()
1764 auto structMemberId = cur_type->word(cur_index + 2); in walkCompositeTypeHierarchy()
/third_party/mesa3d/src/gallium/drivers/lima/ir/gp/
Dgpir.h395 int cur_index; member
Dnode.c324 node->index = block->comp->cur_index++; in gpir_node_create()
Dscheduler.c1684 int save_index = comp->cur_index; in gpir_schedule_prog()
/third_party/spirv-tools/source/val/
Dvalidate_memory.cpp1307 const uint32_t cur_index = cur_word_instr->word(3); in ValidateAccessChain() local
1312 if (cur_index >= num_struct_members) { in ValidateAccessChain()
1315 << " can not find index " << cur_index in ValidateAccessChain()
1322 auto structMemberId = type_pointee->word(cur_index + 2); in ValidateAccessChain()
/third_party/skia/third_party/externals/spirv-tools/source/val/
Dvalidate_memory.cpp1313 const uint32_t cur_index = cur_word_instr->word(3); in ValidateAccessChain() local
1318 if (cur_index >= num_struct_members) { in ValidateAccessChain()
1321 << " can not find index " << cur_index in ValidateAccessChain()
1328 auto structMemberId = type_pointee->word(cur_index + 2); in ValidateAccessChain()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/val/
Dvalidate_memory.cpp1313 const uint32_t cur_index = cur_word_instr->word(3); in ValidateAccessChain() local
1318 if (cur_index >= num_struct_members) { in ValidateAccessChain()
1321 << " can not find index " << cur_index in ValidateAccessChain()
1328 auto structMemberId = type_pointee->word(cur_index + 2); in ValidateAccessChain()
/third_party/mindspore/mindspore/ccsrc/runtime/device/ascend/
Dascend_stream_assign.cc1336 auto cur_index = GetIndexByKey(graph_ptr, cur_input.get()); in GetLastInputCnode() local
1337 if (cur_index == UINT32_MAX) { in GetLastInputCnode()
1342 result[stream_id] = std::make_pair(cur_input, cur_index); in GetLastInputCnode()
1345 if (cur_index > max_index) { in GetLastInputCnode()
1346 result[stream_id] = std::make_pair(cur_input, cur_index); in GetLastInputCnode()
/third_party/mesa3d/src/gallium/drivers/lima/ir/pp/
Dnode.c381 node->index = comp->cur_index++; in ppir_node_create()
Dppir.h363 int cur_index; member
/third_party/quickjs/
Dquickjs.c54254 int cur_index = 0; in JS_FindCurStackFrame() local
54260 while (cur_index < stack_index && sf != NULL) { in JS_FindCurStackFrame()
54261 cur_index++; in JS_FindCurStackFrame()
54415 int cur_index = 0; in JS_GetLocalVariables() local
54417 if (cur_index == stack_index - 1) { in JS_GetLocalVariables()
54421 if (cur_index < stack_index) { in JS_GetLocalVariables()
54422 cur_index++; in JS_GetLocalVariables()