| 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 #ifndef YV12_CONFIG_H | 11 #ifndef YV12_CONFIG_H |
| 12 #define YV12_CONFIG_H | 12 #define YV12_CONFIG_H |
| 13 | 13 |
| 14 #ifdef __cplusplus | 14 #ifdef __cplusplus |
| 15 extern "C" { | 15 extern "C" { |
| 16 #endif | 16 #endif |
| 17 | 17 |
| 18 #include "vpx/vpx_integer.h" | 18 #include "vpx/vpx_integer.h" |
| 19 | 19 |
| 20 #define VP8BORDERINPIXELS 32 | 20 #define VP8BORDERINPIXELS 32 |
| 21 #define VP9INNERBORDERINPIXLES 96 | 21 #define VP9INNERBORDERINPIXELS 96 |
| 22 #define VP9BORDERINPIXELS 160 | 22 #define VP9BORDERINPIXELS 160 |
| 23 #define VP9_INTERP_EXTEND 4 | 23 #define VP9_INTERP_EXTEND 4 |
| 24 | 24 |
| 25 typedef struct yv12_buffer_config { | 25 typedef struct yv12_buffer_config { |
| 26 int y_width; | 26 int y_width; |
| 27 int y_height; | 27 int y_height; |
| 28 int y_crop_width; | 28 int y_crop_width; |
| 29 int y_crop_height; | 29 int y_crop_height; |
| 30 int y_stride; | 30 int y_stride; |
| 31 /* int yinternal_width; */ | 31 /* int yinternal_width; */ |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 int vp9_realloc_frame_buffer(YV12_BUFFER_CONFIG *ybf, | 67 int vp9_realloc_frame_buffer(YV12_BUFFER_CONFIG *ybf, |
| 68 int width, int height, int ss_x, int ss_y, | 68 int width, int height, int ss_x, int ss_y, |
| 69 int border); | 69 int border); |
| 70 int vp9_free_frame_buffer(YV12_BUFFER_CONFIG *ybf); | 70 int vp9_free_frame_buffer(YV12_BUFFER_CONFIG *ybf); |
| 71 | 71 |
| 72 #ifdef __cplusplus | 72 #ifdef __cplusplus |
| 73 } | 73 } |
| 74 #endif | 74 #endif |
| 75 | 75 |
| 76 #endif // YV12_CONFIG_H | 76 #endif // YV12_CONFIG_H |
| OLD | NEW |