Refactor and add new support in LibAvHandler
Refactor list of pixel formats Add support for custom pixel formats by converting it to YUV444p
This commit is contained in:
6 files changed
+170
-100
No files matched your search
@@ -29,6 +29,8 @@
|
||||
#include "PlaYUVerFrame.h"
|
||||
#include "PlaYUVerPixel.h"
|
||||
|
||||
#include <map>
|
||||
|
||||
#define CHROMA_RESAMPLING( X ) ( ( ( X + 1 ) >> 1 ) << 1 )
|
||||
|
||||
#define CHROMARATIO( SIZE, RATIO ) ( RATIO > 1 ? ( ( SIZE + 1 ) / RATIO ) : SIZE )
|
||||
@@ -109,6 +111,6 @@ typedef struct PlaYUVerPixFmtDescriptor
|
||||
|
||||
#define MAX_NUMBER_PLANES 3
|
||||
|
||||
extern const PlaYUVerPixFmtDescriptor g_PlaYUVerPixFmtDescriptorsList[];
|
||||
extern const std::map<int, PlaYUVerPixFmtDescriptor> g_PlaYUVerPixFmtDescriptorsMap;
|
||||
|
||||
#endif // __PLAYUVERFRAMEPIXELFORMATS_H__
|
||||
Reference in new issue
Block a user