wav.c File Reference

Go to the source code of this file.

Classes

struct  WAVContext

Functions

static int wav_write_header (AVFormatContext *s)
static int wav_write_packet (AVFormatContext *s, AVPacket *pkt)
static int wav_write_trailer (AVFormatContext *s)
static int find_tag (ByteIOContext *pb, uint32_t tag1)
static int wav_probe (AVProbeData *p)
static int wav_read_header (AVFormatContext *s, AVFormatParameters *ap)
static int wav_read_packet (AVFormatContext *s, AVPacket *pkt)
static int wav_read_close (AVFormatContext *s)
static int wav_read_seek (AVFormatContext *s, int stream_index, int64_t timestamp, int flags)

Variables

AVInputFormat wav_demuxer
AVOutputFormat wav_muxer


Function Documentation

static int wav_write_header ( AVFormatContext s  )  [static]

Definition at line 34 of file wav.c.

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

Definition at line 71 of file wav.c.

static int wav_write_trailer ( AVFormatContext s  )  [static]

Definition at line 85 of file wav.c.

static int find_tag ( ByteIOContext pb,
uint32_t  tag1 
) [static]

Definition at line 120 of file wav.c.

Referenced by wav_read_header(), and wav_read_packet().

static int wav_probe ( AVProbeData p  )  [static]

Definition at line 139 of file wav.c.

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

Definition at line 154 of file wav.c.

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

Definition at line 195 of file wav.c.

static int wav_read_close ( AVFormatContext s  )  [static]

Definition at line 233 of file wav.c.

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

Definition at line 238 of file wav.c.


Variable Documentation

Initial value:

 {
    "wav",
    "wav format",
    sizeof(WAVContext),
    wav_probe,
    wav_read_header,
    wav_read_packet,
    wav_read_close,
    wav_read_seek,
    .flags= AVFMT_GENERIC_INDEX,
    .codec_tag= (const AVCodecTag*[]){codec_wav_tags, 0},
}

Definition at line 258 of file wav.c.

Initial value:

 {
    "wav",
    "wav format",
    "audio/x-wav",
    "wav",
    sizeof(WAVContext),
    CODEC_ID_PCM_S16LE,
    CODEC_ID_NONE,
    wav_write_header,
    wav_write_packet,
    wav_write_trailer,
    .codec_tag= (const AVCodecTag*[]){codec_wav_tags, 0},
}

Definition at line 272 of file wav.c.


Generated on Sat Dec 18 05:15:56 2010 for MythTV by  doxygen 1.5.5