libavcodec/aac_parser.c File Reference

#include "parser.h"
#include "aac_ac3_parser.h"
#include "bitstream.h"

Go to the source code of this file.

Defines

#define AAC_HEADER_SIZE   7

Functions

static int aac_sync (const uint8_t *buf, int *channels, int *sample_rate, int *bit_rate, int *samples)
static int aac_parse_init (AVCodecParserContext *s1)

Variables

static const int aac_sample_rates [16]
static const int aac_channels [8]
AVCodecParser aac_parser


Define Documentation

#define AAC_HEADER_SIZE   7

Definition at line 28 of file aac_parser.c.

Referenced by aac_parse_init(), and aac_sync().


Function Documentation

static int aac_parse_init ( AVCodecParserContext s1  )  [static]

Definition at line 84 of file aac_parser.c.

static int aac_sync ( const uint8_t buf,
int *  channels,
int *  sample_rate,
int *  bit_rate,
int *  samples 
) [static]

Definition at line 41 of file aac_parser.c.

Referenced by aac_parse_init().


Variable Documentation

const int aac_channels[8] [static]

Initial value:

 {
    0, 1, 2, 3, 4, 5, 6, 8
}

Definition at line 36 of file aac_parser.c.

Referenced by aac_sync().

Initial value:

Definition at line 94 of file aac_parser.c.

const int aac_sample_rates[16] [static]

Initial value:

 {
    96000, 88200, 64000, 48000, 44100, 32000,
    24000, 22050, 16000, 12000, 11025, 8000, 7350
}

Definition at line 31 of file aac_parser.c.

Referenced by aac_sync(), get_aac_sample_rates(), and matroska_aac_sri().


Generated on Thu Apr 2 07:16:11 2009 for ffmpeg by  doxygen 1.5.6