mirror of
https://github.com/libretro/Play-.git
synced 2024-12-04 23:36:30 +00:00
0c5fb983fd
git-svn-id: http://svn.purei.org/purei/trunk@40 b36208d7-6611-0410-8bec-b1987f11c4a2
32 lines
548 B
C++
32 lines
548 B
C++
#ifndef _IPU_MACROBLOCKTYPEBTABLE_H_
|
|
#define _IPU_MACROBLOCKTYPEBTABLE_H_
|
|
|
|
#include "mpeg2/VLCTable.h"
|
|
|
|
namespace IPU
|
|
{
|
|
class CMacroblockTypeBTable : public MPEG2::CVLCTable
|
|
{
|
|
public:
|
|
CMacroblockTypeBTable();
|
|
static CVLCTable* GetInstance();
|
|
|
|
enum MAXBITS
|
|
{
|
|
MAXBITS = 6,
|
|
};
|
|
|
|
enum ENTRYCOUNT
|
|
{
|
|
ENTRYCOUNT = 11,
|
|
};
|
|
|
|
private:
|
|
static MPEG2::VLCTABLEENTRY m_pTable[ENTRYCOUNT];
|
|
static unsigned int m_pIndexTable[MAXBITS];
|
|
static MPEG2::CVLCTable* m_pInstance;
|
|
};
|
|
}
|
|
|
|
#endif
|