mirror of
https://github.com/libretro/Play-.git
synced 2025-01-10 18:42:53 +00:00
0c5fb983fd
git-svn-id: http://svn.purei.org/purei/trunk@40 b36208d7-6611-0410-8bec-b1987f11c4a2
36 lines
658 B
C++
36 lines
658 B
C++
#include <string.h>
|
|
#include "IPU_MacroblockTypeITable.h"
|
|
|
|
using namespace IPU;
|
|
using namespace MPEG2;
|
|
|
|
VLCTABLEENTRY CMacroblockTypeITable::m_pTable[ENTRYCOUNT] =
|
|
{
|
|
{ 0x0001, 1, 0x00010001 },
|
|
{ 0x0001, 2, 0x00020011 },
|
|
};
|
|
|
|
unsigned int CMacroblockTypeITable::m_pIndexTable[MAXBITS] =
|
|
{
|
|
0,
|
|
1,
|
|
};
|
|
|
|
CVLCTable* CMacroblockTypeITable::m_pInstance = NULL;
|
|
|
|
CMacroblockTypeITable::CMacroblockTypeITable() :
|
|
CVLCTable(MAXBITS, m_pTable, ENTRYCOUNT, m_pIndexTable)
|
|
{
|
|
|
|
}
|
|
|
|
CVLCTable* CMacroblockTypeITable::GetInstance()
|
|
{
|
|
if(m_pInstance == NULL)
|
|
{
|
|
m_pInstance = new CMacroblockTypeITable();
|
|
}
|
|
|
|
return m_pInstance;
|
|
}
|