Home
last modified time | relevance | path

Searched refs:ps_dpb_mgr (Results 1 – 18 of 18) sorted by relevance

/external/libavc/decoder/
Dih264d_dpb_mgr.c69 void ih264d_init_ref_bufs(dpb_manager_t *ps_dpb_mgr) in ih264d_init_ref_bufs() argument
72 struct dpb_info_t *ps_dpb_info = ps_dpb_mgr->as_dpb_info; in ih264d_init_ref_bufs()
86 ps_dpb_mgr->u1_num_st_ref_bufs = ps_dpb_mgr->u1_num_lt_ref_bufs = 0; in ih264d_init_ref_bufs()
87 ps_dpb_mgr->ps_dpb_st_head = NULL; in ih264d_init_ref_bufs()
88 ps_dpb_mgr->ps_dpb_ht_head = NULL; in ih264d_init_ref_bufs()
89 ps_dpb_mgr->i1_gaps_deleted = 0; in ih264d_init_ref_bufs()
90 ps_dpb_mgr->i1_poc_buf_id_entries = 0; in ih264d_init_ref_bufs()
91 ps_dpb_mgr->u1_mmco_error_in_seq = 0; in ih264d_init_ref_bufs()
93 ps_dpb_mgr->u1_num_gaps = 0; in ih264d_init_ref_bufs()
96 ps_dpb_mgr->ai4_gaps_start_frm_num[i] = INVALID_FRAME_NUM; in ih264d_init_ref_bufs()
[all …]
Dih264d_dpb_manager.h134 void ih264d_init_ref_bufs(dpb_manager_t *ps_dpb_mgr);
136 WORD32 ih264d_insert_st_node(dpb_manager_t *ps_dpb_mgr,
140 WORD32 ih264d_update_default_index_list(dpb_manager_t *ps_dpb_mgr);
142 dpb_manager_t *ps_dpb_mgr,
153 void ih264d_reset_ref_bufs(dpb_manager_t *ps_dpb_mgr);
154 WORD32 ih264d_delete_st_node_or_make_lt(dpb_manager_t *ps_dpb_mgr,
159 WORD32 ih264d_delete_gap_frm_mmco(dpb_manager_t *ps_dpb_mgr,
163 WORD32 ih264d_delete_gap_frm_sliding(dpb_manager_t *ps_dpb_mgr,
167 WORD32 ih264d_do_mmco_for_gaps(dpb_manager_t *ps_dpb_mgr,
170 WORD32 ih264d_insert_pic_in_display_list(dpb_manager_t *ps_dpb_mgr,
[all …]
Dih264d_utils.c554 ps_dec->ps_dpb_mgr->u1_mmco_error_in_seq = 0; in ih264d_end_of_pic_processing()
557 ih264d_reset_ref_bufs(ps_dec->ps_dpb_mgr); in ih264d_end_of_pic_processing()
559 ih264d_insert_st_node(ps_dec->ps_dpb_mgr, in ih264d_end_of_pic_processing()
563 ps_dec->ps_dpb_mgr->u1_max_lt_frame_idx = NO_LONG_TERM_INDICIES; in ih264d_end_of_pic_processing()
571 ih264d_insert_st_node(ps_dec->ps_dpb_mgr, in ih264d_end_of_pic_processing()
578 ps_dec->ps_dpb_mgr, in ih264d_end_of_pic_processing()
582 ps_dec->ps_dpb_mgr->u1_max_lt_frame_idx = 0; in ih264d_end_of_pic_processing()
592 if(!ps_dec->ps_dpb_mgr->u1_mmco_error_in_seq) in ih264d_end_of_pic_processing()
594 WORD32 ret = ih264d_do_mmco_buffer(ps_dec->ps_dpb_cmds, ps_dec->ps_dpb_mgr, in ih264d_end_of_pic_processing()
601 ps_dec->ps_dpb_mgr->u1_mmco_error_in_seq = ret != OK; in ih264d_end_of_pic_processing()
[all …]
Dih264d_process_pslice.c987 dpb_manager_t *ps_dpb_mgr; in ih264d_init_ref_idx_lx_p() local
1006 ps_dpb_mgr = ps_dec->ps_dpb_mgr; in ih264d_init_ref_idx_lx_p()
1016 ps_next_dpb = ps_dpb_mgr->ps_dpb_st_head; in ih264d_init_ref_idx_lx_p()
1017 for(i = 0; i < ps_dpb_mgr->u1_num_st_ref_bufs; i++) in ih264d_init_ref_idx_lx_p()
1031 ps_next_dpb = ps_dpb_mgr->ps_dpb_st_head; in ih264d_init_ref_idx_lx_p()
1032 for (j = 0; j < ps_dpb_mgr->u1_num_st_ref_bufs; j++) in ih264d_init_ref_idx_lx_p()
1037 qsort(aps_st_pic_bufs, ps_dpb_mgr->u1_num_st_ref_bufs, in ih264d_init_ref_idx_lx_p()
1041 ps_next_dpb = ps_dpb_mgr->ps_dpb_ht_head; in ih264d_init_ref_idx_lx_p()
1047 for(i = 0; i < ps_dpb_mgr->u1_num_lt_ref_bufs; i++) in ih264d_init_ref_idx_lx_p()
1061 ps_ref_pic_buf_lx = ps_dpb_mgr->ps_init_dpb[0][0]; in ih264d_init_ref_idx_lx_p()
[all …]
Dih264d_process_bslice.c1228 dpb_manager_t *ps_dpb_mgr; in ih264d_init_ref_idx_lx_b() local
1248 ps_dpb_mgr = ps_dec->ps_dpb_mgr; in ih264d_init_ref_idx_lx_b()
1258 ps_next_dpb = ps_dpb_mgr->ps_dpb_st_head; in ih264d_init_ref_idx_lx_b()
1259 for(i = 0; i < ps_dpb_mgr->u1_num_st_ref_bufs; i++) in ih264d_init_ref_idx_lx_b()
1278 ps_next_dpb = ps_dpb_mgr->ps_dpb_st_head; in ih264d_init_ref_idx_lx_b()
1279 for (j = 0; j < ps_dpb_mgr->u1_num_st_ref_bufs; j++) in ih264d_init_ref_idx_lx_b()
1284 qsort(aps_st_pic_bufs, ps_dpb_mgr->u1_num_st_ref_bufs, in ih264d_init_ref_idx_lx_b()
1288 ps_next_dpb = ps_dpb_mgr->ps_dpb_ht_head; in ih264d_init_ref_idx_lx_b()
1294 for(i = 0; i < ps_dpb_mgr->u1_num_lt_ref_bufs; i++) in ih264d_init_ref_idx_lx_b()
1309 ps_ref_pic_buf_lx = ps_dpb_mgr->ps_init_dpb[0][0]; in ih264d_init_ref_idx_lx_b()
[all …]
Dih264d_parse_slice.c307 ih264d_reset_ref_bufs(ps_dec->ps_dpb_mgr); in ih264d_start_of_pic()
446 ps_dec->ps_ref_pic_buf_lx[0] = ps_dec->ps_dpb_mgr->ps_init_dpb[0]; in ih264d_start_of_pic()
447 ps_dec->ps_ref_pic_buf_lx[1] = ps_dec->ps_dpb_mgr->ps_init_dpb[1]; in ih264d_start_of_pic()
448 *(ps_dec->ps_dpb_mgr->ps_init_dpb[0][0]) = *ps_cur_pic; in ih264d_start_of_pic()
450 *(ps_dec->ps_dpb_mgr->ps_init_dpb[0][MAX_REF_BUFS]) = *ps_cur_pic; in ih264d_start_of_pic()
452 *(ps_dec->ps_dpb_mgr->ps_mod_dpb[0][0]) = *ps_cur_pic; in ih264d_start_of_pic()
454 *(ps_dec->ps_dpb_mgr->ps_mod_dpb[0][MAX_REF_BUFS]) = *ps_cur_pic; in ih264d_start_of_pic()
455 *(ps_dec->ps_dpb_mgr->ps_init_dpb[1][0]) = *ps_cur_pic; in ih264d_start_of_pic()
457 *(ps_dec->ps_dpb_mgr->ps_init_dpb[1][MAX_REF_BUFS]) = *ps_cur_pic; in ih264d_start_of_pic()
458 *(ps_dec->ps_dpb_mgr->ps_mod_dpb[1][0]) = *ps_cur_pic; in ih264d_start_of_pic()
[all …]
Dih264d_api.c1121 ps_init_dpb = ps_dec->ps_dpb_mgr->ps_init_dpb[0][0]; in ih264d_init_decoder()
1126 ps_dec->ps_dpb_mgr->ps_init_dpb[0][i] = ps_init_dpb; in ih264d_init_decoder()
1127 ps_dec->ps_dpb_mgr->ps_mod_dpb[0][i] = ps_init_dpb; in ih264d_init_decoder()
1131 ps_init_dpb = ps_dec->ps_dpb_mgr->ps_init_dpb[1][0]; in ih264d_init_decoder()
1136 ps_dec->ps_dpb_mgr->ps_init_dpb[1][i] = ps_init_dpb; in ih264d_init_decoder()
1137 ps_dec->ps_dpb_mgr->ps_mod_dpb[1][i] = ps_init_dpb; in ih264d_init_decoder()
1168 ps_dec->ps_dpb_mgr->pv_codec_handle = ps_dec; in ih264d_init_decoder()
1283 ih264d_init_ref_bufs(ps_dec->ps_dpb_mgr); in ih264d_init_decoder()
1304 ps_dec->ps_dpb_mgr->pv_codec_handle = (void*)ps_dec; in ih264d_init_decoder()
1335 PS_DEC_ALIGNED_FREE(ps_dec, ps_dec->ps_dpb_mgr); in ih264d_free_static_bufs()
[all …]
Dih264d_parse_bslice.c1425 ps_dec->ps_ref_pic_buf_lx[0] = ps_dec->ps_dpb_mgr->ps_mod_dpb[0]; in ih264d_parse_bslice()
1431 ps_dec->ps_ref_pic_buf_lx[0] = ps_dec->ps_dpb_mgr->ps_init_dpb[0]; in ih264d_parse_bslice()
1440 ps_dec->ps_ref_pic_buf_lx[1] = ps_dec->ps_dpb_mgr->ps_mod_dpb[1]; in ih264d_parse_bslice()
1446 ps_dec->ps_ref_pic_buf_lx[1] = ps_dec->ps_dpb_mgr->ps_init_dpb[1]; in ih264d_parse_bslice()
Dih264d_parse_pslice.c1990 ps_dec->ps_ref_pic_buf_lx[0] = ps_dec->ps_dpb_mgr->ps_mod_dpb[0]; in ih264d_parse_pslice()
1994 ps_dec->ps_ref_pic_buf_lx[0] = ps_dec->ps_dpb_mgr->ps_mod_dpb[0]; in ih264d_parse_pslice()
1998 ps_dec->ps_dpb_mgr->ps_init_dpb[0]; in ih264d_parse_pslice()
Dih264d_structs.h970 dpb_manager_t *ps_dpb_mgr; member
/external/libavc/common/
Dih264_dpb_mgr.c87 void ih264_dpb_mgr_init(dpb_mgr_t *ps_dpb_mgr) in ih264_dpb_mgr_init() argument
90 dpb_info_t *ps_dpb_info = ps_dpb_mgr->as_dpb_info; in ih264_dpb_mgr_init()
95 ps_dpb_mgr->as_top_field_pics[i].i4_used_as_ref = INVALID; in ih264_dpb_mgr_init()
96 ps_dpb_mgr->as_bottom_field_pics[i].i4_used_as_ref = INVALID; in ih264_dpb_mgr_init()
97 ps_dpb_mgr->as_top_field_pics[i].i1_field_type = INVALID; in ih264_dpb_mgr_init()
98 ps_dpb_mgr->as_bottom_field_pics[i].i1_field_type = INVALID; in ih264_dpb_mgr_init()
99 ps_dpb_mgr->as_top_field_pics[i].i4_long_term_frame_idx = -1; in ih264_dpb_mgr_init()
100 ps_dpb_mgr->as_bottom_field_pics[i].i4_long_term_frame_idx = -1; in ih264_dpb_mgr_init()
103 ps_dpb_mgr->u1_num_short_term_ref_bufs = 0; in ih264_dpb_mgr_init()
104 ps_dpb_mgr->u1_num_long_term_ref_bufs = 0; in ih264_dpb_mgr_init()
[all …]
Dih264_dpb_mgr.h117 void ih264_dpb_mgr_init(dpb_mgr_t *ps_dpb_mgr);
119 WORD32 ih264_dpb_mgr_insert_ref_frame(dpb_mgr_t *ps_dpb_mgr,
125 WORD32 ih264_dpb_mgr_delete_ref_frame(dpb_mgr_t *ps_dpb_mgr,
128 WORD32 ih264_dpb_mgr_delete_all_ref_frames(dpb_mgr_t *ps_dpb_mgr);
130 WORD32 ih264_dpb_mgr_count_ref_frames(dpb_mgr_t *ps_dpb_mgr,
134 WORD32 ih264_dpb_mgr_delete_short_ref_frame(dpb_mgr_t *ps_dpb_mgr,
138 WORD32 ih264_dpb_mgr_insert_ref_field(dpb_mgr_t *ps_dpb_mgr,
144 WORD32 ih264_dpb_mgr_delete_ref_field(dpb_mgr_t *ps_dpb_mgr,
147 WORD32 ih264_dpb_mgr_alternate_ref_fields(dpb_mgr_t *ps_dpb_mgr,
151 WORD32 ih264_dpb_mgr_sort_short_term_fields_by_frame_num(dpb_mgr_t *ps_dpb_mgr,
[all …]
/external/libhevc/common/
Dihevc_dpb_mgr.c75 void ihevc_dpb_mgr_init(dpb_mgr_t *ps_dpb_mgr) in ihevc_dpb_mgr_init() argument
78 dpb_info_t *ps_dpb_info = ps_dpb_mgr->as_dpb_info; in ihevc_dpb_mgr_init()
86 ps_dpb_mgr->u1_num_ref_bufs = 0; in ihevc_dpb_mgr_init()
87 ps_dpb_mgr->ps_dpb_head = NULL; in ihevc_dpb_mgr_init()
119 WORD32 ihevc_dpb_mgr_insert_ref(dpb_mgr_t *ps_dpb_mgr, in ihevc_dpb_mgr_insert_ref() argument
126 ps_dpb_info = ps_dpb_mgr->as_dpb_info; in ihevc_dpb_mgr_insert_ref()
155 ps_dpb_info[i].ps_prev_dpb = ps_dpb_mgr->ps_dpb_head; in ihevc_dpb_mgr_insert_ref()
160 ps_dpb_mgr->ps_dpb_head = ps_dpb_info + i; in ihevc_dpb_mgr_insert_ref()
163 ps_dpb_mgr->u1_num_ref_bufs++; in ihevc_dpb_mgr_insert_ref()
196 void ihevc_dpb_mgr_del_ref(dpb_mgr_t *ps_dpb_mgr, in ihevc_dpb_mgr_del_ref() argument
[all …]
Dihevc_dpb_mgr.h89 void ihevc_dpb_mgr_init(dpb_mgr_t *ps_dpb_mgr);
91 WORD32 ihevc_dpb_mgr_insert_ref(dpb_mgr_t *ps_dpb_mgr,
95 void ihevc_dpb_mgr_del_ref(dpb_mgr_t *ps_dpb_mgr,
99 pic_buf_t* ihevc_dpb_mgr_get_ref_by_nearest_poc(dpb_mgr_t *ps_dpb_mgr, WORD32 cur_abs_poc);
101 pic_buf_t* ihevc_dpb_mgr_get_ref_by_poc(dpb_mgr_t *ps_dpb_mgr, WORD32 abs_poc);
103 pic_buf_t* ihevc_dpb_mgr_get_ref_by_poc_lsb(dpb_mgr_t *ps_dpb_mgr, WORD32 poc_lsb);
105 void ihevc_dpb_mgr_reset(dpb_mgr_t *ps_dpb_mgr, buf_mgr_t *ps_buf_mgr);
/external/libhevc/decoder/
Dihevcd_ref_list.c105 dpb_mgr_t *ps_dpb_mgr = (dpb_mgr_t *)ps_codec->pv_dpb_mgr; in ihevcd_ref_list() local
315 if(ps_dpb_mgr->as_dpb_info[i].ps_pic_buf) in ihevcd_ref_list()
316 ps_dpb_mgr->as_dpb_info[i].ps_pic_buf->u1_used_as_ref = UNUSED_FOR_REF; in ihevcd_ref_list()
324 ps_pic_buf = ihevc_dpb_mgr_get_ref_by_poc_lsb(ps_dpb_mgr, ai4_poc_lt_curr[i]); in ihevcd_ref_list()
332 ps_pic_buf = ihevc_dpb_mgr_get_ref_by_poc(ps_dpb_mgr, ai4_poc_lt_curr[i]); in ihevcd_ref_list()
344 ps_pic_buf = ihevc_dpb_mgr_get_ref_by_poc_lsb(ps_dpb_mgr, ai4_poc_lt_foll[i]); in ihevcd_ref_list()
352 ps_pic_buf = ihevc_dpb_mgr_get_ref_by_poc(ps_dpb_mgr, ai4_poc_lt_foll[i]); in ihevcd_ref_list()
364 ps_pic_buf = ihevc_dpb_mgr_get_ref_by_poc(ps_dpb_mgr, ai4_poc_st_curr_before[i]); in ihevcd_ref_list()
373 ps_pic_buf = ihevc_dpb_mgr_get_ref_by_poc(ps_dpb_mgr, ai4_poc_st_curr_after[i]); in ihevcd_ref_list()
382 ps_pic_buf = ihevc_dpb_mgr_get_ref_by_poc(ps_dpb_mgr, ai4_poc_st_foll[i]); in ihevcd_ref_list()
[all …]
Dihevcd_debug.h108 #define DEBUG_PRINT_REF_LIST_POCS(i4_pic_order_cnt_val, ps_slice_hdr, ps_dpb_mgr, u4_num_st_curr_be… argument
109 …ihevcd_debug_print_ref_list_pocs(i4_pic_order_cnt_val, ps_slice_hdr, ps_dpb_mgr, u4_num_st_curr_be…
113 #define DEBUG_PRINT_REF_LIST_POCS(i4_pic_order_cnt_val, ps_slice_hdr, ps_dpb_mgr, u4_num_st_curr_be… argument
Dihevcd_parse_slice_header.c945 dpb_mgr_t *ps_dpb_mgr = (dpb_mgr_t *)ps_codec->pv_dpb_mgr; in ihevcd_parse_slice_header() local
957 if(ps_dpb_mgr->as_dpb_info[i].ps_pic_buf) in ihevcd_parse_slice_header()
959 pic_buf_t *ps_pic_buf = ps_dpb_mgr->as_dpb_info[i].ps_pic_buf; in ihevcd_parse_slice_header()
1013 dpb_mgr_t *ps_dpb_mgr = (dpb_mgr_t *)ps_codec->pv_dpb_mgr; in ihevcd_parse_slice_header() local
1016 …ps_pic_buf_ref = ihevc_dpb_mgr_get_ref_by_nearest_poc(ps_dpb_mgr, ps_slice_hdr->i4_abs_pic_order_c… in ihevcd_parse_slice_header()
Dihevcd_utils.c965 dpb_mgr_t *ps_dpb_mgr = (dpb_mgr_t *)ps_codec->pv_dpb_mgr; in ihevcd_parse_pic_init() local
968 …ps_pic_buf_ref = ihevc_dpb_mgr_get_ref_by_nearest_poc(ps_dpb_mgr, ps_slice_hdr->i4_abs_pic_order_c… in ihevcd_parse_pic_init()