libavformat/amr.c File Reference

#include "avformat.h"

Go to the source code of this file.

Functions

static int amr_write_header (AVFormatContext *s)
static int amr_write_packet (AVFormatContext *s, AVPacket *pkt)
static int amr_probe (AVProbeData *p)
static int amr_read_header (AVFormatContext *s, AVFormatParameters *ap)
static int amr_read_packet (AVFormatContext *s, AVPacket *pkt)

Variables

static const char AMR_header [] = "#!AMR\n"
static const char AMRWB_header [] = "#!AMR-WB\n"
AVInputFormat amr_demuxer
AVOutputFormat amr_muxer


Function Documentation

static int amr_probe ( AVProbeData p  )  [static]

Definition at line 65 of file amr.c.

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

Definition at line 78 of file amr.c.

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

Definition at line 117 of file amr.c.

static int amr_write_header ( AVFormatContext s  )  [static]

Definition at line 34 of file amr.c.

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

Definition at line 57 of file amr.c.


Variable Documentation

Initial value:

 {
    "amr",
    NULL_IF_CONFIG_SMALL("3GPP AMR file format"),
    0, 
    amr_probe,
    amr_read_header,
    amr_read_packet,
    NULL,
}

Definition at line 170 of file amr.c.

const char AMR_header[] = "#!AMR\n" [static]

Definition at line 30 of file amr.c.

Referenced by amr_probe(), amr_read_header(), and amr_write_header().

Initial value:

 {
    "amr",
    NULL_IF_CONFIG_SMALL("3GPP AMR file format"),
    "audio/amr",
    "amr",
    0,
    CODEC_ID_AMR_NB,
    CODEC_ID_NONE,
    amr_write_header,
    amr_write_packet,
}

Definition at line 182 of file amr.c.

const char AMRWB_header[] = "#!AMR-WB\n" [static]

Definition at line 31 of file amr.c.

Referenced by amr_read_header(), and amr_write_header().


Generated on Tue Apr 20 17:39:48 2010 for FFmpeg by  doxygen 1.5.6