2015-05-06 00:54:15 -04:00
|
|
|
#ifndef _IPU_DMVECTORTABLE_H_
|
|
|
|
#define _IPU_DMVECTORTABLE_H_
|
|
|
|
|
|
|
|
#include "mpeg2/VLCTable.h"
|
|
|
|
|
|
|
|
namespace IPU
|
|
|
|
{
|
|
|
|
|
|
|
|
class CDmVectorTable : public MPEG2::CVLCTable
|
|
|
|
{
|
|
|
|
public:
|
2018-04-30 21:01:23 +01:00
|
|
|
CDmVectorTable();
|
|
|
|
static MPEG2::CVLCTable* GetInstance();
|
2015-05-06 00:54:15 -04:00
|
|
|
|
|
|
|
enum MAXBITS
|
|
|
|
{
|
|
|
|
MAXBITS = 2,
|
|
|
|
};
|
|
|
|
|
|
|
|
enum ENTRYCOUNT
|
|
|
|
{
|
|
|
|
ENTRYCOUNT = 3,
|
|
|
|
};
|
|
|
|
|
|
|
|
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
|