| 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 |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 uint8_t *v_buffer; | 48 uint8_t *v_buffer; |
| 49 uint8_t *alpha_buffer; | 49 uint8_t *alpha_buffer; |
| 50 | 50 |
| 51 uint8_t *buffer_alloc; | 51 uint8_t *buffer_alloc; |
| 52 int buffer_alloc_sz; | 52 int buffer_alloc_sz; |
| 53 int border; | 53 int border; |
| 54 int frame_size; | 54 int frame_size; |
| 55 int subsampling_x; | 55 int subsampling_x; |
| 56 int subsampling_y; | 56 int subsampling_y; |
| 57 unsigned int bit_depth; | 57 unsigned int bit_depth; |
| 58 vpx_color_space_t color_space; |
| 58 | 59 |
| 59 int corrupted; | 60 int corrupted; |
| 60 int flags; | 61 int flags; |
| 61 } YV12_BUFFER_CONFIG; | 62 } YV12_BUFFER_CONFIG; |
| 62 | 63 |
| 63 #define YV12_FLAG_HIGHBITDEPTH 1 | 64 #define YV12_FLAG_HIGHBITDEPTH 1 |
| 64 | 65 |
| 65 int vp8_yv12_alloc_frame_buffer(YV12_BUFFER_CONFIG *ybf, | 66 int vp8_yv12_alloc_frame_buffer(YV12_BUFFER_CONFIG *ybf, |
| 66 int width, int height, int border); | 67 int width, int height, int border); |
| 67 int vp8_yv12_realloc_frame_buffer(YV12_BUFFER_CONFIG *ybf, | 68 int vp8_yv12_realloc_frame_buffer(YV12_BUFFER_CONFIG *ybf, |
| (...skipping 24 matching lines...) Expand all Loading... |
| 92 vpx_codec_frame_buffer_t *fb, | 93 vpx_codec_frame_buffer_t *fb, |
| 93 vpx_get_frame_buffer_cb_fn_t cb, | 94 vpx_get_frame_buffer_cb_fn_t cb, |
| 94 void *cb_priv); | 95 void *cb_priv); |
| 95 int vp9_free_frame_buffer(YV12_BUFFER_CONFIG *ybf); | 96 int vp9_free_frame_buffer(YV12_BUFFER_CONFIG *ybf); |
| 96 | 97 |
| 97 #ifdef __cplusplus | 98 #ifdef __cplusplus |
| 98 } | 99 } |
| 99 #endif | 100 #endif |
| 100 | 101 |
| 101 #endif // VPX_SCALE_YV12CONFIG_H_ | 102 #endif // VPX_SCALE_YV12CONFIG_H_ |
| OLD | NEW |