xoreos  0.0.5
Namespaces | Macros | Variables
xmvwmv2.cpp File Reference

WMV2 video codec, XMV variant. More...

#include <cassert>
#include <cstring>
#include "src/common/util.h"
#include "src/common/error.h"
#include "src/common/readstream.h"
#include "src/common/bitstream.h"
#include "src/common/huffman.h"
#include "src/graphics/yuv_to_rgb.h"
#include "src/graphics/images/surface.h"
#include "src/video/codecs/wmv2data.h"
#include "src/video/codecs/xmvwmv2.h"
Include dependency graph for xmvwmv2.cpp:

Go to the source code of this file.

Namespaces

 Video
 

Macros

#define W0   2048
 
#define W1   2841 /* 2048*sqrt (2)*cos (1*pi/16) */
 
#define W2   2676 /* 2048*sqrt (2)*cos (2*pi/16) */
 
#define W3   2408 /* 2048*sqrt (2)*cos (3*pi/16) */
 
#define W4   2048 /* 2048*sqrt (2)*cos (4*pi/16) */
 
#define W5   1609 /* 2048*sqrt (2)*cos (5*pi/16) */
 
#define W6   1108 /* 2048*sqrt (2)*cos (6*pi/16) */
 
#define W7   565 /* 2048*sqrt (2)*cos (7*pi/16) */
 

Variables

static const uint32 Video::kEscapeCodeLuma = 119
 
static const uint32 Video::kEscapeCodeChroma = 119
 
static const uint8 Video::kSkipTypeNone = 0
 
static const uint8 Video::kSkipTypeMPEG = 1
 
static const uint8 Video::kSkipTypeRow = 2
 
static const uint8 Video::kSkipTypeCol = 3
 

Detailed Description

WMV2 video codec, XMV variant.

Definition in file xmvwmv2.cpp.

Macro Definition Documentation

◆ W0

#define W0   2048

Definition at line 743 of file xmvwmv2.cpp.

Referenced by Video::XMVWMV2Codec::IDCTCol(), and Video::XMVWMV2Codec::IDCTRow().

◆ W1

#define W1   2841 /* 2048*sqrt (2)*cos (1*pi/16) */

Definition at line 744 of file xmvwmv2.cpp.

Referenced by Video::XMVWMV2Codec::IDCTCol(), and Video::XMVWMV2Codec::IDCTRow().

◆ W2

#define W2   2676 /* 2048*sqrt (2)*cos (2*pi/16) */

Definition at line 745 of file xmvwmv2.cpp.

Referenced by Video::XMVWMV2Codec::IDCTCol(), and Video::XMVWMV2Codec::IDCTRow().

◆ W3

#define W3   2408 /* 2048*sqrt (2)*cos (3*pi/16) */

Definition at line 746 of file xmvwmv2.cpp.

Referenced by Video::XMVWMV2Codec::IDCTCol(), and Video::XMVWMV2Codec::IDCTRow().

◆ W4

#define W4   2048 /* 2048*sqrt (2)*cos (4*pi/16) */

Definition at line 747 of file xmvwmv2.cpp.

◆ W5

#define W5   1609 /* 2048*sqrt (2)*cos (5*pi/16) */

Definition at line 748 of file xmvwmv2.cpp.

Referenced by Video::XMVWMV2Codec::IDCTCol(), and Video::XMVWMV2Codec::IDCTRow().

◆ W6

#define W6   1108 /* 2048*sqrt (2)*cos (6*pi/16) */

Definition at line 749 of file xmvwmv2.cpp.

Referenced by Video::XMVWMV2Codec::IDCTCol(), and Video::XMVWMV2Codec::IDCTRow().

◆ W7

#define W7   565 /* 2048*sqrt (2)*cos (7*pi/16) */

Definition at line 750 of file xmvwmv2.cpp.

Referenced by Video::XMVWMV2Codec::IDCTCol(), and Video::XMVWMV2Codec::IDCTRow().