xoreos  0.0.5
Namespaces | Classes | Enumerations | Functions | Variables
Video Namespace Reference

Namespaces

 Aurora
 

Classes

class  ActimagineDecoder
 A decoder for Actimagine videos. More...
 
class  Bink
 A decoder for RAD Game Tools' Bink videos. More...
 
class  Codec
 
class  Fader
 A quick test fader "video". More...
 
class  QuickTimeDecoder
 Decoder for QuickTime videos. More...
 
class  VideoDecoder
 A generic interface for video decoders. More...
 
class  VPXDecoder
 
struct  WMV2ACCoefficientTable
 Parameters for decoding the DCT AC coefficients. More...
 
struct  WMV2MVTable
 Parameters for decoding the motion vectors. More...
 
class  XboxMediaVideo
 A decoder for Microsoft Xbox XMV videos. More...
 
class  XMVWMV2Codec
 

Enumerations

enum  { kMP4IODescTag = 2, kMP4ESDescTag = 3, kMP4DecConfigDescTag = 4, kMP4DecSpecificDescTag = 5 }
 

Functions

static int16 dequant (int16 in, uint32 quant, bool dc)
 
static void IDCTCol (int16 *dest, const int16 *src)
 
CodecmakeH263Codec (int width, int height, Common::SeekableReadStream &extraData)
 Create a Codec capable of decoding h.263 frames. More...
 
CodecmakeVP8Decoder ()
 Create a codec capable of decoding VP8 frames. More...
 
CodecmakeVP9Decoder ()
 Create a codec capable of decoding VP9 frames. More...
 
static const char * tag2str (uint32 tag)
 
static int readMP4DescLength (Common::SeekableReadStream *stream)
 
static void readMP4Desc (Common::SeekableReadStream *stream, byte &tag, int &length)
 

Variables

const uint8 rleLens [4] = { 4, 8, 12, 32 }
 
static const uint8 rleLengthTab [16]
 
static const uint32 wmv2HuffmanIMBCodes [64]
 
static const uint8 wmv2HuffmanIMBLengths [64]
 
static const uint32 wmv2HuffmanDC0LumaCodes [120]
 
static const uint8 wmv2HuffmanDC0LumaLengths [120]
 
static const uint32 wmv2HuffmanDC0ChromaCodes [120]
 
static const uint8 wmv2HuffmanDC0ChromaLengths [120]
 
static const uint32 wmv2HuffmanDC1LumaCodes [120]
 
static const uint8 wmv2HuffmanDC1LumaLengths [120]
 
static const uint32 wmv2HuffmanDC1ChromaCodes [120]
 
static const uint8 wmv2HuffmanDC1ChromaLengths [120]
 
static const uint32 wmv2HuffmanMV0Codes [1100]
 
static const uint8 wmv2HuffmanMV0Lengths [1100]
 
static const uint8 wmv2MV0DiffX [1099]
 
static const uint8 wmv2MV0DiffY [1099]
 
static const uint32 wmv2HuffmanMV1Codes [1100]
 
static const uint8 wmv2HuffmanMV1Lengths [1100]
 
static const uint8 wmv2MV1DiffX [1099]
 
static const uint8 wmv2MV1DiffY [1099]
 
static const uint32 wmv2HuffmanPMB0Codes [128]
 
static const uint8 wmv2HuffmanPMB0Lengths [128]
 
static const uint32 wmv2HuffmanPMB1Codes [128]
 
static const uint8 wmv2HuffmanPMB1Lengths [128]
 
static const uint32 wmv2HuffmanPMB2Codes [128]
 
static const uint8 wmv2HuffmanPMB2Lengths [128]
 
static const uint32 wmv2HuffmanAC0LumaCodes [133]
 
static const uint8 wmv2HuffmanAC0LumaLengths [133]
 
static const uint32 wmv2HuffmanAC1LumaCodes [186]
 
static const uint8 wmv2HuffmanAC1LumaLengths [186]
 
static const uint32 wmv2HuffmanAC2LumaCodes [103]
 
static const uint8 wmv2HuffmanAC2LumaLengths [103]
 
static const uint32 wmv2HuffmanAC0ChromaCodes [149]
 
static const uint8 wmv2HuffmanAC0ChromaLengths [149]
 
static const uint32 wmv2HuffmanAC1ChromaCodes [169]
 
static const uint8 wmv2HuffmanAC1ChromaLengths [169]
 
static const uint32 wmv2HuffmanAC2ChromaCodes [103]
 
static const uint8 wmv2HuffmanAC2ChromaLengths [103]
 
static const uint8 wmv2RunTable0Luma [132]
 
static const uint8 wmv2RunDeltaTable0Luma [17]
 
static const uint8 wmv2RunDeltaTableLast0Luma [5]
 
static const uint8 wmv2LevelTable0Luma [132]
 
static const uint8 wmv2LevelDeltaTable0Luma [21]
 
static const uint8 wmv2LevelDeltaTableLast0Luma [27]
 
static const uint8 wmv2RunTable1Luma [185]
 
static const uint8 wmv2RunDeltaTable1Luma [20]
 
static const uint8 wmv2RunDeltaTableLast1Luma [7]
 
static const uint8 wmv2LevelTable1Luma [185]
 
static const uint8 wmv2LevelDeltaTable1Luma [31]
 
static const uint8 wmv2LevelDeltaTableLast1Luma [38]
 
static const uint8 wmv2RunTable2Luma [102]
 
static const uint8 wmv2RunDeltaTable2Luma [28]
 
static const uint8 wmv2RunDeltaTableLast2Luma [9]
 
static const uint8 wmv2LevelTable2Luma [102]
 
static const uint8 wmv2LevelDeltaTable2Luma [15]
 
static const uint8 wmv2LevelDeltaTableLast2Luma [21]
 
static const uint8 wmv2RunTable0Chroma [148]
 
static const uint8 wmv2RunDeltaTable0Chroma [15]
 
static const uint8 wmv2RunDeltaTableLast0Chroma [6]
 
static const uint8 wmv2LevelTable0Chroma [148]
 
static const uint8 wmv2LevelDeltaTable0Chroma [30]
 
static const uint8 wmv2LevelDeltaTableLast0Chroma [44]
 
static const uint8 wmv2RunTable1Chroma [168]
 
static const uint8 wmv2RunDeltaTable1Chroma [24]
 
static const uint8 wmv2RunDeltaTableLast1Chroma [10]
 
static const uint8 wmv2LevelTable1Chroma [168]
 
static const uint8 wmv2LevelDeltaTable1Chroma [27]
 
static const uint8 wmv2LevelDeltaTableLast1Chroma [37]
 
static const uint8 wmv2RunTable2Chroma [102]
 
static const uint8 wmv2RunDeltaTable2Chroma [13]
 
static const uint8 wmv2RunDeltaTableLast2Chroma [4]
 
static const uint8 wmv2LevelTable2Chroma [102]
 
static const uint8 wmv2LevelDeltaTable2Chroma [27]
 
static const uint8 wmv2LevelDeltaTableLast2Chroma [41]
 
const uint8 wmv2ZigZagHorizontal [64]
 I-Frame coefficient zig-zag scantable, horizontal. More...
 
const uint8 wmv2ZigZagVertical [64]
 I-Frame coefficient zig-zag scantable, vertical. More...
 
const uint8 wmv2ZigZagNormal [64]
 I-Frame coefficient zig-zag scantable, normal. More...
 
const uint8 wmv2ZigZag8x8 [64]
 P-Frame coefficient zig-zag scantable, 8x8. More...
 
const uint8 wmv2ZigZag8x4 [32]
 P-Frame coefficient zig-zag scantable, 8x4. More...
 
const uint8 wmv2ZigZag4x8 [32]
 P-Frame coefficient zig-zag scantable, 4x8. More...
 
const Common::HuffmanTable wmv2HuffmanIMB
 I-Frame macroblock block pattern. More...
 
const Common::HuffmanTable wmv2HuffmanDC [2][2]
 DCT DC coefficients [luma/chroma][low/high motion]. More...
 
const Common::HuffmanTable wmv2HuffmanPMB [3]
 P-Frame macroblock block pattern [high/mid/low rate]. More...
 
static const Common::HuffmanTable wmv2HuffmanAC [2][3]
 
static const Common::HuffmanTable wmv2HuffmanMV [2]
 Motion vectors [low/high motion]. More...
 
const WMV2ACCoefficientTable wmv2AC [2][3]
 DCT AC cofficients [luma/chroma][low motion/high motion/MPEG4]. More...
 
const WMV2MVTable wmv2MV [2]
 Motion vectors [low/high motion]. More...
 
static const uint32 kEscapeCodeLuma = 119
 
static const uint32 kEscapeCodeChroma = 119
 
static const uint8 kSkipTypeNone = 0
 
static const uint8 kSkipTypeMPEG = 1
 
static const uint8 kSkipTypeRow = 2
 
static const uint8 kSkipTypeCol = 3
 

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
kMP4IODescTag 
kMP4ESDescTag 
kMP4DecConfigDescTag 
kMP4DecSpecificDescTag 

Definition at line 623 of file quicktime.cpp.

Function Documentation

◆ dequant()

static int16 Video::dequant ( int16  in,
uint32  quant,
bool  dc 
)
inlinestatic

Definition at line 1107 of file bink.cpp.

References CLIP().

Referenced by Video::Bink::BinkVideoTrack::readDCTCoeffs().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ IDCTCol()

static void Video::IDCTCol ( int16 dest,
const int16 src 
)
inlinestatic

Definition at line 1561 of file bink.cpp.

References IDCT_COL.

Referenced by Video::Bink::BinkVideoTrack::IDCT(), and Video::Bink::BinkVideoTrack::IDCTPut().

Here is the caller graph for this function:

◆ makeH263Codec()

Codec * Video::makeH263Codec ( int  width,
int  height,
Common::SeekableReadStream extraData 
)

Create a Codec capable of decoding h.263 frames.

Definition at line 138 of file h263.cpp.

Referenced by Video::QuickTimeDecoder::VideoSampleDesc::initCodec().

Here is the caller graph for this function:

◆ makeVP8Decoder()

Codec * Video::makeVP8Decoder ( )

Create a codec capable of decoding VP8 frames.

Returns
a new Codec, or NULL if an error occurred

Definition at line 137 of file vpx.cpp.

References Common::ScopedPtrBase< T, Deallocator >::release().

Here is the call graph for this function:

◆ makeVP9Decoder()

Codec * Video::makeVP9Decoder ( )

Create a codec capable of decoding VP9 frames.

Returns
a new Codec, or NULL if an error occurred

Definition at line 145 of file vpx.cpp.

References Common::ScopedPtrBase< T, Deallocator >::release().

Here is the call graph for this function:

◆ readMP4Desc()

static void Video::readMP4Desc ( Common::SeekableReadStream stream,
byte tag,
int &  length 
)
static

Definition at line 645 of file quicktime.cpp.

References Common::ReadStream::readByte(), and readMP4DescLength().

Referenced by Video::QuickTimeDecoder::readESDS().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ readMP4DescLength()

static int Video::readMP4DescLength ( Common::SeekableReadStream stream)
static

Definition at line 630 of file quicktime.cpp.

References Common::ReadStream::readByte().

Referenced by readMP4Desc().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ tag2str()

