Lines Matching refs:setup

181     SPATIAL_BS_FRAME *bsFrame, const SACDEC_CREATION_PARAMS *const setup) {  in SpatialDecClearFrameData()  argument
186 FDK_ASSERT(setup != NULL); in SpatialDecClearFrameData()
189 for (i = 0; i < setup->maxNumOutputChannels; in SpatialDecClearFrameData()
209 resQmfBands = setup->maxNumQmfBands; in SpatialDecClearFrameData()
211 for (i = 0; i < setup->bProcResidual in SpatialDecClearFrameData()
212 ? fMin(setup->maxNumResChannels, in SpatialDecClearFrameData()
213 setup->maxNumOttBoxes + setup->maxNumInputChannels) in SpatialDecClearFrameData()
244 SACDEC_CREATION_PARAMS setup; in FDK_SpatialDecOpen() local
248 setup.maxNumInputChannels = 1; in FDK_SpatialDecOpen()
249 setup.maxNumOutputChannels = 2; in FDK_SpatialDecOpen()
250 setup.maxNumQmfBands = 64; in FDK_SpatialDecOpen()
251 setup.maxNumXChannels = 2; in FDK_SpatialDecOpen()
252 setup.maxNumVChannels = 2; in FDK_SpatialDecOpen()
253 setup.maxNumDecorChannels = 1; in FDK_SpatialDecOpen()
254 setup.bProcResidual = 1; in FDK_SpatialDecOpen()
255 setup.maxNumResidualChannels = 0; in FDK_SpatialDecOpen()
256 setup.maxNumOttBoxes = 1; in FDK_SpatialDecOpen()
257 setup.maxNumParams = setup.maxNumInputChannels + setup.maxNumOttBoxes; in FDK_SpatialDecOpen()
263 setup.maxNumResChannels = 1; in FDK_SpatialDecOpen()
268 setup.maxNumOutputChannels = fMin(setup.maxNumOutputChannels, 2); in FDK_SpatialDecOpen()
276 setup.maxNumHybridBands = SacGetHybridSubbands(setup.maxNumQmfBands); in FDK_SpatialDecOpen()
280 setup.maxNumCmplxQmfBands = setup.maxNumQmfBands; in FDK_SpatialDecOpen()
281 setup.maxNumCmplxHybBands = setup.maxNumHybridBands; in FDK_SpatialDecOpen()
284 setup.maxNumCmplxQmfBands = fixMax(PC_NUM_BANDS, setup.maxNumQmfBands); in FDK_SpatialDecOpen()
285 setup.maxNumCmplxHybBands = in FDK_SpatialDecOpen()
286 fixMax(PC_NUM_HYB_BANDS, setup.maxNumHybridBands); in FDK_SpatialDecOpen()
292 self->createParams = setup; in FDK_SpatialDecOpen()
296 FDK_ALLOCATE_MEMORY_1D(self->numOttBands, setup.maxNumOttBoxes, int) in FDK_SpatialDecOpen()
304 FDK_ALLOCATE_MEMORY_3D(self->ottCLD__FDK, setup.maxNumOttBoxes, in FDK_SpatialDecOpen()
306 FDK_ALLOCATE_MEMORY_3D(self->ottICC__FDK, setup.maxNumOttBoxes, in FDK_SpatialDecOpen()
308 FDK_ALLOCATE_MEMORY_3D(self->ottIPD__FDK, setup.maxNumOttBoxes, in FDK_SpatialDecOpen()
312 FDK_ALLOCATE_MEMORY_2D(self->ottCLDidxPrev, setup.maxNumOttBoxes, in FDK_SpatialDecOpen()
314 FDK_ALLOCATE_MEMORY_2D(self->ottICCidxPrev, setup.maxNumOttBoxes, in FDK_SpatialDecOpen()
316 FDK_ALLOCATE_MEMORY_3D(self->ottICCdiffidx, setup.maxNumOttBoxes, in FDK_SpatialDecOpen()
318 FDK_ALLOCATE_MEMORY_2D(self->ottIPDidxPrev, setup.maxNumOttBoxes, in FDK_SpatialDecOpen()
320 FDK_ALLOCATE_MEMORY_2D(self->arbdmxGainIdxPrev, setup.maxNumInputChannels, in FDK_SpatialDecOpen()
322 FDK_ALLOCATE_MEMORY_2D(self->cmpOttCLDidxPrev, setup.maxNumOttBoxes, in FDK_SpatialDecOpen()
324 FDK_ALLOCATE_MEMORY_2D(self->cmpOttICCidxPrev, setup.maxNumOttBoxes, in FDK_SpatialDecOpen()
326 FDK_ALLOCATE_MEMORY_3D(self->outIdxData, setup.maxNumOttBoxes, in FDK_SpatialDecOpen()
329 FDK_ALLOCATE_MEMORY_3D(self->arbdmxGain__FDK, setup.maxNumInputChannels, in FDK_SpatialDecOpen()
331 FDK_ALLOCATE_MEMORY_1D(self->arbdmxAlpha__FDK, setup.maxNumInputChannels, in FDK_SpatialDecOpen()
333 FDK_ALLOCATE_MEMORY_1D(self->arbdmxAlphaPrev__FDK, setup.maxNumInputChannels, in FDK_SpatialDecOpen()
335 FDK_ALLOCATE_MEMORY_2D(self->cmpArbdmxGainIdxPrev, setup.maxNumInputChannels, in FDK_SpatialDecOpen()
338 FDK_ALLOCATE_MEMORY_2D(self->cmpOttIPDidxPrev, setup.maxNumOttBoxes, in FDK_SpatialDecOpen()
341 FDK_ALLOCATE_MEMORY_3D_INT(self->M2Real__FDK, setup.maxNumOutputChannels, in FDK_SpatialDecOpen()
342 setup.maxNumVChannels, MAX_PARAMETER_BANDS, in FDK_SpatialDecOpen()
344 FDK_ALLOCATE_MEMORY_3D(self->M2Imag__FDK, setup.maxNumOutputChannels, in FDK_SpatialDecOpen()
345 setup.maxNumVChannels, MAX_PARAMETER_BANDS, FIXP_DBL) in FDK_SpatialDecOpen()
347 FDK_ALLOCATE_MEMORY_3D_INT(self->M2RealPrev__FDK, setup.maxNumOutputChannels, in FDK_SpatialDecOpen()
348 setup.maxNumVChannels, MAX_PARAMETER_BANDS, in FDK_SpatialDecOpen()
350 FDK_ALLOCATE_MEMORY_3D(self->M2ImagPrev__FDK, setup.maxNumOutputChannels, in FDK_SpatialDecOpen()
351 setup.maxNumVChannels, MAX_PARAMETER_BANDS, FIXP_DBL) in FDK_SpatialDecOpen()
354 self->qmfInputReal__FDK, setup.maxNumInputChannels, setup.maxNumQmfBands, in FDK_SpatialDecOpen()
357 self->qmfInputImag__FDK, setup.maxNumInputChannels, in FDK_SpatialDecOpen()
358 setup.maxNumCmplxQmfBands, FIXP_DBL, SECT_DATA_L2) in FDK_SpatialDecOpen()
360 FDK_ALLOCATE_MEMORY_2D_INT(self->hybInputReal__FDK, setup.maxNumInputChannels, in FDK_SpatialDecOpen()
361 setup.maxNumHybridBands, FIXP_DBL, SECT_DATA_L2) in FDK_SpatialDecOpen()
362 FDK_ALLOCATE_MEMORY_2D_INT(self->hybInputImag__FDK, setup.maxNumInputChannels, in FDK_SpatialDecOpen()
363 setup.maxNumCmplxHybBands, FIXP_DBL, SECT_DATA_L2) in FDK_SpatialDecOpen()
365 if (setup.bProcResidual) { in FDK_SpatialDecOpen()
366 FDK_ALLOCATE_MEMORY_1D(self->qmfResidualReal__FDK, setup.maxNumResChannels, in FDK_SpatialDecOpen()
368 FDK_ALLOCATE_MEMORY_1D(self->qmfResidualImag__FDK, setup.maxNumResChannels, in FDK_SpatialDecOpen()
371 FDK_ALLOCATE_MEMORY_1D(self->hybResidualReal__FDK, setup.maxNumResChannels, in FDK_SpatialDecOpen()
373 FDK_ALLOCATE_MEMORY_1D(self->hybResidualImag__FDK, setup.maxNumResChannels, in FDK_SpatialDecOpen()
376 for (i = 0; i < setup.maxNumResChannels; i++) { in FDK_SpatialDecOpen()
379 : setup.maxNumQmfBands; in FDK_SpatialDecOpen()
382 : setup.maxNumHybridBands; in FDK_SpatialDecOpen()
391 setup.maxNumHybridBands, FIXP_DBL) in FDK_SpatialDecOpen()
397 FDK_ALLOCATE_MEMORY_2D_INT(self->wReal__FDK, setup.maxNumVChannels, in FDK_SpatialDecOpen()
398 setup.maxNumHybridBands, FIXP_DBL, SECT_DATA_L2) in FDK_SpatialDecOpen()
399 FDK_ALLOCATE_MEMORY_2D_INT(self->wImag__FDK, setup.maxNumVChannels, in FDK_SpatialDecOpen()
400 setup.maxNumCmplxHybBands, FIXP_DBL, SECT_DATA_L2) in FDK_SpatialDecOpen()
403 setup.maxNumOutputChannels, in FDK_SpatialDecOpen()
404 setup.maxNumHybridBands, FIXP_DBL, SECT_DATA_L2) in FDK_SpatialDecOpen()
406 setup.maxNumOutputChannels, in FDK_SpatialDecOpen()
407 setup.maxNumCmplxHybBands, FIXP_DBL, SECT_DATA_L2) in FDK_SpatialDecOpen()
410 setup.maxNumOutputChannels, in FDK_SpatialDecOpen()
411 setup.maxNumHybridBands, FIXP_DBL, SECT_DATA_L2) in FDK_SpatialDecOpen()
413 setup.maxNumOutputChannels, in FDK_SpatialDecOpen()
414 setup.maxNumCmplxHybBands, FIXP_DBL, SECT_DATA_L2) in FDK_SpatialDecOpen()
416 FDK_ALLOCATE_MEMORY_1D(self->hybridSynthesis, setup.maxNumOutputChannels, in FDK_SpatialDecOpen()
421 setup.bProcResidual ? setup.maxNumInputChannels + setup.maxNumResChannels in FDK_SpatialDecOpen()
422 : setup.maxNumInputChannels, in FDK_SpatialDecOpen()
428 BUFFER_LEN_HF * ((setup.maxNumQmfBands - MAX_QMF_BANDS_TO_HYBRID) + in FDK_SpatialDecOpen()
429 (setup.maxNumCmplxQmfBands - MAX_QMF_BANDS_TO_HYBRID)); in FDK_SpatialDecOpen()
433 setup.maxNumInputChannels, lfSize, FIXP_DBL, in FDK_SpatialDecOpen()
436 setup.maxNumInputChannels, hfSize, FIXP_DBL) in FDK_SpatialDecOpen()
439 for (i = 0; i < setup.maxNumInputChannels; i++) { in FDK_SpatialDecOpen()
449 if (setup.bProcResidual) { in FDK_SpatialDecOpen()
453 : setup.maxNumQmfBands) - in FDK_SpatialDecOpen()
455 (setup.maxNumCmplxQmfBands - MAX_QMF_BANDS_TO_HYBRID)); in FDK_SpatialDecOpen()
458 setup.maxNumResChannels, lfSize, FIXP_DBL, in FDK_SpatialDecOpen()
460 FDK_ALLOCATE_MEMORY_2D(self->pHybridAnaStatesHFres, setup.maxNumResChannels, in FDK_SpatialDecOpen()
463 for (i = setup.maxNumInputChannels; in FDK_SpatialDecOpen()
464 i < (setup.maxNumInputChannels + setup.maxNumResChannels); i++) { in FDK_SpatialDecOpen()
467 self->pHybridAnaStatesLFres[i - setup.maxNumInputChannels], in FDK_SpatialDecOpen()
469 self->pHybridAnaStatesHFres[i - setup.maxNumInputChannels], in FDK_SpatialDecOpen()
477 FDK_ALLOCATE_MEMORY_1D(self->apDecor, setup.maxNumDecorChannels, DECORR_DEC) in FDK_SpatialDecOpen()
478 FDK_ALLOCATE_MEMORY_2D_INT(self->pDecorBufferCplx, setup.maxNumDecorChannels, in FDK_SpatialDecOpen()
481 for (i = 0; i < setup.maxNumDecorChannels; i++) { in FDK_SpatialDecOpen()