23#ifndef AVCODEC_MPEG4VIDEODEC_H
24#define AVCODEC_MPEG4VIDEODEC_H
97 int16_t *
block,
int n,
int qscale);
99 int16_t *
block,
int n,
int qscale);
101 int16_t *
block,
int n,
int qscale);
113 int header,
int parse_only);
115 uint8_t *dest_cr,
int block_size,
int uvlinesize,
116 int dct_linesize,
int dct_offset);
118 uint8_t *dest_y, uint8_t *dest_cb, uint8_t *dest_cr,
119 uint8_t *
const *ref_picture);
bitstream reader API header.
#define DECLARE_ALIGNED(n, t, v)
Declare a variable that is aligned in memory.
int ff_mpeg4_frame_end(AVCodecContext *avctx, const AVPacket *pkt)
void ff_mpeg4_decode_studio(MpegEncContext *s, uint8_t *dest_y, uint8_t *dest_cb, uint8_t *dest_cr, int block_size, int uvlinesize, int dct_linesize, int dct_offset)
int ff_mpeg4_decode_partitions(H263DecContext *const h)
Decode the first and second partition.
int ff_mpeg4_parse_picture_header(Mpeg4DecContext *ctx, GetBitContext *gb, int header, int parse_only)
Decode MPEG-4 headers.
int ff_mpeg4_decode_video_packet_header(H263DecContext *const h)
Decode the next video packet.
void ff_mpeg4_pred_ac(H263DecContext *const h, int16_t *block, int n, int dir)
Predict the ac.
int ff_mpeg4_decode_studio_slice_header(H263DecContext *const h)
Decode the next video packet.
void ff_mpeg4_mcsel_motion(MpegEncContext *s, uint8_t *dest_y, uint8_t *dest_cb, uint8_t *dest_cr, uint8_t *const *ref_picture)
void ff_mpeg4_workaround_bugs(AVCodecContext *avctx)
static const uint8_t header[24]
A reference to a data buffer.
main external API structure.
This structure stores compressed data.
int sprite_brightness_change
int b_code
backward MV resolution for B-frames
int intra_dc_threshold
QP above which the ac VLC should be used for intra dc.
int time_increment_bits
number of bits to represent the fractional part of time
int16_t dpcm_macroblock[3][256]
int num_sprite_warping_points
int showed_packed_warning
flag for having shown the warning about invalid Divx B-frames
int sprite_shift[2]
sprite shift [isChroma]
void(* dct_unquantize_h263_intra)(const MPVContext *s, int16_t *block, int n, int qscale)
int sprite_offset[2][2]
sprite offset[isChroma][isMVY]
int cplx_estimation_trash_i
int sprite_warping_accuracy
int vol_control_parameters
does the stream contain the low_delay flag, used to work around buggy encoders.
Mpeg4VideoDSPContext mdsp
uint16_t sprite_traj[4][2]
sprite trajectory points
int f_code
forward MV resolution
int cplx_estimation_trash_p
int t_frame
time distance of first I -> B, used for interlaced B-frames
void(* dct_unquantize_mpeg2_intra)(const MPVContext *s, int16_t *block, int n, int qscale)
int real_sprite_warping_points
int cplx_estimation_trash_b
int sprite_delta[2][2]
sprite_delta [isY][isMVY]
void(* dct_unquantize_mpeg2_inter)(const MPVContext *s, int16_t *block, int n, int qscale)
AVBufferRef * bitstream_buffer
Divx 5.01 puts several frames in a single one, this is used to reorder them.
int resync_marker
could this stream contain resync markers
static AVFormatContext * ctx