2013-01-12 03:20:40 +00:00
|
|
|
#ifndef _VIDEOSTREAM_READPICTURECODINGEXTENSION_H_
|
|
|
|
#define _VIDEOSTREAM_READPICTURECODINGEXTENSION_H_
|
|
|
|
|
|
|
|
#include "MpegVideoState.h"
|
|
|
|
#include "VideoStream_Program.h"
|
|
|
|
#include "VideoStream_ReadStructure.h"
|
|
|
|
|
|
|
|
namespace VideoStream
|
|
|
|
{
|
|
|
|
class ReadPictureCodingExtension : public Program
|
|
|
|
{
|
|
|
|
public:
|
2018-04-30 21:01:23 +01:00
|
|
|
ReadPictureCodingExtension();
|
|
|
|
virtual ~ReadPictureCodingExtension();
|
2013-01-12 03:20:40 +00:00
|
|
|
|
2018-04-30 21:01:23 +01:00
|
|
|
void Reset();
|
|
|
|
void Execute(void*, Framework::CBitStream&);
|
2013-01-12 03:20:40 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
enum PROGRAM_STATE
|
|
|
|
{
|
|
|
|
STATE_INIT,
|
|
|
|
STATE_READSTRUCT,
|
|
|
|
STATE_DONE,
|
|
|
|
};
|
|
|
|
|
|
|
|
typedef ReadStructure<PICTURE_CODING_EXTENSION> ReadPictureCodingExtensionStructure;
|
|
|
|
|
2018-04-30 21:01:23 +01:00
|
|
|
ReadPictureCodingExtensionStructure m_readPictureCodingExtensionProgram;
|
|
|
|
PROGRAM_STATE m_programState;
|
2013-01-12 03:20:40 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|