1ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang/*
2ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang *  Copyright (c) 2010 The WebM project authors. All Rights Reserved.
3ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang *
4ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang *  Use of this source code is governed by a BSD-style license
5ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang *  that can be found in the LICENSE file in the root of the source
6ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang *  tree. An additional intellectual property rights grant can be found
7ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang *  in the file PATENTS.  All contributing project authors may
8ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang *  be found in the AUTHORS file in the root of the source tree.
9ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang */
10ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang
11ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang
12b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#ifndef VPX_SCALE_VPX_SCALE_H_
13b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define VPX_SCALE_VPX_SCALE_H_
14ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang
15ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang#include "vpx_scale/yv12config.h"
16ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang
17ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuangextern void vpx_scale_frame(YV12_BUFFER_CONFIG *src,
18ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang                            YV12_BUFFER_CONFIG *dst,
19ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang                            unsigned char *temp_area,
20ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang                            unsigned char temp_height,
21ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang                            unsigned int hscale,
22ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang                            unsigned int hratio,
23ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang                            unsigned int vscale,
24ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang                            unsigned int vratio,
25ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang                            unsigned int interlaced);
26ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang
27b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#endif  // VPX_SCALE_VPX_SCALE_H_
28