| 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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 | 82 |
| 83 struct VP9_COMP; | 83 struct VP9_COMP; |
| 84 | 84 |
| 85 void vp9_init_first_pass(struct VP9_COMP *cpi); | 85 void vp9_init_first_pass(struct VP9_COMP *cpi); |
| 86 void vp9_rc_get_first_pass_params(struct VP9_COMP *cpi); | 86 void vp9_rc_get_first_pass_params(struct VP9_COMP *cpi); |
| 87 void vp9_first_pass(struct VP9_COMP *cpi); | 87 void vp9_first_pass(struct VP9_COMP *cpi); |
| 88 void vp9_end_first_pass(struct VP9_COMP *cpi); | 88 void vp9_end_first_pass(struct VP9_COMP *cpi); |
| 89 | 89 |
| 90 void vp9_init_second_pass(struct VP9_COMP *cpi); | 90 void vp9_init_second_pass(struct VP9_COMP *cpi); |
| 91 void vp9_rc_get_second_pass_params(struct VP9_COMP *cpi); | 91 void vp9_rc_get_second_pass_params(struct VP9_COMP *cpi); |
| 92 void vp9_end_second_pass(struct VP9_COMP *cpi); | |
| 93 int vp9_twopass_worst_quality(struct VP9_COMP *cpi, FIRSTPASS_STATS *fpstats, | 92 int vp9_twopass_worst_quality(struct VP9_COMP *cpi, FIRSTPASS_STATS *fpstats, |
| 94 int section_target_bandwitdh); | 93 int section_target_bandwitdh); |
| 95 | 94 |
| 96 // Post encode update of the rate control parameters for 2-pass | 95 // Post encode update of the rate control parameters for 2-pass |
| 97 void vp9_twopass_postencode_update(struct VP9_COMP *cpi, | 96 void vp9_twopass_postencode_update(struct VP9_COMP *cpi, |
| 98 uint64_t bytes_used); | 97 uint64_t bytes_used); |
| 99 #ifdef __cplusplus | 98 #ifdef __cplusplus |
| 100 } // extern "C" | 99 } // extern "C" |
| 101 #endif | 100 #endif |
| 102 | 101 |
| 103 #endif // VP9_ENCODER_VP9_FIRSTPASS_H_ | 102 #endif // VP9_ENCODER_VP9_FIRSTPASS_H_ |
| OLD | NEW |