yv12config: remove YUV_TYPE

this was never fleshed out in the context of VP8, for which it was
added. for VP9 it has no meaning.

Change-Id: Iba2ecc026d9e947067b96690245d337e51e26eff
This commit is contained in:
James Zern
2013-07-12 14:11:53 -07:00
parent 37c0a1a8d0
commit 4fc6c88e9c
14 changed files with 7 additions and 43 deletions

View File

@@ -21,24 +21,6 @@ extern "C" {
#define VP9BORDERINPIXELS 96
#define VP9_INTERP_EXTEND 4
/*************************************
For INT_YUV:
Y = (R+G*2+B)/4;
U = (R-B)/2;
V = (G*2 - R - B)/4;
And
R = Y+U-V;
G = Y+V;
B = Y-U-V;
************************************/
typedef enum
{
REG_YUV = 0, /* Regular yuv */
INT_YUV = 1 /* The type of yuv that can be tranfer to and from RGB through integer transform */
}
YUV_TYPE;
typedef struct yv12_buffer_config {
int y_width;
int y_height;
@@ -67,7 +49,6 @@ extern "C" {
int buffer_alloc_sz;
int border;
int frame_size;
YUV_TYPE clrtype;
int corrupted;
int flags;