Improve the interface for the different pixel formats

Unify the get pixel function
Complete the interface
Change some defines from PlaYUVerDefs.h
Add a class to represent a pixel
Improve LibAvContextHandle
This commit is contained in:
jfmcarreira committed 2014-11-10 22:55:09 +00:00
1 parent 82631f22f9
commit 3dfc1de042
11 files changed
+211 -177

No files matched your search

+6 -3
View File
@@ -75,9 +75,12 @@ public:
return m_uiSecs;
}
uint8_t *video_dst_data[4];
int video_dst_linesize[4];
int video_dst_bufsize;
// uint8_t *video_dst_data[4];
// int video_dst_linesize[4];
// int video_dst_bufsize;
UChar* m_pchFrameBuffer;
UInt64 m_uiFrameBufferSize;
private:
AVFormatContext *fmt_ctx;