ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

Video Namespace Reference

Classes

class  AVIDecoder
 Decoder for AVI videos. More...
class  SilentAudioStream
 An AudioStream that just returns silent samples and runs infinitely. More...
class  CoktelDecoder
 Decoder for Coktel videos. More...
class  PreIMDDecoder
class  IMDDecoder
class  VMDDecoder
class  AdvancedVMDDecoder
 A wrapper around the VMD code that implements the VideoDecoder API. More...
class  DXADecoder
 Decoder for DXA videos. More...
class  FlicDecoder
 Decoder for FLIC videos. More...
class  MPEGPSDecoder
 Decoder for MPEG Program Stream videos. More...
class  PSXStreamDecoder
 Decoder for PSX stream videos. More...
class  QuickTimeDecoder
 Decoder for QuickTime videos. More...
class  SmallHuffmanTree
class  BigHuffmanTree
class  SmackerDecoder
 Decoder for Smacker v2/v4 videos. More...
class  TheoraDecoder
 Decoder for Theora videos. More...
class  VideoDecoder
 Generic interface for video decoder classes. More...

Enumerations

enum  { kStreamTypePaletteChange = MKTAG16('p', 'c'), kStreamTypeAudio = MKTAG16('w', 'b') }
enum  {
  kStartCodePack = 0x1BA, kStartCodeSystemHeader = 0x1BB, kStartCodeProgramStreamMap = 0x1BC, kStartCodePrivateStream1 = 0x1BD,
  kStartCodePaddingStream = 0x1BE, kStartCodePrivateStream2 = 0x1BF
}
enum  SmkBlockTypes { SMK_BLOCK_MONO = 0, SMK_BLOCK_FULL = 1, SMK_BLOCK_SKIP = 2, SMK_BLOCK_FILL = 3 }
enum  TheoraYUVBuffers { kBufferY = 0, kBufferU = 1, kBufferV = 2 }

Functions

static void IDCTCol (int16 *dest, const int16 *src)
static int floatToInt16One (float src)
static double rint (double v)

Variables

const uint8 rleLens [4] = { 4, 8, 12, 32 }
static const uint8 rleLengthTab [16]
static const uint16 binkCriticalFreqs [25]
static const uint8 binkScan [64]
 Bink DCT and residue 8x8 block scan order.
static const uint32 binkHuffmanCodes [16][16]
static const uint8 binkHuffmanLengths [16][16]
static const uint8 binkPatterns [16][64]
static const uint32 binkIntraQuant [16][64]
static const uint32 binkInterQuant [16][64]
static const uint32 s_huffmanDCChromaCodes [DC_CODE_COUNT]
static const byte s_huffmanDCChromaLengths [DC_CODE_COUNT]
static const uint32 s_huffmanDCLumaCodes [DC_CODE_COUNT]
static const byte s_huffmanDCLumaLengths [DC_CODE_COUNT]
static const uint32 s_huffmanDCSymbols [DC_CODE_COUNT]
static const uint32 s_huffmanACCodes [AC_CODE_COUNT]
static const byte s_huffmanACLengths [AC_CODE_COUNT]
static const uint32 s_huffmanACSymbols [AC_CODE_COUNT]
static const byte s_syncHeader [12] = { 0x00, 0xff ,0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00 }
static const int s_xaTable [5][2]
static const byte s_zigZagTable [8 *8]
static const byte s_quantizationTable [8 *8]
static const double s_idct8x8 [8][8]
static vorbis_info * info = 0

Enumeration Type Documentation

anonymous enum
Enumerator:
kStreamTypePaletteChange 
kStreamTypeAudio 

Definition at line 73 of file avi_decoder.cpp.

anonymous enum
Enumerator:
kStartCodePack 
kStartCodeSystemHeader 
kStartCodeProgramStreamMap 
kStartCodePrivateStream1 
kStartCodePaddingStream 
kStartCodePrivateStream2 

Definition at line 46 of file mpegps_decoder.cpp.

Enumerator:
SMK_BLOCK_MONO 
SMK_BLOCK_FULL 
SMK_BLOCK_SKIP 
SMK_BLOCK_FILL 

Definition at line 42 of file smk_decoder.cpp.

Enumerator:
kBufferY 
kBufferU 
kBufferV 

Definition at line 309 of file theora_decoder.cpp.


Function Documentation

static int Video::floatToInt16One ( float  src  )  [inline, static]

Definition at line 1662 of file bink_decoder.cpp.

static void Video::IDCTCol ( int16 dest,
const int16 src 
) [inline, static]

