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_apply (AACContext *ac, SpectralBandReplication *sbr, int id_aac, float *L, float *R)
 Apply one SBR element to one AAC element.


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 140 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 129 of file aacsbr.c.

Referenced by che_configure().

av_cold void ff_aac_sbr_init ( void   ) 

Initialize SBR.

Definition at line 87 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 1045 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 1718 of file aacsbr.c.

Referenced by spectral_to_sample().


Generated on Fri Oct 26 02:36:50 2012 for FFmpeg by  doxygen 1.5.8