Lines Matching full:bits
41 /* using var_q number as it can cross 31 bits for large intra frameinterval */
60 /* To get a estimate of the header bits consumed */
76 /* Error bits module */
295 /* Calculate the bits per frame */
328 /* Initialize the saved bits to 0*/
331 /* Update the error bits module with average bits */
345 Description : Based on remaining bits in period and rd_model
346 the number of bits required for the current frame is estimated.
377 /* Remove the header bits from the remaining bits to find how many bits you
438 /* The bits are then allocated based on the relative complexity of the
460 * distribute the bits evenly among frames based on I_TO_P_RATIO
479 * Estimated texture bits =
480 * (remaining bits) * (cur frm complexity)
534 * If the remaining bits in the period becomes negative then the estimated
535 * texture bits would also become negative. This would send a feedback to
549 Description : Based on remaining bits in period and rd_model
550 the number of bits required for the current frame is estimated.
570 Description : Based on remaining bits in period and rd_model
571 the number of bits required for the current frame is estimated.
583 /* Update the remaining bits in period */
588 * Update the header bits so that it can be used as an estimate to the next
595 * a I frame and so the corresponding header bits is updated
605 * 2 so that the number of bits allocated is not very constrained
608 /* Add the extra bits in GOP to remaining bits in period */
637 * If rem_bits_in_period < 0 decrease the number of bits allocated for
658 /* Calculate the new per frame bits */
678 * If the difference > 0(/ <0), the remaining bits in period needs to be
685 /* Update the new average bits per frame */
705 /* Calculate the bits per frame */
718 * of encoded frames in the fif GOP worth of bits to remaining bits in
752 * If the remaining bits is greater than what can be drained in that period
753 * Clip the remaining bits in period to the maximum it can drain in that
754 * period with the error of current buffer size.Accumulate the saved bits
755 * if any. else if the remaining bits is lesser than the minimum bit rate
756 * promised in that period Add the excess bits to remaining bits in period
757 * and reduce it from the saved bits Else Provide the extra bits from the
758 * "saved bits pool".