Commit cf7d1c1a authored by Michael Niedermayer's avatar Michael Niedermayer

use unified yuv2rgb init

{RGB,BGR}{1,4,8,15,16,24,32} output supported

Originally committed as revision 6579 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
parent 7c307827
This diff is collapsed.
...@@ -88,6 +88,11 @@ typedef struct SwsContext{ ...@@ -88,6 +88,11 @@ typedef struct SwsContext{
int chrBufIndex; int chrBufIndex;
int dstY; int dstY;
int flags; int flags;
void * yuvTable;
void * table_rV[256];
void * table_gU[256];
int table_gV[256];
void * table_bU[256];
void (*swScale)(struct SwsContext *context, uint8_t* src[], int srcStride[], int srcSliceY, void (*swScale)(struct SwsContext *context, uint8_t* src[], int srcStride[], int srcSliceY,
int srcSliceH, uint8_t* dst[], int dstStride[]); int srcSliceH, uint8_t* dst[], int dstStride[]);
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment