Move all tests to test/ directory
[profile/ivi/libvpx.git] / vpx_scale / vpxscale.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 #ifndef VPXSCALE_H
13 #define VPXSCALE_H
14
15 #include "vpx_scale/yv12config.h"
16
17 extern void vp8_yv12_scale_or_center
18 (
19     YV12_BUFFER_CONFIG *src_yuv_config,
20     YV12_BUFFER_CONFIG *dst_yuv_config,
21     int expanded_frame_width,
22     int expanded_frame_height,
23     int scaling_mode,
24     int HScale,
25     int HRatio,
26     int VScale,
27     int VRatio
28 );
29 extern void vp8_scale_frame
30 (
31     YV12_BUFFER_CONFIG *src,
32     YV12_BUFFER_CONFIG *dst,
33     unsigned char *temp_area,
34     unsigned char temp_height,
35     unsigned int hscale,
36     unsigned int hratio,
37     unsigned int vscale,
38     unsigned int vratio,
39     unsigned int interlaced
40 );
41
42 #endif