FFmpeg
|
#include "libavutil/frame.h"
#include "libavutil/log.h"
#include "avcodec.h"
#include "get_bits.h"
#include "mpegpicture.h"
#include "mpegvideo.h"
#include "mpegvideodata.h"
Go to the source code of this file.
Macros | |
#define | FF_MPV_QSCALE_TYPE_MPEG1 0 |
#define | FF_MPV_QSCALE_TYPE_MPEG2 1 |
mpegvideo decoder header.
Definition in file mpegvideodec.h.
#define FF_MPV_QSCALE_TYPE_MPEG1 0 |
Definition at line 40 of file mpegvideodec.h.
#define FF_MPV_QSCALE_TYPE_MPEG2 1 |
Definition at line 41 of file mpegvideodec.h.
int ff_mpv_decode_init | ( | MpegEncContext * | s, |
AVCodecContext * | avctx | ||
) |
Initialize the given MpegEncContext for decoding.
the changed fields will not depend upon the prior state of the MpegEncContext.
Also initialize the picture pool.
Definition at line 46 of file mpegvideo_dec.c.
Referenced by ff_h263_decode_init(), ff_rv34_decode_init(), ff_vc1_decode_init(), h261_decode_init(), and mpeg_decode_init().
int ff_mpv_common_frame_size_change | ( | MpegEncContext * | s | ) |
Definition at line 172 of file mpegvideo_dec.c.
Referenced by ff_h263_decode_frame(), ff_mpeg_update_thread_context(), ff_rv34_decode_frame(), and ff_rv34_decode_update_thread_context().
int ff_mpv_frame_start | ( | MpegEncContext * | s, |
AVCodecContext * | avctx | ||
) |
generic function called after decoding the header and before a frame is decoded.
Definition at line 344 of file mpegvideo_dec.c.
Referenced by decode_wmv9(), ff_h263_decode_frame(), ff_rv34_decode_frame(), h261_decode_frame(), mpeg_field_start(), rv10_decode_packet(), and vc1_decode_frame().
int ff_mpv_alloc_dummy_frames | ( | MpegEncContext * | s | ) |
Ensure that the dummy frames are allocated according to pict_type if necessary.
Definition at line 301 of file mpegvideo_dec.c.
Referenced by ff_mpv_frame_start(), and mpeg_field_start().
void ff_mpv_reconstruct_mb | ( | MpegEncContext * | s, |
int16_t | block[12][64] | ||
) |
Definition at line 910 of file mpegvideo_dec.c.
Referenced by decode_slice(), h261_decode_mb(), h261_decode_mb_skipped(), mpeg_decode_slice(), mpeg_er_decode_mb(), and rv10_decode_packet().
void ff_mpv_report_decode_progress | ( | MpegEncContext * | s | ) |
Definition at line 463 of file mpegvideo_dec.c.
Referenced by decode_slice(), and mpeg_decode_slice().
void ff_mpv_frame_end | ( | MpegEncContext * | s | ) |
Definition at line 395 of file mpegvideo_dec.c.
Referenced by decode_wmv9(), ff_h263_decode_frame(), ff_rv34_decode_frame(), finish_frame(), h261_decode_frame(), rv10_decode_frame(), rv10_decode_packet(), slice_end(), and vc1_decode_frame().
int ff_mpv_export_qp_table | ( | const MpegEncContext * | s, |
AVFrame * | f, | ||
const MPVPicture * | p, | ||
int | qp_type | ||
) |
Definition at line 410 of file mpegvideo_dec.c.
Referenced by ff_h263_decode_frame(), finish_frame(), rv10_decode_frame(), and slice_end().
int ff_mpeg_update_thread_context | ( | AVCodecContext * | dst, |
const AVCodecContext * | src | ||
) |
Definition at line 77 of file mpegvideo_dec.c.
Referenced by ff_rv34_decode_update_thread_context().
void ff_mpeg_draw_horiz_band | ( | MpegEncContext * | s, |
int | y, | ||
int | h | ||
) |
Definition at line 441 of file mpegvideo_dec.c.
Referenced by d3d12va_mpeg2_end_frame(), decode_slice(), dxva2_mpeg2_end_frame(), mpeg_decode_slice(), vaapi_mpeg2_end_frame(), and vaapi_mpeg4_end_frame().
void ff_mpeg_flush | ( | AVCodecContext * | avctx | ) |
Definition at line 449 of file mpegvideo_dec.c.
Referenced by decode_wmv9(), and flush().
int ff_mpv_decode_close | ( | AVCodecContext * | avctx | ) |
Definition at line 163 of file mpegvideo_dec.c.
Referenced by ff_rv34_decode_end(), ff_vc1_decode_end(), mpeg_decode_end(), and wmv2_decode_end().
void ff_print_debug_info | ( | const MpegEncContext * | s, |
const MPVPicture * | p, | ||
AVFrame * | pict | ||
) |
Definition at line 403 of file mpegvideo_dec.c.
Referenced by ff_h263_decode_frame(), finish_frame(), h261_decode_frame(), rv10_decode_frame(), slice_end(), and vc1_decode_frame().
|
inlinestatic |
Definition at line 72 of file mpegvideodec.h.
Referenced by ff_mpeg4_decode_studio_slice_header(), ipu_decode_frame(), mpeg4_decode_studio_mb(), mpeg_decode_mb(), and mpeg_decode_slice().
|
inlinestatic |
Definition at line 81 of file mpegvideodec.h.
Referenced by decode_new_pred(), decode_smpte_tc(), decode_studio_vol_header(), decode_vol_header(), decode_vop_header(), ff_h263_decode_picture_header(), ff_intel_h263_decode_picture_header(), ff_mpeg4_decode_video_packet_header(), h263_decode_gob_header(), mpeg1_decode_sequence(), mpeg4_decode_gop_header(), mpeg4_decode_sprite_trajectory(), mpeg4_decode_studio_block(), mpeg4_decode_studio_mb(), mpeg_decode_mb(), and mpeg_decode_sequence_extension().