Lines Matching refs:ps_pic_buf
94 ps_dpb_info[i].ps_pic_buf = NULL; in ih264_dpb_mgr_init()
147 pic_buf_t *ps_pic_buf; in ih264_dpb_mgr_sort_short_term_fields_by_frame_num() local
156 frame_num_node1 = ps_dpb_node1->ps_pic_buf->i4_frame_num; in ih264_dpb_mgr_sort_short_term_fields_by_frame_num()
157 frame_num_node2 = ps_dpb_node2->ps_pic_buf->i4_frame_num; in ih264_dpb_mgr_sort_short_term_fields_by_frame_num()
166 ps_pic_buf = ps_dpb_node1->ps_pic_buf; in ih264_dpb_mgr_sort_short_term_fields_by_frame_num()
167 ps_dpb_node1->ps_pic_buf = ps_dpb_node2->ps_pic_buf; in ih264_dpb_mgr_sort_short_term_fields_by_frame_num()
168 ps_dpb_node2->ps_pic_buf = ps_pic_buf; in ih264_dpb_mgr_sort_short_term_fields_by_frame_num()
181 pic_buf_t *ps_pic_node1 = ps_dpb_node1->ps_pic_buf; in ih264_dpb_mgr_sort_short_term_fields_by_frame_num()
182 pic_buf_t *ps_pic_node2 = ps_dpb_node2->ps_pic_buf; in ih264_dpb_mgr_sort_short_term_fields_by_frame_num()
190 ps_dpb_node1->ps_pic_buf = ps_pic_node2; in ih264_dpb_mgr_sort_short_term_fields_by_frame_num()
191 ps_dpb_node2->ps_pic_buf = ps_pic_node1; in ih264_dpb_mgr_sort_short_term_fields_by_frame_num()
237 pic_buf_t *ps_pic_buf; in ih264_dpb_mgr_sort_short_term_fields_by_poc_l0() local
251 poc_node1 = ps_dpb_node1->ps_pic_buf->i4_abs_poc; in ih264_dpb_mgr_sort_short_term_fields_by_poc_l0()
252 poc_node2 = ps_dpb_node2->ps_pic_buf->i4_abs_poc; in ih264_dpb_mgr_sort_short_term_fields_by_poc_l0()
260 ps_pic_buf = ps_dpb_node1->ps_pic_buf; in ih264_dpb_mgr_sort_short_term_fields_by_poc_l0()
261 ps_dpb_node1->ps_pic_buf = ps_dpb_node2->ps_pic_buf; in ih264_dpb_mgr_sort_short_term_fields_by_poc_l0()
262 ps_dpb_node2->ps_pic_buf = ps_pic_buf; in ih264_dpb_mgr_sort_short_term_fields_by_poc_l0()
270 pic_buf_t *ps_pic_node1 = ps_dpb_node1->ps_pic_buf; in ih264_dpb_mgr_sort_short_term_fields_by_poc_l0()
271 pic_buf_t *ps_pic_node2 = ps_dpb_node2->ps_pic_buf; in ih264_dpb_mgr_sort_short_term_fields_by_poc_l0()
279 ps_dpb_node1->ps_pic_buf = ps_pic_node2; in ih264_dpb_mgr_sort_short_term_fields_by_poc_l0()
280 ps_dpb_node2->ps_pic_buf = ps_pic_node1; in ih264_dpb_mgr_sort_short_term_fields_by_poc_l0()
326 pic_buf_t *ps_pic_buf; in ih264_dpb_mgr_sort_short_term_fields_by_poc_l1() local
340 poc_node1 = ps_dpb_node1->ps_pic_buf->i4_abs_poc; in ih264_dpb_mgr_sort_short_term_fields_by_poc_l1()
341 poc_node2 = ps_dpb_node2->ps_pic_buf->i4_abs_poc; in ih264_dpb_mgr_sort_short_term_fields_by_poc_l1()
349 ps_pic_buf = ps_dpb_node1->ps_pic_buf; in ih264_dpb_mgr_sort_short_term_fields_by_poc_l1()
350 ps_dpb_node1->ps_pic_buf = ps_dpb_node2->ps_pic_buf; in ih264_dpb_mgr_sort_short_term_fields_by_poc_l1()
351 ps_dpb_node2->ps_pic_buf = ps_pic_buf; in ih264_dpb_mgr_sort_short_term_fields_by_poc_l1()
359 pic_buf_t *ps_pic_node1 = ps_dpb_node1->ps_pic_buf; in ih264_dpb_mgr_sort_short_term_fields_by_poc_l1()
360 pic_buf_t *ps_pic_node2 = ps_dpb_node2->ps_pic_buf; in ih264_dpb_mgr_sort_short_term_fields_by_poc_l1()
368 ps_dpb_node1->ps_pic_buf = ps_pic_node2; in ih264_dpb_mgr_sort_short_term_fields_by_poc_l1()
369 ps_dpb_node2->ps_pic_buf = ps_pic_node1; in ih264_dpb_mgr_sort_short_term_fields_by_poc_l1()
407 pic_buf_t *ps_pic_buf; in ih264_dpb_mgr_sort_long_term_fields_by_frame_idx() local
417 frame_idx_node1 = ps_dpb_node1->ps_pic_buf->i4_long_term_frame_idx; in ih264_dpb_mgr_sort_long_term_fields_by_frame_idx()
418 frame_idx_node2 = ps_dpb_node2->ps_pic_buf->i4_long_term_frame_idx; in ih264_dpb_mgr_sort_long_term_fields_by_frame_idx()
422 ps_pic_buf = ps_dpb_node1->ps_pic_buf; in ih264_dpb_mgr_sort_long_term_fields_by_frame_idx()
423 ps_dpb_node1->ps_pic_buf = ps_dpb_node2->ps_pic_buf; in ih264_dpb_mgr_sort_long_term_fields_by_frame_idx()
424 ps_dpb_node2->ps_pic_buf = ps_pic_buf; in ih264_dpb_mgr_sort_long_term_fields_by_frame_idx()
437 pic_buf_t *ps_pic_node1 = ps_dpb_node1->ps_pic_buf; in ih264_dpb_mgr_sort_long_term_fields_by_frame_idx()
438 pic_buf_t *ps_pic_node2 = ps_dpb_node2->ps_pic_buf; in ih264_dpb_mgr_sort_long_term_fields_by_frame_idx()
446 ps_dpb_node1->ps_pic_buf = ps_pic_node2; in ih264_dpb_mgr_sort_long_term_fields_by_frame_idx()
447 ps_dpb_node2->ps_pic_buf = ps_pic_node1; in ih264_dpb_mgr_sort_long_term_fields_by_frame_idx()
506 pic_buf_t *ps_pic_node2 = ps_dpb_node2->ps_pic_buf; in ih264_dpb_mgr_alternate_ref_fields()
516 (ps_dpb_node4->ps_pic_buf->i1_field_type != expected_field)) in ih264_dpb_mgr_alternate_ref_fields()
535 expected_field = (ps_dpb_node1->ps_pic_buf->i1_field_type == TOP_FIELD)? in ih264_dpb_mgr_alternate_ref_fields()
587 pic_buf_t *ps_pic_buf, in ih264_dpb_mgr_insert_ref_field() argument
601 if( (ps_dpb_info[i].ps_pic_buf == ps_pic_buf) in ih264_dpb_mgr_insert_ref_field()
602 && (ps_dpb_info[i].ps_pic_buf->i4_used_as_ref == reference_type) ) in ih264_dpb_mgr_insert_ref_field()
611 if(NULL == ps_dpb_info[i].ps_pic_buf) in ih264_dpb_mgr_insert_ref_field()
629 ps_dpb_info[i].ps_pic_buf = ps_pic_buf; in ih264_dpb_mgr_insert_ref_field()
631 ps_dpb_info[i].ps_pic_buf->i4_used_as_ref = reference_type; in ih264_dpb_mgr_insert_ref_field()
632 ps_dpb_info[i].ps_pic_buf->i4_frame_num = frame_num; in ih264_dpb_mgr_insert_ref_field()
633 ps_dpb_info[i].ps_pic_buf->i4_long_term_frame_idx = long_term_frame_idx; in ih264_dpb_mgr_insert_ref_field()
689 pic_buf_t *ps_pic_buf, in ih264_dpb_mgr_insert_ref_frame() argument
703 ps_pic_top = ps_pic_buf; in ih264_dpb_mgr_insert_ref_frame()
782 prev_frame_num = ps_dpb_node->ps_pic_buf->i4_frame_num; in ih264_dpb_mgr_count_ref_frames()
788 frame_num = ps_dpb_node->ps_pic_buf->i4_frame_num; in ih264_dpb_mgr_count_ref_frames()
791 prev_frame_num = ps_dpb_node->ps_pic_buf->i4_frame_num; in ih264_dpb_mgr_count_ref_frames()
809 prev_frame_num = ps_dpb_node->ps_pic_buf->i4_frame_num; in ih264_dpb_mgr_count_ref_frames()
815 frame_num = ps_dpb_node->ps_pic_buf->i4_frame_num; in ih264_dpb_mgr_count_ref_frames()
818 prev_frame_num = ps_dpb_node->ps_pic_buf->i4_frame_num; in ih264_dpb_mgr_count_ref_frames()
873 ps_dpb_node1->ps_pic_buf->i4_used_as_ref = UNUSED_FOR_REF; in ih264_dpb_mgr_delete_ref_frame()
874 ps_dpb_node1->ps_pic_buf = NULL; in ih264_dpb_mgr_delete_ref_frame()
904 if(ps_dpb_node2->ps_pic_buf->i4_frame_num == ps_dpb_node1->ps_pic_buf->i4_frame_num) in ih264_dpb_mgr_delete_ref_frame()
907 ps_dpb_node1->ps_pic_buf->i4_used_as_ref = UNUSED_FOR_REF; in ih264_dpb_mgr_delete_ref_frame()
908 ps_dpb_node1->ps_pic_buf = NULL; in ih264_dpb_mgr_delete_ref_frame()
927 ps_dpb_node2->ps_pic_buf->i4_used_as_ref = UNUSED_FOR_REF; in ih264_dpb_mgr_delete_ref_frame()
928 ps_dpb_node2->ps_pic_buf = NULL; in ih264_dpb_mgr_delete_ref_frame()
946 if(ps_dpb_node2->ps_pic_buf->i4_frame_num == ps_dpb_node3->ps_pic_buf->i4_frame_num) in ih264_dpb_mgr_delete_ref_frame()
948 ps_dpb_node2->ps_pic_buf->i4_used_as_ref = UNUSED_FOR_REF; in ih264_dpb_mgr_delete_ref_frame()
949 ps_dpb_node2->ps_pic_buf = NULL; in ih264_dpb_mgr_delete_ref_frame()
954 ps_dpb_node3->ps_pic_buf->i4_used_as_ref = UNUSED_FOR_REF; in ih264_dpb_mgr_delete_ref_frame()
955 ps_dpb_node3->ps_pic_buf = NULL; in ih264_dpb_mgr_delete_ref_frame()
992 if(ps_dpb_mgr->ps_dpb_long_term_head->ps_pic_buf->i4_long_term_frame_idx in ih264_dpb_mgr_delete_long_ref_fields_max_frame_idx()
997 ps_dpb_mgr->ps_dpb_long_term_head->ps_pic_buf->i4_used_as_ref = UNUSED_FOR_REF; in ih264_dpb_mgr_delete_long_ref_fields_max_frame_idx()
998 ps_dpb_mgr->ps_dpb_long_term_head->ps_pic_buf = NULL; in ih264_dpb_mgr_delete_long_ref_fields_max_frame_idx()
1011 if(ps_dpb_node2->ps_pic_buf->i4_long_term_frame_idx > max_frame_idx) in ih264_dpb_mgr_delete_long_ref_fields_max_frame_idx()
1013 ps_dpb_node2->ps_pic_buf->i4_used_as_ref = UNUSED_FOR_REF; in ih264_dpb_mgr_delete_long_ref_fields_max_frame_idx()
1014 ps_dpb_node2->ps_pic_buf = NULL; in ih264_dpb_mgr_delete_long_ref_fields_max_frame_idx()
1121 if(ps_dpb_info[i].ps_pic_buf->i4_used_as_ref) in ih264_dpb_mgr_reset()
1123 ps_dpb_info[i].ps_pic_buf->i4_used_as_ref = UNUSED_FOR_REF; in ih264_dpb_mgr_reset()
1126 ih264_buf_mgr_release(ps_buf_mgr, ps_dpb_info[i].ps_pic_buf->i4_buf_id, in ih264_dpb_mgr_reset()
1129 ps_dpb_info[i].ps_pic_buf = NULL; in ih264_dpb_mgr_reset()