Home | History | Annotate | Download | only in encoder

Lines Matching refs:B_PIC

99     /* B_PIC index */
424 i4_b_frms_in_prd = ps_pic_handling->i4_frms_in_cur_gop[B_PIC];
454 e_cur_pic_type = B_PIC;
513 * 2)It's the first B_PIC of a gop
532 * 2)It's the first B_PIC after gop/subgop start, and
616 i4_b_frms_in_prd = ps_pic_handling->i4_frms_in_cur_gop[B_PIC];
629 * if(B_PIC conditions satisfied)
632 * Update the b_pic_index and the other b_pic related vars for the
633 * next B_PIC
652 * Condition for a B_PIC -
659 && (i4_b_count_in_gop == i4_b_frms_in_prd))) /**** B_PIC ****/
663 ps_pic_handling->as_pic_stack[i4_b_pic_idx].e_pic_type = B_PIC;
668 e_previous_pic_type = B_PIC;
681 /* If this B_PIC features in one of the complete subgops */
687 else /* Else if this B_PIC is the last one in a subgop or gop */
690 * If this is the last B_PIC of a GOP, depending on the number
692 * or I,P pics between this and the next B_PIC
700 * For the last B_PIC of a subgop, there's always a P b/w
701 * this & the next B_PIC
712 /* For the last B_PIC of a gop
714 * B_PIC for a CLOSED gop, except when
727 /* For a B_PIC which is not the last one in a subgop */
732 else /* For the last B_PIC of a subgop */
886 && (ps_pic_handling->i4_rem_frms_in_gop[B_PIC]
889 ps_pic_handling->i4_rem_frms_in_gop[B_PIC] =
890 ps_pic_handling->i4_frms_in_cur_gop[B_PIC]
1092 ps_pic_handling->i4_frms_in_cur_gop[B_PIC] +=
1171 i4_frms_in_gop[B_PIC] = 0;
1199 i4_frms_in_gop[B_PIC] = (i4_intra_frm_int - 1 - i4_frms_in_gop[P_PIC]);
1201 *pi4_b_in_incomp_subgop = (i4_frms_in_gop[B_PIC] - (i4_inter_frm_int - 1)
1288 && (ps_pic_handling->i4_rem_frms_in_gop[B_PIC] <= 0))
1310 If it's B_PIC don't do anything
1313 pic_details) and move the last B_PIC in that subgop to the
1334 * Changing a B_PIC to a ref_pic is not reqd if
1340 /* Go to the last B_PIC before the next_ref_pic */
1350 /* Keep a copy of the last B_PIC pic_details */
1382 * Copy the last B_PIC pic_details to the first B_PIC place and change
1394 if(ps_pic_handling->i4_rem_frms_in_gop[B_PIC] > 0)
1396 ps_pic_handling->i4_rem_frms_in_gop[B_PIC]--;
1406 frames after it, the last frame cannot be a B_PIC, as there
1411 If it's a B_PIC, copy it's pic_details and put it in the
1428 if(s_prev_pic_details.e_pic_type == B_PIC)
1430 /* Copy the last B_PIC details to the next reference pic in display order */
1438 * Modify the last B_PIC pic_type, so that codec gets to know when
1522 if(e_pic_type == B_PIC)
1580 * 1) I_PIC cannot be changed to B_PIC
1581 * 2) B_PIC cannot be changed to I_PIC
1585 if(e_pic_type != B_PIC)
1591 e_out_pic_type = B_PIC;
1592 ps_pic_handling->i4_rem_frms_in_gop[B_PIC]++;
1593 ps_pic_handling->i4_frms_in_cur_gop[B_PIC]++;
1594 ps_pic_handling->i4_frms_in_gop[B_PIC]++;
1615 + ps_pic_handling->i4_frms_in_cur_gop[B_PIC]