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 12 #ifndef VP8_ENCODER_FIRSTPASS_H_ 13 #define VP8_ENCODER_FIRSTPASS_H_ 14 15 #ifdef __cplusplus 16 extern "C" { 17 #endif 18 19 extern void vp8_init_first_pass(VP8_COMP *cpi); 20 extern void vp8_first_pass(VP8_COMP *cpi); 21 extern void vp8_end_first_pass(VP8_COMP *cpi); 22 23 extern void vp8_init_second_pass(VP8_COMP *cpi); 24 extern void vp8_second_pass(VP8_COMP *cpi); 25 extern void vp8_end_second_pass(VP8_COMP *cpi); 26 27 extern size_t vp8_firstpass_stats_sz(unsigned int mb_count); 28 #ifdef __cplusplus 29 } // extern "C" 30 #endif 31 32 #endif // VP8_ENCODER_FIRSTPASS_H_ 33