static const char* Video::tag2str ( uint32  tag)
static

Definition at line 87 of file quicktime.cpp.

Referenced by Video::QuickTimeDecoder::VideoSampleDesc::initCodec(), and Video::QuickTimeDecoder::AudioSampleDesc::isAudioCodecSupported().

Here is the caller graph for this function:

Variable Documentation

◆ kEscapeCodeChroma

const uint32 Video::kEscapeCodeChroma = 119
static

Definition at line 72 of file xmvwmv2.cpp.

Referenced by Video::XMVWMV2Codec::DecodeContext::DecodeContext().

◆ kEscapeCodeLuma

const uint32 Video::kEscapeCodeLuma = 119
static

Definition at line 71 of file xmvwmv2.cpp.

Referenced by Video::XMVWMV2Codec::DecodeContext::DecodeContext().

◆ kSkipTypeCol

const uint8 Video::kSkipTypeCol = 3
static

Definition at line 77 of file xmvwmv2.cpp.

◆ kSkipTypeMPEG

const uint8 Video::kSkipTypeMPEG = 1
static

Definition at line 75 of file xmvwmv2.cpp.

◆ kSkipTypeNone

const uint8 Video::kSkipTypeNone = 0
static

Definition at line 74 of file xmvwmv2.cpp.

◆ kSkipTypeRow

const uint8 Video::kSkipTypeRow = 2
static

Definition at line 76 of file xmvwmv2.cpp.

◆ rleLengthTab

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 1455 of file bink.cpp.

Referenced by Video::Bink::BinkAudioTrack::readAudioCoeffs().

◆ rleLens

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

Definition at line 960 of file bink.cpp.

Referenced by Video::Bink::BinkVideoTrack::readBlockTypes().

◆ wmv2AC

const WMV2ACCoefficientTable Video::wmv2AC

DCT AC cofficients [luma/chroma][low motion/high motion/MPEG4].

Definition at line 2364 of file wmv2data.cpp.

Referenced by Video::XMVWMV2Codec::init().

◆ wmv2HuffmanAC

const Common::HuffmanTable Video::wmv2HuffmanAC[2][3]
static

Definition at line 2281 of file wmv2data.cpp.

◆ wmv2HuffmanAC0ChromaCodes

const uint32 Video::wmv2HuffmanAC0ChromaCodes[149]
static
Initial value:
= {
0x0004, 0x0014, 0x0017, 0x007F, 0x0154, 0x01F2, 0x00BF, 0x0065,
0x0AAA, 0x0630, 0x1597, 0x03B7, 0x2B22, 0x0BE6, 0x000B, 0x0037,
0x0062, 0x0007, 0x0166, 0x00CE, 0x1590, 0x05F6, 0x0BE7, 0x0007,
0x006D, 0x0003, 0x031F, 0x05F2, 0x0002, 0x0061, 0x0055, 0x01DF,
0x001A, 0x001E, 0x0AC9, 0x2B23, 0x001E, 0x001F, 0x0AC3, 0x2B2B,
0x0006, 0x0004, 0x02F8, 0x0019, 0x0006, 0x063D, 0x0057, 0x0182,
0x2AA2, 0x0004, 0x0180, 0x059C, 0x007D, 0x0164, 0x076D, 0x0002,
0x018D, 0x1581, 0x00AD, 0x0060, 0x0C67, 0x001C, 0x00EE, 0x0003,
0x02CF, 0x00D9, 0x1580, 0x0002, 0x0183, 0x0057, 0x0061, 0x0031,
0x0066, 0x0631, 0x0632, 0x00AC, 0x031D, 0x0076, 0x003A, 0x0165,
0x0C66, 0x0003, 0x0054, 0x02AB, 0x0016, 0x05F7, 0x0005, 0x00F8,
0x0AA9, 0x005F, 0x0004, 0x001C, 0x1550, 0x0004, 0x0077, 0x076C,
0x000E, 0x000A, 0x000C, 0x0562, 0x0004, 0x031C, 0x0006, 0x00C8,
0x000D, 0x01DA, 0x0007, 0x00C9, 0x0001, 0x002E, 0x0014, 0x1596,
0x000A, 0x0AC2, 0x0016, 0x015B, 0x0015, 0x015A, 0x000F, 0x005E,
0x007E, 0x00AB, 0x002D, 0x00D8, 0x000B, 0x0014, 0x02B3, 0x01F3,
0x003A, 0x0000, 0x0058, 0x002E, 0x005E, 0x0563, 0x00EC, 0x0054,
0x0AC1, 0x1556, 0x02FA, 0x0181, 0x1557, 0x059D, 0x2AA3, 0x2B2A,
0x01DE, 0x063C, 0x00CF, 0x1594, 0x000D
}

Definition at line 1624 of file wmv2data.cpp.

◆ wmv2HuffmanAC0ChromaLengths

const uint8 Video::wmv2HuffmanAC0ChromaLengths[149]
static
Initial value:
= {
3, 5, 7, 8, 9, 10, 11, 12,
12, 13, 13, 14, 14, 15, 4, 7,
9, 11, 12, 13, 13, 14, 15, 5,
8, 11, 12, 14, 6, 9, 12, 14,
6, 10, 12, 14, 6, 10, 12, 14,
7, 11, 13, 7, 11, 13, 7, 11,
14, 8, 11, 14, 8, 12, 15, 9,
11, 13, 8, 12, 14, 9, 13, 9,
13, 9, 13, 11, 11, 12, 12, 11,
12, 13, 13, 13, 12, 12, 11, 12,
14, 2, 7, 10, 13, 14, 4, 9,
12, 15, 4, 10, 13, 5, 11, 15,
5, 12, 5, 11, 6, 12, 6, 13,
6, 13, 6, 13, 7, 14, 7, 13,
7, 12, 7, 14, 7, 14, 8, 15,
8, 8, 9, 9, 9, 10, 10, 10,
10, 10, 10, 9, 10, 11, 12, 12,
12, 13, 13, 11, 13, 14, 14, 14,
14, 13, 13, 13, 9
}

Definition at line 1647 of file wmv2data.cpp.

◆ wmv2HuffmanAC0LumaCodes

const uint32 Video::wmv2HuffmanAC0LumaCodes[133]
static
Initial value:
= {
0x0001, 0x0006, 0x000F, 0x0016, 0x0020, 0x0018, 0x0008, 0x009A,
0x0056, 0x013E, 0x00F0, 0x03A5, 0x0077, 0x01EF, 0x009A, 0x005D,
0x0001, 0x0011, 0x0002, 0x000B, 0x0012, 0x01D6, 0x027E, 0x0191,
0x00EA, 0x03DC, 0x013B, 0x0004, 0x0014, 0x009E, 0x0009, 0x01AC,
0x01E2, 0x03CA, 0x005F, 0x0017, 0x004E, 0x005E, 0x00F3, 0x01AD,
0x00EC, 0x05F0, 0x000E, 0x00E1, 0x03A4, 0x009C, 0x013D, 0x003B,
0x001C, 0x0014, 0x09BE, 0x0006, 0x007A, 0x0190, 0x0137, 0x001B,
0x0008, 0x075C, 0x0071, 0x00D7, 0x09BF, 0x0007, 0x00AF, 0x04CC,
0x0034, 0x0265, 0x009F, 0x00E0, 0x0016, 0x0327, 0x0015, 0x017D,
0x0EBB, 0x0014, 0x00F6, 0x01E4, 0x00CB, 0x099D, 0x00CA, 0x02FC,
0x017F, 0x04CD, 0x02FD, 0x04FE, 0x013A, 0x000A, 0x0042, 0x01D3,
0x04DD, 0x0012, 0x00E8, 0x004C, 0x0136, 0x0039, 0x0264, 0x0EBA,
0x0000, 0x00AE, 0x099C, 0x001F, 0x04DE, 0x0043, 0x04DC, 0x0003,
0x03CB, 0x0006, 0x099E, 0x002A, 0x05F1, 0x000F, 0x09FE, 0x0033,
0x09FF, 0x0098, 0x099F, 0x00EA, 0x013C, 0x002E, 0x0192, 0x0136,
0x006A, 0x0015, 0x03AF, 0x01E3, 0x0074, 0x00EB, 0x02F9, 0x005C,
0x00ED, 0x03DD, 0x0326, 0x005E, 0x0016
}

Definition at line 1492 of file wmv2data.cpp.

◆ wmv2HuffmanAC0LumaLengths

const uint8 Video::wmv2HuffmanAC0LumaLengths[133]
static
Initial value:
= {
2, 3, 4, 5, 6, 7, 8, 8,
9, 9, 10, 10, 11, 11, 12, 13,
4, 5, 7, 8, 9, 9, 10, 11,
12, 12, 13, 5, 7, 8, 10, 11,
11, 12, 13, 5, 7, 9, 10, 11,
12, 13, 6, 8, 10, 12, 13, 6,
9, 11, 12, 7, 9, 11, 13, 7,
10, 11, 7, 10, 12, 8, 10, 11,
8, 10, 12, 8, 11, 12, 9, 11,
12, 9, 10, 11, 10, 12, 10, 12,
11, 11, 12, 11, 13, 4, 7, 9,
11, 5, 8, 11, 13, 6, 10, 12,
7, 10, 12, 7, 11, 7, 11, 8,
12, 8, 12, 8, 13, 8, 12, 8,
12, 8, 12, 8, 13, 8, 11, 9,
9, 11, 10, 11, 11, 12, 12, 13,
12, 12, 12, 13, 7
}

Definition at line 1513 of file wmv2data.cpp.

◆ wmv2HuffmanAC1ChromaCodes

const uint32 Video::wmv2HuffmanAC1ChromaCodes[169]
static
Initial value:
= {
0x0000, 0x0003, 0x000B, 0x0014, 0x003F, 0x005D, 0x00A2, 0x00AC,
0x016E, 0x020A, 0x02E2, 0x0432, 0x05C9, 0x0827, 0x0B54, 0x04E6,
0x105F, 0x172A, 0x20B2, 0x2D4E, 0x39F0, 0x4175, 0x5A9E, 0x0004,
0x001E, 0x0042, 0x00B6, 0x0173, 0x0395, 0x072E, 0x0B94, 0x16A4,
0x20B3, 0x2E45, 0x0005, 0x0040, 0x0049, 0x028F, 0x05CB, 0x048A,
0x09DD, 0x73E2, 0x0018, 0x0025, 0x008A, 0x051B, 0x0E5F, 0x09C9,
0x139C, 0x0029, 0x004F, 0x0412, 0x048D, 0x2E41, 0x0038, 0x010E,
0x05A8, 0x105C, 0x39F2, 0x0058, 0x021F, 0x0E7E, 0x39FF, 0x0023,
0x02E3, 0x04E5, 0x2E40, 0x00A1, 0x05BE, 0x09C8, 0x0083, 0x013A,
0x1721, 0x0044, 0x0276, 0x39F6, 0x008B, 0x04EF, 0x5A9B, 0x0208,
0x1CFE, 0x0399, 0x1CB4, 0x039E, 0x39F3, 0x05AB, 0x73E3, 0x0737,
0x5A9F, 0x082D, 0x0E69, 0x0E68, 0x0433, 0x0B7B, 0x2DF8, 0x2E56,
0x2E57, 0x39F7, 0x51A5, 0x0003, 0x002A, 0x00E4, 0x028E, 0x0735,
0x1058, 0x1CFA, 0x2DF9, 0x4174, 0x0009, 0x0054, 0x0398, 0x048B,
0x139D, 0x000D, 0x00AD, 0x0826, 0x2D4C, 0x0011, 0x016B, 0x0B7F,
0x51A4, 0x0019, 0x021B, 0x16FD, 0x001D, 0x0394, 0x28D3, 0x002B,
0x05BC, 0x5A9A, 0x002F, 0x0247, 0x0010, 0x0A35, 0x003E, 0x0B7A,
0x0059, 0x105E, 0x0026, 0x09CF, 0x0055, 0x1CB5, 0x0057, 0x0E5B,
0x00A0, 0x1468, 0x0170, 0x0090, 0x01CE, 0x021A, 0x0218, 0x0168,
0x021E, 0x0244, 0x0736, 0x0138, 0x0519, 0x0E5E, 0x072C, 0x0B55,
0x09DC, 0x20BB, 0x048C, 0x1723, 0x2E44, 0x16A5, 0x0518, 0x39FE,
0x0169
}

