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

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

Issue 1162573005: libvpx: Pull from upstream (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/libvpx.git@master
Patch Set: Created 5 years, 6 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
« no previous file with comments | « source/libvpx/vp9/encoder/vp9_extend.c ('k') | source/libvpx/vp9/encoder/vp9_firstpass.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 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 115
116 int sr_update_lag; 116 int sr_update_lag;
117 117
118 int kf_zeromotion_pct; 118 int kf_zeromotion_pct;
119 int last_kfgroup_zeromotion_pct; 119 int last_kfgroup_zeromotion_pct;
120 int gf_zeromotion_pct; 120 int gf_zeromotion_pct;
121 int active_worst_quality; 121 int active_worst_quality;
122 int baseline_active_worst_quality; 122 int baseline_active_worst_quality;
123 int extend_minq; 123 int extend_minq;
124 int extend_maxq; 124 int extend_maxq;
125 int extend_minq_fast;
125 126
126 GF_GROUP gf_group; 127 GF_GROUP gf_group;
127 } TWO_PASS; 128 } TWO_PASS;
128 129
129 struct VP9_COMP; 130 struct VP9_COMP;
130 131
131 void vp9_init_first_pass(struct VP9_COMP *cpi); 132 void vp9_init_first_pass(struct VP9_COMP *cpi);
132 void vp9_rc_get_first_pass_params(struct VP9_COMP *cpi); 133 void vp9_rc_get_first_pass_params(struct VP9_COMP *cpi);
133 void vp9_first_pass(struct VP9_COMP *cpi, const struct lookahead_entry *source); 134 void vp9_first_pass(struct VP9_COMP *cpi, const struct lookahead_entry *source);
134 void vp9_end_first_pass(struct VP9_COMP *cpi); 135 void vp9_end_first_pass(struct VP9_COMP *cpi);
135 136
136 void vp9_init_second_pass(struct VP9_COMP *cpi); 137 void vp9_init_second_pass(struct VP9_COMP *cpi);
137 void vp9_rc_get_second_pass_params(struct VP9_COMP *cpi); 138 void vp9_rc_get_second_pass_params(struct VP9_COMP *cpi);
139 void vp9_twopass_postencode_update(struct VP9_COMP *cpi);
138 140
139 // Post encode update of the rate control parameters for 2-pass 141 // Post encode update of the rate control parameters for 2-pass
140 void vp9_twopass_postencode_update(struct VP9_COMP *cpi); 142 void vp9_twopass_postencode_update(struct VP9_COMP *cpi);
141 143
142 void vp9_init_subsampling(struct VP9_COMP *cpi); 144 void vp9_init_subsampling(struct VP9_COMP *cpi);
143 145
144 void calculate_coded_size(struct VP9_COMP *cpi, 146 void calculate_coded_size(struct VP9_COMP *cpi,
145 int *scaled_frame_width, 147 int *scaled_frame_width,
146 int *scaled_frame_height); 148 int *scaled_frame_height);
147 149
148 #ifdef __cplusplus 150 #ifdef __cplusplus
149 } // extern "C" 151 } // extern "C"
150 #endif 152 #endif
151 153
152 #endif // VP9_ENCODER_VP9_FIRSTPASS_H_ 154 #endif // VP9_ENCODER_VP9_FIRSTPASS_H_
OLDNEW
« no previous file with comments | « source/libvpx/vp9/encoder/vp9_extend.c ('k') | source/libvpx/vp9/encoder/vp9_firstpass.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698