Major changes in ColorSpace Definition
Now color space is defined in PlaYUVerFrame New function to check if a pixel format is RGB or YUV or Gray or ARGB implemented
This commit is contained in:
1 parent
3754caa865
commit
518d68483a
5 files changed
+37
-16
No files matched your search
@@ -112,14 +112,6 @@ typedef UChar Pel; ///< 8-bit pixel type
|
||||
// PlaYUVer definitions
|
||||
// ====================================================================================================================
|
||||
|
||||
enum ColorSpace
|
||||
{
|
||||
COLOR_INVALID = -1,
|
||||
COLOR_YUV = 0,
|
||||
COLOR_RGB,
|
||||
};
|
||||
|
||||
|
||||
enum YUVcomponent
|
||||
{
|
||||
LUMA = 0,
|
||||
@@ -136,7 +128,7 @@ enum RGBcomponent
|
||||
|
||||
typedef struct __pixel_definition
|
||||
{
|
||||
ColorSpace color_space;
|
||||
Int color_space;
|
||||
union
|
||||
{
|
||||
Pel Luma;
|
||||
|
||||
Reference in new issue
Block a user