Prevent VP8 encoding crash
[aom.git] / vpx_scale / vpx_scale.h
blob43fcf9d66e18fbc8e87d1a2239b8bd2ec813e6da
1 /*
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.
9 */
12 #ifndef VPX_SCALE_VPX_SCALE_H_
13 #define VPX_SCALE_VPX_SCALE_H_
15 #include "vpx_scale/yv12config.h"
17 extern void vpx_scale_frame(YV12_BUFFER_CONFIG *src,
18 YV12_BUFFER_CONFIG *dst,
19 unsigned char *temp_area,
20 unsigned char temp_height,
21 unsigned int hscale,
22 unsigned int hratio,
23 unsigned int vscale,
24 unsigned int vratio,
25 unsigned int interlaced);
27 #endif // VPX_SCALE_VPX_SCALE_H_