libavformat/adtsenc.c File Reference

#include "libavcodec/get_bits.h"
#include "libavcodec/put_bits.h"
#include "libavcodec/avcodec.h"
#include "libavcodec/mpeg4audio.h"
#include "avformat.h"
#include "adts.h"

Go to the source code of this file.

Functions

int ff_adts_decode_extradata (AVFormatContext *s, ADTSContext *adts, uint8_t *buf, int size)
static int adts_write_header (AVFormatContext *s)
int ff_adts_write_frame_header (ADTSContext *ctx, uint8_t *buf, int size, int pce_size)
static int adts_write_packet (AVFormatContext *s, AVPacket *pkt)

Variables

AVOutputFormat ff_adts_muxer


Function Documentation

static int adts_write_header ( AVFormatContext s  )  [static]

Definition at line 79 of file adtsenc.c.

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

Definition at line 122 of file adtsenc.c.

int ff_adts_decode_extradata ( AVFormatContext s,
ADTSContext adts,
uint8_t *  buf,
int  size 
)

Definition at line 30 of file adtsenc.c.

Referenced by adts_write_header(), and mpegts_write_header().

int ff_adts_write_frame_header ( ADTSContext ctx,
uint8_t *  buf,
int  size,
int  pce_size 
)

Definition at line 91 of file adtsenc.c.

Referenced by adts_write_packet(), and mpegts_write_packet().


Variable Documentation

Initial value:

 {
    "adts",
    NULL_IF_CONFIG_SMALL("ADTS AAC"),
    "audio/aac",
    "aac,adts",
    sizeof(ADTSContext),
    CODEC_ID_AAC,
    CODEC_ID_NONE,
    adts_write_header,
    adts_write_packet,
}

Definition at line 144 of file adtsenc.c.


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