libavcodec/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

av_cold void ff_aac_sbr_init (void)
 Initialize SBR.
av_cold void ff_aac_sbr_ctx_init (SpectralBandReplication *sbr)
 Initialize one SBR context.
av_cold 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_dequant (AACContext *ac, SpectralBandReplication *sbr, int id_aac)
 Dequantized all channels in one SBR element.
void ff_sbr_apply (AACContext *ac, SpectralBandReplication *sbr, int ch, const float *in, float *out)
 Apply dequantized SBR to a single AAC channel.


Detailed Description

AAC Spectral Band Replication function declarations.

Author:
Robert Swain ( rob opendot cl )

Definition in file aacsbr.h.


Function Documentation

av_cold void ff_aac_sbr_ctx_close ( SpectralBandReplication sbr  ) 

Close one SBR context.

Definition at line 148 of file aacsbr.c.

Referenced by aac_decode_close(), and che_configure().

av_cold void ff_aac_sbr_ctx_init ( SpectralBandReplication sbr  ) 

Initialize one SBR context.

Definition at line 138 of file aacsbr.c.

Referenced by che_configure().

av_cold void ff_aac_sbr_init ( void   ) 

Initialize SBR.

Definition at line 88 of file aacsbr.c.

Referenced by aac_decode_init().

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:
crc flag indicating the presence of CRC checksum
cnt length of TYPE_FIL syntactic element in bytes
Returns:
Returns number of bytes consumed from the TYPE_FIL element.

Definition at line 1041 of file aacsbr.c.

Referenced by decode_extension_payload().

void ff_sbr_apply ( AACContext ac,
SpectralBandReplication sbr,
int  ch,
const float *  in,
float *  out 
)

Apply dequantized SBR to a single AAC channel.

Definition at line 1719 of file aacsbr.c.

Referenced by spectral_to_sample().

void ff_sbr_dequant ( AACContext ac,
SpectralBandReplication sbr,
int  id_aac 
)

Dequantized all channels in one SBR element.

Definition at line 1712 of file aacsbr.c.

Referenced by spectral_to_sample().


Generated on Tue Apr 20 17:39:23 2010 for FFmpeg by  doxygen 1.5.6