libavformat/latmenc.c File Reference

#include "libavcodec/get_bits.h"
#include "libavcodec/put_bits.h"
#include "libavcodec/avcodec.h"
#include "libavcodec/mpeg4audio.h"
#include "libavutil/opt.h"
#include "avformat.h"
#include "rawenc.h"

Go to the source code of this file.

Data Structures

struct  LATMContext


static int latm_decode_extradata (LATMContext *ctx, uint8_t *buf, int size)
static int latm_write_header (AVFormatContext *s)
static int latm_write_frame_header (AVFormatContext *s, PutBitContext *bs)
static int latm_write_packet (AVFormatContext *s, AVPacket *pkt)


static const AVOption options []
static const AVClass latm_muxer_class
AVOutputFormat ff_latm_muxer

Function Documentation

static int latm_decode_extradata ( LATMContext ctx,
uint8_t *  buf,
int  size 
) [static]

Definition at line 52 of file latmenc.c.

Referenced by latm_write_header().

static int latm_write_frame_header ( AVFormatContext s,
PutBitContext bs 
) [static]

Definition at line 90 of file latmenc.c.

Referenced by latm_write_packet().

static int latm_write_header ( AVFormatContext s  )  [static]

Definition at line 75 of file latmenc.c.

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

Definition at line 135 of file latmenc.c.

Variable Documentation

Initial value:

    .name           = "latm",
    .long_name      = NULL_IF_CONFIG_SMALL("LOAS/LATM"),
    .mime_type      = "audio/MP4A-LATM",
    .extensions     = "latm,loas",
    .priv_data_size = sizeof(LATMContext),
    .audio_codec    = CODEC_ID_AAC,
    .video_codec    = CODEC_ID_NONE,
    .write_header   = latm_write_header,
    .write_packet   = latm_write_packet,
    .priv_class     = &latm_muxer_class,

Definition at line 187 of file latmenc.c.

const AVClass latm_muxer_class [static]

Initial value:

    .class_name = "LATM/LOAS muxer",
    .item_name  = av_default_item_name,
    .option     = options,
    .version    = LIBAVUTIL_VERSION_INT,

Definition at line 45 of file latmenc.c.

const AVOption options[] [static]

Initial value:

    {"smc-interval", "StreamMuxConfig interval.",
     0x42, AV_OPT_TYPE_INT, {.dbl = 0x0014}, 0x0001, 0xffff, AV_OPT_FLAG_ENCODING_PARAM},

Definition at line 39 of file latmenc.c.

Generated on Fri Oct 26 02:46:13 2012 for FFmpeg by  doxygen 1.5.8