|
FFmpeg
4.4.9
|
MPEG-1/2 decoder. More...
#include <inttypes.h>#include "libavutil/attributes.h"#include "libavutil/imgutils.h"#include "libavutil/internal.h"#include "libavutil/mem_internal.h"#include "libavutil/stereo3d.h"#include "libavutil/video_enc_params.h"#include "avcodec.h"#include "bytestream.h"#include "error_resilience.h"#include "hwconfig.h"#include "idctdsp.h"#include "internal.h"#include "mpeg_er.h"#include "mpeg12.h"#include "mpeg12data.h"#include "mpegutils.h"#include "mpegvideo.h"#include "mpegvideodata.h"#include "profiles.h"#include "thread.h"#include "version.h"#include "xvmc_internal.h"Go to the source code of this file.
Data Structures | |
| struct | Mpeg1Context |
| struct | IPUContext |
Macros | |
| #define | UNCHECKED_BITSTREAM_READER 1 |
| #define | A53_MAX_CC_COUNT 2000 |
| #define | MB_TYPE_ZERO_MV 0x20000000 |
| #define | MAX_INDEX (64 - 1) |
| #define | check_scantable_index(ctx, x) |
| #define | MT_FIELD 1 |
| #define | MT_FRAME 2 |
| #define | MT_16X8 2 |
| #define | MT_DMV 3 |
| #define | DECODE_SLICE_ERROR -1 |
| #define | DECODE_SLICE_OK 0 |
Variables | |
| static const uint32_t | ptype2mb_type [7] |
| static const uint32_t | btype2mb_type [11] |
| static enum AVPixelFormat | mpeg1_hwaccel_pixfmt_list_420 [] |
| static enum AVPixelFormat | mpeg2_hwaccel_pixfmt_list_420 [] |
| static enum AVPixelFormat | mpeg12_pixfmt_list_422 [] |
| static enum AVPixelFormat | mpeg12_pixfmt_list_444 [] |
| AVCodec | ff_mpeg1video_decoder |
| AVCodec | ff_mpeg2video_decoder |
| AVCodec | ff_mpegvideo_decoder |
| AVCodec | ff_ipu_decoder |
MPEG-1/2 decoder.
Definition in file mpeg12dec.c.
| #define UNCHECKED_BITSTREAM_READER 1 |
Definition at line 28 of file mpeg12dec.c.
| #define A53_MAX_CC_COUNT 2000 |
Definition at line 55 of file mpeg12dec.c.
| #define MB_TYPE_ZERO_MV 0x20000000 |
Definition at line 78 of file mpeg12dec.c.
| #define MAX_INDEX (64 - 1) |
Definition at line 131 of file mpeg12dec.c.
| #define check_scantable_index | ( | ctx, | |
| x | |||
| ) |
Definition at line 132 of file mpeg12dec.c.
| #define MT_FIELD 1 |
Definition at line 648 of file mpeg12dec.c.
| #define MT_FRAME 2 |
Definition at line 649 of file mpeg12dec.c.
| #define MT_16X8 2 |
Definition at line 650 of file mpeg12dec.c.
| #define MT_DMV 3 |
Definition at line 651 of file mpeg12dec.c.
| #define DECODE_SLICE_ERROR -1 |
Definition at line 1696 of file mpeg12dec.c.
| #define DECODE_SLICE_OK 0 |
Definition at line 1697 of file mpeg12dec.c.
|
static |
Definition at line 105 of file mpeg12dec.c.
Referenced by mpeg_decode_mb().
|
inlinestatic |
Definition at line 141 of file mpeg12dec.c.
Referenced by mpeg_decode_mb().
|
inlinestatic |
Changing this would eat up any speed benefits it has.
Do not use "fast" flag if you need the code to be robust.
Definition at line 230 of file mpeg12dec.c.
Referenced by mpeg_decode_mb().
|
inlinestatic |
Definition at line 315 of file mpeg12dec.c.
Referenced by mpeg_decode_mb().
|
inlinestatic |
Changing this would eat up any speed benefits it has.
Do not use "fast" flag if you need the code to be robust.
Definition at line 405 of file mpeg12dec.c.
Referenced by mpeg_decode_mb().
|
inlinestatic |
Definition at line 477 of file mpeg12dec.c.
Referenced by ipu_decode_frame(), and mpeg_decode_mb().
|
inlinestatic |
Changing this would eat up any speed benefits it has.
Do not use "fast" flag if you need the code to be robust.
Definition at line 563 of file mpeg12dec.c.
Referenced by mpeg_decode_mb().
|
inlinestatic |
Definition at line 639 of file mpeg12dec.c.
Referenced by mpeg_decode_mb().
|
static |
Definition at line 653 of file mpeg12dec.c.
Referenced by mpeg_decode_slice().
|
static |
Definition at line 1050 of file mpeg12dec.c.
|
static |
Definition at line 1102 of file mpeg12dec.c.
Referenced by mpeg_decode_postinit().
|
static |
Definition at line 1102 of file mpeg12dec.c.
Referenced by mpeg_decode_postinit(), and vcr2_init_sequence().
|
static |
Definition at line 1186 of file mpeg12dec.c.
Referenced by mpeg_decode_postinit(), and vcr2_init_sequence().
|
static |
Definition at line 1203 of file mpeg12dec.c.
Referenced by decode_chunks().
|
static |
Definition at line 1340 of file mpeg12dec.c.
Referenced by decode_chunks().
|
static |
Definition at line 1389 of file mpeg12dec.c.
Referenced by decode_chunks().
|
static |
Definition at line 1439 of file mpeg12dec.c.
Referenced by decode_chunks().
|
static |
Definition at line 1463 of file mpeg12dec.c.
Referenced by decode_chunks().
|
static |
Definition at line 1497 of file mpeg12dec.c.
Referenced by mpeg1_decode_sequence(), and mpeg_decode_quant_matrix_extension().
|
static |
Definition at line 1520 of file mpeg12dec.c.
Referenced by decode_chunks().
|
static |
Definition at line 1534 of file mpeg12dec.c.
Referenced by decode_chunks().
|
static |
Definition at line 1593 of file mpeg12dec.c.
Referenced by decode_chunks().
|
static |
Decode a slice.
MpegEncContext.mb_y must be set to the MB row from the startcode.
Definition at line 1705 of file mpeg12dec.c.
Referenced by decode_chunks(), and slice_decode_thread().
|
static |
Definition at line 1982 of file mpeg12dec.c.
Referenced by decode_chunks().
|
static |
Handle slice ends.
Definition at line 2035 of file mpeg12dec.c.
Referenced by allocate_plane(), amplify_frame(), blend_frame_partial(), blend_slice_packed_rgb(), cas_slice16(), cas_slice8(), clear_slice16(), clear_slice8(), color_balance16(), color_balance16_p(), color_balance8(), color_balance8_p(), colorcontrast_slice16(), colorcontrast_slice16p(), colorcontrast_slice8(), colorcontrast_slice8p(), colorcorrect_slice16(), colorcorrect_slice8(), colorize_slice16(), colorize_slice8(), colorizey_slice16(), colorizey_slice8(), colorlevels_slice_16(), colorlevels_slice_8(), compute_images_identity(), compute_images_msad(), compute_images_mse(), compute_sat_hue_metrics16(), compute_sat_hue_metrics8(), convert_frame_partial(), decode_chunks(), decode_frame(), DEFINE_BLEND8(), diagonal_transformation(), distortion_correction_filter_slice(), do_chromahold16_slice(), do_chromahold_slice(), do_chromakey16_slice(), do_chromakey_slice(), do_colorhold_slice(), do_colorkey_slice(), do_despill_slice(), do_lumakey_slice16(), do_lumakey_slice8(), epx2_slice(), epx3_slice(), exposure_slice(), filter16_brng(), filter16_tout(), filter16_vrep(), filter8_brng(), filter8_tout(), filter8_vrep(), filter_color(), filter_color2(), filter_horizontally(), filter_mono(), filter_postscale(), filter_rgb(), filter_rgb_planar(), filter_slice(), filter_slice_alpha(), filter_slice_alpha16(), filter_slice_chroma(), filter_slice_chroma16(), filter_slice_grey_edge(), filter_slice_luma(), filter_slice_luma16(), filter_slice_packed(), filter_slice_planar(), filter_slice_rgb(), filter_slice_rgba16_packed(), filter_slice_rgba16_planar(), filter_slice_rgba_packed(), filter_slice_rgba_planar(), filter_vertically(), hqx_filter(), lut_packed_16bits(), lut_packed_8bits(), lut_planar_16bits(), lut_planar_8bits(), maskedclamp_slice(), maskedminmax_slice(), median_frames16(), median_frames8(), mix_frames(), monochrome_slice16(), monochrome_slice8(), nlmeans_slice(), premultiply_slice(), process_slice_uyvy422(), process_slice_yuv420p(), process_slice_yuv422p(), process_slice_yuv444p(), scale_frame(), scroll_slice(), slice_geq_filter(), slice_get_derivative(), slice_normalize(), ssim_plane(), ssim_plane_16bit(), super2xsai(), temperature_slice16(), temperature_slice16p(), temperature_slice8(), temperature_slice8p(), threshold_slice(), tonemap_slice(), v210_decode_slice(), v360_slice(), v410_decode_slice(), vibrance_slice16(), vibrance_slice16p(), vibrance_slice8(), vibrance_slice8p(), vif_filter1d(), vignetting_filter_slice(), xbr_filter(), and xfade_slice().
|
static |
Definition at line 2086 of file mpeg12dec.c.
Referenced by decode_chunks().
|
static |
Definition at line 2175 of file mpeg12dec.c.
Referenced by mpeg_decode_frame().
|
static |
Definition at line 2229 of file mpeg12dec.c.
Referenced by mpeg_decode_user_data().
|
static |
Definition at line 2364 of file mpeg12dec.c.
Referenced by decode_chunks().
|
static |
Definition at line 2434 of file mpeg12dec.c.
Referenced by decode_chunks().
|
static |
Definition at line 2467 of file mpeg12dec.c.
Referenced by mpeg_decode_frame().
|
static |
Definition at line 2798 of file mpeg12dec.c.
|
static |
Definition at line 2877 of file mpeg12dec.c.
|
static |
Definition at line 2886 of file mpeg12dec.c.
|
static |
Definition at line 3000 of file mpeg12dec.c.
|
static |
Definition at line 3105 of file mpeg12dec.c.
|
static |
Definition at line 3134 of file mpeg12dec.c.
|
static |
|
static |
|
static |
Definition at line 1102 of file mpeg12dec.c.
|
static |
Definition at line 1102 of file mpeg12dec.c.
|
static |
Definition at line 1102 of file mpeg12dec.c.
|
static |
Definition at line 1102 of file mpeg12dec.c.
| AVCodec ff_mpeg1video_decoder |
Definition at line 2896 of file mpeg12dec.c.
| AVCodec ff_mpeg2video_decoder |
Definition at line 2930 of file mpeg12dec.c.
| AVCodec ff_mpegvideo_decoder |
Definition at line 2977 of file mpeg12dec.c.
| AVCodec ff_ipu_decoder |
Definition at line 3143 of file mpeg12dec.c.