Home
last modified time | relevance | path

Searched refs:ref_index (Results 1 – 15 of 15) sorted by relevance

/external/libgav1/libgav1/src/
Ddecoder_state.h33 for (int ref_index = 0, mask = refresh_frame_flags; mask != 0; in UpdateReferenceFrames() local
34 ++ref_index, mask >>= 1) { in UpdateReferenceFrames()
36 reference_valid[ref_index] = true; in UpdateReferenceFrames()
37 reference_frame_id[ref_index] = current_frame_id; in UpdateReferenceFrames()
38 reference_frame[ref_index] = current_frame; in UpdateReferenceFrames()
39 reference_order_hint[ref_index] = order_hint; in UpdateReferenceFrames()
49 for (int ref_index = 0; ref_index < kNumReferenceFrameTypes; ++ref_index) { in ClearReferenceFrames() local
50 reference_frame[ref_index] = nullptr; in ClearReferenceFrames()
/external/libvpx/libvpx/vp9/decoder/
Dvp9_decoder.c330 int ref_index = 0, mask; in swap_frame_buffers() local
336 const int old_idx = cm->ref_frame_map[ref_index]; in swap_frame_buffers()
344 cm->ref_frame_map[ref_index] = cm->next_ref_frame_map[ref_index]; in swap_frame_buffers()
345 ++ref_index; in swap_frame_buffers()
349 for (; ref_index < REF_FRAMES && !cm->show_existing_frame; ++ref_index) { in swap_frame_buffers()
350 const int old_idx = cm->ref_frame_map[ref_index]; in swap_frame_buffers()
352 cm->ref_frame_map[ref_index] = cm->next_ref_frame_map[ref_index]; in swap_frame_buffers()
360 for (ref_index = 0; ref_index < 3; ref_index++) in swap_frame_buffers()
361 cm->frame_refs[ref_index].idx = -1; in swap_frame_buffers()
380 int ref_index = 0, mask; in release_fb_on_decoder_exit() local
[all …]
Dvp9_decodeframe.c2638 int i, mask, ref_index = 0; in read_uncompressed_header() local
2793 cm->next_ref_frame_map[ref_index] = cm->new_fb_idx; in read_uncompressed_header()
2796 cm->next_ref_frame_map[ref_index] = cm->ref_frame_map[ref_index]; in read_uncompressed_header()
2799 if (cm->ref_frame_map[ref_index] >= 0) in read_uncompressed_header()
2800 ++frame_bufs[cm->ref_frame_map[ref_index]].ref_count; in read_uncompressed_header()
2801 ++ref_index; in read_uncompressed_header()
2804 for (; ref_index < REF_FRAMES; ++ref_index) { in read_uncompressed_header()
2805 cm->next_ref_frame_map[ref_index] = cm->ref_frame_map[ref_index]; in read_uncompressed_header()
2807 if (cm->ref_frame_map[ref_index] >= 0) in read_uncompressed_header()
2808 ++frame_bufs[cm->ref_frame_map[ref_index]].ref_count; in read_uncompressed_header()
/external/v8/src/wasm/
Dwasm-subtyping.cc287 EquivalentIndices(subtype.ref_index(), supertype.ref_index(), in IsSubtypeOfImpl()
312 uint32_t sub_index = sub_heap.ref_index(); in IsSubtypeOfImpl()
316 return !sub_module->has_signature(sub_heap.ref_index()); in IsSubtypeOfImpl()
319 return sub_module->has_signature(sub_heap.ref_index()); in IsSubtypeOfImpl()
324 uint32_t super_index = super_heap.ref_index(); in IsSubtypeOfImpl()
364 DCHECK(type1.has_index() && module1->has_type(type1.ref_index()) && in EquivalentTypes()
365 type2.has_index() && module2->has_type(type2.ref_index())); in EquivalentTypes()
367 return EquivalentIndices(type1.ref_index(), type2.ref_index(), module1, in EquivalentTypes()
Dwasm-opcodes.cc46 (type.has_index() && !module->has_signature(type.ref_index())) || in IsJSCompatibleSignature()
Dvalue-type.h108 constexpr uint32_t ref_index() const { in ref_index() function
264 constexpr uint32_t ref_index() const { in ref_index() function
266 return heap_type().ref_index(); in ref_index()
Dmodule-decoder.cc1636 module_->has_type(imm.type.ref_index())))) { in Validate()
1637 errorf(pc, "Type index %u is out of bounds", imm.type.ref_index()); in Validate()
1854 if (result.has_index() && result.ref_index() >= module_->types.capacity()) { in consume_value_type()
1855 errorf(pc(), "Type index %u is out of bounds", result.ref_index()); in consume_value_type()
Dwasm-module.h374 module->has_signature(heap_type.ref_index())); in IsValidTableType()
Dfunction-body-decoder-impl.h1560 module_->has_type(imm.type.ref_index()))) {
1561 DecodeError(pc, "Type index %u is out of bounds", imm.type.ref_index());
2978 this->module_->has_signature(func_type.ref_index()))) {
2985 const FunctionSig* sig = this->module_->signature(func_type.ref_index());
2988 CALL_INTERFACE_IF_REACHABLE(CallRef, func_ref, sig, func_type.ref_index(),
3004 this->module_->has_signature(func_type.ref_index()))) {
3011 const FunctionSig* sig = this->module_->signature(func_type.ref_index());
3014 func_type.ref_index(), args.begin());
Dwasm-objects.cc2162 DCHECK(module->has_type(expected.ref_index())); in TypecheckJSObject()
2163 if (module->has_signature(expected.ref_index())) { in TypecheckJSObject()
2185 module->signature(expected.ref_index()))) { in TypecheckJSObject()
2196 module->signature(expected.ref_index()))) { in TypecheckJSObject()
/external/libaom/libaom/av1/decoder/
Ddecoder.c356 int ref_index = 0, mask; in update_frame_buffers() local
371 decrease_ref_count(cm->ref_frame_map[ref_index], pool); in update_frame_buffers()
372 cm->ref_frame_map[ref_index] = cm->cur_frame; in update_frame_buffers()
375 ++ref_index; in update_frame_buffers()
416 for (ref_index = 0; ref_index < INTER_REFS_PER_FRAME; ref_index++) { in update_frame_buffers()
417 cm->remapped_ref_idx[ref_index] = INVALID_IDX; in update_frame_buffers()
/external/libvpx/libvpx/vp9/common/
Dvp9_onyxc_int.h320 const int ref_index = *idx; in ref_cnt_fb() local
322 if (ref_index >= 0 && bufs[ref_index].ref_count > 0) in ref_cnt_fb()
323 bufs[ref_index].ref_count--; in ref_cnt_fb()
/external/eigen/test/
Dsparse_basic.cpp280 std::vector<Index> ref_index(m2.innerSize()); in sparse_basic() local
290 ref_index[ref_index.size()-1-count_forward] = it.index(); in sparse_basic()
297 VERIFY_IS_EQUAL( ref_index[ref_index.size()-count_forward+count_reverse] , it.index()); in sparse_basic()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_rdopt.c4155 int ref_index, best_ref_index = 0; in vp9_rd_pick_inter_mode_sub8x8() local
4208 for (ref_index = 0; ref_index < MAX_REFS; ++ref_index) { in vp9_rd_pick_inter_mode_sub8x8()
4222 ref_frame = vp9_ref_order[ref_index].ref_frame[0]; in vp9_rd_pick_inter_mode_sub8x8()
4223 second_ref_frame = vp9_ref_order[ref_index].ref_frame[1]; in vp9_rd_pick_inter_mode_sub8x8()
4239 if (ref_index > 2 && sf->mode_skip_start < MAX_MODES) { in vp9_rd_pick_inter_mode_sub8x8()
4240 if (ref_index == 3) { in vp9_rd_pick_inter_mode_sub8x8()
4267 rd_opt->threshes[segment_id][bsize][ref_index], in vp9_rd_pick_inter_mode_sub8x8()
4268 &rd_thresh_freq_fact[ref_index])) in vp9_rd_pick_inter_mode_sub8x8()
4592 best_ref_index = ref_index; in vp9_rd_pick_inter_mode_sub8x8()
4621 (ref_index > MIN_EARLY_TERM_INDEX)) { in vp9_rd_pick_inter_mode_sub8x8()
/external/v8/src/compiler/
Dwasm-compiler.cc5647 return LOAD_FIXED_ARRAY_SLOT_PTR(maps_list, type.ref_index()); in RttCanon()
6168 if (type.has_index() && module_->has_signature(type.ref_index())) { in ToJS()
6299 if (module_->has_signature(type.ref_index())) { in FromJS()