Definition at line 1670 of file wmv2data.cpp.

◆ wmv2HuffmanAC1ChromaLengths

const uint8 Video::wmv2HuffmanAC1ChromaLengths[169]
static
Initial value:
= {
3, 4, 5, 6, 6, 7, 8, 9,
9, 10, 10, 11, 11, 12, 12, 13,
13, 13, 14, 14, 14, 15, 15, 4,
5, 7, 8, 9, 10, 11, 12, 13,
14, 14, 5, 7, 9, 10, 11, 13,
14, 15, 5, 8, 10, 11, 12, 14,
15, 6, 9, 11, 13, 14, 6, 9,
11, 13, 14, 7, 10, 12, 14, 8,
10, 13, 14, 8, 11, 14, 8, 11,
13, 9, 12, 14, 10, 13, 15, 10,
13, 10, 13, 10, 14, 11, 15, 11,
15, 12, 12, 12, 11, 12, 14, 14,
14, 14, 15, 3, 6, 8, 10, 11,
13, 13, 14, 15, 4, 8, 10, 13,
15, 4, 9, 12, 14, 5, 9, 12,
15, 5, 10, 13, 5, 10, 14, 6,
11, 15, 6, 12, 7, 12, 6, 12,
7, 13, 8, 14, 8, 13, 8, 12,
8, 13, 9, 10, 9, 10, 10, 9,
10, 12, 11, 11, 11, 12, 11, 12,
14, 14, 13, 13, 14, 13, 11, 14,
9
}

Definition at line 1696 of file wmv2data.cpp.

◆ wmv2HuffmanAC1LumaCodes

const uint32 Video::wmv2HuffmanAC1LumaCodes[186]
static
Initial value:
= {
0x0001, 0x0005, 0x000D, 0x0012, 0x000E, 0x0015, 0x0013, 0x003F,
0x004B, 0x011F, 0x00B8, 0x03E3, 0x0172, 0x024D, 0x03DA, 0x02DD,
0x1F55, 0x05B9, 0x3EAE, 0x0000, 0x0010, 0x0008, 0x0020, 0x0029,
0x01F4, 0x0233, 0x01E0, 0x012A, 0x03DD, 0x050A, 0x1F29, 0x0A42,
0x1272, 0x1737, 0x0003, 0x0011, 0x00C4, 0x004B, 0x00B4, 0x07D4,
0x0345, 0x02D7, 0x07BF, 0x0938, 0x0BBB, 0x095E, 0x0013, 0x0078,
0x0069, 0x0232, 0x0461, 0x03EC, 0x0520, 0x1F2A, 0x3E50, 0x3E51,
0x1486, 0x000C, 0x0024, 0x0094, 0x08C0, 0x0F09, 0x1EF0, 0x003D,
0x0053, 0x01A0, 0x02D6, 0x0F08, 0x0013, 0x007C, 0x07C1, 0x04AC,
0x001B, 0x00A0, 0x0344, 0x0F79, 0x0079, 0x03E1, 0x02D4, 0x2306,
0x0021, 0x023C, 0x0FAE, 0x23DE, 0x0035, 0x0175, 0x07B3, 0x00C5,
0x0174, 0x0785, 0x0048, 0x01A3, 0x049E, 0x002C, 0x00FA, 0x07D6,
0x0092, 0x05CC, 0x1EF1, 0x00A3, 0x03ED, 0x093E, 0x01E2, 0x1273,
0x07C4, 0x1487, 0x0291, 0x0293, 0x0F8A, 0x0509, 0x0508, 0x078D,
0x07BE, 0x078C, 0x04AE, 0x0BBA, 0x2307, 0x0B9A, 0x1736, 0x000E,
0x0045, 0x01F3, 0x047A, 0x05DC, 0x23DF, 0x0019, 0x0028, 0x0176,
0x049D, 0x23DD, 0x0030, 0x00A2, 0x02EF, 0x05B8, 0x003F, 0x00A5,
0x03DB, 0x093F, 0x0044, 0x07CB, 0x095F, 0x0063, 0x03C3, 0x0015,
0x08F6, 0x0017, 0x0498, 0x002C, 0x07B2, 0x002F, 0x1F54, 0x008D,
0x07BD, 0x008E, 0x1182, 0x00FB, 0x050B, 0x002D, 0x07C0, 0x0079,
0x1F5F, 0x007A, 0x1F56, 0x0231, 0x03E4, 0x01A1, 0x0143, 0x01F7,
0x016F, 0x0292, 0x02E7, 0x016C, 0x016D, 0x03DC, 0x0F8B, 0x0499,
0x03D8, 0x078E, 0x02D5, 0x1F5E, 0x1F2B, 0x078F, 0x04AD, 0x3EAF,
0x23DC, 0x004A
}

Definition at line 1534 of file wmv2data.cpp.

◆ wmv2HuffmanAC1LumaLengths

const uint8 Video::wmv2HuffmanAC1LumaLengths[186]
static
Initial value:
= {
2, 3, 4, 5, 6, 7, 8, 8,
9, 9, 10, 10, 11, 12, 12, 13,
13, 14, 14, 4, 5, 7, 8, 9,
9, 10, 11, 12, 12, 13, 13, 14,
15, 15, 5, 7, 8, 10, 11, 11,
12, 13, 13, 14, 14, 15, 5, 7,
9, 10, 11, 12, 13, 13, 14, 14,
15, 6, 9, 11, 12, 14, 15, 6,
9, 11, 13, 14, 7, 9, 11, 14,
7, 10, 12, 14, 7, 10, 13, 14,
8, 10, 12, 14, 8, 11, 13, 8,
11, 13, 9, 11, 13, 9, 10, 11,
10, 13, 15, 10, 12, 14, 11, 15,
11, 15, 12, 12, 12, 13, 13, 13,
13, 13, 14, 14, 14, 14, 15, 4,
7, 9, 11, 13, 14, 5, 9, 11,
13, 14, 6, 10, 12, 14, 6, 10,
12, 14, 7, 11, 15, 7, 12, 8,
12, 8, 13, 8, 13, 8, 13, 8,
13, 8, 13, 8, 13, 8, 11, 9,
13, 9, 13, 10, 10, 11, 11, 11,
12, 12, 12, 12, 12, 12, 12, 13,
12, 13, 13, 13, 13, 13, 14, 14,
14, 9
}

Definition at line 1562 of file wmv2data.cpp.

◆ wmv2HuffmanAC2ChromaCodes

const uint32 Video::wmv2HuffmanAC2ChromaCodes[103]
static
Initial value:
= {
0x0002, 0x000F, 0x0015, 0x0017, 0x001F, 0x0025, 0x0024, 0x0021,
0x0020, 0x0007, 0x0006, 0x0020, 0x0006, 0x0014, 0x001E, 0x000F,
0x0021, 0x0050, 0x000E, 0x001D, 0x000E, 0x0051, 0x000D, 0x0023,
0x000D, 0x000C, 0x0022, 0x0052, 0x000B, 0x000C, 0x0053, 0x0013,
0x000B, 0x0054, 0x0012, 0x000A, 0x0011, 0x0009, 0x0010, 0x0008,
0x0016, 0x0055, 0x0015, 0x0014, 0x001C, 0x001B, 0x0021, 0x0020,
0x001F, 0x001E, 0x001D, 0x001C, 0x001B, 0x001A, 0x0022, 0x0023,
0x0056, 0x0057, 0x0007, 0x0019, 0x0005, 0x000F, 0x0004, 0x000E,
0x000D, 0x000C, 0x0013, 0x0012, 0x0011, 0x0010, 0x001A, 0x0019,
0x0018, 0x0017, 0x0016, 0x0015, 0x0014, 0x0013, 0x0018, 0x0017,
0x0016, 0x0015, 0x0014, 0x0013, 0x0012, 0x0011, 0x0007, 0x0006,
0x0005, 0x0004, 0x0024, 0x0025, 0x0026, 0x0027, 0x0058, 0x0059,
0x005A, 0x005B, 0x005C, 0x005D, 0x005E, 0x005F, 0x0003
}

Definition at line 1722 of file wmv2data.cpp.

◆ wmv2HuffmanAC2ChromaLengths

const uint8 Video::wmv2HuffmanAC2ChromaLengths[103]
static
Initial value:
= {
2, 4, 6, 7, 8, 9, 9, 10,
10, 11, 11, 11, 3, 6, 8, 10,
11, 12, 4, 8, 10, 12, 5, 9,
10, 5, 9, 12, 5, 10, 12, 6,
10, 12, 6, 10, 6, 10, 6, 10,
7, 12, 7, 7, 8, 8, 9, 9,
9, 9, 9, 9, 9, 9, 11, 11,
12, 12, 4, 9, 11, 6, 11, 6,
6, 6, 7, 7, 7, 7, 8, 8,
8, 8, 8, 8, 8, 8, 9, 9,
9, 9, 9, 9, 9, 9, 10, 10,
10, 10, 11, 11, 11, 11, 12, 12,
12, 12, 12, 12, 12, 12, 7
}

Definition at line 1739 of file wmv2data.cpp.

◆ wmv2HuffmanAC2LumaCodes

const uint32 Video::wmv2HuffmanAC2LumaCodes[103]
static
Initial value:
= {
0x0002, 0x0006, 0x000F, 0x000D, 0x000C, 0x0015, 0x0013, 0x0012,
0x0017, 0x001F, 0x001E, 0x001D, 0x0025, 0x0024, 0x0023, 0x0021,
0x0021, 0x0020, 0x000F, 0x000E, 0x0007, 0x0006, 0x0020, 0x0021,
0x0050, 0x0051, 0x0052, 0x000E, 0x0014, 0x0016, 0x001C, 0x0020,
0x001F, 0x000D, 0x0022, 0x0053, 0x0055, 0x000B, 0x0015, 0x001E,
0x000C, 0x0056, 0x0011, 0x001B, 0x001D, 0x000B, 0x0010, 0x0022,
0x000A, 0x000D, 0x001C, 0x0008, 0x0012, 0x001B, 0x0054, 0x0014,
0x001A, 0x0057, 0x0019, 0x0009, 0x0018, 0x0023, 0x0017, 0x0019,
0x0018, 0x0007, 0x0058, 0x0007, 0x000C, 0x0016, 0x0017, 0x0006,
0x0005, 0x0004, 0x0059, 0x000F, 0x0016, 0x0005, 0x000E, 0x0004,
0x0011, 0x0024, 0x0010, 0x0025, 0x0013, 0x005A, 0x0015, 0x005B,
0x0014, 0x0013, 0x001A, 0x0015, 0x0014, 0x0013, 0x0012, 0x0011,
0x0026, 0x0027, 0x005C, 0x005D, 0x005E, 0x005F, 0x0003
}

