VC9 Bitplane decoding

Imode types. More...

Enumerations

enum  Imode {
  IMODE_RAW, IMODE_NORM2, IMODE_DIFF2, IMODE_NORM6,
  IMODE_DIFF6, IMODE_ROWSKIP, IMODE_COLSKIP
}

Functions

static void decode_rowskip (uint8_t *plane, int width, int height, int stride, GetBitContext *gb)
 Decode rows by checking if they are skipped.
static void decode_colskip (uint8_t *plane, int width, int height, int stride, GetBitContext *gb)
 Decode columns by checking if they are skipped.
static int bitplane_decoding (uint8_t *data, int *raw_flag, VC1Context *v)
 Decode a bitplane's bits.

Detailed Description

Imode types.

See also:
8.7, p56

Enumeration Type Documentation

enum Imode

Enumerator:
IMODE_RAW 
IMODE_NORM2 
IMODE_DIFF2 
IMODE_NORM6 
IMODE_DIFF6 
IMODE_ROWSKIP 
IMODE_COLSKIP 

Definition at line 126 of file vc1.c.


Function Documentation

static int bitplane_decoding ( uint8_t data,
int *  raw_flag,
VC1Context v 
) [static]

Decode a bitplane's bits.

Parameters:
bp Bitplane where to store the decode bits
v VC-1 context for bit reading and logging
Returns:
Status
Todo:
FIXME: Optimize

Definition at line 183 of file vc1.c.

Referenced by vc1_parse_frame_header(), and vc1_parse_frame_header_adv().

static void decode_colskip ( uint8_t plane,
int  width,
int  height,
int  stride,
GetBitContext gb 
) [static]

Decode columns by checking if they are skipped.

Parameters:
plane Buffer to store decoded bits
[in] width Width of this buffer
[in] height Height of this buffer
[in] stride of this buffer
Todo:
FIXME: Optimize

Definition at line 163 of file vc1.c.

Referenced by bitplane_decoding().

static void decode_rowskip ( uint8_t plane,
int  width,
int  height,
int  stride,
GetBitContext gb 
) [static]

Decode rows by checking if they are skipped.

Parameters:
plane Buffer to store decoded bits
[in] width Width of this buffer
[in] height Height of this buffer
[in] stride of this buffer

Definition at line 143 of file vc1.c.

Referenced by bitplane_decoding().


Generated on Wed Feb 9 19:10:14 2011 for ffmpeg by  doxygen 1.5.6