Home | History | Annotate | Download | only in encoder

Lines Matching refs:Speed

662 /* Convenience macros for mapping speed and mode into a continuous
668 static int speed_map(int speed, const int *map)
675 } while(speed >= *map++);
753 int Speed = cpi->Speed;
798 /* Convert speed to continuous range, with clamping */
800 Speed = 0;
802 Speed = RT(Speed);
805 if (Speed > 5)
806 Speed = 5;
807 Speed = GOOD(Speed);
820 sf->thresh_mult[THR_NEAR3] = speed_map(Speed, thresh_mult_map_znn);
823 sf->thresh_mult[THR_H_PRED] = speed_map(Speed, thresh_mult_map_vhpred);
824 sf->thresh_mult[THR_B_PRED] = speed_map(Speed, thresh_mult_map_bpred);
825 sf->thresh_mult[THR_TM] = speed_map(Speed, thresh_mult_map_tm);
826 sf->thresh_mult[THR_NEW1] = speed_map(Speed, thresh_mult_map_new1);
828 sf->thresh_mult[THR_NEW3] = speed_map(Speed, thresh_mult_map_new2);
829 sf->thresh_mult[THR_SPLIT1] = speed_map(Speed, thresh_mult_map_split1);
831 sf->thresh_mult[THR_SPLIT3] = speed_map(Speed, thresh_mult_map_split2);
842 cpi->mode_check_freq[THR_NEAREST3] = speed_map(Speed,
846 cpi->mode_check_freq[THR_NEAR3] = speed_map(Speed,
851 cpi->mode_check_freq[THR_B_PRED] = speed_map(Speed,
853 cpi->mode_check_freq[THR_NEW1] = speed_map(Speed,
856 cpi->mode_check_freq[THR_NEW3] = speed_map(Speed,
858 cpi->mode_check_freq[THR_SPLIT1] = speed_map(Speed,
861 cpi->mode_check_freq[THR_SPLIT3] = speed_map(Speed,
863 Speed = cpi->Speed;
873 if (Speed > 0)
875 /* Disable coefficient optimization above speed 0 */
883 if (Speed > 2)
895 if (Speed > 3)
903 if (Speed > 4)
917 if (Speed > 0)
927 if (Speed > 2)
930 if (Speed > 3)
936 if (Speed > 4)
943 if (Speed > 6)
970 if (10 * sum >= (unsigned int)(cpi->Speed - 6)*(total_mbs - total_skip))
1004 if (Speed > 8)
1011 if (Speed >= 14)
1020 if (Speed >= 15)
1099 frames_at_speed[cpi->Speed]++;
1730 cpi->Speed = cpi->oxcf.cpu_used;
2934 if (cpi->Speed > 11)
2940 if ((cpi->compressor_speed == 2) && (cpi->Speed >= 5) && (cpi->sf.RD == 0))