blob: 6e089f5aaa13e98896c47a42f8f6f60f69b58c50 [file] [log] [blame]
Yaowu Xuc27fc142016-08-22 16:08:15 -07001/*
Yaowu Xu9c01aa12016-09-01 14:32:49 -07002 * Copyright (c) 2016, Alliance for Open Media. All rights reserved
Yaowu Xuc27fc142016-08-22 16:08:15 -07003 *
Yaowu Xu9c01aa12016-09-01 14:32:49 -07004 * This source code is subject to the terms of the BSD 2 Clause License and
5 * the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
6 * was not distributed with this source code in the LICENSE file, you can
7 * obtain it at www.aomedia.org/license/software. If the Alliance for Open
8 * Media Patent License 1.0 was not distributed with this source code in the
9 * PATENTS file, you can obtain it at www.aomedia.org/license/patent.
Yaowu Xuc27fc142016-08-22 16:08:15 -070010 */
11
Yaowu Xuf883b422016-08-30 14:01:10 -070012#ifndef AOM_SCALE_AOM_SCALE_H_
13#define AOM_SCALE_AOM_SCALE_H_
Yaowu Xuc27fc142016-08-22 16:08:15 -070014
15#include "aom_scale/yv12config.h"
16
Yaowu Xuf883b422016-08-30 14:01:10 -070017extern void aom_scale_frame(YV12_BUFFER_CONFIG *src, YV12_BUFFER_CONFIG *dst,
Yaowu Xuc27fc142016-08-22 16:08:15 -070018 unsigned char *temp_area, unsigned char temp_height,
19 unsigned int hscale, unsigned int hratio,
20 unsigned int vscale, unsigned int vratio,
21 unsigned int interlaced);
22
Yaowu Xuf883b422016-08-30 14:01:10 -070023#endif // AOM_SCALE_AOM_SCALE_H_