libavformat/mtv.c File Reference

MTV demuxer. More...

#include "avformat.h"
#include "bswap.h"

Go to the source code of this file.

Data Structures

struct  MTVDemuxContext

Defines

#define MTV_ASUBCHUNK_DATA_SIZE   500
#define MTV_HEADER_SIZE   512
#define MTV_AUDIO_PADDING_SIZE   12
#define AUDIO_SAMPLING_RATE   44100
#define VIDEO_SID   0
#define AUDIO_SID   1

Functions

static int mtv_probe (AVProbeData *p)
static int mtv_read_header (AVFormatContext *s, AVFormatParameters *ap)
static int mtv_read_packet (AVFormatContext *s, AVPacket *pkt)

Variables

AVInputFormat mtv_demuxer


Detailed Description

MTV demuxer.

Definition in file mtv.c.


Define Documentation

#define AUDIO_SAMPLING_RATE   44100

Definition at line 33 of file mtv.c.

Referenced by mtv_read_header().

#define AUDIO_SID   1

Definition at line 35 of file mtv.c.

Referenced by mtv_read_header(), and mtv_read_packet().

#define MTV_ASUBCHUNK_DATA_SIZE   500

Definition at line 30 of file mtv.c.

Referenced by mtv_read_packet().

#define MTV_AUDIO_PADDING_SIZE   12

Definition at line 32 of file mtv.c.

Referenced by mtv_read_packet().

#define MTV_HEADER_SIZE   512

Definition at line 31 of file mtv.c.

Referenced by mtv_read_header().

#define VIDEO_SID   0

Definition at line 34 of file mtv.c.

Referenced by mtv_read_header(), and mtv_read_packet().


Function Documentation

static int mtv_probe ( AVProbeData p  )  [static]

Definition at line 55 of file mtv.c.

static int mtv_read_header ( AVFormatContext s,
AVFormatParameters ap 
) [static]

Definition at line 65 of file mtv.c.

static int mtv_read_packet ( AVFormatContext s,
AVPacket pkt 
) [static]

Definition at line 131 of file mtv.c.


Variable Documentation

Initial value:

 {
    "MTV",
    "MTV format",
    sizeof(MTVDemuxContext),
    mtv_probe,
    mtv_read_header,
    mtv_read_packet,
}

Definition at line 177 of file mtv.c.


Generated on Wed Feb 9 19:10:13 2011 for ffmpeg by  doxygen 1.5.6