Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(57)

Side by Side Diff: source/libvpx/vp9/encoder/vp9_ratectrl.h

Issue 394353005: libvpx: Pull from upstream (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/libvpx/
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « source/libvpx/vp9/encoder/vp9_pickmode.c ('k') | source/libvpx/vp9/encoder/vp9_ratectrl.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « source/libvpx/vp9/encoder/vp9_pickmode.c ('k') | source/libvpx/vp9/encoder/vp9_ratectrl.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698