FFmpeg
|
#include "avcodec.h"
#include "decode.h"
#include "mpegvideo.h"
#include "vc1.h"
#include "vc1data.h"
#include "wmv2data.h"
#include "unary.h"
Go to the source code of this file.
Macros | |
#define | INIT_LUT(lumscale, lumshift, luty, lutuv, chain) |
#define | ROTATE(DEF, L, N, C) |
Functions | |
static int | vop_dquant_decoding (VC1Context *v) |
VOP Dquant decoding. More... | |
static int | decode_sequence_header_adv (VC1Context *v, GetBitContext *gb) |
int | ff_vc1_decode_sequence_header (AVCodecContext *avctx, VC1Context *v, GetBitContext *gb) |
Decode Simple/Main Profiles sequence header. More... | |
int | ff_vc1_decode_entry_point (AVCodecContext *avctx, VC1Context *v, GetBitContext *gb) |
static void | rotate_luts (VC1Context *v) |
static int | read_bfraction (VC1Context *v, GetBitContext *gb) |
int | ff_vc1_parse_frame_header (VC1Context *v, GetBitContext *gb) |
int | ff_vc1_parse_frame_header_adv (VC1Context *v, GetBitContext *gb) |
VC-1 Bitplane decoding | |
| |
static void | decode_rowskip (uint8_t *plane, int width, int height, int stride, GetBitContext *gb) |
Decode rows by checking if they are skipped. More... | |
static void | decode_colskip (uint8_t *plane, int width, int height, int stride, GetBitContext *gb) |
Decode columns by checking if they are skipped. More... | |
static int | bitplane_decoding (uint8_t *data, int *raw_flag, VC1Context *v) |
Decode a bitplane's bits. More... | |
VC-1 and WMV3 decoder common code
Definition in file vc1.c.
#define INIT_LUT | ( | lumscale, | |
lumshift, | |||
luty, | |||
lutuv, | |||
chain | |||
) |
|
static |
Decode rows by checking if they are skipped.
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 50 of file vc1.c.
Referenced by bitplane_decoding().
|
static |
Decode columns by checking if they are skipped.
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 72 of file vc1.c.
Referenced by bitplane_decoding().
|
static |
Decode a bitplane's bits.
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 |
Definition at line 95 of file vc1.c.
Referenced by ff_vc1_parse_frame_header(), and ff_vc1_parse_frame_header_adv().
|
static |
VOP Dquant decoding.
v | VC-1 Context |
Definition at line 228 of file vc1.c.
Referenced by ff_vc1_parse_frame_header(), and ff_vc1_parse_frame_header_adv().
|
static |
Definition at line 385 of file vc1.c.
Referenced by ff_vc1_decode_sequence_header().
int ff_vc1_decode_sequence_header | ( | AVCodecContext * | avctx, |
VC1Context * | v, | ||
GetBitContext * | gb | ||
) |
Decode Simple/Main Profiles sequence header.
avctx | Codec context |
gb | GetBit context initialized from Codec context extra_data |
Definition at line 274 of file vc1.c.
Referenced by vc1_decode_init(), and vc1_extract_header().
int ff_vc1_decode_entry_point | ( | AVCodecContext * | avctx, |
VC1Context * | v, | ||
GetBitContext * | gb | ||
) |
Definition at line 501 of file vc1.c.
Referenced by vc1_decode_frame(), vc1_decode_init(), and vc1_extract_header().
|
static |
Definition at line 584 of file vc1.c.
Referenced by ff_vc1_parse_frame_header(), and ff_vc1_parse_frame_header_adv().
|
static |
Definition at line 609 of file vc1.c.
Referenced by ff_vc1_parse_frame_header(), and ff_vc1_parse_frame_header_adv().
int ff_vc1_parse_frame_header | ( | VC1Context * | v, |
GetBitContext * | gb | ||
) |
Definition at line 624 of file vc1.c.
Referenced by decode_wmv9(), vc1_decode_frame(), and vc1_extract_header().
int ff_vc1_parse_frame_header_adv | ( | VC1Context * | v, |
GetBitContext * | gb | ||
) |
Definition at line 846 of file vc1.c.
Referenced by vc1_decode_frame(), and vc1_extract_header().