FFmpeg
|
MPEG-1/2 decoder. More...
#include "libavutil/internal.h"
#include "internal.h"
#include "avcodec.h"
#include "dsputil.h"
#include "mpegvideo.h"
#include "error_resilience.h"
#include "mpeg12.h"
#include "mpeg12data.h"
#include "mpeg12decdata.h"
#include "bytestream.h"
#include "vdpau_internal.h"
#include "xvmc_internal.h"
#include "thread.h"
Go to the source code of this file.
Data Structures | |
struct | Mpeg1Context |
Macros | |
#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 |
Typedefs | |
typedef struct Mpeg1Context | Mpeg1Context |
Variables | |
static enum AVPixelFormat | mpeg1_hwaccel_pixfmt_list_420 [] |
static enum AVPixelFormat | mpeg2_hwaccel_pixfmt_list_420 [] |
static const AVProfile | mpeg2_video_profiles [] |
AVCodec | ff_mpeg1video_decoder |
AVCodec | ff_mpeg2video_decoder |
AVCodec | ff_mpegvideo_decoder |
Detailed Description
MPEG-1/2 decoder.
Definition in file mpeg12dec.c.
Macro Definition Documentation
#define DECODE_SLICE_ERROR -1 |
Definition at line 1573 of file mpeg12dec.c.
Referenced by mpeg_decode_slice().
#define DECODE_SLICE_OK 0 |
Definition at line 1574 of file mpeg12dec.c.
Referenced by mpeg_decode_slice().
#define MT_16X8 2 |
Definition at line 645 of file mpeg12dec.c.
#define MT_DMV 3 |
Definition at line 646 of file mpeg12dec.c.
Referenced by mpeg_decode_mb().
#define MT_FIELD 1 |
Definition at line 643 of file mpeg12dec.c.
Referenced by mpeg_decode_mb().
#define MT_FRAME 2 |
Definition at line 644 of file mpeg12dec.c.
Referenced by mpeg_decode_mb().
Typedef Documentation
typedef struct Mpeg1Context Mpeg1Context |
Function Documentation
|
static |
Definition at line 2113 of file mpeg12dec.c.
Referenced by mpeg_decode_frame().
|
static |
Definition at line 633 of file mpeg12dec.c.
Referenced by mpeg_decode_mb(), and vcr2_init_sequence().
int ff_mpeg1_decode_block_intra | ( | MpegEncContext * | s, |
int16_t * | block, | ||
int | n | ||
) |
Definition at line 158 of file mpeg12dec.c.
Referenced by decode_dc(), and tqi_decode_mb().
|
static |
Definition at line 2464 of file mpeg12dec.c.
|
inlinestatic |
Definition at line 615 of file mpeg12dec.c.
Referenced by mpeg_decode_mb().
|
inlinestatic |
Definition at line 623 of file mpeg12dec.c.
Referenced by mpeg_decode_mb(), and mpeg_decode_slice().
|
static |
Definition at line 1410 of file mpeg12dec.c.
Referenced by mpeg1_decode_sequence(), and mpeg_decode_quant_matrix_extension().
|
inlinestatic |
Definition at line 163 of file mpeg12dec.c.
Referenced by mpeg_decode_mb().
|
inlinestatic |
Definition at line 87 of file mpeg12dec.c.
Referenced by ff_mpeg1_decode_block_intra(), and mpeg_decode_mb().
|
static |
Definition at line 1272 of file mpeg12dec.c.
Referenced by decode_chunks().
|
static |
Definition at line 1913 of file mpeg12dec.c.
Referenced by decode_chunks().
|
inlinestatic |
Note: this function can read out of range and crash for corrupt streams.
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 243 of file mpeg12dec.c.
Referenced by mpeg_decode_mb().
|
inlinestatic |
Definition at line 461 of file mpeg12dec.c.
Referenced by mpeg_decode_mb().
|
inlinestatic |
Definition at line 315 of file mpeg12dec.c.
Referenced by mpeg_decode_mb().
|
inlinestatic |
Note: this function can read out of range and crash for corrupt streams.
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 544 of file mpeg12dec.c.
Referenced by mpeg_decode_mb().
|
inlinestatic |
Note: this function can read out of range and crash for corrupt streams.
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 399 of file mpeg12dec.c.
Referenced by mpeg_decode_mb().
|
static |
Definition at line 2473 of file mpeg12dec.c.
|
static |
Definition at line 2402 of file mpeg12dec.c.
|
static |
Definition at line 2086 of file mpeg12dec.c.
Referenced by decode_chunks().
|
static |
Definition at line 1029 of file mpeg12dec.c.
|
static |
Definition at line 648 of file mpeg12dec.c.
Referenced by mpeg_decode_slice().
|
static |
Definition at line 59 of file mpeg12dec.c.
Referenced by mpeg_decode_mb().
|
static |
Definition at line 1442 of file mpeg12dec.c.
Referenced by decode_chunks().
|
static |
Definition at line 1377 of file mpeg12dec.c.
Referenced by decode_chunks().
|
static |
Definition at line 1161 of file mpeg12dec.c.
Referenced by decode_chunks().
|
static |
Definition at line 1432 of file mpeg12dec.c.
Referenced by decode_chunks().
|
static |
Definition at line 1353 of file mpeg12dec.c.
Referenced by decode_chunks().
|
static |
Definition at line 1317 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.
- Returns
- DECODE_SLICE_ERROR if the slice is damaged, DECODE_SLICE_OK if this slice is OK
Definition at line 1582 of file mpeg12dec.c.
Referenced by decode_chunks(), and slice_decode_thread().
|
static |
Definition at line 1060 of file mpeg12dec.c.
|
static |
Definition at line 2050 of file mpeg12dec.c.
Referenced by decode_chunks().
|
static |
Definition at line 1501 of file mpeg12dec.c.
Referenced by decode_chunks().
|
static |
Definition at line 1128 of file mpeg12dec.c.
Referenced by mpeg_decode_postinit(), and vcr2_init_sequence().
|
static |
Definition at line 1081 of file mpeg12dec.c.
Referenced by mpeg_decode_postinit().
|
static |
Definition at line 1144 of file mpeg12dec.c.
Referenced by mpeg_decode_postinit(), and vcr2_init_sequence().
|
static |
Definition at line 1816 of file mpeg12dec.c.
Referenced by decode_chunks().
|
static |
Handle slice ends.
- Returns
- 1 if it seems to be the last slice
Definition at line 1863 of file mpeg12dec.c.
Referenced by decode_chunks(), and decode_frame().
|
inlinestatic |
Definition at line 1124 of file mpeg12dec.c.
Referenced by decode_chunks(), and setup_hwaccel_for_pixfmt().
|
static |
Definition at line 1996 of file mpeg12dec.c.
Referenced by mpeg_decode_frame().
Variable Documentation
AVCodec ff_mpeg1video_decoder |
Definition at line 2495 of file mpeg12dec.c.
AVCodec ff_mpeg2video_decoder |
Definition at line 2512 of file mpeg12dec.c.
AVCodec ff_mpegvideo_decoder |
Definition at line 2530 of file mpeg12dec.c.
|
static |
Definition at line 1094 of file mpeg12dec.c.
Referenced by mpeg_get_pixelformat().
|
static |
Definition at line 1106 of file mpeg12dec.c.
Referenced by mpeg_get_pixelformat().
|
static |
Definition at line 2482 of file mpeg12dec.c.
Generated on Mon Nov 18 2024 06:52:07 for FFmpeg by 1.8.11