libavformat/adtsenc.c File Reference

#include "avformat.h"
#include "bitstream.h"

Go to the source code of this file.

Data Structures

struct  ADTSContext

Defines

#define ADTS_HEADER_SIZE   7

Functions

static int decode_extradata (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 25 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 59 of file adtsenc.c.

Referenced by adts_write_packet().

static int adts_write_header ( AVFormatContext s  )  [static]

Definition at line 48 of file adtsenc.c.

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

Definition at line 92 of file adtsenc.c.

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

Definition at line 34 of file adtsenc.c.

Referenced by adts_write_header().


Variable Documentation

Initial value:

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

Definition at line 107 of file adtsenc.c.


Generated on Wed Feb 9 19:10:13 2011 for ffmpeg by  doxygen 1.5.6