Definition at line 1590 of file wmv2data.cpp.

◆ wmv2HuffmanAC2LumaLengths

const uint8 Video::wmv2HuffmanAC2LumaLengths[103]
static
Initial value:
= {
2, 3, 4, 5, 5, 6, 6, 6,
7, 8, 8, 8, 9, 9, 9, 9,
10, 10, 10, 10, 11, 11, 11, 11,
12, 12, 12, 4, 6, 7, 8, 9,
9, 10, 11, 12, 12, 5, 7, 9,
10, 12, 6, 8, 9, 10, 6, 9,
10, 6, 9, 10, 7, 9, 12, 7,
9, 12, 8, 10, 8, 11, 8, 9,
9, 10, 12, 4, 6, 8, 9, 10,
11, 11, 12, 6, 9, 10, 6, 10,
7, 11, 7, 11, 7, 12, 8, 12,
8, 8, 8, 9, 9, 9, 9, 9,
11, 11, 12, 12, 12, 12, 7
}

Definition at line 1607 of file wmv2data.cpp.

◆ wmv2HuffmanDC

const Common::HuffmanTable Video::wmv2HuffmanDC

DCT DC coefficients [luma/chroma][low/high motion].

Definition at line 2208 of file wmv2data.cpp.

Referenced by Video::XMVWMV2Codec::init().

◆ wmv2HuffmanDC0ChromaCodes

const uint32 Video::wmv2HuffmanDC0ChromaCodes[120]
static
Initial value:
= {
0x000000, 0x000001, 0x000005, 0x000009, 0x00000D, 0x000011, 0x00001D, 0x00001F,
0x000021, 0x000031, 0x000038, 0x000033, 0x000039, 0x00003D, 0x000061, 0x000079,
0x000080, 0x0000C8, 0x0000CA, 0x0000F0, 0x000081, 0x0000C0, 0x0000C9, 0x000107,
0x000106, 0x000196, 0x000183, 0x0001E3, 0x0001E2, 0x00020A, 0x00020B, 0x000609,
0x000412, 0x000413, 0x00060B, 0x000411, 0x00060A, 0x00065F, 0x000410, 0x00065D,
0x00065E, 0x000CB8, 0x000C10, 0x000CB9, 0x001823, 0x003045, 0x006089, 0x00C110,
0x304448, 0x304449, 0x30444A, 0x30444B, 0x30444C, 0x30444D, 0x30444E, 0x30444F,
0x304450, 0x304451, 0x304452, 0x304453, 0x304454, 0x304455, 0x304456, 0x304457,
0x304458, 0x304459, 0x30445A, 0x30445B, 0x30445C, 0x30445D, 0x30445E, 0x30445F,
0x304460, 0x304461, 0x304462, 0x304463, 0x304464, 0x304465, 0x304466, 0x304467,
0x304468, 0x304469, 0x30446A, 0x30446B, 0x30446C, 0x30446D, 0x30446E, 0x30446F,
0x304470, 0x304471, 0x304472, 0x304473, 0x304474, 0x304475, 0x304476, 0x304477,
0x304478, 0x304479, 0x30447A, 0x30447B, 0x30447C, 0x30447D, 0x30447E, 0x30447F,
0x608880, 0x608881, 0x608882, 0x608883, 0x608884, 0x608885, 0x608886, 0x608887,
0x608888, 0x608889, 0x60888A, 0x60888B, 0x60888C, 0x60888D, 0x60888E, 0x60888F
}

Definition at line 120 of file wmv2data.cpp.

◆ wmv2HuffmanDC0ChromaLengths

const uint8 Video::wmv2HuffmanDC0ChromaLengths[120]
static
Initial value:
= {
2, 2, 3, 4, 4, 5, 5, 5,
6, 6, 6, 6, 6, 6, 7, 7,
8, 8, 8, 8, 8, 8, 8, 9,
9, 9, 9, 9, 9, 10, 10, 11,
11, 11, 11, 11, 11, 11, 11, 11,
11, 12, 12, 12, 13, 14, 15, 16,
22, 22, 22, 22, 22, 22, 22, 22,
22, 22, 22, 22, 22, 22, 22, 22,
22, 22, 22, 22, 22, 22, 22, 22,
22, 22, 22, 22, 22, 22, 22, 22,
22, 22, 22, 22, 22, 22, 22, 22,
22, 22, 22, 22, 22, 22, 22, 22,
22, 22, 22, 22, 22, 22, 22, 22,
23, 23, 23, 23, 23, 23, 23, 23,
23, 23, 23, 23, 23, 23, 23, 23
}

Definition at line 139 of file wmv2data.cpp.

◆ wmv2HuffmanDC0LumaCodes

const uint32 Video::wmv2HuffmanDC0LumaCodes[120]
static
Initial value:
= {
0x00001, 0x00001, 0x00001, 0x00001, 0x00005, 0x00007, 0x00008, 0x0000C,
0x00000, 0x00002, 0x00012, 0x0001A, 0x00003, 0x00007, 0x00027, 0x00037,
0x00005, 0x0004C, 0x0006C, 0x0006D, 0x00008, 0x00019, 0x0009B, 0x0001B,
0x0009A, 0x00013, 0x00034, 0x00035, 0x00061, 0x00048, 0x000C4, 0x0004A,
0x000C6, 0x000C7, 0x00092, 0x0018B, 0x00093, 0x00183, 0x00182, 0x00096,
0x00097, 0x00180, 0x00314, 0x00315, 0x00605, 0x00604, 0x00606, 0x00C0E,
0x303CD, 0x303C9, 0x303C8, 0x303CA, 0x303CB, 0x303CC, 0x303CE, 0x303CF,
0x303D0, 0x303D1, 0x303D2, 0x303D3, 0x303D4, 0x303D5, 0x303D6, 0x303D7,
0x303D8, 0x303D9, 0x303DA, 0x303DB, 0x303DC, 0x303DD, 0x303DE, 0x303DF,
0x303E0, 0x303E1, 0x303E2, 0x303E3, 0x303E4, 0x303E5, 0x303E6, 0x303E7,
0x303E8, 0x303E9, 0x303EA, 0x303EB, 0x303EC, 0x303ED, 0x303EE, 0x303EF,
0x303F0, 0x303F1, 0x303F2, 0x303F3, 0x303F4, 0x303F5, 0x303F6, 0x303F7,
0x303F8, 0x303F9, 0x303FA, 0x303FB, 0x303FC, 0x303FD, 0x303FE, 0x303FF,
0x60780, 0x60781, 0x60782, 0x60783, 0x60784, 0x60785, 0x60786, 0x60787,
0x60788, 0x60789, 0x6078A, 0x6078B, 0x6078C, 0x6078D, 0x6078E, 0x6078F
}

Definition at line 82 of file wmv2data.cpp.

◆ wmv2HuffmanDC0LumaLengths

const uint8 Video::wmv2HuffmanDC0LumaLengths[120]
static
Initial value:
= {
1, 2, 4, 5, 5, 5, 6, 6,
7, 7, 7, 7, 8, 8, 8, 8,
9, 9, 9, 9, 10, 10, 10, 10,
10, 11, 11, 11, 12, 13, 13, 13,
13, 13, 14, 14, 14, 14, 14, 14,
14, 14, 15, 15, 16, 16, 16, 17,
23, 23, 23, 23, 23, 23, 23, 23,
23, 23, 23, 23, 23, 23, 23, 23,
23, 23, 23, 23, 23, 23, 23, 23,
23, 23, 23, 23, 23, 23, 23, 23,
23, 23, 23, 23, 23, 23, 23, 23,
23, 23, 23, 23, 23, 23, 23, 23,
23, 23, 23, 23, 23, 23, 23, 23,
24, 24, 24, 24, 24, 24, 24, 24,
24, 24, 24, 24, 24, 24, 24, 24
}

Definition at line 101 of file wmv2data.cpp.

◆ wmv2HuffmanDC1ChromaCodes

const uint32 Video::wmv2HuffmanDC1ChromaCodes[120]
static
Initial value:
= {
0x0000000, 0x0000001, 0x0000004, 0x0000007, 0x000000B, 0x000000D, 0x0000015, 0x0000028,
0x0000030, 0x0000032, 0x0000052, 0x0000062, 0x0000066, 0x00000A6, 0x00000C6, 0x00000CF,
0x000014F, 0x000018E, 0x000019C, 0x000029D, 0x000033A, 0x0000538, 0x000063C, 0x000063E,
0x000063F, 0x0000676, 0x0000A73, 0x0000C7A, 0x0000CEF, 0x00014E5, 0x00019DD, 0x00029C8,
0x00029C9, 0x00063DD, 0x00033B8, 0x00033B9, 0x000C7B6, 0x00063D8, 0x00063DF, 0x000C7B3,
0x000C7B4, 0x000C7B5, 0x00063DE, 0x000C7B7, 0x000C7B8, 0x000C7B9, 0x0018F65, 0x0031EC8,
0x0C7B248, 0x0C7B249, 0x0C7B24A, 0x0C7B24B, 0x0C7B24C, 0x0C7B24D, 0x0C7B24E, 0x0C7B24F,
0x0C7B250, 0x0C7B251, 0x0C7B252, 0x0C7B253, 0x0C7B254, 0x0C7B255, 0x0C7B256, 0x0C7B257,
0x0C7B258, 0x0C7B259, 0x0C7B25A, 0x0C7B25B, 0x0C7B25C, 0x0C7B25D, 0x0C7B25E, 0x0C7B25F,
0x0C7B260, 0x0C7B261, 0x0C7B262, 0x0C7B263, 0x0C7B264, 0x0C7B265, 0x0C7B266, 0x0C7B267,
0x0C7B268, 0x0C7B269, 0x0C7B26A, 0x0C7B26B, 0x0C7B26C, 0x0C7B26D, 0x0C7B26E, 0x0C7B26F,
0x0C7B270, 0x0C7B271, 0x0C7B272, 0x0C7B273, 0x0C7B274, 0x0C7B275, 0x0C7B276, 0x0C7B277,
0x0C7B278, 0x0C7B279, 0x0C7B27A, 0x0C7B27B, 0x0C7B27C, 0x0C7B27D, 0x0C7B27E, 0x0C7B27F,
0x18F6480, 0x18F6481, 0x18F6482, 0x18F6483, 0x18F6484, 0x18F6485, 0x18F6486, 0x18F6487,
0x18F6488, 0x18F6489, 0x18F648A, 0x18F648B, 0x18F648C, 0x18F648D, 0x18F648E, 0x18F648F
}

Definition at line 196 of file wmv2data.cpp.

◆ wmv2HuffmanDC1ChromaLengths

