Improve PlaYUVerPixel and add support for RGBA format

Changes ColorSpace enum
Add Alpha channel support in pixel class
Add RGBA pixel format to the list of supported formats
This commit is contained in:
2018-02-04 20:32:59 +00:00
parent d735df75fd
commit 2d6ba03d4a
8 changed files with 287 additions and 243 deletions
+1 -1
View File
@@ -199,7 +199,7 @@ Bool StreamHandlerLibav::openHandler( String strFilename, Bool bInput )
}
m_iPixelFormat = PlaYUVerFrame::NO_FMT;
for( Int i = 0; i < PlaYUVerFrame::NUMBER_PEL_FORMATS; i++ )
for( Int i = 0; i < PlaYUVerFrame::numberOfFormats(); i++ )
{
if( g_PlaYUVerPixFmtDescriptorsMap.at( i ).ffmpegPelFormat == auxPixFmt )
{