FFmpeg
|
VC-1 and WMV3 decoder common code. More...
#include "internal.h"
#include "avcodec.h"
#include "mpegvideo.h"
#include "vc1.h"
#include "vc1data.h"
#include "msmpeg4data.h"
#include "unary.h"
#include "simple_idct.h"
#include <assert.h>
Go to the source code of this file.
Macros | |
#define | INIT_LUT(lumscale, lumshift, luty, lutuv) |
Enumerations | |
VC-1 Bitplane decoding | |
| |
enum | Imode { IMODE_RAW, IMODE_NORM2, IMODE_DIFF2, IMODE_NORM6, IMODE_DIFF6, IMODE_ROWSKIP, IMODE_COLSKIP, IMODE_RAW, IMODE_NORM2, IMODE_DIFF2, IMODE_NORM6, IMODE_DIFF6, IMODE_ROWSKIP, IMODE_COLSKIP } |
Imode types. More... | |
Variables | |
static const uint32_t | vc1_ac_tables [AC_MODES][186][2] |
static const uint16_t | vlc_offs [] |
Detailed Description
VC-1 and WMV3 decoder common code.
Definition in file vc1.c.
Macro Definition Documentation
#define INIT_LUT | ( | lumscale, | |
lumshift, | |||
luty, | |||
lutuv | |||
) |
Enumeration Type Documentation
enum Imode |
Function Documentation
|
static |
Decode a bitplane's bits.
- Parameters
-
data bitplane where to store the decode bits [out] raw_flag pointer to the flag indicating that this bitplane is not coded explicitly v VC-1 context for bit reading and logging
- Returns
- Status
- Todo:
- FIXME: Optimize
Definition at line 115 of file vc1.c.
Referenced by ff_vc1_parse_frame_header(), and ff_vc1_parse_frame_header_adv().
|
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 92 of file vc1.c.
Referenced by bitplane_decoding().
|
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 70 of file vc1.c.
Referenced by bitplane_decoding().
|
static |
Definition at line 416 of file vc1.c.
Referenced by ff_vc1_decode_sequence_header(), and vop_dquant_decoding().
int ff_vc1_decode_entry_point | ( | AVCodecContext * | avctx, |
VC1Context * | v, | ||
GetBitContext * | gb | ||
) |
Definition at line 524 of file vc1.c.
Referenced by vc1_decode_frame(), vc1_decode_init(), vc1_extract_headers(), and vc1_unescape_buffer().
int ff_vc1_decode_sequence_header | ( | AVCodecContext * | avctx, |
VC1Context * | v, | ||
GetBitContext * | gb | ||
) |
Decode Simple/Main Profiles sequence header.
- See also
- Figure 7-8, p16-17
- Parameters
-
avctx Codec context gb GetBit context initialized from Codec context extra_data
- Returns
- Status
Definition at line 293 of file vc1.c.
Referenced by vc1_decode_init(), vc1_extract_headers(), and vc1_unescape_buffer().
int ff_vc1_init_common | ( | VC1Context * | v | ) |
Init VC-1 specific tables and VC1Context members.
- Parameters
-
v The VC1Context to initialize
- Returns
- Status
Definition at line 1544 of file vc1.c.
Referenced by vc1_decode_init(), vc1_parse_init(), vc1_unescape_buffer(), and wmv9_init().
int ff_vc1_parse_frame_header | ( | VC1Context * | v, |
GetBitContext * | gb | ||
) |
Definition at line 579 of file vc1.c.
Referenced by decode_wmv9(), vc1_decode_frame(), vc1_extract_headers(), and vc1_unescape_buffer().
int ff_vc1_parse_frame_header_adv | ( | VC1Context * | v, |
GetBitContext * | gb | ||
) |
Definition at line 830 of file vc1.c.
Referenced by vc1_decode_frame(), vc1_extract_headers(), and vc1_unescape_buffer().
|
static |
VOP Dquant decoding.
- Parameters
-
v VC-1 Context
Definition at line 244 of file vc1.c.
Referenced by ff_vc1_parse_frame_header(), and ff_vc1_parse_frame_header_adv().
Variable Documentation
|
static |
Definition at line 1308 of file vc1.c.
Referenced by ff_vc1_init_common().
|
static |
Definition at line 1529 of file vc1.c.
Referenced by ff_vc1_init_common().
Generated on Mon Nov 18 2024 06:52:09 for FFmpeg by 1.8.11