const uint8 Video::wmv2HuffmanDC1ChromaLengths[120]
static
Initial value:
= {
2, 2, 3, 3, 4, 4, 5, 6,
6, 6, 7, 7, 7, 8, 8, 8,
9, 9, 9, 10, 10, 11, 11, 11,
11, 11, 12, 12, 12, 13, 13, 14,
14, 15, 14, 14, 16, 15, 15, 16,
16, 16, 15, 16, 16, 16, 17, 18,
24, 24, 24, 24, 24, 24, 24, 24,
24, 24, 24, 24, 24, 24, 24, 24,
24, 24, 24, 24, 24, 24, 24, 24,
24, 24, 24, 24, 24, 24, 24, 24,
24, 24, 24, 24, 24, 24, 24, 24,
24, 24, 24, 24, 24, 24, 24, 24,
24, 24, 24, 24, 24, 24, 24, 24,
25, 25, 25, 25, 25, 25, 25, 25,
25, 25, 25, 25, 25, 25, 25, 25
}

Definition at line 215 of file wmv2data.cpp.

◆ wmv2HuffmanDC1LumaCodes

const uint32 Video::wmv2HuffmanDC1LumaCodes[120]
static
Initial value:
= {
0x000002, 0x000003, 0x000003, 0x000002, 0x000005, 0x000001, 0x000003, 0x000008,
0x000000, 0x000005, 0x00000D, 0x00000F, 0x000013, 0x000008, 0x000018, 0x00001C,
0x000024, 0x000004, 0x000006, 0x000012, 0x000032, 0x00003B, 0x00004A, 0x00004B,
0x00000B, 0x000026, 0x000027, 0x000066, 0x000074, 0x000075, 0x000014, 0x00001C,
0x00001F, 0x00001D, 0x00002B, 0x00003D, 0x00019D, 0x00019F, 0x000054, 0x000339,
0x000338, 0x00033D, 0x0000AB, 0x0000F1, 0x000678, 0x0000F2, 0x0001E0, 0x0001E1,
0x000154, 0x000CF2, 0x0003CC, 0x0002AB, 0x0019E7, 0x0003CE, 0x0019E6, 0x000554,
0x00079F, 0x000555, 0x000F3D, 0x000F37, 0x000F3C, 0x000F35, 0x001E6D, 0x001E68,
0x003CD8, 0x003CD3, 0x003CD9, 0x0079A4, 0x0F34BA, 0x0F34B4, 0x0F34B5, 0x0F34B6,
0x0F34B7, 0x0F34B8, 0x0F34B9, 0x0F34BB, 0x0F34BC, 0x0F34BD, 0x0F34BE, 0x0F34BF,
0x1E6940, 0x1E6941, 0x1E6942, 0x1E6943, 0x1E6944, 0x1E6945, 0x1E6946, 0x1E6947,
0x1E6948, 0x1E6949, 0x1E694A, 0x1E694B, 0x1E694C, 0x1E694D, 0x1E694E, 0x1E694F,
0x1E6950, 0x1E6951, 0x1E6952, 0x1E6953, 0x1E6954, 0x1E6955, 0x1E6956, 0x1E6957,
0x1E6958, 0x1E6959, 0x1E695A, 0x1E695B, 0x1E695C, 0x1E695D, 0x1E695E, 0x1E695F,
0x1E6960, 0x1E6961, 0x1E6962, 0x1E6963, 0x1E6964, 0x1E6965, 0x1E6966, 0x1E6967
}

Definition at line 158 of file wmv2data.cpp.

◆ wmv2HuffmanDC1LumaLengths

const uint8 Video::wmv2HuffmanDC1LumaLengths[120]
static
Initial value:
= {
2, 2, 3, 4, 4, 5, 5, 5,
6, 6, 6, 6, 6, 7, 7, 7,
7, 8, 8, 8, 8, 8, 8, 8,
9, 9, 9, 9, 9, 9, 10, 10,
10, 10, 11, 11, 11, 11, 12, 12,
12, 12, 13, 13, 13, 13, 14, 14,
14, 14, 15, 15, 15, 15, 15, 16,
16, 16, 17, 17, 17, 17, 18, 18,
19, 19, 19, 20, 25, 25, 25, 25,
25, 25, 25, 25, 25, 25, 25, 25,
26, 26, 26, 26, 26, 26, 26, 26,
26, 26, 26, 26, 26, 26, 26, 26,
26, 26, 26, 26, 26, 26, 26, 26,
26, 26, 26, 26, 26, 26, 26, 26,
26, 26, 26, 26, 26, 26, 26, 26
}

Definition at line 177 of file wmv2data.cpp.

◆ wmv2HuffmanIMB

const Common::HuffmanTable Video::wmv2HuffmanIMB
Initial value:
= {
0,
0
}
static const uint32 wmv2HuffmanIMBCodes[64]
Definition: wmv2data.cpp:57
#define ARRAYSIZE(x)
Macro which determines the number of entries in a fixed size array.
Definition: util.h:131
static const uint8 wmv2HuffmanIMBLengths[64]
Definition: wmv2data.cpp:69

I-Frame macroblock block pattern.

Definition at line 2199 of file wmv2data.cpp.

Referenced by Video::XMVWMV2Codec::init().

◆ wmv2HuffmanIMBCodes

const uint32 Video::wmv2HuffmanIMBCodes[64]
static
Initial value:
= {
0x0001, 0x0017, 0x0009, 0x0005, 0x0006, 0x0047, 0x0020, 0x0010,
0x0002, 0x007C, 0x003A, 0x001D, 0x0002, 0x00EC, 0x0077, 0x0000,
0x0003, 0x00B7, 0x002C, 0x0013, 0x0001, 0x0168, 0x0046, 0x003F,
0x001E, 0x0712, 0x00B5, 0x0042, 0x0022, 0x01C5, 0x011E, 0x0087,
0x0006, 0x0003, 0x001E, 0x001C, 0x0012, 0x0388, 0x0044, 0x0070,
0x001F, 0x023E, 0x0039, 0x008E, 0x0001, 0x01C6, 0x00B6, 0x0045,
0x0014, 0x023F, 0x007D, 0x0018, 0x0007, 0x01C7, 0x0086, 0x0019,
0x0015, 0x01DB, 0x0002, 0x0046, 0x000D, 0x0713, 0x01DA, 0x0169
}

Definition at line 57 of file wmv2data.cpp.

◆ wmv2HuffmanIMBLengths

const uint8 Video::wmv2HuffmanIMBLengths[64]
static
Initial value:
= {
1, 6, 5, 5, 5, 9, 7, 7,
5, 9, 7, 7, 6, 9, 8, 8,
5, 9, 7, 7, 6, 10, 8, 8,
6, 13, 9, 8, 7, 11, 10, 9,
4, 9, 7, 6, 7, 12, 9, 9,
6, 11, 8, 9, 7, 11, 9, 9,
6, 11, 9, 9, 7, 11, 9, 9,
6, 10, 9, 9, 8, 13, 10, 10
}

Definition at line 69 of file wmv2data.cpp.

◆ wmv2HuffmanMV

const Common::HuffmanTable Video::wmv2HuffmanMV[2]
static
Initial value:
= {
{
0,
0
},
{
0,
0
}
}
static const uint8 wmv2HuffmanMV0Lengths[1100]
Definition: wmv2data.cpp:377
static const uint32 wmv2HuffmanMV1Codes[1100]
Definition: wmv2data.cpp:803
static const uint8 wmv2HuffmanMV1Lengths[1100]
Definition: wmv2data.cpp:945
#define ARRAYSIZE(x)
Macro which determines the number of entries in a fixed size array.
Definition: util.h:131
static const uint32 wmv2HuffmanMV0Codes[1100]
Definition: wmv2data.cpp:235

Motion vectors [low/high motion].

Definition at line 2344 of file wmv2data.cpp.

◆ wmv2HuffmanMV0Codes

const uint32 Video::wmv2HuffmanMV0Codes[1100]
static

Definition at line 235 of file wmv2data.cpp.

◆ wmv2HuffmanMV0Lengths

const uint8 Video::wmv2HuffmanMV0Lengths[1100]
static

Definition at line 377 of file wmv2data.cpp.

◆ wmv2HuffmanMV1Codes

const uint32 Video::wmv2HuffmanMV1Codes[1100]
static

Definition at line 803 of file wmv2data.cpp.

◆ wmv2HuffmanMV1Lengths

const uint8 Video::wmv2HuffmanMV1Lengths[1100]
static

Definition at line 945 of file wmv2data.cpp.

◆ wmv2HuffmanPMB

const Common::HuffmanTable Video::wmv2HuffmanPMB
Initial value:
= {
{
0,
0
},
{
0,
0
},
{
0,
0
}
}
#define ARRAYSIZE(x)
Macro which determines the number of entries in a fixed size array.
Definition: util.h:131
static const uint32 wmv2HuffmanPMB0Codes[128]
Definition: wmv2data.cpp:1371
static const uint8 wmv2HuffmanPMB0Lengths[128]
Definition: wmv2data.cpp:1391
static const uint32 wmv2HuffmanPMB2Codes[128]
Definition: wmv2data.cpp:1451
static const uint8 wmv2HuffmanPMB1Lengths[128]
Definition: wmv2data.cpp:1431
static const uint32 wmv2HuffmanPMB1Codes[128]
Definition: wmv2data.cpp:1411
static const uint8 wmv2HuffmanPMB2Lengths[128]
Definition: wmv2data.cpp:1471

P-Frame macroblock block pattern [high/mid/low rate].

Definition at line 2252 of file wmv2data.cpp.

Referenced by Video::XMVWMV2Codec::init().

◆ wmv2HuffmanPMB0Codes

const uint32 Video::wmv2HuffmanPMB0Codes[128]
static
Initial value:
= {
0x000A7, 0x1B2B8, 0x1B28E, 0x36575, 0x06CAC, 0x00A69, 0x02934, 0x0526B,
0x06CA1, 0x1B2B9, 0x029AD, 0x29353, 0x06CA7, 0x06CAB, 0x1B2BB, 0x0029B,
0x0D944, 0x00A6A, 0x149A8, 0x3651F, 0x06CAF, 0x00A4C, 0x3651E, 0x00A48,
0x0299C, 0x0299F, 0x29352, 0x029AC, 0x00296, 0x0D946, 0x00A68, 0x00298,
0x00527, 0x0D94D, 0x014D7, 0x36574, 0x00A5C, 0x1B299, 0x0299D, 0x0299E,
0x00525, 0x00A66, 0x0A4D5, 0x0149B, 0x00295, 0x06CAD, 0x00A49, 0x00521,
0x06CAA, 0x0D945, 0x1B298, 0x0052F, 0x03654, 0x06CA0, 0x00532, 0x00291,
0x03652, 0x00520, 0x00A5D, 0x00294, 0x0009B, 0x006E2, 0x00028, 0x001B0,
0x00001, 0x00010, 0x0002F, 0x0004C, 0x0000D, 0x00000, 0x00006, 0x00134,
0x0000C, 0x00007, 0x00007, 0x006E1, 0x0000E, 0x000DA, 0x00022, 0x00364,
0x0000F, 0x00006, 0x0000F, 0x00135, 0x00014, 0x000DD, 0x00004, 0x00015,
0x0001A, 0x001B3, 0x00005, 0x006E3, 0x0000C, 0x000B9, 0x00004, 0x000DB,
0x0000E, 0x0000B, 0x00023, 0x006CB, 0x00005, 0x001B1, 0x00001, 0x006E0,
0x00011, 0x000DF, 0x0000E, 0x00373, 0x00003, 0x000B8, 0x00006, 0x00175,
0x00015, 0x00174, 0x00027, 0x00372, 0x00010, 0x000BB, 0x00005, 0x000DE,
0x0000F, 0x00001, 0x00012, 0x00004, 0x00002, 0x00016, 0x00009, 0x00001
}

