Home
last modified time | relevance | path

Searched refs:ref_frame_map (Results 1 – 10 of 10) sorted by relevance

/external/libvpx/libvpx/vp8/encoder/
Drdopt.h113 int ref_frame_map[4]) in get_reference_search_order()
117 ref_frame_map[i++] = INTRA_FRAME; in get_reference_search_order()
119 ref_frame_map[i++] = LAST_FRAME; in get_reference_search_order()
121 ref_frame_map[i++] = GOLDEN_FRAME; in get_reference_search_order()
123 ref_frame_map[i++] = ALTREF_FRAME; in get_reference_search_order()
125 ref_frame_map[i] = -1; in get_reference_search_order()
Dpickinter.c725 int ref_frame_map[4]; in vp8_pick_inter_mode() local
853 ref_frame_map[0] = -1; in vp8_pick_inter_mode()
854 ref_frame_map[1] = parent_ref_frame; in vp8_pick_inter_mode()
855 ref_frame_map[2] = -1; in vp8_pick_inter_mode()
856 ref_frame_map[3] = -1; in vp8_pick_inter_mode()
859 get_reference_search_order(cpi, ref_frame_map); in vp8_pick_inter_mode()
864 if (ref_frame_map[1] > 0) in vp8_pick_inter_mode()
871 ref_frame_map[1], in vp8_pick_inter_mode()
916 int this_ref_frame = ref_frame_map[vp8_ref_frame_order[mode_index]]; in vp8_pick_inter_mode()
Drdopt.c1977 int ref_frame_map[4]; in vp8_rd_pick_inter_mode() local
1998 get_reference_search_order(cpi, ref_frame_map); in vp8_rd_pick_inter_mode()
2003 if (ref_frame_map[1] > 0) in vp8_rd_pick_inter_mode()
2010 ref_frame_map[1], in vp8_rd_pick_inter_mode()
2030 int this_ref_frame = ref_frame_map[vp8_ref_frame_order[mode_index]]; in vp8_rd_pick_inter_mode()
/external/libvpx/libvpx/vp9/decoder/
Dvp9_decoder.c103 memset(&cm->ref_frame_map, -1, sizeof(cm->ref_frame_map)); in vp9_decoder_create()
241 const int old_idx = cm->ref_frame_map[ref_index]; in swap_frame_buffers()
249 cm->ref_frame_map[ref_index] = cm->next_ref_frame_map[ref_index]; in swap_frame_buffers()
255 const int old_idx = cm->ref_frame_map[ref_index]; in swap_frame_buffers()
257 cm->ref_frame_map[ref_index] = cm->next_ref_frame_map[ref_index]; in swap_frame_buffers()
348 const int old_idx = cm->ref_frame_map[ref_index]; in vp9_receive_compressed_data()
361 const int old_idx = cm->ref_frame_map[ref_index]; in vp9_receive_compressed_data()
Dvp9_decodeframe.c1856 const int frame_to_show = cm->ref_frame_map[vpx_rb_read_literal(rb, 3)]; in read_uncompressed_header()
1873 cm->next_ref_frame_map[i] = cm->ref_frame_map[i]; in read_uncompressed_header()
1897 memset(&cm->ref_frame_map, -1, sizeof(cm->ref_frame_map)); in read_uncompressed_header()
1929 memset(&cm->ref_frame_map, -1, sizeof(cm->ref_frame_map)); in read_uncompressed_header()
1936 const int idx = cm->ref_frame_map[ref]; in read_uncompressed_header()
1998 cm->next_ref_frame_map[ref_index] = cm->ref_frame_map[ref_index]; in read_uncompressed_header()
2001 if (cm->ref_frame_map[ref_index] >= 0) in read_uncompressed_header()
2002 ++frame_bufs[cm->ref_frame_map[ref_index]].ref_count; in read_uncompressed_header()
2007 cm->next_ref_frame_map[ref_index] = cm->ref_frame_map[ref_index]; in read_uncompressed_header()
2009 if (cm->ref_frame_map[ref_index] >= 0) in read_uncompressed_header()
[all …]
Dvp9_dthread.c174 dst_cm->ref_frame_map[i] = src_cm->next_ref_frame_map[i]; in vp9_frameworker_copy_context()
/external/libvpx/libvpx/vp9/common/
Dvp9_onyxc_int.h139 int ref_frame_map[REF_FRAMES]; /* maps fb_idx to reference slot */ member
295 if (cm->ref_frame_map[index] < 0) in get_ref_frame()
297 assert(cm->ref_frame_map[index] < FRAME_BUFFERS); in get_ref_frame()
298 return &cm->buffer_pool->frame_bufs[cm->ref_frame_map[index]].buf; in get_ref_frame()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_encoder.h576 return (map_idx != INVALID_IDX) ? cm->ref_frame_map[map_idx] : INVALID_IDX; in get_ref_frame_buf_idx()
Dvp9_firstpass.c1108 ref_cnt_fb(pool->frame_bufs, &cm->ref_frame_map[cpi->gld_fb_idx], in vp9_first_pass()
1109 cm->ref_frame_map[cpi->lst_fb_idx]); in vp9_first_pass()
1122 ref_cnt_fb(pool->frame_bufs, &cm->ref_frame_map[cpi->lst_fb_idx], in vp9_first_pass()
1130 ref_cnt_fb(pool->frame_bufs, &cm->ref_frame_map[cpi->gld_fb_idx], in vp9_first_pass()
1131 cm->ref_frame_map[cpi->lst_fb_idx]); in vp9_first_pass()
Dvp9_encoder.c2690 &cm->ref_frame_map[cpi->gld_fb_idx], cm->new_fb_idx);
2692 &cm->ref_frame_map[cpi->alt_fb_idx], cm->new_fb_idx);
2705 &cm->ref_frame_map[cpi->alt_fb_idx], cm->new_fb_idx);
2724 &cm->ref_frame_map[arf_idx], cm->new_fb_idx);
2732 &cm->ref_frame_map[cpi->gld_fb_idx], cm->new_fb_idx);
2746 &cm->ref_frame_map[cpi->lst_fb_idx], cm->new_fb_idx);
3606 const int *const map = cpi->common.ref_frame_map;
3984 cm->ref_frame_map[i] = INVALID_IDX;