Definition at line 1459 of file bink_decoder.cpp.

static double Video::rint ( double  v  )  [static]

Definition at line 360 of file theora_decoder.cpp.


Variable Documentation

const uint16 Video::binkCriticalFreqs[25] [static]
Initial value:
 {
      100,  200,  300,  400,  510,  630,   770,   920,
     1080, 1270, 1480, 1720, 2000, 2320,  2700,  3150,
     3700, 4400, 5300, 6400, 7700, 9500, 12000, 15500,
    24500,
}

Definition at line 30 of file binkdata.h.

const uint32 Video::binkHuffmanCodes[16][16] [static]
Initial value:
 {
    { 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F },
    { 0x00, 0x01, 0x03, 0x05, 0x07, 0x09, 0x0B, 0x0D, 0x0F, 0x13, 0x15, 0x17, 0x19, 0x1B, 0x1D, 0x1F },
    { 0x00, 0x02, 0x01, 0x09, 0x05, 0x15, 0x0D, 0x1D, 0x03, 0x13, 0x0B, 0x1B, 0x07, 0x17, 0x0F, 0x1F },
    { 0x00, 0x02, 0x06, 0x01, 0x09, 0x05, 0x0D, 0x1D, 0x03, 0x13, 0x0B, 0x1B, 0x07, 0x17, 0x0F, 0x1F },
    { 0x00, 0x04, 0x02, 0x06, 0x01, 0x09, 0x05, 0x0D, 0x03, 0x13, 0x0B, 0x1B, 0x07, 0x17, 0x0F, 0x1F },
    { 0x00, 0x04, 0x02, 0x0A, 0x06, 0x0E, 0x01, 0x09, 0x05, 0x0D, 0x03, 0x0B, 0x07, 0x17, 0x0F, 0x1F },
    { 0x00, 0x02, 0x0A, 0x06, 0x0E, 0x01, 0x09, 0x05, 0x0D, 0x03, 0x0B, 0x1B, 0x07, 0x17, 0x0F, 0x1F },
    { 0x00, 0x01, 0x05, 0x03, 0x13, 0x0B, 0x1B, 0x3B, 0x07, 0x27, 0x17, 0x37, 0x0F, 0x2F, 0x1F, 0x3F },
    { 0x00, 0x01, 0x03, 0x13, 0x0B, 0x2B, 0x1B, 0x3B, 0x07, 0x27, 0x17, 0x37, 0x0F, 0x2F, 0x1F, 0x3F },
    { 0x00, 0x01, 0x05, 0x0D, 0x03, 0x13, 0x0B, 0x1B, 0x07, 0x27, 0x17, 0x37, 0x0F, 0x2F, 0x1F, 0x3F },
    { 0x00, 0x02, 0x01, 0x05, 0x0D, 0x03, 0x13, 0x0B, 0x1B, 0x07, 0x17, 0x37, 0x0F, 0x2F, 0x1F, 0x3F },
    { 0x00, 0x01, 0x09, 0x05, 0x0D, 0x03, 0x13, 0x0B, 0x1B, 0x07, 0x17, 0x37, 0x0F, 0x2F, 0x1F, 0x3F },
    { 0x00, 0x02, 0x01, 0x03, 0x13, 0x0B, 0x1B, 0x3B, 0x07, 0x27, 0x17, 0x37, 0x0F, 0x2F, 0x1F, 0x3F },
    { 0x00, 0x01, 0x05, 0x03, 0x07, 0x27, 0x17, 0x37, 0x0F, 0x4F, 0x2F, 0x6F, 0x1F, 0x5F, 0x3F, 0x7F },
    { 0x00, 0x01, 0x05, 0x03, 0x07, 0x17, 0x37, 0x77, 0x0F, 0x4F, 0x2F, 0x6F, 0x1F, 0x5F, 0x3F, 0x7F },
    { 0x00, 0x02, 0x01, 0x05, 0x03, 0x07, 0x27, 0x17, 0x37, 0x0F, 0x2F, 0x6F, 0x1F, 0x5F, 0x3F, 0x7F }
}

Definition at line 49 of file binkdata.h.

