FFmpeg
Classes | Macros | Typedefs | Enumerations | Variables
tmv.c File Reference

8088flex TMV file demuxer More...

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

Classes

struct  TMVContext
 

Macros

#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)
 

Typedefs

typedef struct TMVContext TMVContext
 

Enumerations

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

Variables

AVInputFormat ff_tmv_demuxer
 

Detailed Description

8088flex TMV file demuxer

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

Variable Documentation

§ ff_tmv_demuxer

AVInputFormat ff_tmv_demuxer
Initial value:
= {
.name = "tmv",
.long_name = NULL_IF_CONFIG_SMALL("8088flex TMV"),
.priv_data_size = sizeof(TMVContext),
.read_probe = tmv_probe,
.read_header = tmv_read_header,
.read_packet = tmv_read_packet,
.read_seek = tmv_read_seek,
}
Definition: tmv.c:41
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:186
#define AVFMT_GENERIC_INDEX
Use generic index building code.
Definition: avformat.h:470