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()
92 ps_dpb_mgr->u1_num_gaps = 0; in ih264d_init_ref_bufs()
95 ps_dpb_mgr->ai4_gaps_start_frm_num[i] = INVALID_FRAME_NUM; in ih264d_init_ref_bufs()
96 ps_dpb_mgr->ai4_gaps_end_frm_num[i] = 0; in ih264d_init_ref_bufs()
[all …]
Dih264d_dpb_manager.h132 void ih264d_init_ref_bufs(dpb_manager_t *ps_dpb_mgr);
134 WORD32 ih264d_insert_st_node(dpb_manager_t *ps_dpb_mgr,
138 WORD32 ih264d_update_default_index_list(dpb_manager_t *ps_dpb_mgr);
140 dpb_manager_t *ps_dpb_mgr,
151 void ih264d_reset_ref_bufs(dpb_manager_t *ps_dpb_mgr);
152 WORD32 ih264d_delete_st_node_or_make_lt(dpb_manager_t *ps_dpb_mgr,
157 WORD32 ih264d_delete_gap_frm_mmco(dpb_manager_t *ps_dpb_mgr,
161 WORD32 ih264d_delete_gap_frm_sliding(dpb_manager_t *ps_dpb_mgr,
165 WORD32 ih264d_do_mmco_for_gaps(dpb_manager_t *ps_dpb_mgr,
168 WORD32 ih264d_insert_pic_in_display_list(dpb_manager_t *ps_dpb_mgr,
[all …]
Dih264d_utils.c477 ih264d_reset_ref_bufs(ps_dec->ps_dpb_mgr); in ih264d_end_of_pic_processing()
480 ret = ih264d_insert_st_node(ps_dec->ps_dpb_mgr, in ih264d_end_of_pic_processing()
493 ret = ih264d_insert_st_node(ps_dec->ps_dpb_mgr, in ih264d_end_of_pic_processing()
501 ps_dec->ps_dpb_mgr, in ih264d_end_of_pic_processing()
506 ps_dec->ps_dpb_mgr->u1_max_lt_pic_idx_plus1 = 1; in ih264d_end_of_pic_processing()
519 ps_dec->ps_dpb_cmds, ps_dec->ps_dpb_mgr, in ih264d_end_of_pic_processing()
531 ih264d_update_default_index_list(ps_dec->ps_dpb_mgr); in ih264d_end_of_pic_processing()
738 ps_dec->ps_dpb_mgr->i4_max_frm_num = ps_seq->u2_u4_max_pic_num_minus1 in ih264d_init_pic()
741 ps_dec->ps_dpb_mgr->u2_pic_ht = ps_dec->u2_pic_ht; in ih264d_init_pic()
742 ps_dec->ps_dpb_mgr->u2_pic_wd = ps_dec->u2_pic_wd; in ih264d_init_pic()
[all …]
Dih264d_process_pslice.c971 dpb_manager_t *ps_dpb_mgr; in ih264d_init_ref_idx_lx_p() local
988 ps_dpb_mgr = ps_dec->ps_dpb_mgr; in ih264d_init_ref_idx_lx_p()
998 ps_next_dpb = ps_dpb_mgr->ps_dpb_st_head; in ih264d_init_ref_idx_lx_p()
999 for(i = 0; i < ps_dpb_mgr->u1_num_st_ref_bufs; i++) in ih264d_init_ref_idx_lx_p()
1013 ps_next_dpb = ps_dpb_mgr->ps_dpb_ht_head; in ih264d_init_ref_idx_lx_p()
1019 for(i = 0; i < ps_dpb_mgr->u1_num_lt_ref_bufs; i++) in ih264d_init_ref_idx_lx_p()
1033 ps_ref_pic_buf_lx = ps_dpb_mgr->ps_init_dpb[0][0]; in ih264d_init_ref_idx_lx_p()
1039 ps_ref_pic_buf_lx = ps_dpb_mgr->ps_init_dpb[0][0]; in ih264d_init_ref_idx_lx_p()
1049 ps_next_dpb = ps_dpb_mgr->ps_dpb_st_head; in ih264d_init_ref_idx_lx_p()
1050 for(i = 0; i < ps_dpb_mgr->u1_num_st_ref_bufs; i++) in ih264d_init_ref_idx_lx_p()
[all …]
Dih264d_process_bslice.c1211 dpb_manager_t *ps_dpb_mgr; in ih264d_init_ref_idx_lx_b() local
1229 ps_dpb_mgr = ps_dec->ps_dpb_mgr; in ih264d_init_ref_idx_lx_b()
1239 ps_next_dpb = ps_dpb_mgr->ps_dpb_st_head; in ih264d_init_ref_idx_lx_b()
1240 for(i = 0; i < ps_dpb_mgr->u1_num_st_ref_bufs; i++) in ih264d_init_ref_idx_lx_b()
1259 ps_next_dpb = ps_dpb_mgr->ps_dpb_ht_head; in ih264d_init_ref_idx_lx_b()
1265 for(i = 0; i < ps_dpb_mgr->u1_num_lt_ref_bufs; i++) in ih264d_init_ref_idx_lx_b()
1279 ps_ref_pic_buf_lx = ps_dpb_mgr->ps_init_dpb[0][0]; in ih264d_init_ref_idx_lx_b()
1285 ps_ref_pic_buf_lx = ps_dpb_mgr->ps_init_dpb[0][0]; in ih264d_init_ref_idx_lx_b()
1294 ps_next_dpb = ps_dpb_mgr->ps_dpb_st_head; in ih264d_init_ref_idx_lx_b()
1295 for(i = 0; i < ps_dpb_mgr->u1_num_st_ref_bufs; i++) in ih264d_init_ref_idx_lx_b()
[all …]
Dih264d_api.c962 ps_dec->ps_dpb_mgr->pv_codec_handle = ps_dec; in ih264d_init_decoder()
1077 ih264d_init_ref_bufs(ps_dec->ps_dpb_mgr); in ih264d_init_decoder()
1098 ps_dec->ps_dpb_mgr->pv_codec_handle = (void*)ps_dec; in ih264d_init_decoder()
1129 PS_DEC_ALIGNED_FREE(ps_dec, ps_dec->ps_dpb_mgr); in ih264d_free_static_bufs()
1263 ps_dec->ps_dpb_mgr = pv_buf; in ih264d_allocate_static_bufs()
1374 ps_dec->ps_dpb_mgr->ps_init_dpb[0][0] = (struct pic_buffer_t *)pu1_buf; in ih264d_allocate_static_bufs()
1377 ps_dec->ps_dpb_mgr->ps_init_dpb[1][0] = (struct pic_buffer_t *)pu1_buf; in ih264d_allocate_static_bufs()
1414 ps_init_dpb = ps_dec->ps_dpb_mgr->ps_init_dpb[0][0]; in ih264d_allocate_static_bufs()
1419 ps_dec->ps_dpb_mgr->ps_init_dpb[0][i] = ps_init_dpb; in ih264d_allocate_static_bufs()
1420 ps_dec->ps_dpb_mgr->ps_mod_dpb[0][i] = ps_init_dpb; in ih264d_allocate_static_bufs()
[all …]
Dih264d_parse_slice.c304 ih264d_reset_ref_bufs(ps_dec->ps_dpb_mgr); in ih264d_start_of_pic()
442 ps_dec->ps_ref_pic_buf_lx[0] = ps_dec->ps_dpb_mgr->ps_init_dpb[0]; in ih264d_start_of_pic()
443 *(ps_dec->ps_dpb_mgr->ps_init_dpb[0][0]) = *ps_cur_pic; in ih264d_start_of_pic()
749 ih264d_delete_nonref_nondisplay_pics(ps_dec->ps_dpb_mgr); in ih264d_end_of_pic_dispbuf_mgr()
756 ih264d_reset_ref_bufs(ps_dec->ps_dpb_mgr); in ih264d_end_of_pic_dispbuf_mgr()
809 ps_dec->ps_dpb_mgr, in ih264d_end_of_pic_dispbuf_mgr()
Dih264d_parse_bslice.c1435 ps_dec->ps_ref_pic_buf_lx[0] = ps_dec->ps_dpb_mgr->ps_mod_dpb[0]; in ih264d_parse_bslice()
1441 ps_dec->ps_ref_pic_buf_lx[0] = ps_dec->ps_dpb_mgr->ps_init_dpb[0]; in ih264d_parse_bslice()
1450 ps_dec->ps_ref_pic_buf_lx[1] = ps_dec->ps_dpb_mgr->ps_mod_dpb[1]; in ih264d_parse_bslice()
1456 ps_dec->ps_ref_pic_buf_lx[1] = ps_dec->ps_dpb_mgr->ps_init_dpb[1]; in ih264d_parse_bslice()
Dih264d_parse_pslice.c1967 ps_dec->ps_ref_pic_buf_lx[0] = ps_dec->ps_dpb_mgr->ps_mod_dpb[0]; in ih264d_parse_pslice()
1971 ps_dec->ps_ref_pic_buf_lx[0] = ps_dec->ps_dpb_mgr->ps_mod_dpb[0]; in ih264d_parse_pslice()
1975 ps_dec->ps_dpb_mgr->ps_init_dpb[0]; in ih264d_parse_pslice()
Dih264d_structs.h971 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.c862 dpb_mgr_t *ps_dpb_mgr = (dpb_mgr_t *)ps_codec->pv_dpb_mgr; in ihevcd_parse_slice_header() local
874 if(ps_dpb_mgr->as_dpb_info[i].ps_pic_buf) in ihevcd_parse_slice_header()
876 pic_buf_t *ps_pic_buf = ps_dpb_mgr->as_dpb_info[i].ps_pic_buf; in ihevcd_parse_slice_header()
926 dpb_mgr_t *ps_dpb_mgr = (dpb_mgr_t *)ps_codec->pv_dpb_mgr; in ihevcd_parse_slice_header() local
929 …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.c799 dpb_mgr_t *ps_dpb_mgr = (dpb_mgr_t *)ps_codec->pv_dpb_mgr; in ihevcd_parse_pic_init() local
802 …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()