| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2010 The WebM project authors. All Rights Reserved. | 2 * Copyright (c) 2010 The WebM project authors. All Rights Reserved. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license | 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 | 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 | 6 * tree. An additional intellectual property rights grant can be found |
| 7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
| 8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
| 9 */ | 9 */ |
| 10 | 10 |
| 11 | 11 |
| 12 #ifndef VPXSCALE_H | 12 #ifndef VPXSCALE_H |
| 13 #define VPXSCALE_H | 13 #define VPXSCALE_H |
| 14 | 14 |
| 15 #include "vpx_scale/yv12config.h" | 15 #include "vpx_scale/yv12config.h" |
| 16 | 16 |
| 17 extern void vp8_yv12_scale_or_center(YV12_BUFFER_CONFIG *src_yuv_config, | |
| 18 YV12_BUFFER_CONFIG *dst_yuv_config, | |
| 19 int expanded_frame_width, | |
| 20 int expanded_frame_height, | |
| 21 int scaling_mode, | |
| 22 int HScale, | |
| 23 int HRatio, | |
| 24 int VScale, | |
| 25 int VRatio); | |
| 26 | |
| 27 extern void vp8_scale_frame(YV12_BUFFER_CONFIG *src, | 17 extern void vp8_scale_frame(YV12_BUFFER_CONFIG *src, |
| 28 YV12_BUFFER_CONFIG *dst, | 18 YV12_BUFFER_CONFIG *dst, |
| 29 unsigned char *temp_area, | 19 unsigned char *temp_area, |
| 30 unsigned char temp_height, | 20 unsigned char temp_height, |
| 31 unsigned int hscale, | 21 unsigned int hscale, |
| 32 unsigned int hratio, | 22 unsigned int hratio, |
| 33 unsigned int vscale, | 23 unsigned int vscale, |
| 34 unsigned int vratio, | 24 unsigned int vratio, |
| 35 unsigned int interlaced); | 25 unsigned int interlaced); |
| 36 | 26 |
| 37 #endif | 27 #endif |
| OLD | NEW |