Add rgb24 format

This commit is contained in:
2014-12-15 01:26:30 +00:00
parent 86ca4d7b13
commit 50467a8f0d
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -299,7 +299,7 @@ Void bufferFromFrameRGB24( Pel ***in, Pel* out, UInt width, UInt height )
bufferFromFrameRGB( in, out, width * height, in[COLOR_R][0], in[COLOR_G][0], in[COLOR_B][0] ); bufferFromFrameRGB( in, out, width * height, in[COLOR_R][0], in[COLOR_G][0], in[COLOR_B][0] );
} }
PlaYUVerFramePelFormat rgb24 = PlaYUVerFramePelFormat RGB24 =
{ {
"RGB24", "RGB24",
PlaYUVerFrame::COLOR_RGB, PlaYUVerFrame::COLOR_RGB,
@@ -340,7 +340,7 @@ PlaYUVerFramePelFormat g_PlaYUVerFramePelFormatsList[PLAYUVER_NUMBER_FORMATS] =
yuv422p, yuv422p,
yuyv422, yuyv422,
gray, gray,
/*rgb24,*/ RGB24,
BGR24, }; BGR24, };
+1 -1
View File
@@ -102,7 +102,7 @@ struct structPlaYUVerFramePelFormat
typedef struct structPlaYUVerFramePelFormat PlaYUVerFramePelFormat; typedef struct structPlaYUVerFramePelFormat PlaYUVerFramePelFormat;
#define PLAYUVER_NUMBER_FORMATS 6 #define PLAYUVER_NUMBER_FORMATS 7
extern PlaYUVerFramePelFormat g_PlaYUVerFramePelFormatsList[PLAYUVER_NUMBER_FORMATS]; extern PlaYUVerFramePelFormat g_PlaYUVerFramePelFormatsList[PLAYUVER_NUMBER_FORMATS];
} // NAMESPACE } // NAMESPACE