Home | History | Annotate | Download | only in encoder

Lines Matching refs:B_PIC

93     WORD32 i4_b_pic_idx; /* B_PIC index */
431 i4_b_frms_in_prd = ps_pic_handling->i4_frms_in_cur_gop[B_PIC];
462 e_cur_pic_type = B_PIC;
523 2)It's the first B_PIC of a gop
544 2)It's the first B_PIC after gop/subgop start, and
608 i4_b_frms_in_prd = ps_pic_handling->i4_frms_in_cur_gop[B_PIC];
621 if(B_PIC conditions satisfied)
624 Update the b_pic_index and the other b_pic related vars for the next B_PIC
640 /* Condition for a B_PIC -
652 !(i4_is_gop_closed && (i4_b_count_in_gop == i4_b_frms_in_prd))) /**** B_PIC ****/
656 ps_pic_handling->as_pic_stack[i4_b_pic_idx].e_pic_type = B_PIC;
661 e_previous_pic_type = B_PIC;
675 /* If this B_PIC features in one of the complete subgops */
681 else /* Else if this B_PIC is the last one in a subgop or gop */
683 /* If this is the last B_PIC of a GOP, depending on the number of incomp B_pics in
684 the subgop, there can be either only I or I,P pics between this and the next B_PIC */
690 else /* For the last B_PIC of a subgop, there's always a P b/w this & the next B_PIC */
699 /* For the last B_PIC of a gop
700 Normally,there will be 3 pics (P,I,P) between this and the next B_PIC for a CLOSED gop,
715 i4_num_b_in_subgop) /* For a B_PIC which is not the last one in a subgop */
719 else /* For the last B_PIC of a subgop */
818 (ps_pic_handling->i4_frms_in_cur_gop[B_PIC] >
1049 ps_pic_handling->i4_frms_in_cur_gop[B_PIC] += ps_pic_handling->i4_b_count_in_gop;
1142 i4_frms_in_gop[B_PIC] = 0;
1481 If it's B_PIC don't do anything
1484 and move the last B_PIC in that subgop to the next slot of the
1512 Changing a B_PIC to a ref_pic is not reqd if
1516 /* Go to the last B_PIC before the next_ref_pic */
1526 /* Keep a copy of the last B_PIC pic_details */
1563 /* Copy the last B_PIC pic_details to the first B_PIC place and change it's pic type to the ref_PIC */
1575 frames after it, the last frame cannot be a B_PIC, as there
1580 If it's a B_PIC, copy it's pic_details and put it in the
1604 if(s_prev_pic_details.e_pic_type == B_PIC)
1606 /* Copy the last B_PIC details to the next reference pic in display order */
1612 /* Modify the last B_PIC pic_type, so that codec gets to know when all the buffered frames
1700 if(e_pic_type == B_PIC)
1750 1) I_PIC cannot be changed to B_PIC
1751 2) B_PIC cannot be changed to I_PIC */
1754 if(e_pic_type != B_PIC)
1760 e_out_pic_type = B_PIC;
1762 ps_pic_handling->i4_frms_in_cur_gop[B_PIC]++;
1763 ps_pic_handling->i4_frms_in_gop[B_PIC]++;
1783 ps_pic_handling->i4_frms_in_cur_gop[B_PIC] + 1))