2015-05-06 00:54:15 -04:00
|
|
|
#ifndef _IPU_MOTIONCODETABLE_H_
|
|
|
|
#define _IPU_MOTIONCODETABLE_H_
|
|
|
|
|
|
|
|
#include "mpeg2/VLCTable.h"
|
|
|
|
|
|
|
|
namespace IPU
|
|
|
|
{
|
|
|
|
class CMotionCodeTable : public MPEG2::CVLCTable
|
|
|
|
{
|
|
|
|
public:
|
2018-04-30 21:01:23 +01:00
|
|
|
CMotionCodeTable();
|
|
|
|
static CVLCTable* GetInstance();
|
2015-05-06 00:54:15 -04:00
|
|
|
|
|
|
|
enum MAXBITS
|
|
|
|
{
|
|
|
|
MAXBITS = 11,
|
|
|
|
};
|
|
|
|
|
|
|
|
enum ENTRYCOUNT
|
|
|
|
{
|
|
|
|
ENTRYCOUNT = 33,
|
|
|
|
};
|
|
|
|
|
|
|
|
private:
|
2018-04-30 21:01:23 +01:00
|
|
|
static MPEG2::VLCTABLEENTRY m_pTable[ENTRYCOUNT];
|
|
|
|
static unsigned int m_pIndexTable[MAXBITS];
|
|
|
|
static MPEG2::CVLCTable* m_pInstance;
|
2015-05-06 00:54:15 -04:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|