FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
aacsbr.h File Reference

AAC Spectral Band Replication function declarations. More...

#include "get_bits.h"
#include "aac.h"
#include "sbr.h"

Go to the source code of this file.

Functions

void ff_aac_sbr_init (void)
 Initialize SBR.
 
void ff_aac_sbr_ctx_init (AACContext *ac, SpectralBandReplication *sbr)
 Initialize one SBR context.
 
void ff_aac_sbr_ctx_close (SpectralBandReplication *sbr)
 Close one SBR context.
 
int ff_decode_sbr_extension (AACContext *ac, SpectralBandReplication *sbr, GetBitContext *gb, int crc, int cnt, int id_aac)
 Decode one SBR element.
 
void ff_sbr_apply (AACContext *ac, SpectralBandReplication *sbr, int id_aac, float *L, float *R)
 Apply one SBR element to one AAC element.
 
void ff_aacsbr_func_ptr_init_mips (AACSBRContext *c)
 

Detailed Description

AAC Spectral Band Replication function declarations.

Author
Robert Swain ( rob opendot cl )

Definition in file aacsbr.h.

Function Documentation

void ff_aac_sbr_init ( void  )

Initialize SBR.

Definition at line 97 of file aacsbr.c.

Referenced by aac_decode_init().

void ff_aac_sbr_ctx_init ( AACContext ac,
SpectralBandReplication sbr 
)

Initialize one SBR context.

Definition at line 143 of file aacsbr.c.

Referenced by che_configure().

void ff_aac_sbr_ctx_close ( SpectralBandReplication sbr)

Close one SBR context.

Definition at line 161 of file aacsbr.c.

Referenced by aac_decode_close(), and che_configure().

int ff_decode_sbr_extension ( AACContext ac,
SpectralBandReplication sbr,
GetBitContext gb_host,
int  crc,
int  cnt,
int  id_aac 
)

Decode one SBR element.

Decode one SBR element.

Parameters
crcflag indicating the presence of CRC checksum
cntlength of TYPE_FIL syntactic element in bytes
Returns
Returns number of bytes consumed from the TYPE_FIL element.

Definition at line 1072 of file aacsbr.c.

Referenced by decode_extension_payload().

void ff_sbr_apply ( AACContext ac,
SpectralBandReplication sbr,
int  id_aac,
float *  L,
float *  R 
)

Apply one SBR element to one AAC element.

Definition at line 1683 of file aacsbr.c.

Referenced by spectral_to_sample().

void ff_aacsbr_func_ptr_init_mips ( AACSBRContext c)

Definition at line 609 of file aacsbr_mips.c.

Referenced by aacsbr_func_ptr_init().