libavformat/pcmdec.c File Reference

#include "avformat.h"
#include "rawdec.h"
#include "pcm.h"

Go to the source code of this file.

Defines

#define RAW_SAMPLES   1024
#define PCMDEF(name, long_name, ext, codec)

Functions

static int raw_read_packet (AVFormatContext *s, AVPacket *pkt)


Define Documentation

#define PCMDEF ( name,
long_name,
ext,
codec   ) 

Value:

AVInputFormat ff_pcm_ ## name ## _demuxer = {\
    #name,\
    NULL_IF_CONFIG_SMALL(long_name),\
    sizeof(RawAudioDemuxerContext),\
    NULL,\
    ff_raw_read_header,\
    raw_read_packet,\
    NULL,\
    pcm_read_seek,\
    .flags= AVFMT_GENERIC_INDEX,\
    .extensions = ext,\
    .value = codec,\
    .priv_class = &ff_rawaudio_demuxer_class,\
};

Definition at line 49 of file pcmdec.c.

#define RAW_SAMPLES   1024

Definition at line 26 of file pcmdec.c.

Referenced by raw_read_packet().


Function Documentation

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

Definition at line 28 of file pcmdec.c.


Generated on Fri Oct 26 02:39:49 2012 for FFmpeg by  doxygen 1.5.8