libavformat/tmv.c File Reference

8088flex TMV file demuxer More...

#include "libavutil/intreadwrite.h"
#include "avformat.h"

Go to the source code of this file.

Data Structures

struct  TMVContext

Defines

#define TMV_TAG   MKTAG('T', 'M', 'A', 'V')
#define TMV_HEADER_SIZE   12
#define PROBE_MIN_SAMPLE_RATE   5000
#define PROBE_MAX_FPS   120
#define PROBE_MIN_AUDIO_SIZE   (PROBE_MIN_SAMPLE_RATE / PROBE_MAX_FPS)

Enumerations

enum  { TMV_PADDING = 0x01, TMV_STEREO = 0x02 }

Functions

static int tmv_probe (AVProbeData *p)
static int tmv_read_header (AVFormatContext *s, AVFormatParameters *ap)
static int tmv_read_packet (AVFormatContext *s, AVPacket *pkt)
static int tmv_read_seek (AVFormatContext *s, int stream_index, int64_t timestamp, int flags)

Variables

AVInputFormat ff_tmv_demuxer


Detailed Description

8088flex TMV file demuxer

Author:
Daniel Verkamp
See also:
http://www.oldskool.org/pc/8088_Corruption

Definition in file tmv.c.


Define Documentation

#define PROBE_MAX_FPS   120

Definition at line 49 of file tmv.c.

#define PROBE_MIN_AUDIO_SIZE   (PROBE_MIN_SAMPLE_RATE / PROBE_MAX_FPS)

Definition at line 50 of file tmv.c.

Referenced by tmv_probe().

#define PROBE_MIN_SAMPLE_RATE   5000

Definition at line 48 of file tmv.c.

Referenced by tmv_probe().

#define TMV_HEADER_SIZE   12

Definition at line 46 of file tmv.c.

Referenced by tmv_read_seek().

#define TMV_TAG   MKTAG('T', 'M', 'A', 'V')

Definition at line 37 of file tmv.c.

Referenced by tmv_probe(), and tmv_read_header().


Enumeration Type Documentation

anonymous enum

Enumerator:
TMV_PADDING 
TMV_STEREO 

Definition at line 32 of file tmv.c.


Function Documentation

static int tmv_probe ( AVProbeData p  )  [static]

Definition at line 52 of file tmv.c.

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

Definition at line 65 of file tmv.c.

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

Definition at line 142 of file tmv.c.

static int tmv_read_seek ( AVFormatContext s,
int  stream_index,
int64_t  timestamp,
int  flags 
) [static]

Definition at line 164 of file tmv.c.


Variable Documentation

Initial value:

Definition at line 181 of file tmv.c.


Generated on Fri Oct 26 02:38:18 2012 for FFmpeg by  doxygen 1.5.8