Definition at line 1371 of file wmv2data.cpp.

◆ wmv2HuffmanPMB0Lengths

const uint8 Video::wmv2HuffmanPMB0Lengths[128]
static
Initial value:
= {
14, 18, 18, 19, 16, 18, 20, 21,
16, 18, 20, 24, 16, 16, 18, 16,
17, 18, 23, 19, 16, 18, 19, 18,
20, 20, 24, 20, 16, 17, 18, 16,
17, 17, 19, 19, 18, 18, 20, 20,
17, 18, 22, 19, 16, 16, 18, 17,
16, 17, 18, 17, 15, 16, 17, 16,
15, 17, 18, 16, 11, 12, 12, 10,
3, 8, 6, 10, 4, 10, 9, 12,
4, 10, 9, 12, 5, 9, 9, 11,
4, 10, 9, 12, 5, 9, 9, 11,
6, 10, 10, 12, 5, 8, 8, 9,
4, 10, 9, 12, 6, 10, 10, 12,
5, 9, 9, 11, 5, 8, 8, 9,
5, 9, 9, 11, 5, 8, 8, 9,
5, 9, 8, 10, 3, 5, 4, 5
}

Definition at line 1391 of file wmv2data.cpp.

◆ wmv2HuffmanPMB1Codes

const uint32 Video::wmv2HuffmanPMB1Codes[128]
static
Initial value:
= {
0x002A1, 0x05740, 0x1A0BF, 0x15D19, 0x01514, 0x0461E, 0x15176, 0x15177,
0x011AD, 0x0682E, 0x682F9, 0x3417D, 0x01A36, 0x02A2D, 0x0D05E, 0x06824,
0x01515, 0x0545C, 0x230E9, 0x11AFA, 0x015D7, 0x05747, 0x08D79, 0x06825,
0x02BA2, 0x0A8BA, 0x235F6, 0x15D18, 0x011AE, 0x0346F, 0x08C3B, 0x0346E,
0x00D1A, 0x0461F, 0x682F8, 0x11875, 0x02BA1, 0x08D61, 0x235F7, 0x230E8,
0x01513, 0x08D7B, 0x11AF4, 0x11AF5, 0x01185, 0x046BF, 0x08D60, 0x08D7C,
0x01512, 0x0461C, 0x0AE8D, 0x08D78, 0x00D0E, 0x03413, 0x046B1, 0x03416,
0x00AEA, 0x02A2C, 0x05741, 0x02A2F, 0x00158, 0x008D2, 0x0054C, 0x00686,
0x00000, 0x00069, 0x0006B, 0x0068C, 0x00007, 0x0015E, 0x002A3, 0x00AE9,
0x00006, 0x00231, 0x002B8, 0x01A08, 0x00010, 0x001A9, 0x00342, 0x00A88,
0x00004, 0x001A2, 0x002A4, 0x01184, 0x00012, 0x00232, 0x002B2, 0x00680,
0x0001B, 0x0046A, 0x0068E, 0x02359, 0x00016, 0x0015F, 0x002A0, 0x0054D,
0x00005, 0x00233, 0x002B9, 0x015D6, 0x00022, 0x00468, 0x00683, 0x01A0A,
0x00013, 0x00236, 0x002BB, 0x01186, 0x00017, 0x001AB, 0x002A7, 0x008D3,
0x00014, 0x00237, 0x00460, 0x00D0F, 0x00019, 0x001AA, 0x002B3, 0x00681,
0x00018, 0x001A8, 0x002A5, 0x0068F, 0x00007, 0x00055, 0x00047, 0x000AD
}

Definition at line 1411 of file wmv2data.cpp.

◆ wmv2HuffmanPMB1Lengths

const uint8 Video::wmv2HuffmanPMB1Lengths[128]
static
Initial value:
= {
10, 15, 18, 17, 13, 15, 17, 17,
13, 16, 20, 19, 14, 14, 17, 16,
13, 15, 18, 17, 13, 15, 16, 16,
14, 16, 18, 17, 13, 15, 16, 15,
13, 15, 20, 17, 14, 16, 18, 18,
13, 16, 17, 17, 13, 15, 16, 16,
13, 15, 16, 16, 13, 15, 15, 15,
12, 14, 15, 14, 9, 12, 11, 12,
2, 8, 8, 12, 3, 9, 10, 12,
3, 10, 10, 14, 5, 10, 11, 12,
4, 10, 10, 13, 5, 10, 10, 12,
6, 11, 12, 14, 5, 9, 10, 11,
4, 10, 10, 13, 6, 11, 12, 14,
5, 10, 10, 13, 5, 10, 10, 12,
5, 10, 11, 13, 6, 10, 10, 12,
6, 10, 10, 12, 4, 7, 7, 8
}

Definition at line 1431 of file wmv2data.cpp.

◆ wmv2HuffmanPMB2Codes

const uint32 Video::wmv2HuffmanPMB2Codes[128]
static
Initial value:
= {
0x000D4, 0x021C5, 0x0F18A, 0x0D5BC, 0x00879, 0x0354D, 0x10E3F, 0x10F54,
0x00866, 0x0356E, 0x10F55, 0x10E3E, 0x010CE, 0x03C84, 0x0D5BD, 0x0F18B,
0x00868, 0x0438C, 0x087AB, 0x0790B, 0x00F10, 0x0433D, 0x06AD3, 0x0790A,
0x01AA7, 0x043D4, 0x0871E, 0x06ADF, 0x00D7C, 0x03C94, 0x0438D, 0x06AD2,
0x006BC, 0x021E9, 0x06ADA, 0x06A99, 0x010F7, 0x04389, 0x06ADB, 0x078C4,
0x00D56, 0x035F7, 0x0438E, 0x06A98, 0x00D52, 0x03C95, 0x04388, 0x0433C,
0x00D54, 0x01E4B, 0x03C63, 0x03C83, 0x00861, 0x021EB, 0x0356C, 0x035F6,
0x00863, 0x0219F, 0x03568, 0x03C82, 0x001AE, 0x010C0, 0x00F11, 0x01AFA,
0x00000, 0x000F0, 0x001AD, 0x010C1, 0x0000A, 0x003C5, 0x00789, 0x01AB5,
0x00009, 0x00435, 0x00793, 0x01E40, 0x0001D, 0x003CB, 0x00878, 0x01AAF,
0x0000B, 0x003C7, 0x00791, 0x01AAB, 0x0001F, 0x00436, 0x006BF, 0x00F19,
0x0003D, 0x00D51, 0x010C4, 0x021E8, 0x00036, 0x00437, 0x006AF, 0x010C5,
0x0000C, 0x00432, 0x00794, 0x01E30, 0x00042, 0x00870, 0x00F24, 0x01E43,
0x00020, 0x0043E, 0x00795, 0x01AAA, 0x00037, 0x006AC, 0x006AE, 0x010F6,
0x00034, 0x0043A, 0x00D50, 0x01AAE, 0x00039, 0x0043F, 0x0078D, 0x010D2,
0x00038, 0x0043B, 0x006BD, 0x010D3, 0x00011, 0x001AC, 0x000F3, 0x00439
}

Definition at line 1451 of file wmv2data.cpp.

◆ wmv2HuffmanPMB2Lengths

const uint8 Video::wmv2HuffmanPMB2Lengths[128]
static
Initial value:
= {
8, 14, 16, 16, 12, 14, 17, 17,
12, 14, 17, 17, 13, 14, 16, 16,
12, 15, 16, 15, 12, 15, 15, 15,
13, 15, 16, 15, 12, 14, 15, 15,
11, 14, 15, 15, 13, 15, 15, 15,
12, 14, 15, 15, 12, 14, 15, 15,
12, 13, 14, 14, 12, 14, 14, 14,
12, 14, 14, 14, 9, 13, 12, 13,
1, 8, 9, 13, 4, 10, 11, 13,
4, 11, 11, 13, 5, 10, 12, 13,
4, 10, 11, 13, 5, 11, 11, 12,
6, 12, 13, 14, 6, 11, 11, 13,
4, 11, 11, 13, 7, 12, 12, 13,
6, 11, 11, 13, 6, 11, 11, 13,
6, 11, 12, 13, 6, 11, 11, 13,
6, 11, 11, 13, 5, 9, 8, 11
}

Definition at line 1471 of file wmv2data.cpp.

◆ wmv2LevelDeltaTable0Chroma

const uint8 Video::wmv2LevelDeltaTable0Chroma[30]
static
Initial value:
= {
14, 9, 5, 4, 4, 4, 3, 3, 3, 3,
3, 3, 3, 2, 2, 2, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1
}

Definition at line 1992 of file wmv2data.cpp.

◆ wmv2LevelDeltaTable0Luma

const uint8 Video::wmv2LevelDeltaTable0Luma[21]
static
Initial value:
= {
16, 11, 8, 7, 5, 4, 4, 3, 3, 3,
3, 3, 3, 3, 2, 2, 1, 1, 1, 1, 1
}

Definition at line 1803 of file wmv2data.cpp.

◆ wmv2LevelDeltaTable1Chroma

const uint8 Video::wmv2LevelDeltaTable1Chroma[27]
static
Initial value:
= {
23, 11, 8, 7, 5, 5, 4, 4, 3, 3,
3, 3, 2, 2, 2, 2, 2, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1
}

Definition at line 2062 of file wmv2data.cpp.

◆ wmv2LevelDeltaTable1Luma

const uint8 Video::wmv2LevelDeltaTable1Luma[31]
static
Initial value:
= {
19, 15, 12, 11, 6, 5, 4, 4, 4, 4,
3, 3, 3, 3, 3, 3, 2, 2, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1
}

Definition at line 1873 of file wmv2data.cpp.

◆ wmv2LevelDeltaTable2Chroma

const uint8 Video::wmv2LevelDeltaTable2Chroma[27]
static
Initial value:
= {
12, 6, 4, 3, 3, 3, 3, 2, 2, 2,
2, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1
}

Definition at line 2118 of file wmv2data.cpp.

◆ wmv2LevelDeltaTable2Luma

const uint8 Video::wmv2LevelDeltaTable2Luma[15]
static
Initial value:
= {
27, 10, 5, 4, 3, 3, 3, 3, 2, 2,
1, 1, 1, 1, 1
}

Definition at line 1931 of file wmv2data.cpp.

◆ wmv2LevelDeltaTableLast0Chroma

const uint8 Video::wmv2LevelDeltaTableLast0Chroma[44]
static
Initial value:
= {
5, 4, 3, 3, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1
}

Definition at line 1999 of file wmv2data.cpp.

◆ wmv2LevelDeltaTableLast0Luma

const uint8 Video::wmv2LevelDeltaTableLast0Luma[27]
static
Initial value:
= {
4, 4, 3, 3, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1
}

Definition at line 1809 of file wmv2data.cpp.

