Home | History | Annotate | Download | only in encoder

Lines Matching defs:boost

1453 /* Update the motion related elements to the GF arf boost calculation */
1493 /* Calculate a baseline boost number for the current frame. */
1498 /* Underlying boost factor is based on inter intra error ratio */
1507 /* Increase boost for frames where new data coming into frame
1508 * (eg zoom out). Slightly reduce boost if there is a net balance
1514 /* In extreme case boost is halved */
1544 /* Update the motion related elements to the boost calculation */
1549 /* Calculate the baseline boost number for this frame */
1588 /* Update the motion related elements to the boost calculation */
1593 /* Calculate the baseline boost number for this frame */
1680 * should contain and what level of boost is appropriate for the GF
1705 /* Update the motion related elements to the boost calculation */
1710 /* Calculate a baseline boost number for this frame */
1800 /* Alterrnative boost calculation for alt ref */
1821 int Boost;
1843 /* Boost for arf frame */
1845 Boost = (alt_boost * GFQ_ADJUSTMENT) / 100;
1847 Boost = (cpi->gfu_boost * 3 * GFQ_ADJUSTMENT) / (2 * 100);
1849 Boost += (i * 50);
1851 /* Set max and minimum boost and hence minimum allocation */
1852 if (Boost > ((cpi->baseline_gf_interval + 1) * 200)) {
1853 Boost = ((cpi->baseline_gf_interval + 1) * 200);
1854 } else if (Boost < 125) {
1855 Boost = 125;
1858 allocation_chunks = (i * 100) + Boost;
1861 while (Boost > 1000) {
1862 Boost /= 2;
1867 * boost number
1870 (int)((double)Boost * (group_bits / (double)allocation_chunks));
2007 int Boost;
2016 Boost = (alt_boost * GFQ_ADJUSTMENT) / 100;
2018 Boost = (cpi->gfu_boost * 3 * GFQ_ADJUSTMENT) / (2 * 100);
2020 Boost += (cpi->baseline_gf_interval * 50);
2022 /* Set max and minimum boost and hence minimum allocation */
2023 if (Boost > ((cpi->baseline_gf_interval + 1) * 200)) {
2024 Boost = ((cpi->baseline_gf_interval + 1) * 200);
2025 } else if (Boost < 125) {
2026 Boost = 125;
2029 allocation_chunks = ((cpi->baseline_gf_interval + 1) * 100) + Boost;
2033 /* boost based on inter / intra ratio of subsequent frames */
2034 Boost = (cpi->gfu_boost * GFQ_ADJUSTMENT) / 100;
2036 /* Set max and minimum boost and hence minimum allocation */
2037 if (Boost > (cpi->baseline_gf_interval * 150)) {
2038 Boost = (cpi->baseline_gf_interval * 150);
2039 } else if (Boost < 125) {
2040 Boost = 125;
2043 allocation_chunks = (cpi->baseline_gf_interval * 100) + (Boost - 100);
2047 while (Boost > 1000) {
2048 Boost /= 2;
2053 * the boost number
2055 gf_bits = (int)((double)Boost *
2072 (int)((double)Boost * (alt_gf_grp_bits / (double)allocation_chunks));
2145 int boost = (cpi->source_alt_ref_pending) ? b_boost : cpi->gfu_boost;
2147 int boost = cpi->gfu_boost;
2149 if (boost >= 150) {
2152 pct_extra = (boost - 100) / 50;
2310 * boost and it should not be given extra bits If the previous
2311 * group was NOT coded using arf we may want to apply some boost to
2859 /* Min boost based on kf interval */
2885 /* Min KF boost */