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 VP9_ENCODER_VP9_ENCODEFRAME_H_
13 #define VP9_ENCODER_VP9_ENCODEFRAME_H_
14 
15 #ifdef __cplusplus
16 extern "C" {
17 #endif
18 
19 struct macroblock;
20 struct yv12_buffer_config;
21 struct VP9_COMP;
22 
23 void vp9_setup_src_planes(struct macroblock *x,
24                           const struct yv12_buffer_config *src,
25                           int mi_row, int mi_col);
26 
27 void vp9_encode_frame(struct VP9_COMP *cpi);
28 
29 #ifdef __cplusplus
30 }  // extern "C"
31 #endif
32 
33 #endif  // VP9_ENCODER_VP9_ENCODEFRAME_H_
34