FFmpeg
Functions
aacsbr_template.c File Reference

AAC Spectral Band Replication decoding functions. More...

#include "libavutil/qsort.h"

Functions

av_cold void AAC_RENAME() ff_aac_sbr_init (void)
 Initialize SBR. More...
 
av_cold void AAC_RENAME() ff_aac_sbr_ctx_init (AACContext *ac, SpectralBandReplication *sbr, int id_aac)
 Initialize one SBR context. More...
 
av_cold void AAC_RENAME() ff_aac_sbr_ctx_close (SpectralBandReplication *sbr)
 Close one SBR context. More...
 
int AAC_RENAME() ff_decode_sbr_extension (AACContext *ac, SpectralBandReplication *sbr, GetBitContext *gb_host, int crc, int cnt, int id_aac)
 Decode Spectral Band Replication extension data; reference: table 4.55. More...
 
void AAC_RENAME() ff_sbr_apply (AACContext *ac, SpectralBandReplication *sbr, int id_aac, INTFLOAT *L, INTFLOAT *R)
 Apply one SBR element to one AAC element. More...
 

Detailed Description

AAC Spectral Band Replication decoding functions.

Author
Robert Swain ( rob opendot cl )
Stanislav Ocovaj ( stani.nosp@m.slav.nosp@m..ocov.nosp@m.aj@i.nosp@m.mgtec.nosp@m..com )
Zoran Basaric ( zoran.nosp@m..bas.nosp@m.aric@.nosp@m.imgt.nosp@m.ec.co.nosp@m.m )

Function Documentation

§ ff_aac_sbr_ctx_close()

av_cold void AAC_RENAME() ff_aac_sbr_ctx_close ( SpectralBandReplication sbr)

Close one SBR context.

§ ff_aac_sbr_ctx_init()

av_cold void AAC_RENAME() ff_aac_sbr_ctx_init ( AACContext ac,
SpectralBandReplication sbr,
int  id_aac 
)

Initialize one SBR context.

§ ff_aac_sbr_init()

av_cold void AAC_RENAME() ff_aac_sbr_init ( void  )

Initialize SBR.

§ ff_decode_sbr_extension()

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

Decode Spectral Band Replication extension data; reference: table 4.55.

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.

§ ff_sbr_apply()

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

Apply one SBR element to one AAC element.