mirror of
https://github.com/libretro/Play-.git
synced 2025-02-13 13:06:43 +00:00
34 lines
551 B
C++
34 lines
551 B
C++
#ifndef _IPU_MACROBLOCKTYPEPTABLE_H_
|
|
#define _IPU_MACROBLOCKTYPEPTABLE_H_
|
|
|
|
#include "mpeg2/VLCTable.h"
|
|
|
|
namespace IPU
|
|
{
|
|
|
|
class CMacroblockTypePTable : public MPEG2::CVLCTable
|
|
{
|
|
public:
|
|
CMacroblockTypePTable();
|
|
static MPEG2::CVLCTable* GetInstance();
|
|
|
|
enum MAXBITS
|
|
{
|
|
MAXBITS = 6,
|
|
};
|
|
|
|
enum ENTRYCOUNT
|
|
{
|
|
ENTRYCOUNT = 7,
|
|
};
|
|
|
|
private:
|
|
static MPEG2::VLCTABLEENTRY m_pTable[ENTRYCOUNT];
|
|
static unsigned int m_pIndexTable[MAXBITS];
|
|
static MPEG2::CVLCTable* m_pInstance;
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|