libavformat/cafenc.c File Reference

#include "avformat.h"
#include "caf.h"
#include "riff.h"
#include "isom.h"
#include "avio_internal.h"
#include "libavutil/intfloat.h"

Go to the source code of this file.

Data Structures

struct  CAFContext


static uint32_t codec_flags (enum CodecID codec_id)
static uint32_t samples_per_packet (enum CodecID codec_id, int channels)
static int caf_write_header (AVFormatContext *s)
static int caf_write_packet (AVFormatContext *s, AVPacket *pkt)
static int caf_write_trailer (AVFormatContext *s)


AVOutputFormat ff_caf_muxer

Function Documentation

static int caf_write_header ( AVFormatContext s  )  [static]

Definition at line 100 of file cafenc.c.

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

Definition at line 192 of file cafenc.c.

static int caf_write_trailer ( AVFormatContext s  )  [static]

< mNumberPackets

< mNumberValidFrames

< mPrimingFrames

< mRemainderFrames

Definition at line 222 of file cafenc.c.

static uint32_t codec_flags ( enum CodecID  codec_id  )  [static]

Definition at line 37 of file cafenc.c.

Referenced by caf_write_header().

static uint32_t samples_per_packet ( enum CodecID  codec_id,
int  channels 
) [static]

Definition at line 54 of file cafenc.c.

Referenced by caf_write_header(), and caf_write_trailer().

Variable Documentation

Initial value:

    .name           = "caf",
    .long_name      = NULL_IF_CONFIG_SMALL("Apple Core Audio Format"),
    .mime_type      = "audio/x-caf",
    .extensions     = "caf",
    .priv_data_size = sizeof(CAFContext),
    .audio_codec    = CODEC_ID_PCM_S16BE,
    .video_codec    = CODEC_ID_NONE,
    .write_header   = caf_write_header,
    .write_packet   = caf_write_packet,
    .write_trailer  = caf_write_trailer,
    .codec_tag= (const AVCodecTag* const []){ff_codec_caf_tags, 0},

Definition at line 250 of file cafenc.c.

Generated on Fri Oct 26 02:48:01 2012 for FFmpeg by  doxygen 1.5.8