libavformat/wv.c File Reference

#include "libavutil/audioconvert.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/dict.h"
#include "avformat.h"
#include "apetag.h"
#include "id3v1.h"

Go to the source code of this file.

Data Structures

struct  WVContext

Defines

#define WV_BLOCK_LIMIT   1047576
#define WV_EXTRA_SIZE   12
#define WV_START_BLOCK   0x0800
#define WV_END_BLOCK   0x1000
#define WV_SINGLE_BLOCK   (WV_START_BLOCK | WV_END_BLOCK)

Enumerations

enum  WV_FLAGS {
  WV_MONO = 0x0004, WV_HYBRID = 0x0008, WV_JOINT = 0x0010, WV_CROSSD = 0x0020,
  WV_HSHAPE = 0x0040, WV_FLOAT = 0x0080, WV_INT32 = 0x0100, WV_HBR = 0x0200,
  WV_HBAL = 0x0400, WV_MCINIT = 0x0800, WV_MCEND = 0x1000
}

Functions

static int wv_probe (AVProbeData *p)
static int wv_read_block_header (AVFormatContext *ctx, AVIOContext *pb, int append)
static int wv_read_header (AVFormatContext *s, AVFormatParameters *ap)
static int wv_read_packet (AVFormatContext *s, AVPacket *pkt)
static int wv_read_seek (AVFormatContext *s, int stream_index, int64_t timestamp, int flags)

Variables

static const int wv_rates [16]
AVInputFormat ff_wv_demuxer


Define Documentation

#define WV_BLOCK_LIMIT   1047576

Definition at line 30 of file wv.c.

Referenced by wv_read_block_header(), and wv_read_packet().

#define WV_END_BLOCK   0x1000

Definition at line 35 of file wv.c.

Referenced by wv_read_packet().

#define WV_EXTRA_SIZE   12

Definition at line 32 of file wv.c.

Referenced by wv_read_block_header(), and wv_read_packet().

#define WV_SINGLE_BLOCK   (WV_START_BLOCK | WV_END_BLOCK)

Definition at line 36 of file wv.c.

Referenced by wv_read_block_header().

#define WV_START_BLOCK   0x0800

Definition at line 34 of file wv.c.


Enumeration Type Documentation

enum WV_FLAGS

Enumerator:
WV_MONO 
WV_HYBRID 
WV_JOINT 
WV_CROSSD 
WV_HSHAPE 
WV_FLOAT 
WV_INT32 
WV_HBR 
WV_HBAL 
WV_MCINIT 
WV_MCEND 

Definition at line 38 of file wv.c.


Function Documentation

static int wv_probe ( AVProbeData p  )  [static]

Definition at line 68 of file wv.c.

static int wv_read_block_header ( AVFormatContext ctx,
AVIOContext pb,
int  append 
) [static]

Definition at line 80 of file wv.c.

Referenced by wv_read_header(), and wv_read_packet().

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

Definition at line 205 of file wv.c.

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

Definition at line 247 of file wv.c.

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

Definition at line 321 of file wv.c.


Variable Documentation

Initial value:

Definition at line 353 of file wv.c.

const int wv_rates[16] [static]

Initial value:

 {
     6000,  8000,  9600, 11025, 12000, 16000, 22050, 24000,
    32000, 44100, 48000, 64000, 88200, 96000, 192000, -1
}

Definition at line 52 of file wv.c.

Referenced by wv_read_block_header().


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