Fix multi-resolution threaded encoding
[profile/ivi/libvpx.git] / vp8 / encoder / firstpass.h
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 #if !defined __INC_FIRSTPASS_H
13 #define      __INC_FIRSTPASS_H
14
15 extern void vp8_init_first_pass(VP8_COMP *cpi);
16 extern void vp8_first_pass(VP8_COMP *cpi);
17 extern void vp8_end_first_pass(VP8_COMP *cpi);
18
19 extern void vp8_init_second_pass(VP8_COMP *cpi);
20 extern void vp8_second_pass(VP8_COMP *cpi);
21 extern void vp8_end_second_pass(VP8_COMP *cpi);
22
23 extern size_t vp8_firstpass_stats_sz(unsigned int mb_count);
24 #endif