/external/libvpx/libvpx/vp8/encoder/ |
D | rdopt.h | 103 int ref_frame_map[4]) { in get_reference_search_order() 106 ref_frame_map[i++] = INTRA_FRAME; in get_reference_search_order() 107 if (cpi->ref_frame_flags & VP8_LAST_FRAME) ref_frame_map[i++] = LAST_FRAME; in get_reference_search_order() 108 if (cpi->ref_frame_flags & VP8_GOLD_FRAME) ref_frame_map[i++] = GOLDEN_FRAME; in get_reference_search_order() 109 if (cpi->ref_frame_flags & VP8_ALTR_FRAME) ref_frame_map[i++] = ALTREF_FRAME; in get_reference_search_order() 110 for (; i < 4; ++i) ref_frame_map[i] = -1; in get_reference_search_order()
|
D | pickinter.c | 605 int ref_frame_map[4]; in vp8_pick_inter_mode() local 714 ref_frame_map[0] = -1; in vp8_pick_inter_mode() 715 ref_frame_map[1] = parent_ref_frame; in vp8_pick_inter_mode() 716 ref_frame_map[2] = -1; in vp8_pick_inter_mode() 717 ref_frame_map[3] = -1; in vp8_pick_inter_mode() 720 get_reference_search_order(cpi, ref_frame_map); in vp8_pick_inter_mode() 725 if (ref_frame_map[1] > 0) { in vp8_pick_inter_mode() 728 mdcounts, ref_frame_map[1], cpi->common.ref_frame_sign_bias); in vp8_pick_inter_mode() 769 int this_ref_frame = ref_frame_map[vp8_ref_frame_order[mode_index]]; in vp8_pick_inter_mode()
|
D | rdopt.c | 1771 int ref_frame_map[4]; in vp8_rd_pick_inter_mode() local 1796 get_reference_search_order(cpi, ref_frame_map); in vp8_rd_pick_inter_mode() 1801 if (ref_frame_map[1] > 0) { in vp8_rd_pick_inter_mode() 1804 mdcounts, ref_frame_map[1], cpi->common.ref_frame_sign_bias); in vp8_rd_pick_inter_mode() 1822 int this_ref_frame = ref_frame_map[vp8_ref_frame_order[mode_index]]; in vp8_rd_pick_inter_mode()
|
/external/libvpx/libvpx/vp9/decoder/ |
D | vp9_decoder.c | 137 memset(&cm->ref_frame_map, -1, sizeof(cm->ref_frame_map)); in vp9_decoder_create() 239 idx = cm->ref_frame_map[0]; in vp9_set_reference_dec() 241 idx = cm->ref_frame_map[1]; in vp9_set_reference_dec() 243 idx = cm->ref_frame_map[2]; in vp9_set_reference_dec() 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() 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() 323 const int old_idx = cm->ref_frame_map[ref_index]; in release_fb_on_decoder_exit() 336 const int old_idx = cm->ref_frame_map[ref_index]; in release_fb_on_decoder_exit()
|
D | vp9_decodeframe.c | 2208 const int frame_to_show = cm->ref_frame_map[vpx_rb_read_literal(rb, 3)]; in read_uncompressed_header() 2242 memset(&cm->ref_frame_map, -1, sizeof(cm->ref_frame_map)); in read_uncompressed_header() 2275 memset(&cm->ref_frame_map, -1, sizeof(cm->ref_frame_map)); in read_uncompressed_header() 2282 const int idx = cm->ref_frame_map[ref]; 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() 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/libvpx/libvpx/vp9/common/ |
D | vp9_onyxc_int.h | 117 int ref_frame_map[REF_FRAMES]; /* maps fb_idx to reference slot */ member 273 if (cm->ref_frame_map[index] < 0) return NULL; in get_ref_frame() 274 assert(cm->ref_frame_map[index] < FRAME_BUFFERS); in get_ref_frame() 275 return &cm->buffer_pool->frame_bufs[cm->ref_frame_map[index]].buf; in get_ref_frame()
|
/external/libaom/libaom/av1/decoder/ |
D | decoder.c | 104 cm->ref_frame_map[i] = NULL; in av1_decoder_create() 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() 380 decrease_ref_count(cm->ref_frame_map[ref_index], pool); in swap_frame_buffers() 381 cm->ref_frame_map[ref_index] = cm->next_ref_frame_map[ref_index]; in swap_frame_buffers()
|
D | decodeframe.c | 4262 RefCntBuffer *const buf = cm->ref_frame_map[film_grain_params_ref_idx]; in av1_read_film_grain_params() 4738 decrease_ref_count(cm->ref_frame_map[i], pool); in reset_ref_frame_map() 4739 cm->ref_frame_map[i] = NULL; in reset_ref_frame_map() 4757 cm->next_ref_frame_map[ref_index] = cm->ref_frame_map[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() 4886 RefCntBuffer *const frame_to_show = cm->ref_frame_map[existing_frame_idx]; in read_uncompressed_header() 5119 RefCntBuffer *buf = cm->ref_frame_map[ref_idx]; in read_uncompressed_header() 5149 cm->ref_frame_map[ref_idx] = buf; in read_uncompressed_header() 5182 const RefCntBuffer *const lst_buf = cm->ref_frame_map[lst_ref]; in read_uncompressed_header() 5186 const RefCntBuffer *const gld_buf = cm->ref_frame_map[gld_ref]; in read_uncompressed_header() [all …]
|
/external/libaom/libaom/av1/common/ |
D | mvref_common.h | 137 static MV_REFERENCE_FRAME ref_frame_map[TOTAL_COMP_REFS][2] = { variable 162 rf[0] = ref_frame_map[ref_frame_type - REF_FRAMES][0]; in av1_set_ref_frame() 163 rf[1] = ref_frame_map[ref_frame_type - REF_FRAMES][1]; in av1_set_ref_frame()
|
D | onyxc_int.h | 356 RefCntBuffer *ref_frame_map[REF_FRAMES]; member 581 if (cm->ref_frame_map[index] == NULL) return NULL; in get_ref_frame() 582 return &cm->ref_frame_map[index]->buf; in get_ref_frame() 673 return (map_idx != INVALID_IDX) ? cm->ref_frame_map[map_idx] : NULL; in get_ref_frame_buf() 694 return (map_idx != INVALID_IDX) ? cm->ref_frame_map[map_idx] : NULL; in get_primary_ref_frame_buf()
|
D | mvref_common.c | 1392 RefCntBuffer *const buf = cm->ref_frame_map[map_idx]; in av1_set_frame_refs()
|
/external/libaom/libaom/av1/encoder/ |
D | firstpass.c | 820 &cm->ref_frame_map[get_ref_frame_map_idx(cm, GOLDEN_FRAME)], in av1_first_pass() 821 cm->ref_frame_map[get_ref_frame_map_idx(cm, LAST_FRAME)]); in av1_first_pass() 832 &cm->ref_frame_map[get_ref_frame_map_idx(cm, LAST_FRAME)], cm->cur_frame); in av1_first_pass() 839 &cm->ref_frame_map[get_ref_frame_map_idx(cm, GOLDEN_FRAME)], in av1_first_pass() 840 cm->ref_frame_map[get_ref_frame_map_idx(cm, LAST_FRAME)]); in av1_first_pass()
|
D | encoder.h | 1127 (map_idx != INVALID_IDX) ? cm->ref_frame_map[map_idx] : NULL; in av1_get_ref_frame_hash_map()
|
D | bitstream.c | 2473 const RefCntBuffer *const buf = cm->ref_frame_map[ref_idx]; in write_film_grain_params() 2771 ref_frame_buf_new = cm->ref_frame_map[remapped_ref_idx_decoder[ref_idx]]; in check_frame_refs_short_signaling() 2938 wb, cm->ref_frame_map[ref_idx]->order_hint, in write_uncompressed_header_obu()
|
D | encoder.c | 3615 cm->ref_frame_map[i] = NULL; in init_ref_frame_bufs() 4145 cm->ref_frame_map[cpi->existing_fb_idx_to_show]; in finalize_encoded_frame() 4799 assign_frame_buffer_p(&cm->ref_frame_map[ref_frame], cm->cur_frame); in refresh_reference_frames()
|
D | rdopt.c | 11402 const MV_REFERENCE_FRAME *rf = ref_frame_map[r - REF_FRAMES]; in set_params_rd_pick_inter_mode() 11421 const MV_REFERENCE_FRAME *rf = ref_frame_map[ref_frame - REF_FRAMES]; in set_params_rd_pick_inter_mode() 11539 const MV_REFERENCE_FRAME *rf = ref_frame_map[r - REF_FRAMES]; in set_params_nonrd_pick_inter_mode() 11875 const MV_REFERENCE_FRAME *rf = ref_frame_map[r - REF_FRAMES]; in inter_mode_search_order_independent_skip()
|
/external/libvpx/libvpx/vp9/encoder/ |
D | vp9_firstpass.c | 1444 ref_cnt_fb(pool->frame_bufs, &cm->ref_frame_map[cpi->gld_fb_idx], in vp9_first_pass() 1445 cm->ref_frame_map[cpi->lst_fb_idx]); in vp9_first_pass() 1455 ref_cnt_fb(pool->frame_bufs, &cm->ref_frame_map[cpi->lst_fb_idx], in vp9_first_pass() 1461 ref_cnt_fb(pool->frame_bufs, &cm->ref_frame_map[cpi->gld_fb_idx], in vp9_first_pass() 1462 cm->ref_frame_map[cpi->lst_fb_idx]); in vp9_first_pass()
|
D | vp9_svc_layercontext.c | 1180 ref_cnt_fb(pool->frame_bufs, &cm->ref_frame_map[i], cm->new_fb_idx); in vp9_svc_update_ref_frame_bypass_mode() 1204 ref_cnt_fb(pool->frame_bufs, &cm->ref_frame_map[i], cm->new_fb_idx); in vp9_svc_update_ref_frame()
|
D | vp9_encoder.h | 942 return (map_idx != INVALID_IDX) ? cm->ref_frame_map[map_idx] : INVALID_IDX; in get_ref_frame_buf_idx()
|
D | vp9_encoder.c | 3009 ref_cnt_fb(pool->frame_bufs, &cm->ref_frame_map[cpi->gld_fb_idx], 3011 ref_cnt_fb(pool->frame_bufs, &cm->ref_frame_map[cpi->alt_fb_idx], 3024 ref_cnt_fb(pool->frame_bufs, &cm->ref_frame_map[cpi->alt_fb_idx], 3041 ref_cnt_fb(pool->frame_bufs, &cm->ref_frame_map[arf_idx], cm->new_fb_idx); 3050 ref_cnt_fb(pool->frame_bufs, &cm->ref_frame_map[cpi->gld_fb_idx], 3064 ref_cnt_fb(pool->frame_bufs, &cm->ref_frame_map[cpi->lst_fb_idx], 4349 const int *const map = cpi->common.ref_frame_map; 4783 cm->ref_frame_map[cpi->alt_fb_idx]); 4986 cm->ref_frame_map[i] = INVALID_IDX;
|
/external/libaom/libaom/av1/ |
D | av1_dx_iface.c | 599 if (cm->ref_frame_map[i] == cm->cur_frame) data2->idx = i; in decoder_inspect()
|