◆ wmv2LevelDeltaTableLast1Chroma

const uint8 Video::wmv2LevelDeltaTableLast1Chroma[37]
static
Initial value:
= {
9, 5, 4, 4, 3, 3, 3, 2, 2, 2,
2, 2, 2, 2, 2, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1
}

Definition at line 2069 of file wmv2data.cpp.

◆ wmv2LevelDeltaTableLast1Luma

const uint8 Video::wmv2LevelDeltaTableLast1Luma[38]
static
Initial value:
= {
6, 5, 4, 4, 3, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1
}

Definition at line 1881 of file wmv2data.cpp.

◆ wmv2LevelDeltaTableLast2Chroma

const uint8 Video::wmv2LevelDeltaTableLast2Chroma[41]
static
Initial value:
= {
3, 2, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1
}

Definition at line 2125 of file wmv2data.cpp.

◆ wmv2LevelDeltaTableLast2Luma

const uint8 Video::wmv2LevelDeltaTableLast2Luma[21]
static
Initial value:
= {
8, 3, 2, 2, 2, 2, 2, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1
}

Definition at line 1937 of file wmv2data.cpp.

◆ wmv2LevelTable0Chroma

const uint8 Video::wmv2LevelTable0Chroma[148]
static
Initial value:
= {
1, 2, 3, 4, 5, 6, 7, 8, 9, 10,
11, 12, 13, 14, 1, 2, 3, 4, 5, 6,
7, 8, 9, 1, 2, 3, 4, 5, 1, 2,
3, 4, 1, 2, 3, 4, 1, 2, 3, 4,
1, 2, 3, 1, 2, 3, 1, 2, 3, 1,
2, 3, 1, 2, 3, 1, 2, 3, 1, 2,
3, 1, 2, 1, 2, 1, 2, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 2, 3, 4, 5, 1, 2, 3, 4,
1, 2, 3, 1, 2, 3, 1, 2, 1, 2,
1, 2, 1, 2, 1, 2, 1, 2, 1, 2,
1, 2, 1, 2, 1, 2, 1, 2, 1, 2,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1
}

Definition at line 1973 of file wmv2data.cpp.

◆ wmv2LevelTable0Luma

const uint8 Video::wmv2LevelTable0Luma[132]
static
Initial value:
= {
1, 2, 3, 4, 5, 6, 7, 8, 9, 10,
11, 12, 13, 14, 15, 16, 1, 2, 3, 4,
5, 6, 7, 8, 9, 10, 11, 1, 2, 3,
4, 5, 6, 7, 8, 1, 2, 3, 4, 5,
6, 7, 1, 2, 3, 4, 5, 1, 2, 3,
4, 1, 2, 3, 4, 1, 2, 3, 1, 2,
3, 1, 2, 3, 1, 2, 3, 1, 2, 3,
1, 2, 3, 1, 2, 3, 1, 2, 1, 2,
1, 1, 1, 1, 1, 1, 2, 3, 4, 1,
2, 3, 4, 1, 2, 3, 1, 2, 3, 1,
2, 1, 2, 1, 2, 1, 2, 1, 2, 1,
2, 1, 2, 1, 2, 1, 2, 1, 2, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1
}

Definition at line 1785 of file wmv2data.cpp.

◆ wmv2LevelTable1Chroma

const uint8 Video::wmv2LevelTable1Chroma[168]
static
Initial value:
= {
1, 2, 3, 4, 5, 6, 7, 8, 9, 10,
11, 12, 13, 14, 15, 16, 17, 18, 19, 20,
21, 22, 23, 1, 2, 3, 4, 5, 6, 7,
8, 9, 10, 11, 1, 2, 3, 4, 5, 6,
7, 8, 1, 2, 3, 4, 5, 6, 7, 1,
2, 3, 4, 5, 1, 2, 3, 4, 5, 1,
2, 3, 4, 1, 2, 3, 4, 1, 2, 3,
1, 2, 3, 1, 2, 3, 1, 2, 3, 1,
2, 1, 2, 1, 2, 1, 2, 1, 2, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
2, 3, 4, 5, 6, 7, 8, 9, 1, 2,
3, 4, 5, 1, 2, 3, 4, 1, 2, 3,
4, 1, 2, 3, 1, 2, 3, 1, 2, 3,
1, 2, 1, 2, 1, 2, 1, 2, 1, 2,
1, 2, 1, 2, 1, 2, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1
}

Definition at line 2041 of file wmv2data.cpp.

◆ wmv2LevelTable1Luma

const uint8 Video::wmv2LevelTable1Luma[185]
static
Initial value:
= {
1, 2, 3, 4, 5, 6, 7, 8, 9, 10,
11, 12, 13, 14, 15, 16, 17, 18, 19, 1,
2, 3, 4, 5, 6, 7, 8, 9, 10, 11,
12, 13, 14, 15, 1, 2, 3, 4, 5, 6,
7, 8, 9, 10, 11, 12, 1, 2, 3, 4,
5, 6, 7, 8, 9, 10, 11, 1, 2, 3,
4, 5, 6, 1, 2, 3, 4, 5, 1, 2,
3, 4, 1, 2, 3, 4, 1, 2, 3, 4,
1, 2, 3, 4, 1, 2, 3, 1, 2, 3,
1, 2, 3, 1, 2, 3, 1, 2, 3, 1,
2, 3, 1, 2, 1, 2, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
2, 3, 4, 5, 6, 1, 2, 3, 4, 5,
1, 2, 3, 4, 1, 2, 3, 4, 1, 2,
3, 1, 2, 1, 2, 1, 2, 1, 2, 1,
2, 1, 2, 1, 2, 1, 2, 1, 2, 1,
2, 1, 2, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1
}

Definition at line 1850 of file wmv2data.cpp.

◆ wmv2LevelTable2Chroma

const uint8 Video::wmv2LevelTable2Chroma[102]
static
Initial value:
= {
1, 2, 3, 4, 5, 6, 7, 8, 9, 10,
11, 12, 1, 2, 3, 4, 5, 6, 1, 2,
3, 4, 1, 2, 3, 1, 2, 3, 1, 2,
3, 1, 2, 3, 1, 2, 1, 2, 1, 2,
1, 2, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 2,
3, 1, 2, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1
}

Definition at line 2103 of file wmv2data.cpp.

◆ wmv2LevelTable2Luma

const uint8 Video::wmv2LevelTable2Luma[102]
static
Initial value:
= {
1, 2, 3, 4, 5, 6, 7, 8, 9, 10,
11, 12, 13, 14, 15, 16, 17, 18, 19, 20,
21, 22, 23, 24, 25, 26, 27, 1, 2, 3,
4, 5, 6, 7, 8, 9, 10, 1, 2, 3,
4, 5, 1, 2, 3, 4, 1, 2, 3, 1,
2, 3, 1, 2, 3, 1, 2, 3, 1, 2,
1, 2, 1, 1, 1, 1, 1, 1, 2, 3,
4, 5, 6, 7, 8, 1, 2, 3, 1, 2,
1, 2, 1, 2, 1, 2, 1, 2, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1
}

Definition at line 1916 of file wmv2data.cpp.

◆ wmv2MV

const WMV2MVTable Video::wmv2MV
Initial value:
= {
{
1099,
},
{
1099,
}
}
static const Common::HuffmanTable wmv2HuffmanMV[2]
Motion vectors [low/high motion].
Definition: wmv2data.cpp:2344
static const uint8 wmv2MV0DiffX[1099]
Definition: wmv2data.cpp:519
static const uint8 wmv2MV0DiffY[1099]
Definition: wmv2data.cpp:661
static const uint8 wmv2MV1DiffX[1099]
Definition: wmv2data.cpp:1087
static const uint8 wmv2MV1DiffY[1099]
Definition: wmv2data.cpp:1229

Motion vectors [low/high motion].

Definition at line 2450 of file wmv2data.cpp.

Referenced by Video::XMVWMV2Codec::init().

◆ wmv2MV0DiffX

const uint8 Video::wmv2MV0DiffX[1099]
static

Definition at line 519 of file wmv2data.cpp.

◆ wmv2MV0DiffY

const uint8 Video::wmv2MV0DiffY[1099]
static

Definition at line 661 of file wmv2data.cpp.

◆ wmv2MV1DiffX

const uint8 Video::wmv2MV1DiffX[1099]
static

Definition at line 1087 of file wmv2data.cpp.

◆ wmv2MV1DiffY

const uint8 Video::wmv2MV1DiffY[1099]
static

Definition at line 1229 of file wmv2data.cpp.

◆ wmv2RunDeltaTable0Chroma

const uint8 Video::wmv2RunDeltaTable0Chroma[15]
static
Initial value:
= {
255, 29, 15, 12, 5, 2, 1, 1, 1, 1,
0, 0, 0, 0, 0
}

Definition at line 1962 of file wmv2data.cpp.

◆ wmv2RunDeltaTable0Luma

const uint8 Video::wmv2RunDeltaTable0Luma[17]
static
Initial value:
= {
255, 20, 15, 13, 6, 4, 3, 3, 2, 1, 1, 1, 0, 0, 0, 0, 0
}

Definition at line 1775 of file wmv2data.cpp.

◆ wmv2RunDeltaTable1Chroma

const uint8 Video::wmv2RunDeltaTable1Chroma[24]
static
Initial value:
= {
255, 26, 16, 11, 7, 5, 3, 3, 2, 1,
1, 1, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0
}

Definition at line 2029 of file wmv2data.cpp.

◆ wmv2RunDeltaTable1Luma

const uint8 Video::wmv2RunDeltaTable1Luma[20]
static
Initial value:
= {
255, 30, 17, 15, 9, 5, 4, 3, 3, 3,
3, 3, 2, 1, 1, 1, 0, 0, 0, 0
}

Definition at line 1839 of file wmv2data.cpp.

◆ wmv2RunDeltaTable2Chroma

const uint8 Video::wmv2RunDeltaTable2Chroma[13]
static
Initial value:
= {
255, 26, 10, 6, 2, 1, 1, 0, 0, 0,
0, 0, 0
}

Definition at line 2092 of file wmv2data.cpp.

◆ wmv2RunDeltaTable2Luma

const uint8 Video::wmv2RunDeltaTable2Luma[28]
static
Initial value:
= {
255, 14, 9, 7, 3, 2, 1, 1, 1, 1,
1, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0
}

Definition at line 1904 of file wmv2data.cpp.

◆ wmv2RunDeltaTableLast0Chroma

const uint8 Video::wmv2RunDeltaTableLast0Chroma[6]
static
Initial value:
= {
255, 43, 15, 3, 1, 0
}

Definition at line 1968 of file wmv2data.cpp.

◆ wmv2RunDeltaTableLast0Luma

const uint8 Video::wmv2RunDeltaTableLast0Luma[5]
static
Initial value:
= {
255, 26, 13, 3, 1
}

Definition at line 1780 of file wmv2data.cpp.

◆ wmv2RunDeltaTableLast1Chroma

const uint8 Video::wmv2RunDeltaTableLast1Chroma[10]
static
Initial value:
= {
255, 36, 14, 6, 3, 1, 0, 0, 0, 0
}

Definition at line 2036 of file wmv2data.cpp.

◆ wmv2RunDeltaTableLast1Luma

