libavformat/adtsenc.c File Reference

#include "libavcodec/bitstream.h"
#include "libavcodec/internal.h"
#include "avformat.h"

Go to the source code of this file.

Data Structures

struct  ADTSContext

Defines

#define ADTS_HEADER_SIZE   7

Functions

static int decode_extradata (AVFormatContext *s, ADTSContext *adts, uint8_t *buf, int size)
static int adts_write_header (AVFormatContext *s)
static int adts_write_frame_header (AVFormatContext *s, int size)
static int adts_write_packet (AVFormatContext *s, AVPacket *pkt)

Variables

AVOutputFormat adts_muxer


Define Documentation

#define ADTS_HEADER_SIZE   7

Definition at line 27 of file adtsenc.c.

Referenced by adts_write_frame_header().


Function Documentation

static int adts_write_frame_header ( AVFormatContext s,
int  size 
) [static]

Definition at line 75 of file adtsenc.c.

Referenced by adts_write_packet().

static int adts_write_header ( AVFormatContext s  )  [static]

Definition at line 63 of file adtsenc.c.

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

Definition at line 108 of file adtsenc.c.

static int decode_extradata ( AVFormatContext s,
ADTSContext adts,
uint8_t *  buf,
int  size 
) [static]

Definition at line 36 of file adtsenc.c.

Referenced by adts_write_header().


Variable Documentation

Initial value:

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

Definition at line 123 of file adtsenc.c.


Generated on Fri Oct 26 02:35:45 2012 for FFmpeg by  doxygen 1.5.8