Commit 6c92347a authored by Andreas Rheinhardt's avatar Andreas Rheinhardt

avcodec/sbr: Remove unused AACDecContext* parameter from sbr_lf_gen_mips

Reviewed-by: 's avatarLynne <dev@lynne.ee>
Signed-off-by: 's avatarAndreas Rheinhardt <andreas.rheinhardt@outlook.com>
parent 80eca6ec
...@@ -36,6 +36,8 @@ ...@@ -36,6 +36,8 @@
#define ENVELOPE_ADJUSTMENT_OFFSET 2 #define ENVELOPE_ADJUSTMENT_OFFSET 2
#define NOISE_FLOOR_OFFSET 6 #define NOISE_FLOOR_OFFSET 6
struct AACDecContext;
/** /**
* SBR VLC tables * SBR VLC tables
*/ */
......
...@@ -1243,7 +1243,7 @@ static void sbr_qmf_synthesis(AVTXContext *mdct, av_tx_fn mdct_fn, ...@@ -1243,7 +1243,7 @@ static void sbr_qmf_synthesis(AVTXContext *mdct, av_tx_fn mdct_fn,
#endif #endif
/// Generate the subband filtered lowband /// Generate the subband filtered lowband
static int sbr_lf_gen(AACDecContext *ac, SpectralBandReplication *sbr, static int sbr_lf_gen(SpectralBandReplication *sbr,
INTFLOAT X_low[32][40][2], const INTFLOAT W[2][32][32][2], INTFLOAT X_low[32][40][2], const INTFLOAT W[2][32][32][2],
int buf_idx) int buf_idx)
{ {
...@@ -1493,7 +1493,7 @@ void AAC_RENAME(ff_sbr_apply)(AACDecContext *ac, SpectralBandReplication *sbr, i ...@@ -1493,7 +1493,7 @@ void AAC_RENAME(ff_sbr_apply)(AACDecContext *ac, SpectralBandReplication *sbr, i
ch ? R : L, sbr->data[ch].analysis_filterbank_samples, ch ? R : L, sbr->data[ch].analysis_filterbank_samples,
(INTFLOAT*)sbr->qmf_filter_scratch, (INTFLOAT*)sbr->qmf_filter_scratch,
sbr->data[ch].W, sbr->data[ch].Ypos); sbr->data[ch].W, sbr->data[ch].Ypos);
sbr->c.sbr_lf_gen(ac, sbr, sbr->X_low, sbr->c.sbr_lf_gen(sbr, sbr->X_low,
(const INTFLOAT (*)[32][32][2]) sbr->data[ch].W, (const INTFLOAT (*)[32][32][2]) sbr->data[ch].W,
sbr->data[ch].Ypos); sbr->data[ch].Ypos);
sbr->data[ch].Ypos ^= 1; sbr->data[ch].Ypos ^= 1;
......
...@@ -60,7 +60,7 @@ ...@@ -60,7 +60,7 @@
#if HAVE_INLINE_ASM #if HAVE_INLINE_ASM
#if HAVE_MIPSFPU #if HAVE_MIPSFPU
static int sbr_lf_gen_mips(AACDecContext *ac, SpectralBandReplication *sbr, static int sbr_lf_gen_mips(SpectralBandReplication *sbr,
float X_low[32][40][2], const float W[2][32][32][2], float X_low[32][40][2], const float W[2][32][32][2],
int buf_idx) int buf_idx)
{ {
......
...@@ -37,8 +37,6 @@ ...@@ -37,8 +37,6 @@
#include "aacps.h" #include "aacps.h"
#include "sbrdsp.h" #include "sbrdsp.h"
struct AACDecContext;
/** /**
* Spectral Band Replication header - spectrum parameters that invoke a reset if they differ from the previous header. * Spectral Band Replication header - spectrum parameters that invoke a reset if they differ from the previous header.
*/ */
...@@ -121,7 +119,7 @@ typedef struct SpectralBandReplication SpectralBandReplication; ...@@ -121,7 +119,7 @@ typedef struct SpectralBandReplication SpectralBandReplication;
* aacsbr functions pointers * aacsbr functions pointers
*/ */
typedef struct AACSBRContext { typedef struct AACSBRContext {
int (*sbr_lf_gen)(struct AACDecContext *ac, SpectralBandReplication *sbr, int (*sbr_lf_gen)(SpectralBandReplication *sbr,
INTFLOAT X_low[32][40][2], const INTFLOAT W[2][32][32][2], INTFLOAT X_low[32][40][2], const INTFLOAT W[2][32][32][2],
int buf_idx); int buf_idx);
void (*sbr_hf_assemble)(INTFLOAT Y1[38][64][2], void (*sbr_hf_assemble)(INTFLOAT Y1[38][64][2],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment