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 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
146 void vp9_first_pass(struct VP9_COMP *cpi, const struct lookahead_entry *source); | 146 void vp9_first_pass(struct VP9_COMP *cpi, const struct lookahead_entry *source); |
147 void vp9_end_first_pass(struct VP9_COMP *cpi); | 147 void vp9_end_first_pass(struct VP9_COMP *cpi); |
148 | 148 |
149 void vp9_init_second_pass(struct VP9_COMP *cpi); | 149 void vp9_init_second_pass(struct VP9_COMP *cpi); |
150 void vp9_rc_get_second_pass_params(struct VP9_COMP *cpi); | 150 void vp9_rc_get_second_pass_params(struct VP9_COMP *cpi); |
151 void vp9_twopass_postencode_update(struct VP9_COMP *cpi); | 151 void vp9_twopass_postencode_update(struct VP9_COMP *cpi); |
152 | 152 |
153 // Post encode update of the rate control parameters for 2-pass | 153 // Post encode update of the rate control parameters for 2-pass |
154 void vp9_twopass_postencode_update(struct VP9_COMP *cpi); | 154 void vp9_twopass_postencode_update(struct VP9_COMP *cpi); |
155 | 155 |
156 void vp9_init_subsampling(struct VP9_COMP *cpi); | |
157 | |
158 void calculate_coded_size(struct VP9_COMP *cpi, | 156 void calculate_coded_size(struct VP9_COMP *cpi, |
159 int *scaled_frame_width, | 157 int *scaled_frame_width, |
160 int *scaled_frame_height); | 158 int *scaled_frame_height); |
161 | 159 |
162 #ifdef __cplusplus | 160 #ifdef __cplusplus |
163 } // extern "C" | 161 } // extern "C" |
164 #endif | 162 #endif |
165 | 163 |
166 #endif // VP9_ENCODER_VP9_FIRSTPASS_H_ | 164 #endif // VP9_ENCODER_VP9_FIRSTPASS_H_ |
OLD | NEW |