mpegvideodec.c File Reference
#include "avformat.h"
#include "rawdec.h"
Include dependency graph for mpegvideodec.c:

Go to the source code of this file.

Macros

#define SEQ_START_CODE   0x000001b3
 
#define GOP_START_CODE   0x000001b8
 
#define PICTURE_START_CODE   0x00000100
 
#define SLICE_START_CODE   0x00000101
 
#define PACK_START_CODE   0x000001ba
 
#define VIDEO_ID   0x000001e0
 
#define AUDIO_ID   0x000001c0
 

Functions

static int mpegvideo_probe (AVProbeData *p)
 

Variables

static const AVClass mpegvideo_demuxer_class = { .class_name = "mpegvideo" " demuxer", .item_name = av_default_item_name, .option = ff_rawvideo_options, .version = LIBAVUTIL_VERSION_INT, }
 
AVInputFormat ff_mpegvideo_demuxer = { .name = "mpegvideo", .long_name = NULL_IF_CONFIG_SMALL( "raw MPEG video" ), .read_probe = mpegvideo_probe , .read_header = ff_raw_video_read_header, .read_packet = ff_raw_read_partial_packet, .extensions = NULL , .flags = 0x0100 , .raw_codec_id = AV_CODEC_ID_MPEG1VIDEO , .priv_data_size = sizeof(FFRawVideoDemuxerContext), .priv_class = & mpegvideo_demuxer_class, }
 

Macro Definition Documentation

#define AUDIO_ID   0x000001c0

Definition at line 32 of file mpegvideodec.c.

Referenced by mpegvideo_probe().

#define GOP_START_CODE   0x000001b8

Definition at line 27 of file mpegvideodec.c.

#define PACK_START_CODE   0x000001ba

Definition at line 30 of file mpegvideodec.c.

Referenced by mpegvideo_probe().

#define PICTURE_START_CODE   0x00000100

Definition at line 28 of file mpegvideodec.c.

Referenced by mpegvideo_probe().

#define SEQ_START_CODE   0x000001b3

Definition at line 26 of file mpegvideodec.c.

Referenced by mpegvideo_probe().

#define SLICE_START_CODE   0x00000101

Definition at line 29 of file mpegvideodec.c.

Referenced by mpegvideo_probe().

#define VIDEO_ID   0x000001e0

Definition at line 31 of file mpegvideodec.c.

Referenced by mpegvideo_probe().

Function Documentation

static int mpegvideo_probe ( AVProbeData p)
static

Definition at line 34 of file mpegvideodec.c.

Variable Documentation

AVInputFormat ff_mpegvideo_demuxer = { .name = "mpegvideo", .long_name = NULL_IF_CONFIG_SMALL( "raw MPEG video" ), .read_probe = mpegvideo_probe , .read_header = ff_raw_video_read_header, .read_packet = ff_raw_read_partial_packet, .extensions = NULL , .flags = 0x0100 , .raw_codec_id = AV_CODEC_ID_MPEG1VIDEO , .priv_data_size = sizeof(FFRawVideoDemuxerContext), .priv_class = & mpegvideo_demuxer_class, }

Definition at line 72 of file mpegvideodec.c.

const AVClass mpegvideo_demuxer_class = { .class_name = "mpegvideo" " demuxer", .item_name = av_default_item_name, .option = ff_rawvideo_options, .version = LIBAVUTIL_VERSION_INT, }
static

Definition at line 72 of file mpegvideodec.c.