12228e360595641dd906bf1773307f43d304f5b2The Android Open Source Project
22228e360595641dd906bf1773307f43d304f5b2The Android Open Source Project/* -----------------------------------------------------------------------------------------------------------
32228e360595641dd906bf1773307f43d304f5b2The Android Open Source ProjectSoftware License for The Fraunhofer FDK AAC Codec Library for Android
42228e360595641dd906bf1773307f43d304f5b2The Android Open Source Project
546ba3676b854acbc69a4c7845f578d4c2886377bJean-Michel Trivi� Copyright  1995 - 2015 Fraunhofer-Gesellschaft zur F�rderung der angewandten Forschung e.V.
62228e360595641dd906bf1773307f43d304f5b2The Android Open Source Project  All rights reserved.
72228e360595641dd906bf1773307f43d304f5b2The Android Open Source Project
82228e360595641dd906bf1773307f43d304f5b2The Android Open Source Project 1.    INTRODUCTION
92228e360595641dd906bf1773307f43d304f5b2The Android Open Source ProjectThe Fraunhofer FDK AAC Codec Library for Android ("FDK AAC Codec") is software that implements
102228e360595641dd906bf1773307f43d304f5b2The Android Open Source Projectthe MPEG Advanced Audio Coding ("AAC") encoding and decoding scheme for digital audio.
112228e360595641dd906bf1773307f43d304f5b2The Android Open Source ProjectThis FDK AAC Codec software is intended to be used on a wide variety of Android devices.
122228e360595641dd906bf1773307f43d304f5b2The Android Open Source Project
132228e360595641dd906bf1773307f43d304f5b2The Android Open Source ProjectAAC's HE-AAC and HE-AAC v2 versions are regarded as today's most efficient general perceptual
142228e360595641dd906bf1773307f43d304f5b2The Android Open Source Projectaudio codecs. AAC-ELD is considered the best-performing full-bandwidth communications codec by
152228e360595641dd906bf1773307f43d304f5b2The Android Open Source Projectindependent studies and is widely deployed. AAC has been standardized by ISO and IEC as part
162228e360595641dd906bf1773307f43d304f5b2The Android Open Source Projectof the MPEG specifications.
172228e360595641dd906bf1773307f43d304f5b2The Android Open Source Project
182228e360595641dd906bf1773307f43d304f5b2The Android Open Source ProjectPatent licenses for necessary patent claims for the FDK AAC Codec (including those of Fraunhofer)
192228e360595641dd906bf1773307f43d304f5b2The Android Open Source Projectmay be obtained through Via Licensing (www.vialicensing.com) or through the respective patent owners
202228e360595641dd906bf1773307f43d304f5b2The Android Open Source Projectindividually for the purpose of encoding or decoding bit streams in products that are compliant with
212228e360595641dd906bf1773307f43d304f5b2The Android Open Source Projectthe ISO/IEC MPEG audio standards. Please note that most manufacturers of Android devices already license
222228e360595641dd906bf1773307f43d304f5b2The Android Open Source Projectthese patent claims through Via Licensing or directly from the patent owners, and therefore FDK AAC Codec
232228e360595641dd906bf1773307f43d304f5b2The Android Open Source Projectsoftware may already be covered under those patent licenses when it is used for those licensed purposes only.
242228e360595641dd906bf1773307f43d304f5b2The Android Open Source Project
252228e360595641dd906bf1773307f43d304f5b2The Android Open Source ProjectCommercially-licensed AAC software libraries, including floating-point versions with enhanced sound quality,
262228e360595641dd906bf1773307f43d304f5b2The Android Open Source Projectare also available from Fraunhofer. Users are encouraged to check the Fraunhofer website for additional
272228e360595641dd906bf1773307f43d304f5b2The Android Open Source Projectapplications information and documentation.
282228e360595641dd906bf1773307f43d304f5b2The Android Open Source Project
292228e360595641dd906bf1773307f43d304f5b2The Android Open Source Project2.    COPYRIGHT LICENSE
302228e360595641dd906bf1773307f43d304f5b2The Android Open Source Project
312228e360595641dd906bf1773307f43d304f5b2The Android Open Source ProjectRedistribution and use in source and binary forms, with or without modification, are permitted without
322228e360595641dd906bf1773307f43d304f5b2The Android Open Source Projectpayment of copyright license fees provided that you satisfy the following conditions:
332228e360595641dd906bf1773307f43d304f5b2The Android Open Source Project
342228e360595641dd906bf1773307f43d304f5b2The Android Open Source ProjectYou must retain the complete text of this software license in redistributions of the FDK AAC Codec or
352228e360595641dd906bf1773307f43d304f5b2The Android Open Source Projectyour modifications thereto in source code form.
362228e360595641dd906bf1773307f43d304f5b2The Android Open Source Project
372228e360595641dd906bf1773307f43d304f5b2The Android Open Source ProjectYou must retain the complete text of this software license in the documentation and/or other materials
382228e360595641dd906bf1773307f43d304f5b2The Android Open Source Projectprovided with redistributions of the FDK AAC Codec or your modifications thereto in binary form.
392228e360595641dd906bf1773307f43d304f5b2The Android Open Source ProjectYou must make available free of charge copies of the complete source code of the FDK AAC Codec and your
402228e360595641dd906bf1773307f43d304f5b2The Android Open Source Projectmodifications thereto to recipients of copies in binary form.
412228e360595641dd906bf1773307f43d304f5b2The Android Open Source Project
422228e360595641dd906bf1773307f43d304f5b2The Android Open Source ProjectThe name of Fraunhofer may not be used to endorse or promote products derived from this library without
432228e360595641dd906bf1773307f43d304f5b2The Android Open Source Projectprior written permission.
442228e360595641dd906bf1773307f43d304f5b2The Android Open Source Project
452228e360595641dd906bf1773307f43d304f5b2The Android Open Source ProjectYou may not charge copyright license fees for anyone to use, copy or distribute the FDK AAC Codec
462228e360595641dd906bf1773307f43d304f5b2The Android Open Source Projectsoftware or your modifications thereto.
472228e360595641dd906bf1773307f43d304f5b2The Android Open Source Project
482228e360595641dd906bf1773307f43d304f5b2The Android Open Source ProjectYour modified versions of the FDK AAC Codec must carry prominent notices stating that you changed the software
492228e360595641dd906bf1773307f43d304f5b2The Android Open Source Projectand the date of any change. For modified versions of the FDK AAC Codec, the term
502228e360595641dd906bf1773307f43d304f5b2The Android Open Source Project"Fraunhofer FDK AAC Codec Library for Android" must be replaced by the term
512228e360595641dd906bf1773307f43d304f5b2The Android Open Source Project"Third-Party Modified Version of the Fraunhofer FDK AAC Codec Library for Android."
522228e360595641dd906bf1773307f43d304f5b2The Android Open Source Project
532228e360595641dd906bf1773307f43d304f5b2The Android Open Source Project3.    NO PATENT LICENSE
542228e360595641dd906bf1773307f43d304f5b2The Android Open Source Project
552228e360595641dd906bf1773307f43d304f5b2The Android Open Source ProjectNO EXPRESS OR IMPLIED LICENSES TO ANY PATENT CLAIMS, including without limitation the patents of Fraunhofer,
562228e360595641dd906bf1773307f43d304f5b2The Android Open Source ProjectARE GRANTED BY THIS SOFTWARE LICENSE. Fraunhofer provides no warranty of patent non-infringement with
572228e360595641dd906bf1773307f43d304f5b2The Android Open Source Projectrespect to this software.
582228e360595641dd906bf1773307f43d304f5b2The Android Open Source Project
592228e360595641dd906bf1773307f43d304f5b2The Android Open Source ProjectYou may use this FDK AAC Codec software or modifications thereto only for purposes that are authorized
602228e360595641dd906bf1773307f43d304f5b2The Android Open Source Projectby appropriate patent licenses.
612228e360595641dd906bf1773307f43d304f5b2The Android Open Source Project
622228e360595641dd906bf1773307f43d304f5b2The Android Open Source Project4.    DISCLAIMER
632228e360595641dd906bf1773307f43d304f5b2The Android Open Source Project
642228e360595641dd906bf1773307f43d304f5b2The Android Open Source ProjectThis FDK AAC Codec software is provided by Fraunhofer on behalf of the copyright holders and contributors
652228e360595641dd906bf1773307f43d304f5b2The Android Open Source Project"AS IS" and WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, including but not limited to the implied warranties
662228e360595641dd906bf1773307f43d304f5b2The Android Open Source Projectof merchantability and fitness for a particular purpose. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
672228e360595641dd906bf1773307f43d304f5b2The Android Open Source ProjectCONTRIBUTORS BE LIABLE for any direct, indirect, incidental, special, exemplary, or consequential damages,
682228e360595641dd906bf1773307f43d304f5b2The Android Open Source Projectincluding but not limited to procurement of substitute goods or services; loss of use, data, or profits,
692228e360595641dd906bf1773307f43d304f5b2The Android Open Source Projector business interruption, however caused and on any theory of liability, whether in contract, strict
702228e360595641dd906bf1773307f43d304f5b2The Android Open Source Projectliability, or tort (including negligence), arising in any way out of the use of this software, even if
712228e360595641dd906bf1773307f43d304f5b2The Android Open Source Projectadvised of the possibility of such damage.
722228e360595641dd906bf1773307f43d304f5b2The Android Open Source Project
732228e360595641dd906bf1773307f43d304f5b2The Android Open Source Project5.    CONTACT INFORMATION
742228e360595641dd906bf1773307f43d304f5b2The Android Open Source Project
752228e360595641dd906bf1773307f43d304f5b2The Android Open Source ProjectFraunhofer Institute for Integrated Circuits IIS
762228e360595641dd906bf1773307f43d304f5b2The Android Open Source ProjectAttention: Audio and Multimedia Departments - FDK AAC LL
772228e360595641dd906bf1773307f43d304f5b2The Android Open Source ProjectAm Wolfsmantel 33
782228e360595641dd906bf1773307f43d304f5b2The Android Open Source Project91058 Erlangen, Germany
792228e360595641dd906bf1773307f43d304f5b2The Android Open Source Project
802228e360595641dd906bf1773307f43d304f5b2The Android Open Source Projectwww.iis.fraunhofer.de/amm
812228e360595641dd906bf1773307f43d304f5b2The Android Open Source Projectamm-info@iis.fraunhofer.de
822228e360595641dd906bf1773307f43d304f5b2The Android Open Source Project----------------------------------------------------------------------------------------------------------- */
832228e360595641dd906bf1773307f43d304f5b2The Android Open Source Project
842228e360595641dd906bf1773307f43d304f5b2The Android Open Source Project/*!
852228e360595641dd906bf1773307f43d304f5b2The Android Open Source Project  \file
862228e360595641dd906bf1773307f43d304f5b2The Android Open Source Project  \brief  Transient detector prototypes
872228e360595641dd906bf1773307f43d304f5b2The Android Open Source Project*/
882228e360595641dd906bf1773307f43d304f5b2The Android Open Source Project#ifndef __TRAN_DET_H
892228e360595641dd906bf1773307f43d304f5b2The Android Open Source Project#define __TRAN_DET_H
902228e360595641dd906bf1773307f43d304f5b2The Android Open Source Project
912228e360595641dd906bf1773307f43d304f5b2The Android Open Source Project#include "sbr_encoder.h"
922228e360595641dd906bf1773307f43d304f5b2The Android Open Source Project#include "sbr_def.h"
932228e360595641dd906bf1773307f43d304f5b2The Android Open Source Project
942228e360595641dd906bf1773307f43d304f5b2The Android Open Source Projecttypedef struct
952228e360595641dd906bf1773307f43d304f5b2The Android Open Source Project{
962228e360595641dd906bf1773307f43d304f5b2The Android Open Source Project  FIXP_DBL  transients[QMF_MAX_TIME_SLOTS+(QMF_MAX_TIME_SLOTS/2)];
972228e360595641dd906bf1773307f43d304f5b2The Android Open Source Project  FIXP_DBL  thresholds[QMF_CHANNELS];
982228e360595641dd906bf1773307f43d304f5b2The Android Open Source Project  FIXP_DBL  tran_thr;              /* Master threshold for transient signals */
9946ba3676b854acbc69a4c7845f578d4c2886377bJean-Michel Trivi  FIXP_DBL  split_thr_m;           /* Threshold for splitting FIXFIX-frames into 2 env */
10046ba3676b854acbc69a4c7845f578d4c2886377bJean-Michel Trivi  INT       split_thr_e;           /* Scale for splitting threshold */
1012228e360595641dd906bf1773307f43d304f5b2The Android Open Source Project  FIXP_DBL  prevLowBandEnergy;     /* Energy of low band */
1022228e360595641dd906bf1773307f43d304f5b2The Android Open Source Project  FIXP_DBL  prevHighBandEnergy;    /* Energy of high band */
1032228e360595641dd906bf1773307f43d304f5b2The Android Open Source Project  INT    tran_fc;                  /* Number of lowband subbands to discard  */
1042228e360595641dd906bf1773307f43d304f5b2The Android Open Source Project  INT    no_cols;
1052228e360595641dd906bf1773307f43d304f5b2The Android Open Source Project  INT    no_rows;
1062228e360595641dd906bf1773307f43d304f5b2The Android Open Source Project  INT    mode;
1072228e360595641dd906bf1773307f43d304f5b2The Android Open Source Project
1082228e360595641dd906bf1773307f43d304f5b2The Android Open Source Project  int    frameShift;
1092228e360595641dd906bf1773307f43d304f5b2The Android Open Source Project  int    tran_off;                 /* Offset for reading energy values. */
1102228e360595641dd906bf1773307f43d304f5b2The Android Open Source Project}
1112228e360595641dd906bf1773307f43d304f5b2The Android Open Source ProjectSBR_TRANSIENT_DETECTOR;
1122228e360595641dd906bf1773307f43d304f5b2The Android Open Source Project
1132228e360595641dd906bf1773307f43d304f5b2The Android Open Source Project
1142228e360595641dd906bf1773307f43d304f5b2The Android Open Source Projecttypedef SBR_TRANSIENT_DETECTOR *HANDLE_SBR_TRANSIENT_DETECTOR;
1152228e360595641dd906bf1773307f43d304f5b2The Android Open Source Project
11646ba3676b854acbc69a4c7845f578d4c2886377bJean-Michel Trivi#define TRAN_DET_LOOKAHEAD 2
11746ba3676b854acbc69a4c7845f578d4c2886377bJean-Michel Trivi#define TRAN_DET_START_FREQ 4500  /*start frequency for transient detection*/
11846ba3676b854acbc69a4c7845f578d4c2886377bJean-Michel Trivi#define TRAN_DET_STOP_FREQ  13500 /*stop frequency for transient detection*/
11946ba3676b854acbc69a4c7845f578d4c2886377bJean-Michel Trivi#define TRAN_DET_MIN_QMFBANDS 4 /* minimum qmf bands for transient detection */
12046ba3676b854acbc69a4c7845f578d4c2886377bJean-Michel Trivi#define QMF_HP_dBd_SLOPE_FIX FL2FXCONST_DBL(0.00075275f) /* 0.002266f/10 * log2(10) */
12146ba3676b854acbc69a4c7845f578d4c2886377bJean-Michel Trivi#define TRAN_DET_THRSHLD FL2FXCONST_DBL(3.2f/4.f)
12246ba3676b854acbc69a4c7845f578d4c2886377bJean-Michel Trivi#define TRAN_DET_THRSHLD_SCALE (2)
12346ba3676b854acbc69a4c7845f578d4c2886377bJean-Michel Trivi
12446ba3676b854acbc69a4c7845f578d4c2886377bJean-Michel Trivitypedef struct
12546ba3676b854acbc69a4c7845f578d4c2886377bJean-Michel Trivi{
12646ba3676b854acbc69a4c7845f578d4c2886377bJean-Michel Trivi  INT transientCandidates[QMF_MAX_TIME_SLOTS + TRAN_DET_LOOKAHEAD];
12746ba3676b854acbc69a4c7845f578d4c2886377bJean-Michel Trivi  INT nTimeSlots;
12846ba3676b854acbc69a4c7845f578d4c2886377bJean-Michel Trivi  INT lookahead;
12946ba3676b854acbc69a4c7845f578d4c2886377bJean-Michel Trivi  INT startBand;
13046ba3676b854acbc69a4c7845f578d4c2886377bJean-Michel Trivi  INT stopBand;
13146ba3676b854acbc69a4c7845f578d4c2886377bJean-Michel Trivi
13246ba3676b854acbc69a4c7845f578d4c2886377bJean-Michel Trivi  FIXP_DBL dBf_m[QMF_CHANNELS];
13346ba3676b854acbc69a4c7845f578d4c2886377bJean-Michel Trivi  INT      dBf_e[QMF_CHANNELS];
13446ba3676b854acbc69a4c7845f578d4c2886377bJean-Michel Trivi
13546ba3676b854acbc69a4c7845f578d4c2886377bJean-Michel Trivi  FIXP_DBL energy_timeSlots[QMF_MAX_TIME_SLOTS + TRAN_DET_LOOKAHEAD];
13646ba3676b854acbc69a4c7845f578d4c2886377bJean-Michel Trivi  INT      energy_timeSlots_scale[QMF_MAX_TIME_SLOTS + TRAN_DET_LOOKAHEAD];
13746ba3676b854acbc69a4c7845f578d4c2886377bJean-Michel Trivi
13846ba3676b854acbc69a4c7845f578d4c2886377bJean-Michel Trivi  FIXP_DBL delta_energy[QMF_MAX_TIME_SLOTS + TRAN_DET_LOOKAHEAD];
13946ba3676b854acbc69a4c7845f578d4c2886377bJean-Michel Trivi  INT      delta_energy_scale[QMF_MAX_TIME_SLOTS + TRAN_DET_LOOKAHEAD];
14046ba3676b854acbc69a4c7845f578d4c2886377bJean-Michel Trivi
14146ba3676b854acbc69a4c7845f578d4c2886377bJean-Michel Trivi  FIXP_DBL lowpass_energy[QMF_MAX_TIME_SLOTS + TRAN_DET_LOOKAHEAD];
14246ba3676b854acbc69a4c7845f578d4c2886377bJean-Michel Trivi  INT      lowpass_energy_scale[QMF_MAX_TIME_SLOTS + TRAN_DET_LOOKAHEAD];
14346ba3676b854acbc69a4c7845f578d4c2886377bJean-Michel Trivi#if defined (FTD_LOG)
14446ba3676b854acbc69a4c7845f578d4c2886377bJean-Michel Trivi  FDKFILE *ftd_log;
14546ba3676b854acbc69a4c7845f578d4c2886377bJean-Michel Trivi#endif
14646ba3676b854acbc69a4c7845f578d4c2886377bJean-Michel Trivi}
14746ba3676b854acbc69a4c7845f578d4c2886377bJean-Michel TriviFAST_TRAN_DETECTOR;
14846ba3676b854acbc69a4c7845f578d4c2886377bJean-Michel Trivitypedef FAST_TRAN_DETECTOR *HANDLE_FAST_TRAN_DET;
14946ba3676b854acbc69a4c7845f578d4c2886377bJean-Michel Trivi
15046ba3676b854acbc69a4c7845f578d4c2886377bJean-Michel Trivi
15146ba3676b854acbc69a4c7845f578d4c2886377bJean-Michel TriviINT FDKsbrEnc_InitSbrFastTransientDetector(
15246ba3676b854acbc69a4c7845f578d4c2886377bJean-Michel Trivi        HANDLE_FAST_TRAN_DET h_sbrFastTransientDetector,
15346ba3676b854acbc69a4c7845f578d4c2886377bJean-Michel Trivi        const INT time_slots_per_frame,
15446ba3676b854acbc69a4c7845f578d4c2886377bJean-Michel Trivi        const INT bandwidth_qmf_slot,
15546ba3676b854acbc69a4c7845f578d4c2886377bJean-Michel Trivi        const INT no_qmf_channels,
15646ba3676b854acbc69a4c7845f578d4c2886377bJean-Michel Trivi        const INT sbr_qmf_1st_band
15746ba3676b854acbc69a4c7845f578d4c2886377bJean-Michel Trivi        );
15846ba3676b854acbc69a4c7845f578d4c2886377bJean-Michel Trivi
15946ba3676b854acbc69a4c7845f578d4c2886377bJean-Michel Trivivoid FDKsbrEnc_fastTransientDetect(
16046ba3676b854acbc69a4c7845f578d4c2886377bJean-Michel Trivi        const HANDLE_FAST_TRAN_DET          h_sbrFastTransientDetector,
16146ba3676b854acbc69a4c7845f578d4c2886377bJean-Michel Trivi        const FIXP_DBL              *const *Energies,
16246ba3676b854acbc69a4c7845f578d4c2886377bJean-Michel Trivi        const int                   *const  scaleEnergies,
16346ba3676b854acbc69a4c7845f578d4c2886377bJean-Michel Trivi        const INT                           YBufferWriteOffset,
16446ba3676b854acbc69a4c7845f578d4c2886377bJean-Michel Trivi              UCHAR                 *const  tran_vector
16546ba3676b854acbc69a4c7845f578d4c2886377bJean-Michel Trivi        );
16646ba3676b854acbc69a4c7845f578d4c2886377bJean-Michel Trivi
1672228e360595641dd906bf1773307f43d304f5b2The Android Open Source Projectvoid
1682228e360595641dd906bf1773307f43d304f5b2The Android Open Source ProjectFDKsbrEnc_transientDetect(HANDLE_SBR_TRANSIENT_DETECTOR h_sbrTransientDetector,
1692228e360595641dd906bf1773307f43d304f5b2The Android Open Source Project                          FIXP_DBL **Energies,
1702228e360595641dd906bf1773307f43d304f5b2The Android Open Source Project                          INT *scaleEnergies,
1712228e360595641dd906bf1773307f43d304f5b2The Android Open Source Project                          UCHAR *tran_vector,
1722228e360595641dd906bf1773307f43d304f5b2The Android Open Source Project                          int YBufferWriteOffset,
1732228e360595641dd906bf1773307f43d304f5b2The Android Open Source Project                          int YBufferSzShift,
1742228e360595641dd906bf1773307f43d304f5b2The Android Open Source Project                          int timeStep,
1752228e360595641dd906bf1773307f43d304f5b2The Android Open Source Project                          int frameMiddleBorder);
1762228e360595641dd906bf1773307f43d304f5b2The Android Open Source Project
1772228e360595641dd906bf1773307f43d304f5b2The Android Open Source Projectint
1782228e360595641dd906bf1773307f43d304f5b2The Android Open Source ProjectFDKsbrEnc_InitSbrTransientDetector (HANDLE_SBR_TRANSIENT_DETECTOR h_sbrTransientDetector,
17946ba3676b854acbc69a4c7845f578d4c2886377bJean-Michel Trivi                            UINT  sbrSyntaxFlags, /* SBR syntax flags derived from AOT. */
1802228e360595641dd906bf1773307f43d304f5b2The Android Open Source Project                            INT   frameSize,
1812228e360595641dd906bf1773307f43d304f5b2The Android Open Source Project                            INT   sampleFreq,
1822228e360595641dd906bf1773307f43d304f5b2The Android Open Source Project                            sbrConfigurationPtr params,
1832228e360595641dd906bf1773307f43d304f5b2The Android Open Source Project                            int   tran_fc,
1842228e360595641dd906bf1773307f43d304f5b2The Android Open Source Project                            int   no_cols,
1852228e360595641dd906bf1773307f43d304f5b2The Android Open Source Project                            int   no_rows,
1862228e360595641dd906bf1773307f43d304f5b2The Android Open Source Project                            int   YBufferWriteOffset,
1872228e360595641dd906bf1773307f43d304f5b2The Android Open Source Project                            int   YBufferSzShift,
1882228e360595641dd906bf1773307f43d304f5b2The Android Open Source Project                            int   frameShift,
1892228e360595641dd906bf1773307f43d304f5b2The Android Open Source Project                            int   tran_off);
1902228e360595641dd906bf1773307f43d304f5b2The Android Open Source Project
1912228e360595641dd906bf1773307f43d304f5b2The Android Open Source Projectvoid
1922228e360595641dd906bf1773307f43d304f5b2The Android Open Source ProjectFDKsbrEnc_frameSplitter(FIXP_DBL **Energies,
1932228e360595641dd906bf1773307f43d304f5b2The Android Open Source Project                        INT *scaleEnergies,
1942228e360595641dd906bf1773307f43d304f5b2The Android Open Source Project                        HANDLE_SBR_TRANSIENT_DETECTOR h_sbrTransientDetector,
1952228e360595641dd906bf1773307f43d304f5b2The Android Open Source Project                        UCHAR *freqBandTable,
1962228e360595641dd906bf1773307f43d304f5b2The Android Open Source Project                        UCHAR *tran_vector,
1972228e360595641dd906bf1773307f43d304f5b2The Android Open Source Project                        int YBufferWriteOffset,
1982228e360595641dd906bf1773307f43d304f5b2The Android Open Source Project                        int YBufferSzShift,
1992228e360595641dd906bf1773307f43d304f5b2The Android Open Source Project                        int nSfb,
2002228e360595641dd906bf1773307f43d304f5b2The Android Open Source Project                        int timeStep,
20146ba3676b854acbc69a4c7845f578d4c2886377bJean-Michel Trivi                        int no_cols,
20246ba3676b854acbc69a4c7845f578d4c2886377bJean-Michel Trivi                        FIXP_DBL* tonality);
2032228e360595641dd906bf1773307f43d304f5b2The Android Open Source Project#endif
204