FFmpeg
|
#include <stdint.h>
#include "get_bits.h"
#include "mpegvideo.h"
#include "mpeg4videodsp.h"
#include "libavutil/mem_internal.h"
Go to the source code of this file.
Data Structures | |
struct | Mpeg4DecContext |
Functions | |
int | ff_mpeg4_decode_picture_header (Mpeg4DecContext *ctx, GetBitContext *gb, int header, int parse_only) |
Decode MPEG-4 headers. More... | |
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) |
void | ff_mpeg4_mcsel_motion (MpegEncContext *s, uint8_t *dest_y, uint8_t *dest_cb, uint8_t *dest_cr, uint8_t *const *ref_picture) |
int | ff_mpeg4_decode_partitions (Mpeg4DecContext *ctx) |
Decode the first and second partition. More... | |
int | ff_mpeg4_decode_video_packet_header (Mpeg4DecContext *ctx) |
Decode the next video packet. More... | |
int | ff_mpeg4_decode_studio_slice_header (Mpeg4DecContext *ctx) |
Decode the next video packet. More... | |
int | ff_mpeg4_workaround_bugs (AVCodecContext *avctx) |
void | ff_mpeg4_pred_ac (MpegEncContext *s, int16_t *block, int n, int dir) |
Predict the ac. More... | |
int | ff_mpeg4_frame_end (AVCodecContext *avctx, const uint8_t *buf, int buf_size) |
int ff_mpeg4_decode_picture_header | ( | Mpeg4DecContext * | ctx, |
GetBitContext * | gb, | ||
int | header, | ||
int | parse_only | ||
) |
Decode MPEG-4 headers.
header | If set the absence of a VOP is not treated as error; otherwise, it is treated as such. |
parse_only | If set, things only relevant to a decoder may be skipped; furthermore, the VLC tables may be uninitialized. |
Definition at line 3466 of file mpeg4videodec.c.
Referenced by ff_h263_decode_frame(), and mpeg4_decode_header().
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 | ||
) |
Definition at line 247 of file mpeg4videodec.c.
Referenced by mpv_reconstruct_mb_internal().
void ff_mpeg4_mcsel_motion | ( | MpegEncContext * | s, |
uint8_t * | dest_y, | ||
uint8_t * | dest_cb, | ||
uint8_t * | dest_cr, | ||
uint8_t *const * | ref_picture | ||
) |
Definition at line 232 of file mpeg4videodec.c.
Referenced by mpv_motion_internal().
int ff_mpeg4_decode_partitions | ( | Mpeg4DecContext * | ctx | ) |
Decode the first and second partition.
Definition at line 1223 of file mpeg4videodec.c.
Referenced by decode_slice().
int ff_mpeg4_decode_video_packet_header | ( | Mpeg4DecContext * | ctx | ) |
Decode the next video packet.
Definition at line 695 of file mpeg4videodec.c.
Referenced by ff_h263_resync().
int ff_mpeg4_decode_studio_slice_header | ( | Mpeg4DecContext * | ctx | ) |
Decode the next video packet.
Definition at line 794 of file mpeg4videodec.c.
Referenced by decode_slice().
int ff_mpeg4_workaround_bugs | ( | AVCodecContext * | avctx | ) |
Definition at line 2978 of file mpeg4videodec.c.
Referenced by ff_h263_decode_frame().
void ff_mpeg4_pred_ac | ( | MpegEncContext * | s, |
int16_t * | 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 315 of file mpeg4videodec.c.
Referenced by ff_msmpeg4_decode_block(), and mpeg4_decode_block().
int ff_mpeg4_frame_end | ( | AVCodecContext * | avctx, |
const uint8_t * | buf, | ||
int | buf_size | ||
) |
Definition at line 3624 of file mpeg4videodec.c.
Referenced by ff_h263_decode_frame().