const uint8 Video::binkHuffmanLengths[16][16] [static]
Initial value:
 {
    { 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4 },
    { 1, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5 },
    { 2, 2, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5 },
    { 2, 3, 3, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5 },
    { 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5 },
    { 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5 },
    { 2, 4, 4, 4, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5 },
    { 1, 3, 3, 5, 5, 5, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6 },
    { 1, 2, 5, 5, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6 },
    { 1, 3, 4, 4, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 6, 6 },
    { 2, 2, 3, 4, 4, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6 },
    { 1, 4, 4, 4, 4, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6 },
    { 2, 2, 2, 5, 5, 5, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6 },
    { 1, 3, 3, 3, 6, 6, 6, 6, 7, 7, 7, 7, 7, 7, 7, 7 },
    { 1, 3, 3, 3, 5, 6, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7 },
    { 2, 2, 3, 3, 3, 6, 6, 6, 6, 6, 7, 7, 7, 7, 7, 7 }
}

Definition at line 68 of file binkdata.h.

const uint32 Video::binkInterQuant[16][64] [static]

Definition at line 413 of file binkdata.h.

const uint32 Video::binkIntraQuant[16][64] [static]

Definition at line 250 of file binkdata.h.

const uint8 Video::binkPatterns[16][64] [static]

Definition at line 87 of file binkdata.h.

const uint8 Video::binkScan[64] [static]
Initial value:
 {
     0,  1,  8,  9,  2,  3, 10, 11,
     4,  5, 12, 13,  6,  7, 14, 15,
    20, 21, 28, 29, 22, 23, 30, 31,
    16, 17, 24, 25, 32, 33, 40, 41,
    34, 35, 42, 43, 48, 49, 56, 57,
    50, 51, 58, 59, 18, 19, 26, 27,
    36, 37, 44, 45, 38, 39, 46, 47,
    52, 53, 60, 61, 54, 55, 62, 63
}

Bink DCT and residue 8x8 block scan order.

Definition at line 38 of file binkdata.h.

vorbis_info* Video::info = 0 [static]

Definition at line 331 of file theora_decoder.cpp.

const uint8 Video::rleLengthTab[16] [static]
Initial value:
 {
    2, 3, 4, 5, 6, 8, 9, 10, 11, 12, 13, 14, 15, 16, 32, 64
}

Definition at line 1592 of file bink_decoder.cpp.

const uint8 Video::rleLens[4] = { 4, 8, 12, 32 }

Definition at line 1086 of file bink_decoder.cpp.

const uint32 Video::s_huffmanACCodes[AC_CODE_COUNT] [static]
Initial value:
 {
    
    3, 3, 4, 5, 5, 6, 7, 4, 5, 6, 7, 4, 5, 6, 7,
    32, 33, 34, 35, 36, 37, 38, 39, 8, 9, 10, 11,
    12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22,
    23, 24, 25, 26, 27, 28, 29, 30, 31, 16, 17,
    18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28,
    29, 30, 31, 16, 17, 18, 19, 20, 21, 22, 23,
    24, 25, 26, 27, 28, 29, 30, 31, 16, 17, 18,
    19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29,
    30, 31, 16, 17, 18, 19, 20, 21, 22, 23, 24,
    25, 26, 27, 28, 29, 30, 31,

    
    1,
    
    2
}

Definition at line 80 of file psx_decoder.cpp.

const byte Video::s_huffmanACLengths[AC_CODE_COUNT] [static]
Initial value:
 {
    
    2, 3, 4, 4, 5, 5, 5, 6, 6, 6, 6, 7, 7, 7, 7,
    8, 8, 8, 8, 8, 8, 8, 8, 10, 10, 10, 10, 10,
    10, 10, 10, 12, 12, 12, 12, 12, 12, 12, 12,
    12, 12, 12, 12, 12, 12, 12, 12, 13, 13, 13,
    13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13,
    13, 13, 14, 14, 14, 14, 14, 14, 14, 14, 14,
    14, 14, 14, 14, 14, 14, 14, 15, 15, 15, 15,
    15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
    15, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16,
    16, 16, 16, 16, 16, 16,

    
    6,
    
    2
}

Definition at line 99 of file psx_decoder.cpp.

const uint32 Video::s_huffmanACSymbols[AC_CODE_COUNT] [static]

Definition at line 118 of file psx_decoder.cpp.

const uint32 Video::s_huffmanDCChromaCodes[DC_CODE_COUNT] [static]
Initial value:
 {
    254, 126, 62, 30, 14, 6, 2, 1, 0
}

Definition at line 48 of file psx_decoder.cpp.

const byte Video::s_huffmanDCChromaLengths[DC_CODE_COUNT] [static]
Initial value:
 {
    8, 7, 6, 5, 4, 3, 2, 2, 2
}

Definition at line 52 of file psx_decoder.cpp.

const uint32 Video::s_huffmanDCLumaCodes[DC_CODE_COUNT] [static]
Initial value:
 {
    126, 62, 30, 14, 6, 5, 1, 0, 4
}

