OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2010 The WebM project authors. All Rights Reserved. | 2 * Copyright (c) 2010 The WebM project authors. All Rights Reserved. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
9 */ | 9 */ |
10 | 10 |
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
182 // to a target q value | 182 // to a target q value |
183 int vp9_compute_qdelta(const RATE_CONTROL *rc, double qstart, double qtarget); | 183 int vp9_compute_qdelta(const RATE_CONTROL *rc, double qstart, double qtarget); |
184 | 184 |
185 // Computes a q delta (in "q index" terms) to get from a starting q value | 185 // Computes a q delta (in "q index" terms) to get from a starting q value |
186 // to a value that should equate to the given rate ratio. | 186 // to a value that should equate to the given rate ratio. |
187 int vp9_compute_qdelta_by_rate(const RATE_CONTROL *rc, FRAME_TYPE frame_type, | 187 int vp9_compute_qdelta_by_rate(const RATE_CONTROL *rc, FRAME_TYPE frame_type, |
188 int qindex, double rate_target_ratio); | 188 int qindex, double rate_target_ratio); |
189 | 189 |
190 void vp9_rc_update_framerate(struct VP9_COMP *cpi); | 190 void vp9_rc_update_framerate(struct VP9_COMP *cpi); |
191 | 191 |
192 void vp9_rc_set_gf_max_interval(const struct VP9EncoderConfig *const oxcf, | 192 void vp9_rc_set_gf_max_interval(const struct VP9_COMP *const cpi, |
193 RATE_CONTROL *const rc); | 193 RATE_CONTROL *const rc); |
194 | 194 |
195 #ifdef __cplusplus | 195 #ifdef __cplusplus |
196 } // extern "C" | 196 } // extern "C" |
197 #endif | 197 #endif |
198 | 198 |
199 #endif // VP9_ENCODER_VP9_RATECTRL_H_ | 199 #endif // VP9_ENCODER_VP9_RATECTRL_H_ |
OLD | NEW |