Defines | Functions | Variables

libavformat/au.c File Reference

#include "avformat.h"
#include "avio_internal.h"
#include "pcm.h"
#include "riff.h"

Go to the source code of this file.

Defines

#define AU_UNKNOWN_SIZE   ((uint32_t)(~0))
#define BLOCK_SIZE   1024

Functions

static int put_au_header (AVIOContext *pb, AVCodecContext *enc)
static int au_write_header (AVFormatContext *s)
static int au_write_packet (AVFormatContext *s, AVPacket *pkt)
static int au_write_trailer (AVFormatContext *s)
static int au_probe (AVProbeData *p)
static int au_read_header (AVFormatContext *s, AVFormatParameters *ap)
static int au_read_packet (AVFormatContext *s, AVPacket *pkt)

Variables

static const AVCodecTag codec_au_tags []
AVInputFormat ff_au_demuxer
AVOutputFormat ff_au_muxer

Define Documentation

#define AU_UNKNOWN_SIZE   ((uint32_t)(~0))

Definition at line 36 of file au.c.

Referenced by put_au_header().

#define BLOCK_SIZE   1024

Definition at line 166 of file au.c.

Referenced by au_read_packet(), and blockCopy_MMX2().


Function Documentation

static int au_probe ( AVProbeData p  )  [static]

Definition at line 109 of file au.c.

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

Definition at line 120 of file au.c.

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

Definition at line 168 of file au.c.

static int au_write_header ( AVFormatContext s  )  [static]

Definition at line 66 of file au.c.

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

Definition at line 82 of file au.c.

static int au_write_trailer ( AVFormatContext s  )  [static]

Definition at line 89 of file au.c.

static int put_au_header ( AVIOContext pb,
AVCodecContext enc 
) [static]

Definition at line 53 of file au.c.

Referenced by au_write_header().


Variable Documentation

const AVCodecTag codec_au_tags[] [static]
Initial value:
 {
    { CODEC_ID_PCM_MULAW, 1 },
    { CODEC_ID_PCM_S8, 2 },
    { CODEC_ID_PCM_S16BE, 3 },
    { CODEC_ID_PCM_S24BE, 4 },
    { CODEC_ID_PCM_S32BE, 5 },
    { CODEC_ID_PCM_F32BE, 6 },
    { CODEC_ID_PCM_F64BE, 7 },
    { CODEC_ID_PCM_ALAW, 27 },
    { CODEC_ID_NONE, 0 },
}

Definition at line 39 of file au.c.

Initial value:
 {
    "au",
    NULL_IF_CONFIG_SMALL("SUN AU format"),
    0,
    au_probe,
    au_read_header,
    au_read_packet,
    NULL,
    pcm_read_seek,
    .codec_tag= (const AVCodecTag* const []){codec_au_tags, 0},
}

Definition at line 187 of file au.c.

Initial value:
 {
    "au",
    NULL_IF_CONFIG_SMALL("SUN AU format"),
    "audio/basic",
    "au",
    0,
    CODEC_ID_PCM_S16BE,
    CODEC_ID_NONE,
    au_write_header,
    au_write_packet,
    au_write_trailer,
    .codec_tag= (const AVCodecTag* const []){codec_au_tags, 0},
}

Definition at line 201 of file au.c.