Lines Matching defs:hHeaderData
141 HANDLE_SBR_HEADER_DATA hHeaderData,
148 static int sbrGetEnvelope (HANDLE_SBR_HEADER_DATA hHeaderData,
156 static void sbrGetNoiseFloorData (HANDLE_SBR_HEADER_DATA hHeaderData,
164 HANDLE_SBR_HEADER_DATA hHeaderData,
171 HANDLE_FREQ_BAND_DATA hFreq = &hHeaderData->freqBandData;
176 hHeaderData->sbrProcSmplRate = sampleRateOut<<1;
179 hHeaderData->sbrProcSmplRate = sampleRateOut;
196 hHeaderData->syncState = SBR_NOT_INITIALIZED;
197 hHeaderData->status = 0;
198 hHeaderData->frameErrorFlag = 0;
200 hHeaderData->bs_info.ampResolution = 1;
201 hHeaderData->bs_info.xover_band = 0;
202 hHeaderData->bs_info.sbr_preprocessing = 0;
204 hHeaderData->bs_data.startFreq = 5;
205 hHeaderData->bs_data.stopFreq = 0;
206 hHeaderData->bs_data.freqScale = 2;
207 hHeaderData->bs_data.alterScale = 1;
208 hHeaderData->bs_data.noise_bands = 2;
209 hHeaderData->bs_data.limiterBands = 2;
210 hHeaderData->bs_data.limiterGains = 2;
211 hHeaderData->bs_data.interpolFreq = 1;
212 hHeaderData->bs_data.smoothingLength = 1;
214 hHeaderData->timeStep = (flags & SBRDEC_ELD_GRID) ? 1 : 2;
222 hHeaderData->bs_data.startFreq = 7; /* having read these frequency values from bit stream before. */
223 hHeaderData->bs_data.stopFreq = 3;
227 hHeaderData->numberTimeSlots = (samplesPerFrame/numAnalysisBands) >> (hHeaderData->timeStep - 1);
228 if (hHeaderData->numberTimeSlots > (16)) {
232 hHeaderData->numberOfAnalysisBands = numAnalysisBands;
269 sbrGetHeaderData (HANDLE_SBR_HEADER_DATA hHeaderData,
280 lastHeader = hHeaderData->bs_data;
281 lastInfo = hHeaderData->bs_info;
285 pBsData = &hHeaderData->bs_data;
289 hHeaderData->bs_info.ampResolution = FDKreadBits (hBs, 1);
296 hHeaderData->bs_info.xover_band = FDKreadBits (hBs, 3);
330 if(hHeaderData->syncState < SBR_HEADER ||
336 lastInfo.xover_band != hHeaderData->bs_info.xover_band) {
349 sbrGetSyntheticCodedData(HANDLE_SBR_HEADER_DATA hHeaderData,
359 for(i=0;i<hHeaderData->freqBandData.nSfb[1];i++){
381 HANDLE_SBR_HEADER_DATA hHeaderData, /*!< handle to SBR header */
477 sbrGetSingleChannelElement (HANDLE_SBR_HEADER_DATA hHeaderData, /*!< Static control data */
507 if ( !extractFrameInfo ( hBs, hHeaderData, hFrameData, 1, flags) )
510 if ( !checkFrameInfo (&hFrameData->frameInfo, hHeaderData->numberTimeSlots, overlap, hHeaderData->timeStep) )
519 for (i=0; i<hHeaderData->freqBandData.nInvfBands; i++) {
527 if ( !sbrGetEnvelope (hHeaderData, hFrameData, hBs, flags) )
531 sbrGetNoiseFloorData (hHeaderData, hFrameData, hBs);
533 sbrGetSyntheticCodedData(hHeaderData, hFrameData, hBs);
538 hHeaderData,
556 sbrGetChannelPairElement (HANDLE_SBR_HEADER_DATA hHeaderData, /*!< Static control data */
588 if ( !extractFrameInfo (hBs, hHeaderData, hFrameDataLeft, 2, flags) )
591 if ( !checkFrameInfo (&hFrameDataLeft->frameInfo, hHeaderData->numberTimeSlots, overlap, hHeaderData->timeStep) )
599 if ( !extractFrameInfo (hBs, hHeaderData, hFrameDataRight, 2, flags) )
602 if ( !checkFrameInfo (&hFrameDataRight->frameInfo, hHeaderData->numberTimeSlots, overlap, hHeaderData->timeStep) )
612 for (i=0; i<hHeaderData->freqBandData.nInvfBands; i++) {
617 for (i=0; i<hHeaderData->freqBandData.nInvfBands; i++) {
622 if ( !sbrGetEnvelope (hHeaderData, hFrameDataLeft, hBs, flags) ) {
626 sbrGetNoiseFloorData (hHeaderData, hFrameDataLeft, hBs);
628 if ( !sbrGetEnvelope (hHeaderData, hFrameDataRight, hBs, flags) ) {
634 for (i=0; i<hHeaderData->freqBandData.nInvfBands; i++) {
640 if ( !sbrGetEnvelope (hHeaderData, hFrameDataLeft, hBs, flags) )
643 if ( !sbrGetEnvelope (hHeaderData, hFrameDataRight, hBs, flags) )
646 sbrGetNoiseFloorData (hHeaderData, hFrameDataLeft, hBs);
649 sbrGetNoiseFloorData (hHeaderData, hFrameDataRight, hBs);
651 sbrGetSyntheticCodedData(hHeaderData, hFrameDataLeft, hBs);
652 sbrGetSyntheticCodedData(hHeaderData, hFrameDataRight, hBs);
656 hHeaderData,
694 sbrGetNoiseFloorData (HANDLE_SBR_HEADER_DATA hHeaderData, /*!< Static control data */
701 int noNoiseBands = hHeaderData->freqBandData.nNfb;
759 sbrGetEnvelope (HANDLE_SBR_HEADER_DATA hHeaderData, /*!< Static control data */
769 int ampRes = hHeaderData->bs_info.ampResolution;
803 no_band[i] = hHeaderData->freqBandData.nSfb[h_frame_data->frameInfo.freqRes[i]];
937 HANDLE_SBR_HEADER_DATA hHeaderData,
943 INT numberTimeSlots = hHeaderData->numberTimeSlots;
987 HANDLE_SBR_HEADER_DATA hHeaderData, /*!< Static control data */
994 int numberTimeSlots = hHeaderData->numberTimeSlots;
1007 extractLowDelayGrid (hBs, hHeaderData, h_frame_data, numberTimeSlots);