Searched refs:ref_index (Results 1 – 7 of 7) sorted by relevance
/external/libvpx/libvpx/vp9/decoder/ |
D | vp9_decoder.c | 271 int ref_index = 0, mask; in swap_frame_buffers() local 277 const int old_idx = cm->ref_frame_map[ref_index]; in swap_frame_buffers() 285 cm->ref_frame_map[ref_index] = cm->next_ref_frame_map[ref_index]; in swap_frame_buffers() 286 ++ref_index; in swap_frame_buffers() 290 for (; ref_index < REF_FRAMES && !cm->show_existing_frame; ++ref_index) { in swap_frame_buffers() 291 const int old_idx = cm->ref_frame_map[ref_index]; in swap_frame_buffers() 293 cm->ref_frame_map[ref_index] = cm->next_ref_frame_map[ref_index]; in swap_frame_buffers() 301 for (ref_index = 0; ref_index < 3; ref_index++) in swap_frame_buffers() 302 cm->frame_refs[ref_index].idx = -1; in swap_frame_buffers() 321 int ref_index = 0, mask; in release_fb_on_decoder_exit() local [all …]
|
D | vp9_decodeframe.c | 2184 int i, mask, ref_index = 0; in read_uncompressed_header() local 2339 cm->next_ref_frame_map[ref_index] = cm->new_fb_idx; in read_uncompressed_header() 2342 cm->next_ref_frame_map[ref_index] = cm->ref_frame_map[ref_index]; in read_uncompressed_header() 2345 if (cm->ref_frame_map[ref_index] >= 0) in read_uncompressed_header() 2346 ++frame_bufs[cm->ref_frame_map[ref_index]].ref_count; in read_uncompressed_header() 2347 ++ref_index; in read_uncompressed_header() 2350 for (; ref_index < REF_FRAMES; ++ref_index) { in read_uncompressed_header() 2351 cm->next_ref_frame_map[ref_index] = cm->ref_frame_map[ref_index]; in read_uncompressed_header() 2353 if (cm->ref_frame_map[ref_index] >= 0) in read_uncompressed_header() 2354 ++frame_bufs[cm->ref_frame_map[ref_index]].ref_count; in read_uncompressed_header()
|
/external/libaom/libaom/av1/decoder/ |
D | decoder.c | 331 for (int ref_index = 0; ref_index < REF_FRAMES; ++ref_index) { in release_frame_buffers() local 332 decrease_ref_count(cm->next_ref_frame_map[ref_index], pool); in release_frame_buffers() 333 cm->next_ref_frame_map[ref_index] = NULL; in release_frame_buffers() 349 int ref_index = 0, mask; in swap_frame_buffers() local 370 decrease_ref_count(cm->ref_frame_map[ref_index], pool); in swap_frame_buffers() 371 cm->ref_frame_map[ref_index] = cm->next_ref_frame_map[ref_index]; in swap_frame_buffers() 372 cm->next_ref_frame_map[ref_index] = NULL; in swap_frame_buffers() 373 ++ref_index; in swap_frame_buffers() 378 for (; ref_index < REF_FRAMES && check_on_show_existing_frame; in swap_frame_buffers() 379 ++ref_index) { in swap_frame_buffers() [all …]
|
D | decodeframe.c | 4752 int ref_index = 0; in generate_next_ref_frame_map() local 4755 cm->next_ref_frame_map[ref_index] = cm->cur_frame; in generate_next_ref_frame_map() 4757 cm->next_ref_frame_map[ref_index] = cm->ref_frame_map[ref_index]; in generate_next_ref_frame_map() 4759 if (cm->next_ref_frame_map[ref_index] != NULL) in generate_next_ref_frame_map() 4760 ++cm->next_ref_frame_map[ref_index]->ref_count; in generate_next_ref_frame_map() 4761 ++ref_index; in generate_next_ref_frame_map() 4764 for (; ref_index < REF_FRAMES; ++ref_index) { in generate_next_ref_frame_map() 4765 cm->next_ref_frame_map[ref_index] = cm->ref_frame_map[ref_index]; in generate_next_ref_frame_map() 4766 if (cm->next_ref_frame_map[ref_index] != NULL) in generate_next_ref_frame_map() 4767 ++cm->next_ref_frame_map[ref_index]->ref_count; in generate_next_ref_frame_map()
|
/external/libvpx/libvpx/vp9/common/ |
D | vp9_onyxc_int.h | 300 const int ref_index = *idx; in ref_cnt_fb() local 302 if (ref_index >= 0 && bufs[ref_index].ref_count > 0) in ref_cnt_fb() 303 bufs[ref_index].ref_count--; in ref_cnt_fb()
|
/external/eigen/test/ |
D | sparse_basic.cpp | 280 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/ |
D | vp9_rdopt.c | 3957 int ref_index, best_ref_index = 0; in vp9_rd_pick_inter_mode_sub8x8() local 4010 for (ref_index = 0; ref_index < MAX_REFS; ++ref_index) { in vp9_rd_pick_inter_mode_sub8x8() 4024 ref_frame = vp9_ref_order[ref_index].ref_frame[0]; in vp9_rd_pick_inter_mode_sub8x8() 4025 second_ref_frame = vp9_ref_order[ref_index].ref_frame[1]; in vp9_rd_pick_inter_mode_sub8x8() 4041 if (ref_index > 2 && sf->mode_skip_start < MAX_MODES) { in vp9_rd_pick_inter_mode_sub8x8() 4042 if (ref_index == 3) { in vp9_rd_pick_inter_mode_sub8x8() 4069 rd_opt->threshes[segment_id][bsize][ref_index], in vp9_rd_pick_inter_mode_sub8x8() 4070 &rd_thresh_freq_fact[ref_index])) in vp9_rd_pick_inter_mode_sub8x8() 4394 best_ref_index = ref_index; in vp9_rd_pick_inter_mode_sub8x8() 4423 (ref_index > MIN_EARLY_TERM_INDEX)) { in vp9_rd_pick_inter_mode_sub8x8()
|