Home
last modified time | relevance | path

Searched refs:correction_factor (Results 1 – 12 of 12) sorted by relevance

/external/libvpx/libvpx/vp8/encoder/
Dratectrl.c280 double correction_factor) { in estimate_bits_at_q() argument
281 int Bpm = (int)(.5 + correction_factor * vp8_bits_per_mb[frame_kind][Q]); in estimate_bits_at_q()
1029 int correction_factor = 100; in vp8_update_rate_correction_factors() local
1077 correction_factor = in vp8_update_rate_correction_factors()
1091 if (correction_factor > 102) { in vp8_update_rate_correction_factors()
1093 correction_factor = in vp8_update_rate_correction_factors()
1094 (int)(100.5 + ((correction_factor - 100) * adjustment_limit)); in vp8_update_rate_correction_factors()
1096 ((rate_correction_factor * correction_factor) / 100); in vp8_update_rate_correction_factors()
1102 } else if (correction_factor < 99) { in vp8_update_rate_correction_factors()
1104 correction_factor = in vp8_update_rate_correction_factors()
[all …]
Dfirstpass.c898 double correction_factor; in calc_correction_factor() local
908 correction_factor = pow(error_term, power_term); in calc_correction_factor()
911 correction_factor = (correction_factor < 0.05) in calc_correction_factor()
913 : (correction_factor > 5.0) ? 5.0 : correction_factor; in calc_correction_factor()
915 return correction_factor; in calc_correction_factor()
/external/libaom/libaom/av1/encoder/
Dratectrl.c153 double correction_factor, aom_bit_depth_t bit_depth) { in av1_rc_bits_per_mb() argument
157 assert(correction_factor <= MAX_BPB_FACTOR && in av1_rc_bits_per_mb()
158 correction_factor >= MIN_BPB_FACTOR); in av1_rc_bits_per_mb()
162 return (int)(enumerator * correction_factor / q); in av1_rc_bits_per_mb()
166 double correction_factor, in av1_estimate_bits_at_q() argument
169 (int)(av1_rc_bits_per_mb(frame_type, q, correction_factor, bit_depth)); in av1_estimate_bits_at_q()
417 int correction_factor = 100; in av1_rc_update_rate_correction_factors() local
444 correction_factor = (int)((100 * (int64_t)cpi->rc.projected_frame_size) / in av1_rc_update_rate_correction_factors()
449 if (correction_factor > 0) { in av1_rc_update_rate_correction_factors()
451 0.25 + 0.5 * AOMMIN(1, fabs(log10(0.01 * correction_factor))); in av1_rc_update_rate_correction_factors()
[all …]
Daq_cyclicrefresh.c137 double correction_factor) { in av1_cyclic_refresh_estimate_bits_at_q() argument
151 cm->base_qindex, mbs, correction_factor, in av1_cyclic_refresh_estimate_bits_at_q()
156 correction_factor, cm->seq_params.bit_depth) + in av1_cyclic_refresh_estimate_bits_at_q()
160 correction_factor, cm->seq_params.bit_depth)); in av1_cyclic_refresh_estimate_bits_at_q()
170 double correction_factor) { in av1_cyclic_refresh_rc_bits_per_mb() argument
188 correction_factor, in av1_cyclic_refresh_rc_bits_per_mb()
191 i + deltaq, correction_factor, in av1_cyclic_refresh_rc_bits_per_mb()
Daq_cyclicrefresh.h42 double correction_factor);
47 double correction_factor);
Dratectrl.h154 double correction_factor, aom_bit_depth_t bit_depth);
229 double correction_factor, aom_bit_depth_t bit_depth);
/external/libvpx/libvpx/vp9/encoder/
Dvp9_aq_cyclicrefresh.h86 double correction_factor);
91 double correction_factor);
Dvp9_aq_cyclicrefresh.c105 double correction_factor) { in vp9_cyclic_refresh_estimate_bits_at_q() argument
119 correction_factor, cm->bit_depth) + in vp9_cyclic_refresh_estimate_bits_at_q()
123 mbs, correction_factor, cm->bit_depth) + in vp9_cyclic_refresh_estimate_bits_at_q()
127 mbs, correction_factor, cm->bit_depth)); in vp9_cyclic_refresh_estimate_bits_at_q()
137 double correction_factor) { in vp9_cyclic_refresh_rc_bits_per_mb() argument
149 correction_factor, cm->bit_depth) + in vp9_cyclic_refresh_rc_bits_per_mb()
152 correction_factor, cm->bit_depth)); in vp9_cyclic_refresh_rc_bits_per_mb()
Dvp9_ratectrl.c189 double correction_factor, vpx_bit_depth_t bit_depth) { in vp9_rc_bits_per_mb() argument
193 assert(correction_factor <= MAX_BPB_FACTOR && in vp9_rc_bits_per_mb()
194 correction_factor >= MIN_BPB_FACTOR); in vp9_rc_bits_per_mb()
198 return (int)(enumerator * correction_factor / q); in vp9_rc_bits_per_mb()
202 double correction_factor, in vp9_estimate_bits_at_q() argument
205 (int)(vp9_rc_bits_per_mb(frame_type, q, correction_factor, bit_depth)); in vp9_estimate_bits_at_q()
721 int correction_factor = 100; in vp9_rc_update_rate_correction_factors() local
749 correction_factor = (int)((100 * (int64_t)cpi->rc.projected_frame_size) / in vp9_rc_update_rate_correction_factors()
760 0.25 + 0.5 * VPXMIN(1, fabs(log10(0.01 * correction_factor))); in vp9_rc_update_rate_correction_factors()
766 if (correction_factor > 110) in vp9_rc_update_rate_correction_factors()
[all …]
Dvp9_ratectrl.h209 double correction_factor, vpx_bit_depth_t bit_depth);
284 double correction_factor, vpx_bit_depth_t bit_depth);
/external/tensorflow/tensorflow/contrib/layers/python/layers/
Dlayers_test.py1808 correction_factor = sample_size / (sample_size - 1)
1809 expected_var *= correction_factor
1810 return expected_var, correction_factor
2157 expected_var, correction_factor = self._addBesselsCorrection(
2194 moving_variance_corrected = moving_variance / correction_factor
2276 expected_var, correction_factor = self._addBesselsCorrection(
2319 moving_variance_corrected = moving_variance / correction_factor
2361 expected_var, correction_factor = self._addBesselsCorrection(
2401 moving_variance_corrected = moving_variance / correction_factor
2508 expected_var, correction_factor = self._addBesselsCorrection(
[all …]
/external/tensorflow/tensorflow/contrib/slim/python/slim/
Dlearning_test.py270 correction_factor = sample_size / (sample_size - 1)
271 expected_var *= correction_factor