const uint8 Video::wmv2RunDeltaTableLast1Luma[7]
static
Initial value:
= {
255, 37, 15, 4, 3, 1, 0
}

Definition at line 1845 of file wmv2data.cpp.

◆ wmv2RunDeltaTableLast2Chroma

const uint8 Video::wmv2RunDeltaTableLast2Chroma[4]
static
Initial value:
= {
255, 40, 1, 0
}

Definition at line 2098 of file wmv2data.cpp.

◆ wmv2RunDeltaTableLast2Luma

const uint8 Video::wmv2RunDeltaTableLast2Luma[9]
static
Initial value:
= {
255, 20, 6, 1, 0, 0, 0, 0, 0
}

Definition at line 1911 of file wmv2data.cpp.

◆ wmv2RunTable0Chroma

const uint8 Video::wmv2RunTable0Chroma[148]
static
Initial value:
= {
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 1, 1, 1, 1, 1, 1,
1, 1, 1, 2, 2, 2, 2, 2, 3, 3,
3, 3, 4, 4, 4, 4, 5, 5, 5, 5,
6, 6, 6, 7, 7, 7, 8, 8, 8, 9,
9, 9, 10, 10, 10, 11, 11, 11, 12, 12,
12, 13, 13, 14, 14, 15, 15, 16, 17, 18,
19, 20, 21, 22, 23, 24, 25, 26, 27, 28,
29, 0, 0, 0, 0, 0, 1, 1, 1, 1,
2, 2, 2, 3, 3, 3, 4, 4, 5, 5,
6, 6, 7, 7, 8, 8, 9, 9, 10, 10,
11, 11, 12, 12, 13, 13, 14, 14, 15, 15,
16, 17, 18, 19, 20, 21, 22, 23, 24, 25,
26, 27, 28, 29, 30, 31, 32, 33, 34, 35,
36, 37, 38, 39, 40, 41, 42, 43
}

Definition at line 1943 of file wmv2data.cpp.

◆ wmv2RunTable0Luma

const uint8 Video::wmv2RunTable0Luma[132]
static
Initial value:
= {
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 2, 2, 2,
2, 2, 2, 2, 2, 3, 3, 3, 3, 3,
3, 3, 4, 4, 4, 4, 4, 5, 5, 5,
5, 6, 6, 6, 6, 7, 7, 7, 8, 8,
8, 9, 9, 9, 10, 10, 10, 11, 11, 11,
12, 12, 12, 13, 13, 13, 14, 14, 15, 15,
16, 17, 18, 19, 20, 0, 0, 0, 0, 1,
1, 1, 1, 2, 2, 2, 3, 3, 3, 4,
4, 5, 5, 6, 6, 7, 7, 8, 8, 9,
9, 10, 10, 11, 11, 12, 12, 13, 13, 14,
15, 16, 17, 18, 19, 20, 21, 22, 23, 24,
25, 26
}

Definition at line 1757 of file wmv2data.cpp.

◆ wmv2RunTable1Chroma

const uint8 Video::wmv2RunTable1Chroma[168]
static
Initial value:
= {
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 2, 2, 2, 2, 2, 2,
2, 2, 3, 3, 3, 3, 3, 3, 3, 4,
4, 4, 4, 4, 5, 5, 5, 5, 5, 6,
6, 6, 6, 7, 7, 7, 7, 8, 8, 8,
9, 9, 9, 10, 10, 10, 11, 11, 11, 12,
12, 13, 13, 14, 14, 15, 15, 16, 16, 17,
18, 19, 20, 21, 22, 23, 24, 25, 26, 0,
0, 0, 0, 0, 0, 0, 0, 0, 1, 1,
1, 1, 1, 2, 2, 2, 2, 3, 3, 3,
3, 4, 4, 4, 5, 5, 5, 6, 6, 6,
7, 7, 8, 8, 9, 9, 10, 10, 11, 11,
12, 12, 13, 13, 14, 14, 15, 16, 17, 18,
19, 20, 21, 22, 23, 24, 25, 26, 27, 28,
29, 30, 31, 32, 33, 34, 35, 36
}

Definition at line 2008 of file wmv2data.cpp.

◆ wmv2RunTable1Luma

const uint8 Video::wmv2RunTable1Luma[185]
static
Initial value:
= {
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 3, 3, 3, 3,
3, 3, 3, 3, 3, 3, 3, 4, 4, 4,
4, 4, 4, 5, 5, 5, 5, 5, 6, 6,
6, 6, 7, 7, 7, 7, 8, 8, 8, 8,
9, 9, 9, 9, 10, 10, 10, 11, 11, 11,
12, 12, 12, 13, 13, 13, 14, 14, 14, 15,
15, 15, 16, 16, 17, 17, 18, 19, 20, 21,
22, 23, 24, 25, 26, 27, 28, 29, 30, 0,
0, 0, 0, 0, 0, 1, 1, 1, 1, 1,
2, 2, 2, 2, 3, 3, 3, 3, 4, 4,
4, 5, 5, 6, 6, 7, 7, 8, 8, 9,
9, 10, 10, 11, 11, 12, 12, 13, 13, 14,
14, 15, 15, 16, 17, 18, 19, 20, 21, 22,
23, 24, 25, 26, 27, 28, 29, 30, 31, 32,
33, 34, 35, 36, 37
}

Definition at line 1816 of file wmv2data.cpp.

◆ wmv2RunTable2Chroma

const uint8 Video::wmv2RunTable2Chroma[102]
static
Initial value:
= {
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 1, 1, 1, 1, 1, 1, 2, 2,
2, 2, 3, 3, 3, 4, 4, 4, 5, 5,
5, 6, 6, 6, 7, 7, 8, 8, 9, 9,
10, 10, 11, 12, 13, 14, 15, 16, 17, 18,
19, 20, 21, 22, 23, 24, 25, 26, 0, 0,
0, 1, 1, 2, 3, 4, 5, 6, 7, 8,
9, 10, 11, 12, 13, 14, 15, 16, 17, 18,
19, 20, 21, 22, 23, 24, 25, 26, 27, 28,
29, 30, 31, 32, 33, 34, 35, 36, 37, 38,
39, 40
}

Definition at line 2077 of file wmv2data.cpp.

◆ wmv2RunTable2Luma

const uint8 Video::wmv2RunTable2Luma[102]
static
Initial value:
= {
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 2, 2, 2,
2, 2, 3, 3, 3, 3, 4, 4, 4, 5,
5, 5, 6, 6, 6, 7, 7, 7, 8, 8,
9, 9, 10, 11, 12, 13, 14, 0, 0, 0,
0, 0, 0, 0, 0, 1, 1, 1, 2, 2,
3, 3, 4, 4, 5, 5, 6, 6, 7, 8,
9, 10, 11, 12, 13, 14, 15, 16, 17, 18,
19, 20
}

Definition at line 1889 of file wmv2data.cpp.

◆ wmv2ZigZag4x8

const uint8 Video::wmv2ZigZag4x8
Initial value:
= {
0, 4, 1, 8, 5, 12, 9, 2,
16, 6, 13, 20, 10, 24, 17, 14,
28, 21, 18, 3, 25, 29, 7, 22,
11, 26, 15, 30, 19, 23, 27, 31
}

P-Frame coefficient zig-zag scantable, 4x8.

Definition at line 2191 of file wmv2data.cpp.

◆ wmv2ZigZag8x4

const uint8 Video::wmv2ZigZag8x4
Initial value:
= {
0, 1, 2, 8, 3, 9, 10, 16,
4, 11, 17, 24, 18, 12, 5, 19,
25, 13, 20, 26, 27, 6, 21, 28,
14, 22, 29, 7, 30, 15, 23, 31
}

P-Frame coefficient zig-zag scantable, 8x4.

Definition at line 2183 of file wmv2data.cpp.

◆ wmv2ZigZag8x8

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

P-Frame coefficient zig-zag scantable, 8x8.

Definition at line 2171 of file wmv2data.cpp.

◆ wmv2ZigZagHorizontal

const uint8 Video::wmv2ZigZagHorizontal
Initial value:
= {
0x00, 0x01, 0x08, 0x02, 0x03, 0x09, 0x10, 0x18,
0x11, 0x0A, 0x04, 0x05, 0x0B, 0x12, 0x19, 0x20,
0x28, 0x30, 0x21, 0x1A, 0x13, 0x0C, 0x06, 0x07,
0x0D, 0x14, 0x1B, 0x22, 0x29, 0x38, 0x31, 0x39,
0x2A, 0x23, 0x1C, 0x15, 0x0E, 0x0F, 0x16, 0x1D,
0x24, 0x2B, 0x32, 0x3A, 0x33, 0x2C, 0x25, 0x1E,
0x17, 0x1F, 0x26, 0x2D, 0x34, 0x3B, 0x3C, 0x35,
0x2E, 0x27, 0x2F, 0x36, 0x3D, 0x3E, 0x37, 0x3F
}

I-Frame coefficient zig-zag scantable, horizontal.

Definition at line 2135 of file wmv2data.cpp.

Referenced by Video::XMVWMV2Codec::decodeIBlock().

◆ wmv2ZigZagNormal

const uint8 Video::wmv2ZigZagNormal
Initial value:
= {
0x00, 0x08, 0x01, 0x02, 0x09, 0x10, 0x18, 0x11,
0x0A, 0x03, 0x04, 0x0B, 0x12, 0x19, 0x20, 0x28,
0x21, 0x30, 0x1A, 0x13, 0x0C, 0x05, 0x06, 0x0D,
0x14, 0x1B, 0x22, 0x29, 0x38, 0x31, 0x39, 0x2A,
0x23, 0x1C, 0x15, 0x0E, 0x07, 0x0F, 0x16, 0x1D,
0x24, 0x2B, 0x32, 0x3A, 0x33, 0x3B, 0x2C, 0x25,
0x1E, 0x17, 0x1F, 0x26, 0x2D, 0x34, 0x3C, 0x35,
0x3D, 0x2E, 0x27, 0x2F, 0x36, 0x3E, 0x37, 0x3F
}

I-Frame coefficient zig-zag scantable, normal.

Definition at line 2159 of file wmv2data.cpp.

Referenced by Video::XMVWMV2Codec::decodeIBlock().

◆ wmv2ZigZagVertical

const uint8 Video::wmv2ZigZagVertical
Initial value:
= {
0x00, 0x08, 0x10, 0x01, 0x18, 0x20, 0x28, 0x09,
0x02, 0x03, 0x0A, 0x11, 0x19, 0x30, 0x38, 0x29,
0x21, 0x1A, 0x12, 0x0B, 0x04, 0x05, 0x0C, 0x13,
0x1B, 0x22, 0x31, 0x39, 0x32, 0x2A, 0x23, 0x1C,
0x14, 0x0D, 0x06, 0x07, 0x0E, 0x15, 0x1D, 0x24,
0x2B, 0x33, 0x3A, 0x3B, 0x34, 0x2C, 0x25, 0x1E,
0x16, 0x0F, 0x17, 0x1F, 0x26, 0x2D, 0x3C, 0x35,
0x2E, 0x27, 0x2F, 0x36, 0x3D, 0x3E, 0x37, 0x3F
}

I-Frame coefficient zig-zag scantable, vertical.

Definition at line 2147 of file wmv2data.cpp.

Referenced by Video::XMVWMV2Codec::decodeIBlock().