#include "avcodec.h"
#include "h264chroma.h"
#include "mpegvideo.h"
#include "intrax8.h"
#include "vc1dsp.h"
Go to the source code of this file.
|
enum | CodingSet {
CS_HIGH_MOT_INTRA = 0,
CS_HIGH_MOT_INTER,
CS_LOW_MOT_INTRA,
CS_LOW_MOT_INTER,
CS_MID_RATE_INTRA,
CS_MID_RATE_INTER,
CS_HIGH_RATE_INTRA,
CS_HIGH_RATE_INTER
} |
|
enum | FrameCodingMode { PROGRESSIVE = 0,
ILACE_FRAME,
ILACE_FIELD
} |
| FCM Frame Coding Mode. More...
|
|
|
enum | VC1Code {
VC1_CODE_RES0 = 0x00000100,
VC1_CODE_ENDOFSEQ = 0x0000010A,
VC1_CODE_SLICE,
VC1_CODE_FIELD,
VC1_CODE_FRAME,
VC1_CODE_ENTRYPOINT,
VC1_CODE_SEQHDR
} |
| Markers used in VC-1 AP frame data. More...
|
|
|
enum | Profile { PROFILE_SIMPLE,
PROFILE_MAIN,
PROFILE_COMPLEX,
PROFILE_ADVANCED
} |
| Available Profiles. More...
|
|
|
enum | QuantMode { QUANT_FRAME_IMPLICIT,
QUANT_FRAME_EXPLICIT,
QUANT_NON_UNIFORM,
QUANT_UNIFORM
} |
| Sequence quantizer mode. More...
|
|
|
enum | DQProfile { DQPROFILE_FOUR_EDGES,
DQPROFILE_DOUBLE_EDGES,
DQPROFILE_SINGLE_EDGE,
DQPROFILE_ALL_MBS
} |
| Where quant can be changed. More...
|
|
|
enum | DQSingleEdge { DQSINGLE_BEDGE_LEFT,
DQSINGLE_BEDGE_TOP,
DQSINGLE_BEDGE_RIGHT,
DQSINGLE_BEDGE_BOTTOM
} |
|
|
enum | DQDoubleEdge { DQDOUBLE_BEDGE_TOPLEFT,
DQDOUBLE_BEDGE_TOPRIGHT,
DQDOUBLE_BEDGE_BOTTOMRIGHT,
DQDOUBLE_BEDGE_BOTTOMLEFT
} |
| Which pair of edges is quantized with ALTPQUANT. More...
|
|
|
enum | MVModes {
MV_PMODE_1MV_HPEL_BILIN,
MV_PMODE_1MV,
MV_PMODE_1MV_HPEL,
MV_PMODE_MIXED_MV,
MV_PMODE_INTENSITY_COMP
} |
| MV modes for P frames. More...
|
|
|
enum | MBModesIntfr {
MV_PMODE_INTFR_1MV,
MV_PMODE_INTFR_2MV_FIELD,
MV_PMODE_INTFR_2MV,
MV_PMODE_INTFR_4MV_FIELD,
MV_PMODE_INTFR_4MV,
MV_PMODE_INTFR_INTRA
} |
| MBMODE for interlaced frame P-picture. More...
|
|
|
enum | BMVTypes { BMV_TYPE_BACKWARD,
BMV_TYPE_FORWARD,
BMV_TYPE_INTERPOLATED,
BMV_TYPE_DIRECT
} |
|
|
enum | TransformTypes {
TT_8X8,
TT_8X4_BOTTOM,
TT_8X4_TOP,
TT_8X4,
TT_4X8_RIGHT,
TT_4X8_LEFT,
TT_4X8,
TT_4X4
} |
|
|
enum | COTypes { CONDOVER_NONE = 0,
CONDOVER_ALL,
CONDOVER_SELECT
} |
|
|
enum | Imode {
IMODE_RAW,
IMODE_NORM2,
IMODE_DIFF2,
IMODE_NORM6,
IMODE_DIFF6,
IMODE_ROWSKIP,
IMODE_COLSKIP
} |
| Imode types. More...
|
|
Definition at line 32 of file vc1.h.
#define IS_MARKER |
( |
|
x | ) |
(((x) & ~0xFF) == VC1_CODE_RES0) |
Markers used in VC-1 AP frame data.
- Enumerator:
VC1_CODE_RES0 |
|
VC1_CODE_ENDOFSEQ |
|
VC1_CODE_SLICE |
|
VC1_CODE_FIELD |
|
VC1_CODE_FRAME |
|
VC1_CODE_ENTRYPOINT |
|
VC1_CODE_SEQHDR |
|
Definition at line 36 of file vc1.h.
Available Profiles.
- Enumerator:
PROFILE_SIMPLE |
|
PROFILE_MAIN |
|
PROFILE_COMPLEX |
TODO: WMV9 specific.
|
PROFILE_ADVANCED |
|
Definition at line 51 of file vc1.h.
Sequence quantizer mode.
- Enumerator:
QUANT_FRAME_IMPLICIT |
Implicitly specified at frame level.
|
QUANT_FRAME_EXPLICIT |
Explicitly specified at frame level.
|
QUANT_NON_UNIFORM |
Non-uniform quant used for all frames.
|
QUANT_UNIFORM |
Uniform quant used for all frames.
|
Definition at line 61 of file vc1.h.
Where quant can be changed.
- Enumerator:
DQPROFILE_FOUR_EDGES |
|
DQPROFILE_DOUBLE_EDGES |
|
DQPROFILE_SINGLE_EDGE |
|
DQPROFILE_ALL_MBS |
|
Definition at line 71 of file vc1.h.
- Enumerator:
DQSINGLE_BEDGE_LEFT |
|
DQSINGLE_BEDGE_TOP |
|
DQSINGLE_BEDGE_RIGHT |
|
DQSINGLE_BEDGE_BOTTOM |
|
Definition at line 82 of file vc1.h.
Which pair of edges is quantized with ALTPQUANT.
- Enumerator:
DQDOUBLE_BEDGE_TOPLEFT |
|
DQDOUBLE_BEDGE_TOPRIGHT |
|
DQDOUBLE_BEDGE_BOTTOMRIGHT |
|
DQDOUBLE_BEDGE_BOTTOMLEFT |
|
Definition at line 92 of file vc1.h.
MV modes for P frames.
- Enumerator:
MV_PMODE_1MV_HPEL_BILIN |
|
MV_PMODE_1MV |
|
MV_PMODE_1MV_HPEL |
|
MV_PMODE_MIXED_MV |
|
MV_PMODE_INTENSITY_COMP |
|
Definition at line 102 of file vc1.h.
MBMODE for interlaced frame P-picture.
- Enumerator:
MV_PMODE_INTFR_1MV |
|
MV_PMODE_INTFR_2MV_FIELD |
|
MV_PMODE_INTFR_2MV |
|
MV_PMODE_INTFR_4MV_FIELD |
|
MV_PMODE_INTFR_4MV |
|
MV_PMODE_INTFR_INTRA |
|
Definition at line 113 of file vc1.h.
- Enumerator:
BMV_TYPE_BACKWARD |
|
BMV_TYPE_FORWARD |
|
BMV_TYPE_INTERPOLATED |
|
BMV_TYPE_DIRECT |
|
Definition at line 125 of file vc1.h.
- Enumerator:
TT_8X8 |
|
TT_8X4_BOTTOM |
|
TT_8X4_TOP |
|
TT_8X4 |
|
TT_4X8_RIGHT |
|
TT_4X8_LEFT |
|
TT_4X8 |
|
TT_4X4 |
|
Definition at line 135 of file vc1.h.
- Enumerator:
CS_HIGH_MOT_INTRA |
|
CS_HIGH_MOT_INTER |
|
CS_LOW_MOT_INTRA |
|
CS_LOW_MOT_INTER |
|
CS_MID_RATE_INTRA |
|
CS_MID_RATE_INTER |
|
CS_HIGH_RATE_INTRA |
|
CS_HIGH_RATE_INTER |
|
Definition at line 147 of file vc1.h.
- Enumerator:
CONDOVER_NONE |
|
CONDOVER_ALL |
|
CONDOVER_SELECT |
|
Definition at line 160 of file vc1.h.
FCM Frame Coding Mode.
- Note
- some content might be marked interlaced but have fcm set to 0 as well (e.g. HD-DVD)
- Enumerator:
PROGRESSIVE |
in the bitstream is reported as 00b
|
ILACE_FRAME |
in the bitstream is reported as 10b
|
ILACE_FIELD |
in the bitstream is reported as 11b
|
Definition at line 172 of file vc1.h.
Imode types.
- Enumerator:
IMODE_RAW |
|
IMODE_NORM2 |
|
IMODE_DIFF2 |
|
IMODE_NORM6 |
|
IMODE_DIFF6 |
|
IMODE_ROWSKIP |
|
IMODE_COLSKIP |
|
Definition at line 182 of file vc1.h.
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 283 of file vc1.c.
Referenced by vc1_decode_init(), and vc1_extract_header().
int ff_vc1_decode_init_alloc_tables |
( |
VC1Context * |
v | ) |
|