1 /* 2 * Copyright (c) 2010 The WebM project authors. All Rights Reserved. 3 * 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 6 * tree. An additional intellectual property rights grant can be found 7 * in the file PATENTS. All contributing project authors may 8 * be found in the AUTHORS file in the root of the source tree. 9 */ 10 11 #ifndef VP8_ENCODER_FIRSTPASS_H_ 12 #define VP8_ENCODER_FIRSTPASS_H_ 13 14 #ifdef __cplusplus 15 extern "C" { 16 #endif 17 18 extern void vp8_init_first_pass(VP8_COMP *cpi); 19 extern void vp8_first_pass(VP8_COMP *cpi); 20 extern void vp8_end_first_pass(VP8_COMP *cpi); 21 22 extern void vp8_init_second_pass(VP8_COMP *cpi); 23 extern void vp8_second_pass(VP8_COMP *cpi); 24 extern void vp8_end_second_pass(VP8_COMP *cpi); 25 26 extern size_t vp8_firstpass_stats_sz(unsigned int mb_count); 27 #ifdef __cplusplus 28 } // extern "C" 29 #endif 30 31 #endif // VP8_ENCODER_FIRSTPASS_H_ 32