2 * Copyright (c) 2010 The WebM project authors. All Rights Reserved.
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.
12 #ifndef VP8_ENCODER_FIRSTPASS_H_
13 #define VP8_ENCODER_FIRSTPASS_H_
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);
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);
27 extern size_t vp8_firstpass_stats_sz(unsigned int mb_count);
32 #endif // VP8_ENCODER_FIRSTPASS_H_