• Home
  • Raw
  • Download

Lines Matching refs:ps_dpb_mgr

69 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()
97 ps_dpb_mgr->ai4_gaps_end_frm_num[i] = 0; in ih264d_init_ref_bufs()
98 ps_dpb_mgr->ai1_gaps_per_seq[i] = 0; in ih264d_init_ref_bufs()
99 ps_dpb_mgr->ai4_poc_buf_id_map[i][0] = -1; in ih264d_init_ref_bufs()
100 ps_dpb_mgr->ai4_poc_buf_id_map[i][1] = 0x7fffffff; in ih264d_init_ref_bufs()
101 ps_dpb_mgr->ai4_poc_buf_id_map[i][2] = 0; in ih264d_init_ref_bufs()
135 WORD32 ih264d_delete_lt_node(dpb_manager_t *ps_dpb_mgr, in ih264d_delete_lt_node() argument
142 if(ps_dpb_mgr->u1_num_lt_ref_bufs > 0) in ih264d_delete_lt_node()
150 ps_next_dpb = ps_dpb_mgr->ps_dpb_ht_head; in ih264d_delete_lt_node()
157 for(i = 1; i < ps_dpb_mgr->u1_num_lt_ref_bufs; i++) in ih264d_delete_lt_node()
163 if(i == ps_dpb_mgr->u1_num_lt_ref_bufs) in ih264d_delete_lt_node()
217 if(ps_unmark_node == ps_dpb_mgr->ps_dpb_ht_head) in ih264d_delete_lt_node()
218 ps_dpb_mgr->ps_dpb_ht_head = ps_next_dpb->ps_prev_long; in ih264d_delete_lt_node()
226 ih264d_free_ref_pic_mv_bufs(ps_dpb_mgr->pv_codec_handle, in ih264d_delete_lt_node()
230 ps_dpb_mgr->u1_num_lt_ref_bufs--; //decrement LT buf count in ih264d_delete_lt_node()
248 WORD32 ih264d_insert_lt_node(dpb_manager_t *ps_dpb_mgr, in ih264d_insert_lt_node() argument
305 if(ps_dpb_mgr->u1_num_lt_ref_bufs > 0) in ih264d_insert_lt_node()
307 struct dpb_info_t *ps_next_dpb = ps_dpb_mgr->ps_dpb_ht_head; in ih264d_insert_lt_node()
313 ps_dpb_mgr->ps_dpb_ht_head = ps_mov_node; in ih264d_insert_lt_node()
320 for(i = 1; i < ps_dpb_mgr->u1_num_lt_ref_bufs; i++) in ih264d_insert_lt_node()
334 ps_dpb_mgr->ps_dpb_ht_head = ps_mov_node; in ih264d_insert_lt_node()
344 ps_dpb_mgr->u1_num_lt_ref_bufs++; in ih264d_insert_lt_node()
364 WORD32 ih264d_insert_st_node(dpb_manager_t *ps_dpb_mgr, in ih264d_insert_st_node() argument
370 struct dpb_info_t *ps_dpb_info = ps_dpb_mgr->as_dpb_info; in ih264d_insert_st_node()
407 ps_dpb_info[i].ps_prev_short = ps_dpb_mgr->ps_dpb_st_head; in ih264d_insert_st_node()
415 ps_dpb_mgr->ps_dpb_st_head = ps_dpb_info + i; in ih264d_insert_st_node()
418 ps_dpb_mgr->u1_num_st_ref_bufs++; in ih264d_insert_st_node()
453 WORD32 ih264d_delete_st_node_or_make_lt(dpb_manager_t *ps_dpb_mgr, in ih264d_delete_st_node_or_make_lt() argument
477 ps_next_dpb = ps_dpb_mgr->ps_dpb_st_head; in ih264d_delete_st_node_or_make_lt()
484 for(i = 1; i < ps_dpb_mgr->u1_num_st_ref_bufs; i++) in ih264d_delete_st_node_or_make_lt()
491 if(i == ps_dpb_mgr->u1_num_st_ref_bufs) in ih264d_delete_st_node_or_make_lt()
493 if(ps_dpb_mgr->u1_num_gaps) in ih264d_delete_st_node_or_make_lt()
495 ret = ih264d_delete_gap_frm_mmco(ps_dpb_mgr, i4_frame_num, &u1_del_st); in ih264d_delete_st_node_or_make_lt()
533 WORD32 i4_size = ((ps_dpb_mgr->u2_pic_wd in ih264d_delete_st_node_or_make_lt()
534 * ps_dpb_mgr->u2_pic_ht) >> 5); in ih264d_delete_st_node_or_make_lt()
548 + ((ps_dpb_mgr->u2_pic_wd in ih264d_delete_st_node_or_make_lt()
549 * ps_dpb_mgr->u2_pic_ht) in ih264d_delete_st_node_or_make_lt()
551 WORD32 i4_size = ((ps_dpb_mgr->u2_pic_wd in ih264d_delete_st_node_or_make_lt()
552 * ps_dpb_mgr->u2_pic_ht) >> 5); in ih264d_delete_st_node_or_make_lt()
570 WORD32 i4_size = ((ps_dpb_mgr->u2_pic_wd in ih264d_delete_st_node_or_make_lt()
571 * ps_dpb_mgr->u2_pic_ht) >> 4); in ih264d_delete_st_node_or_make_lt()
579 if(ps_unmark_node == ps_dpb_mgr->ps_dpb_st_head) in ih264d_delete_st_node_or_make_lt()
580 ps_dpb_mgr->ps_dpb_st_head = ps_next_dpb->ps_prev_short; in ih264d_delete_st_node_or_make_lt()
583 ps_dpb_mgr->u1_num_st_ref_bufs--; //decrement ST buf count in ih264d_delete_st_node_or_make_lt()
592 ih264d_free_ref_pic_mv_bufs(ps_dpb_mgr->pv_codec_handle, in ih264d_delete_st_node_or_make_lt()
601 ret = ih264d_delete_lt_node(ps_dpb_mgr, u4_lt_idx, in ih264d_delete_st_node_or_make_lt()
606 ret = ih264d_insert_lt_node(ps_dpb_mgr, ps_unmark_node, u4_lt_idx, in ih264d_delete_st_node_or_make_lt()
624 void ih264d_reset_ref_bufs(dpb_manager_t *ps_dpb_mgr) in ih264d_reset_ref_bufs() argument
627 struct dpb_info_t *ps_dpb_info = ps_dpb_mgr->as_dpb_info; in ih264d_reset_ref_bufs()
644 ih264d_free_ref_pic_mv_bufs(ps_dpb_mgr->pv_codec_handle, in ih264d_reset_ref_bufs()
648 ps_dpb_mgr->u1_num_st_ref_bufs = ps_dpb_mgr->u1_num_lt_ref_bufs = 0; in ih264d_reset_ref_bufs()
649 ps_dpb_mgr->ps_dpb_st_head = NULL; in ih264d_reset_ref_bufs()
650 ps_dpb_mgr->ps_dpb_ht_head = NULL; in ih264d_reset_ref_bufs()
651 ps_dpb_mgr->u1_mmco_error_in_seq = 0; in ih264d_reset_ref_bufs()
654 ps_dpb_mgr->u1_num_gaps = 0; in ih264d_reset_ref_bufs()
657 ps_dpb_mgr->ai4_gaps_start_frm_num[i] = INVALID_FRAME_NUM; in ih264d_reset_ref_bufs()
658 ps_dpb_mgr->ai4_gaps_end_frm_num[i] = 0; in ih264d_reset_ref_bufs()
659 ps_dpb_mgr->ai1_gaps_per_seq[i] = 0; in ih264d_reset_ref_bufs()
675 WORD32 ih264d_update_default_index_list(dpb_manager_t *ps_dpb_mgr) in ih264d_update_default_index_list() argument
678 struct dpb_info_t *ps_next_dpb = ps_dpb_mgr->ps_dpb_st_head; in ih264d_update_default_index_list()
680 for(i = 0; i < ps_dpb_mgr->u1_num_st_ref_bufs; i++) in ih264d_update_default_index_list()
682 ps_dpb_mgr->ps_def_dpb[i] = ps_next_dpb->ps_pic_buf; in ih264d_update_default_index_list()
686 ps_next_dpb = ps_dpb_mgr->ps_dpb_ht_head; in ih264d_update_default_index_list()
687 for(;i< ps_dpb_mgr->u1_num_st_ref_bufs + ps_dpb_mgr->u1_num_lt_ref_bufs; i++) in ih264d_update_default_index_list()
689 ps_dpb_mgr->ps_def_dpb[i] = ps_next_dpb->ps_pic_buf; in ih264d_update_default_index_list()
719 dpb_manager_t *ps_dpb_mgr = ps_dec->ps_dpb_mgr; in ih264d_ref_idx_reordering() local
778 if(ps_dpb_mgr->ps_init_dpb[uc_lx][i]->i4_pic_num == i_temp) in ih264d_ref_idx_reordering()
789 ps_dpb_mgr->ps_mod_dpb[uc_lx][modCount++] = in ih264d_ref_idx_reordering()
790 ps_dpb_mgr->ps_init_dpb[uc_lx][i]; in ih264d_ref_idx_reordering()
804 if(!ps_dpb_mgr->ps_init_dpb[uc_lx][i]->u1_is_short) in ih264d_ref_idx_reordering()
806 if(ps_dpb_mgr->ps_init_dpb[uc_lx][i]->u1_long_term_pic_num in ih264d_ref_idx_reordering()
819 ps_dpb_mgr->ps_mod_dpb[uc_lx][modCount++] = in ih264d_ref_idx_reordering()
820 ps_dpb_mgr->ps_init_dpb[uc_lx][i]; in ih264d_ref_idx_reordering()
832 ps_dpb_mgr->ps_mod_dpb[uc_lx][modCount++] = in ih264d_ref_idx_reordering()
833 ps_dpb_mgr->ps_init_dpb[uc_lx][i]; in ih264d_ref_idx_reordering()
997 dpb_manager_t *ps_dpb_mgr, in ih264d_do_mmco_buffer() argument
1018 u1_num_gaps = ps_dpb_mgr->u1_num_gaps; in ih264d_do_mmco_buffer()
1023 if((ps_dpb_mgr->u1_num_st_ref_bufs in ih264d_do_mmco_buffer()
1024 + ps_dpb_mgr->u1_num_lt_ref_bufs + u1_num_gaps) in ih264d_do_mmco_buffer()
1028 if((0 == ps_dpb_mgr->u1_num_st_ref_bufs) && (0 == u1_num_gaps)) in ih264d_do_mmco_buffer()
1036 ps_next_dpb = ps_dpb_mgr->ps_dpb_st_head; in ih264d_do_mmco_buffer()
1038 if(ps_dpb_mgr->u1_num_st_ref_bufs > 1) in ih264d_do_mmco_buffer()
1049 for(i = 1; i < (ps_dpb_mgr->u1_num_st_ref_bufs - 1); i++) in ih264d_do_mmco_buffer()
1079 ret = ih264d_delete_gap_frm_sliding(ps_dpb_mgr, in ih264d_do_mmco_buffer()
1088 ps_dpb_mgr->u1_num_st_ref_bufs--; in ih264d_do_mmco_buffer()
1095 ih264d_free_ref_pic_mv_bufs(ps_dpb_mgr->pv_codec_handle, in ih264d_do_mmco_buffer()
1104 if(ps_dpb_mgr->u1_num_st_ref_bufs) in ih264d_do_mmco_buffer()
1106 ret = ih264d_delete_gap_frm_sliding(ps_dpb_mgr, in ih264d_do_mmco_buffer()
1114 ps_dpb_mgr->u1_num_st_ref_bufs--; in ih264d_do_mmco_buffer()
1120 ih264d_free_ref_pic_mv_bufs(ps_dpb_mgr->pv_codec_handle, in ih264d_do_mmco_buffer()
1124 ps_dpb_mgr->ps_dpb_st_head = NULL; in ih264d_do_mmco_buffer()
1133 else if(ps_dpb_mgr->u1_num_st_ref_bufs > 0) in ih264d_do_mmco_buffer()
1135 ps_dpb_mgr->u1_num_st_ref_bufs--; in ih264d_do_mmco_buffer()
1141 ih264d_free_ref_pic_mv_bufs(ps_dpb_mgr->pv_codec_handle, in ih264d_do_mmco_buffer()
1150 ret = ih264d_delete_gap_frm_sliding(ps_dpb_mgr, in ih264d_do_mmco_buffer()
1199 if(ps_dpb_mgr->u1_num_st_ref_bufs > 0) in ih264d_do_mmco_buffer()
1201 ret = ih264d_delete_st_node_or_make_lt(ps_dpb_mgr, in ih264d_do_mmco_buffer()
1211 ret = ih264d_delete_gap_frm_mmco(ps_dpb_mgr, i4_pic_num, &u1_dummy); in ih264d_do_mmco_buffer()
1221 ret = ih264d_delete_lt_node(ps_dpb_mgr, in ih264d_do_mmco_buffer()
1255 if((ps_dpb_mgr->u1_max_lt_frame_idx == NO_LONG_TERM_INDICIES) || in ih264d_do_mmco_buffer()
1256 (u4_lt_idx > ps_dpb_mgr->u1_max_lt_frame_idx)) in ih264d_do_mmco_buffer()
1261 if(ps_dpb_mgr->u1_num_st_ref_bufs > 0) in ih264d_do_mmco_buffer()
1263 ret = ih264d_delete_st_node_or_make_lt(ps_dpb_mgr, in ih264d_do_mmco_buffer()
1273 UWORD8 uc_numLT = ps_dpb_mgr->u1_num_lt_ref_bufs; in ih264d_do_mmco_buffer()
1275 if(u4_lt_idx <= ps_dpb_mgr->u1_max_lt_frame_idx in ih264d_do_mmco_buffer()
1280 ps_nxtDPB = ps_dpb_mgr->ps_dpb_ht_head; in ih264d_do_mmco_buffer()
1285 ps_dpb_mgr->ps_dpb_ht_head = NULL; in ih264d_do_mmco_buffer()
1298 ps_dpb_mgr->u1_num_lt_ref_bufs = i; in ih264d_do_mmco_buffer()
1314 ih264d_free_ref_pic_mv_bufs(ps_dpb_mgr->pv_codec_handle, in ih264d_do_mmco_buffer()
1322 ps_dpb_mgr->u1_max_lt_frame_idx = NO_LONG_TERM_INDICIES; in ih264d_do_mmco_buffer()
1326 ps_dpb_mgr->u1_max_lt_frame_idx = u4_lt_idx - 1; in ih264d_do_mmco_buffer()
1334 if((ps_dpb_mgr->u1_max_lt_frame_idx == NO_LONG_TERM_INDICIES) || in ih264d_do_mmco_buffer()
1335 (u4_lt_idx > ps_dpb_mgr->u1_max_lt_frame_idx)) in ih264d_do_mmco_buffer()
1339 ret = ih264d_insert_st_node(ps_dpb_mgr, ps_pic_buf, u1_buf_id, in ih264d_do_mmco_buffer()
1344 if(ps_dpb_mgr->u1_num_st_ref_bufs > 0) in ih264d_do_mmco_buffer()
1347 ret = ih264d_delete_st_node_or_make_lt(ps_dpb_mgr, in ih264d_do_mmco_buffer()
1368 ih264d_reset_ref_bufs(ps_dpb_mgr); in ih264d_do_mmco_buffer()
1375 ret = ih264d_insert_st_node(ps_dpb_mgr, ps_pic_buf, u1_buf_id, in ih264d_do_mmco_buffer()
1446 WORD32 ih264d_delete_gap_frm_sliding(dpb_manager_t *ps_dpb_mgr, in ih264d_delete_gap_frm_sliding() argument
1459 if(0 == ps_dpb_mgr->u1_num_gaps) in ih264d_delete_gap_frm_sliding()
1461 pi4_gaps_start_frm_num = ps_dpb_mgr->ai4_gaps_start_frm_num; in ih264d_delete_gap_frm_sliding()
1462 pi4_gaps_end_frm_num = ps_dpb_mgr->ai4_gaps_end_frm_num; in ih264d_delete_gap_frm_sliding()
1464 i4_max_frm_num = ps_dpb_mgr->i4_max_frm_num; in ih264d_delete_gap_frm_sliding()
1539 i4_frm_num = ps_dpb_mgr->ai4_poc_buf_id_map[j][2]; in ih264d_delete_gap_frm_sliding()
1554 ps_dpb_mgr->ai4_poc_buf_id_map[j_min][0] = -1; in ih264d_delete_gap_frm_sliding()
1555 ps_dpb_mgr->ai4_poc_buf_id_map[j_min][1] = 0x7fffffff; in ih264d_delete_gap_frm_sliding()
1556 ps_dpb_mgr->ai4_poc_buf_id_map[j_min][2] = GAP_FRAME_NUM; in ih264d_delete_gap_frm_sliding()
1557 ps_dpb_mgr->i1_gaps_deleted++; in ih264d_delete_gap_frm_sliding()
1559 ps_dpb_mgr->ai1_gaps_per_seq[i1_gap_idx]--; in ih264d_delete_gap_frm_sliding()
1560 ps_dpb_mgr->u1_num_gaps--; in ih264d_delete_gap_frm_sliding()
1562 if(0 == ps_dpb_mgr->ai1_gaps_per_seq[i1_gap_idx]) in ih264d_delete_gap_frm_sliding()
1564 ps_dpb_mgr->ai4_gaps_start_frm_num[i1_gap_idx] = in ih264d_delete_gap_frm_sliding()
1566 ps_dpb_mgr->ai4_gaps_end_frm_num[i1_gap_idx] = 0; in ih264d_delete_gap_frm_sliding()
1600 WORD32 ih264d_delete_gap_frm_mmco(dpb_manager_t *ps_dpb_mgr, in ih264d_delete_gap_frm_mmco() argument
1611 pi4_start = ps_dpb_mgr->ai4_gaps_start_frm_num; in ih264d_delete_gap_frm_mmco()
1612 pi4_end = ps_dpb_mgr->ai4_gaps_end_frm_num; in ih264d_delete_gap_frm_mmco()
1613 i4_max_frm_num = ps_dpb_mgr->i4_max_frm_num; in ih264d_delete_gap_frm_mmco()
1615 if(0 == ps_dpb_mgr->u1_num_gaps) in ih264d_delete_gap_frm_mmco()
1653 if(i4_frame_num == ps_dpb_mgr->ai4_poc_buf_id_map[j][2]) in ih264d_delete_gap_frm_mmco()
1666 ps_dpb_mgr->ai4_poc_buf_id_map[j][0] = -1; in ih264d_delete_gap_frm_mmco()
1667 ps_dpb_mgr->ai4_poc_buf_id_map[j][1] = 0x7fffffff; in ih264d_delete_gap_frm_mmco()
1668 ps_dpb_mgr->ai4_poc_buf_id_map[j][2] = GAP_FRAME_NUM; in ih264d_delete_gap_frm_mmco()
1669 ps_dpb_mgr->i1_gaps_deleted++; in ih264d_delete_gap_frm_mmco()
1671 ps_dpb_mgr->ai1_gaps_per_seq[i]--; in ih264d_delete_gap_frm_mmco()
1672 ps_dpb_mgr->u1_num_gaps--; in ih264d_delete_gap_frm_mmco()
1674 if(0 == ps_dpb_mgr->ai1_gaps_per_seq[i]) in ih264d_delete_gap_frm_mmco()
1676 ps_dpb_mgr->ai4_gaps_start_frm_num[i] = INVALID_FRAME_NUM; in ih264d_delete_gap_frm_mmco()
1677 ps_dpb_mgr->ai4_gaps_end_frm_num[i] = 0; in ih264d_delete_gap_frm_mmco()
1705 WORD32 ih264d_do_mmco_for_gaps(dpb_manager_t *ps_dpb_mgr, in ih264d_do_mmco_for_gaps() argument
1717 u1_st_ref_bufs = ps_dpb_mgr->u1_num_st_ref_bufs; in ih264d_do_mmco_for_gaps()
1718 u1_lt_ref_bufs = ps_dpb_mgr->u1_num_lt_ref_bufs; in ih264d_do_mmco_for_gaps()
1722 u1_num_gaps = ps_dpb_mgr->u1_num_gaps; in ih264d_do_mmco_for_gaps()
1729 ps_dpb_mgr->u1_num_gaps = (u1_num_ref_frames in ih264d_do_mmco_for_gaps()
1735 ps_next_dpb = ps_dpb_mgr->ps_dpb_st_head; in ih264d_do_mmco_for_gaps()
1757 ret = ih264d_delete_gap_frm_sliding(ps_dpb_mgr, in ih264d_do_mmco_for_gaps()
1773 ih264d_free_ref_pic_mv_bufs(ps_dpb_mgr->pv_codec_handle, in ih264d_do_mmco_for_gaps()
1785 ret = ih264d_delete_gap_frm_sliding(ps_dpb_mgr, in ih264d_do_mmco_for_gaps()
1800 ih264d_free_ref_pic_mv_bufs(ps_dpb_mgr->pv_codec_handle, in ih264d_do_mmco_for_gaps()
1804 ps_dpb_mgr->ps_dpb_st_head = NULL; in ih264d_do_mmco_for_gaps()
1805 ps_dpb_mgr->u1_num_st_ref_bufs = u1_st_ref_bufs; in ih264d_do_mmco_for_gaps()
1810 ret = ih264d_delete_gap_frm_sliding(ps_dpb_mgr, in ih264d_do_mmco_for_gaps()
1825 ps_dpb_mgr->u1_num_gaps += i4_frame_gaps; in ih264d_do_mmco_for_gaps()
1830 ps_dpb_mgr->u1_num_st_ref_bufs = u1_st_ref_bufs; in ih264d_do_mmco_for_gaps()
1858 WORD32 ih264d_free_node_from_dpb(dpb_manager_t *ps_dpb_mgr, in ih264d_free_node_from_dpb() argument
1863 UWORD8 u1_num_gaps = ps_dpb_mgr->u1_num_gaps; in ih264d_free_node_from_dpb()
1869 if((ps_dpb_mgr->u1_num_st_ref_bufs + ps_dpb_mgr->u1_num_lt_ref_bufs in ih264d_free_node_from_dpb()
1873 if((0 == ps_dpb_mgr->u1_num_st_ref_bufs) && (0 == u1_num_gaps)) in ih264d_free_node_from_dpb()
1879 ps_next_dpb = ps_dpb_mgr->ps_dpb_st_head; in ih264d_free_node_from_dpb()
1881 if(ps_dpb_mgr->u1_num_st_ref_bufs > 1) in ih264d_free_node_from_dpb()
1892 for(i = 1; i < (ps_dpb_mgr->u1_num_st_ref_bufs - 1); i++) in ih264d_free_node_from_dpb()
1915 ret = ih264d_delete_gap_frm_sliding(ps_dpb_mgr, in ih264d_free_node_from_dpb()
1924 ps_dpb_mgr->u1_num_st_ref_bufs--; in ih264d_free_node_from_dpb()
1930 ih264d_free_ref_pic_mv_bufs(ps_dpb_mgr->pv_codec_handle, in ih264d_free_node_from_dpb()
1939 if(ps_dpb_mgr->u1_num_st_ref_bufs) in ih264d_free_node_from_dpb()
1941 ret = ih264d_delete_gap_frm_sliding(ps_dpb_mgr, in ih264d_free_node_from_dpb()
1949 ps_dpb_mgr->u1_num_st_ref_bufs--; in ih264d_free_node_from_dpb()
1953 ih264d_free_ref_pic_mv_bufs(ps_dpb_mgr->pv_codec_handle, in ih264d_free_node_from_dpb()
1961 ret = ih264d_delete_gap_frm_sliding(ps_dpb_mgr, INVALID_FRAME_NUM, &u1_del_node); in ih264d_free_node_from_dpb()
1994 void ih264d_delete_nonref_nondisplay_pics(dpb_manager_t *ps_dpb_mgr) in ih264d_delete_nonref_nondisplay_pics() argument
1997 WORD32 (*i4_poc_buf_id_map)[3] = ps_dpb_mgr->ai4_poc_buf_id_map; in ih264d_delete_nonref_nondisplay_pics()
2000 for(i = 0; (i < MAX_FRAMES) && ps_dpb_mgr->i1_gaps_deleted; i++) in ih264d_delete_nonref_nondisplay_pics()
2004 ps_dpb_mgr->i1_gaps_deleted--; in ih264d_delete_nonref_nondisplay_pics()
2005 ps_dpb_mgr->i1_poc_buf_id_entries--; in ih264d_delete_nonref_nondisplay_pics()
2035 WORD32 ih264d_insert_pic_in_display_list(dpb_manager_t *ps_dpb_mgr, in ih264d_insert_pic_in_display_list() argument
2041 WORD32 (*i4_poc_buf_id_map)[3] = ps_dpb_mgr->ai4_poc_buf_id_map; in ih264d_insert_pic_in_display_list()
2049 ps_dpb_mgr->i1_gaps_deleted--; in ih264d_insert_pic_in_display_list()
2051 ps_dpb_mgr->i1_poc_buf_id_entries++; in ih264d_insert_pic_in_display_list()