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.
19 #define VP7BORDERINPIXELS 48
20 #define VP8BORDERINPIXELS 32
22 /*************************************
32 ************************************/
35 REG_YUV
= 0, // Regular yuv
36 INT_YUV
= 1 // The type of yuv that can be tranfer to and from RGB through integer transform
45 // int yinternal_width;
50 // int uvinternal_width;
52 unsigned char *y_buffer
;
53 unsigned char *u_buffer
;
54 unsigned char *v_buffer
;
56 unsigned char *buffer_alloc
;
62 int vp8_yv12_alloc_frame_buffer(YV12_BUFFER_CONFIG
*ybf
, int width
, int height
, int border
);
63 int vp8_yv12_de_alloc_frame_buffer(YV12_BUFFER_CONFIG
*ybf
);
64 int vp8_yv12_black_frame_buffer(YV12_BUFFER_CONFIG
*ybf
);
71 #endif //YV12_CONFIG_H