Go to the source code of this file.
Macros | |
#define | SPRITE_TRAJ_VLC_BITS 6 |
#define | DC_VLC_BITS 9 |
#define | MB_TYPE_B_VLC_BITS 4 |
Variables | |
static VLC | dc_lum |
static VLC | dc_chrom |
static VLC | sprite_trajectory |
static VLC | mb_type_b_vlc |
static const int | mb_type_b_map [4] |
static const AVProfile | mpeg4_video_profiles [] |
AVCodec | ff_mpeg4_decoder |
#define DC_VLC_BITS 9 |
Definition at line 33 of file mpeg4videodec.c.
Referenced by ff_mpeg4_init_tables(), and mpeg4_decode_dc().
#define MB_TYPE_B_VLC_BITS 4 |
Definition at line 34 of file mpeg4videodec.c.
Referenced by ff_mpeg4_init_tables(), and mpeg4_decode_mb().
#define SPRITE_TRAJ_VLC_BITS 6 |
Definition at line 32 of file mpeg4videodec.c.
Referenced by ff_mpeg4_init_tables(), and mpeg4_decode_sprite_trajectory().
|
static |
Definition at line 2228 of file mpeg4videodec.c.
|
static |
Decode the user data stuff in the header.
Also initializes divx/xvid/lavc_version/build.
Definition at line 1866 of file mpeg4videodec.c.
Referenced by ff_mpeg4_decode_picture_header().
|
static |
Definition at line 1553 of file mpeg4videodec.c.
Referenced by ff_mpeg4_decode_picture_header().
|
static |
Definition at line 1920 of file mpeg4videodec.c.
Referenced by ff_mpeg4_decode_picture_header().
int ff_mpeg4_decode_partitions | ( | MpegEncContext * | s | ) |
Decode the first and second partition.
Definition at line 823 of file mpeg4videodec.c.
Referenced by decode_slice().
int ff_mpeg4_decode_picture_header | ( | MpegEncContext * | s, |
GetBitContext * | gb | ||
) |
Decode mpeg4 headers.
Definition at line 2139 of file mpeg4videodec.c.
Referenced by av_mpeg4_decode_header(), and ff_h263_decode_frame().
int ff_mpeg4_decode_video_packet_header | ( | MpegEncContext * | s | ) |
Decode the next video packet.
Definition at line 380 of file mpeg4videodec.c.
Referenced by ff_h263_resync().
Definition at line 48 of file mpeg4videodec.c.
Referenced by decode_init(), and mpeg4video_parse_init().
void ff_mpeg4_pred_ac | ( | MpegEncContext * | s, |
DCTELEM * | block, | ||
int | n, | ||
int | dir | ||
) |
Predict the ac.
n | block index (0-3 are luma, 4-5 are chroma) |
dir | the ac prediction direction |
Definition at line 80 of file mpeg4videodec.c.
Referenced by ff_msmpeg4_decode_block(), and mpeg4_decode_block().
|
inlinestatic |
Get the average motion vector for a GMC MB.
n | either 0 for the x component or 1 for y |
Definition at line 479 of file mpeg4videodec.c.
Referenced by mpeg4_decode_mb(), and mpeg4_decode_partition_a().
|
inlinestatic |
Decode a block.
Definition at line 876 of file mpeg4videodec.c.
Referenced by mpeg4_decode_mb(), and mpeg4_decode_partitioned_mb().
|
inlinestatic |
Decode the dc value.
n | block index (0-3 are luma, 4-5 are chroma) |
dir_ptr | the prediction direction will be stored here |
Definition at line 526 of file mpeg4videodec.c.
Referenced by mpeg4_decode_block(), mpeg4_decode_partition_a(), and mpeg4_decode_partition_b().
|
static |
Definition at line 1520 of file mpeg4videodec.c.
Referenced by ff_mpeg4_decode_picture_header().
|
static |
Definition at line 1182 of file mpeg4videodec.c.
Referenced by decode_init(), and decode_vop_header().
|
static |
Decode first partition.
Definition at line 571 of file mpeg4videodec.c.
Referenced by ff_mpeg4_decode_partitions().
|
static |
decode second partition.
Definition at line 736 of file mpeg4videodec.c.
Referenced by ff_mpeg4_decode_partitions().
|
static |
decode partition C of one MB.
Definition at line 1100 of file mpeg4videodec.c.
Referenced by decode_vop_header().
|
static |
Definition at line 1537 of file mpeg4videodec.c.
Referenced by ff_mpeg4_decode_picture_header().
|
static |
Definition at line 182 of file mpeg4videodec.c.
Referenced by decode_vop_header(), and ff_mpeg4_decode_video_packet_header().
|
inlinestatic |
check if the next stuff is a resync marker or the end.
Definition at line 139 of file mpeg4videodec.c.
Referenced by mpeg4_decode_mb(), and mpeg4_decode_partitioned_mb().
|
static |
Definition at line 37 of file mpeg4videodec.c.
|
static |
Definition at line 37 of file mpeg4videodec.c.
AVCodec ff_mpeg4_decoder |
Definition at line 2271 of file mpeg4videodec.c.
|
static |
Definition at line 41 of file mpeg4videodec.c.
Referenced by mpeg4_decode_mb().
|
static |
Definition at line 39 of file mpeg4videodec.c.
|
static |
Definition at line 2252 of file mpeg4videodec.c.
|
static |
Definition at line 38 of file mpeg4videodec.c.