Definition at line 56 of file psx_decoder.cpp.

const byte Video::s_huffmanDCLumaLengths[DC_CODE_COUNT] [static]
Initial value:
 {
    7, 6, 5, 4, 3, 3, 2, 2, 3
}

Definition at line 60 of file psx_decoder.cpp.

const uint32 Video::s_huffmanDCSymbols[DC_CODE_COUNT] [static]
Initial value:
 {
    DC_HUFF_VAL(8, 255, 128), DC_HUFF_VAL(7, 127, 64), DC_HUFF_VAL(6, 63, 32),
    DC_HUFF_VAL(5, 31, 16), DC_HUFF_VAL(4, 15, 8), DC_HUFF_VAL(3, 7, 4),
    DC_HUFF_VAL(2, 3, 2), DC_HUFF_VAL(1, 1, 1), DC_HUFF_VAL(0, 0, 0)
}

Definition at line 64 of file psx_decoder.cpp.

const double Video::s_idct8x8[8][8] [static]
Initial value:
 {
    { 0.353553390593274,  0.490392640201615,  0.461939766255643,  0.415734806151273,  0.353553390593274,  0.277785116509801,  0.191341716182545,  0.097545161008064 },
    { 0.353553390593274,  0.415734806151273,  0.191341716182545, -0.097545161008064, -0.353553390593274, -0.490392640201615, -0.461939766255643, -0.277785116509801 },
    { 0.353553390593274,  0.277785116509801, -0.191341716182545, -0.490392640201615, -0.353553390593274,  0.097545161008064,  0.461939766255643,  0.415734806151273 },
    { 0.353553390593274,  0.097545161008064, -0.461939766255643, -0.277785116509801,  0.353553390593274,  0.415734806151273, -0.191341716182545, -0.490392640201615 },
    { 0.353553390593274, -0.097545161008064, -0.461939766255643,  0.277785116509801,  0.353553390593274, -0.415734806151273, -0.191341716182545,  0.490392640201615 },
    { 0.353553390593274, -0.277785116509801, -0.191341716182545,  0.490392640201615, -0.353553390593273, -0.097545161008064,  0.461939766255643, -0.415734806151273 },
    { 0.353553390593274, -0.415734806151273,  0.191341716182545,  0.097545161008064, -0.353553390593274,  0.490392640201615, -0.461939766255643,  0.277785116509801 },
    { 0.353553390593274, -0.490392640201615,  0.461939766255643, -0.415734806151273,  0.353553390593273, -0.277785116509801,  0.191341716182545, -0.097545161008064 }
}

Definition at line 624 of file psx_decoder.cpp.

const byte Video::s_quantizationTable[8 *8] [static]
Initial value:
 {
     2, 16, 19, 22, 26, 27, 29, 34,
    16, 16, 22, 24, 27, 29, 34, 37,
    19, 22, 26, 27, 29, 34, 34, 38,
    22, 22, 26, 27, 29, 34, 37, 40,
    22, 26, 27, 29, 32, 35, 40, 48,
    26, 27, 29, 32, 35, 40, 48, 58,
    26, 27, 29, 34, 38, 46, 56, 69,
    27, 29, 35, 38, 46, 56, 69, 83
}

Definition at line 527 of file psx_decoder.cpp.

const byte Video::s_syncHeader[12] = { 0x00, 0xff ,0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00 } [static]

Definition at line 283 of file psx_decoder.cpp.

const int Video::s_xaTable[5][2] [static]
Initial value:
 {
   {   0,   0 },
   {  60,   0 },
   { 115, -52 },
   {  98, -55 },
   { 122, -60 }
}

Definition at line 302 of file psx_decoder.cpp.

const byte Video::s_zigZagTable[8 *8] [static]
Initial value:
 {
     0,  1,  5,  6, 14, 15, 27, 28,
     2,  4,  7, 13, 16, 26, 29, 42,
     3,  8, 12, 17, 25, 30, 41, 43,
     9, 11, 18, 24, 31, 40, 44, 53,
    10, 19, 23, 32, 39, 45, 52, 54,
    20, 22, 33, 38, 46, 51, 55, 60,
    21, 34, 37, 47, 50, 56, 59, 61,
    35, 36, 48, 49, 57, 58, 62, 63
}

Definition at line 515 of file psx_decoder.cpp.



Generated on Sat Mar 16 2019 05:07:17 for ResidualVM by doxygen 1.7.1
curved edge   curved edge