Home
last modified time | relevance | path

Searched refs:FDK_ASSERT (Results 1 – 25 of 70) sorted by relevance

123

/external/aac/libAACenc/src/
DaacEnc_ram.cpp130 FDK_ASSERT(dynamic_RAM!=0); in GetRam_aacEnc_PsyDynamic()
163 FDK_ASSERT(dynamic_RAM!=0); in C_ALLOC_MEM()
167 FDK_ASSERT(dynamic_RAM!=0); in GetRam_aacEnc_MergeGainLookUp()
180 FDK_ASSERT(dynamic_RAM!=0); in GetRam_aacEnc_QCchannel()
Dquantize.cpp135 FDK_ASSERT(totalShift >=0); /* MAX_QUANT_VIOLATION */ in FDKaacEnc_quantizeLines()
148 FDK_ASSERT(totalShift >=0); /* MAX_QUANT_VIOLATION */ in FDKaacEnc_quantizeLines()
193 FDK_ASSERT(specExp < 14); /* this fails if abs(value) > 8191 */ in FDKaacEnc_invQuantizeLines()
227 FDK_ASSERT(specExp < 14); /* this fails if abs(value) > 8191 */ in FDKaacEnc_invQuantizeLines()
Dpre_echo_control.cpp136 FDK_ASSERT(scaling>=0); in FDKaacEnc_PreEchoControl()
161 FDK_ASSERT(scaling>=0); in FDKaacEnc_PreEchoControl()
/external/aac/libAACdec/src/
Dldfiltbank.cpp121 FDK_ASSERT( (-WTS1-1 + scale) >= 0); in multE2_DinvF_fdk()
124 FDK_ASSERT( (WTS1+1 - scale) >= 0); in multE2_DinvF_fdk()
145 FDK_ASSERT( (-WTS0-1 + scale) >= 0); in multE2_DinvF_fdk()
149 FDK_ASSERT( (WTS0+1 - scale) >= 0); in multE2_DinvF_fdk()
163 FDK_ASSERT( (-WTS0-1 + scale) >= 0); in multE2_DinvF_fdk()
166 FDK_ASSERT( (WTS0+1 - scale) >= 0); in multE2_DinvF_fdk()
Dstereo.cpp160 FDK_ASSERT(scaleFactorBandsTransmittedL == scaleFactorBandsTransmittedR); in CJointStereo_ApplyMS()
186FDK_ASSERT(GetWindowSequence(&pAacDecoderChannelInfo[L]->icsInfo) == GetWindowSequence(&pAacDecode… in CJointStereo_ApplyMS()
187FDK_ASSERT(GetWindowShape(&pAacDecoderChannelInfo[L]->icsInfo) == GetWindowShape(&pAacDecoderChann… in CJointStereo_ApplyMS()
196 FDK_ASSERT(lScale >= 0 && rScale >= 0); in CJointStereo_ApplyMS()
268FDK_ASSERT(GetWindowSequence(&pAacDecoderChannelInfo[L]->icsInfo) == GetWindowSequence(&pAacDecode… in CJointStereo_ApplyIS()
269FDK_ASSERT(GetWindowShape(&pAacDecoderChannelInfo[L]->icsInfo) == GetWindowShape(&pAacDecoderChann… in CJointStereo_ApplyIS()
Dconceal.cpp576 FDK_ASSERT(level >= 0 && level <= 127); in CConcealment_fakePnsData()
842 FDK_ASSERT((samplesPerFrame>=480) && (samplesPerFrame<=1024)); in CConcealment_ApplyNoise()
843 FDK_ASSERT((samplesPerFrame&0x1F) == 0); in CConcealment_ApplyNoise()
861 FDK_ASSERT(pConcealmentInfo != NULL); in CConcealment_ApplyNoise()
862 FDK_ASSERT(pConcealmentInfo->cntFadeFrames >= 0); in CConcealment_ApplyNoise()
863 FDK_ASSERT(pConcealmentInfo->cntFadeFrames < CONCEAL_MAX_NUM_FADE_FACTORS); in CConcealment_ApplyNoise()
864 FDK_ASSERT(pConcealmentInfo->cntFadeFrames <= pConcealCommonData->numFadeOutFrames); in CConcealment_ApplyNoise()
888 FDK_ASSERT((lastWindow * windowLen + windowLen) <= samplesPerFrame); in CConcealment_ApplyNoise()
969 FDK_ASSERT(pConcealmentInfo->cntFadeFrames >= 0); in CConcealment_ApplyNoise()
970 FDK_ASSERT(pConcealmentInfo->cntFadeFrames < CONCEAL_MAX_NUM_FADE_FACTORS); in CConcealment_ApplyNoise()
[all …]
Dchannelinfo.cpp272 FDK_ASSERT(t->ScaleFactorBands_Long[t->NumberOfScaleFactorBands_Long] == samplesPerFrame); in getSamplingRateInfo()
273FDK_ASSERT(t->ScaleFactorBands_Short == NULL || t->ScaleFactorBands_Short[t->NumberOfScaleFactorBa… in getSamplingRateInfo()
Dblock.h243 FDK_ASSERT (exponent < 14); in EvaluatePower43()
257 FDK_ASSERT(lsb < 4); in EvaluatePower43()
Daacdec_drc.cpp322 FDK_ASSERT(j < (UINT)-1); in parseExcludedChannels()
681 FDK_ASSERT(self != NULL); in aacDecoder_drcExtractAndMap()
682 FDK_ASSERT(hBs != NULL); in aacDecoder_drcExtractAndMap()
683 FDK_ASSERT(pAacDecoderStaticChannelInfo != NULL); in aacDecoder_drcExtractAndMap()
891 FDK_ASSERT(0); in aacDecoder_drcApply()
926 FDK_ASSERT(0); in aacDecoder_drcApply()
/external/aac/libSYS/include/
DgenericStds.h161 …type * Get ## name(int n) { FDK_ASSERT((n) == 0); return ((type*)FDKcalloc(num, sizeof(type))); } \
167 …static type * Get ## name(int n) { FDK_ASSERT((n) == 0); return ((type*)FDKcalloc(num, sizeof(type…
173 …type * Get ## name (int n) { FDK_ASSERT((n) < (n2)); return ((type*)FDKcalloc(n1, sizeof(type))); …
179 …type * Get ## name(int n) { FDK_ASSERT((n) == 0); return ((type*)FDKaalloc((num)*sizeof(type), ALI…
185 …type * Get ## name (int n) { FDK_ASSERT((n) < (n2)); return ((type*)FDKaalloc((n1)*sizeof(type), A…
191 …type * Get ## name(int n) { FDK_ASSERT((n) == 0); return ((type*)FDKcalloc_L(num, sizeof(type), s)…
197 …type * Get ## name (int n) { FDK_ASSERT((n) < (n2)); return (type*)FDKcalloc_L(n1, sizeof(type), s…
203 …type * Get ## name(int n) { FDK_ASSERT((n) == 0); return ((type*)FDKaalloc_L((num)*sizeof(type), A…
209 …type * Get ## name (int n) { FDK_ASSERT((n) < (n2)); return ((type*)FDKaalloc_L((n1)*sizeof(type),…
Dmachine_type.h195 #define FDK_ASSERT(x) assert(x) macro
197 #define FDK_ASSERT(ignore) macro
/external/aac/libFDK/src/
Dfixpoint_math.cpp367FDK_ASSERT((193>0) && ((FIXP_DBL)ldIntCoeff[0]==(FIXP_DBL)0x80000001)); /* tab has to be initializ… in CalcLdInt()
439 FDK_ASSERT(val > FL2FXCONST_DBL(0.0)); in invSqrtNorm2()
475 FDK_ASSERT(tmp_exp > 0) ; in sqrtFixp()
496 FDK_ASSERT (num>=(FIXP_DBL)0); in schur_div()
497 FDK_ASSERT (denum>(FIXP_DBL)0); in schur_div()
498 FDK_ASSERT (num <= denum); in schur_div()
546 FDK_ASSERT (L_num >= (FIXP_DBL)0); in fDivNorm()
547 FDK_ASSERT (L_denum > (FIXP_DBL)0); in fDivNorm()
576 FDK_ASSERT (denom >= num); in fDivNorm()
601 FDK_ASSERT (num >= (FIXP_DBL)0); in fDivNormHighPrec()
[all …]
Ddct.cpp119 FDK_ASSERT(L == 64 || L == 32); in dct_III()
192 FDK_ASSERT(L == 64 || L == 32); in dct_II()
201 FDK_ASSERT(L == 64 || L == 32); in dct_II()
296 FDK_ASSERT(*twiddle != NULL); in getTables()
298 FDK_ASSERT(*sin_step > 0); in getTables()
314 FDK_ASSERT(L >= 4); in dct_IV()
439 FDK_ASSERT(L >= 4); in dst_IV()
Dmdct.cpp144 FDK_ASSERT(0); in imdct_gain()
163 FDK_ASSERT(buffered_samples <= nrSamplesRoom); in imdct_drain()
377 FDK_ASSERT(pOvl >= hMdct->overlap.time + hMdct->ov_offset); in imdct_block()
378 FDK_ASSERT(tl/2 <= hMdct->ov_size); in imdct_block()
/external/aac/libFDK/include/
Dfixpoint_math.h207 FDK_ASSERT((31-(2*tmp_exp+1))>=0) ; in invFixp()
248 FDK_ASSERT (count<=DFRACT_BITS-1); in schur_div()
249 FDK_ASSERT (num>=(FIXP_DBL)0); in schur_div()
250 FDK_ASSERT (denum>(FIXP_DBL)0); in schur_div()
251 FDK_ASSERT (num <= denum); in schur_div()
488 FDK_ASSERT((intValue > 0) && (intValue < 80)); in GetInvInt()
489 FDK_ASSERT(intValue<80); in GetInvInt()
/external/aac/libMpegTPDec/src/
Dtpdec_drm.cpp100 FDK_ASSERT(pDrm != NULL); in drmRead_CrcInit()
111 FDK_ASSERT(pDrm != NULL); in drmRead_CrcStartReg()
127 FDK_ASSERT(pDrm != NULL); in drmRead_CrcEndReg()
/external/aac/libSBRenc/src/
Dtran_det.cpp142 FDK_ASSERT(scaleEnergies[0] >= 0); in spectralChange()
143 FDK_ASSERT(scaleEnergies[1] >= 0); in spectralChange()
173 FDK_ASSERT(len1<=8); /* otherwise an overflow is possible */ in spectralChange()
174 FDK_ASSERT(len2<=8); /* otherwise an overflow is possible */ in spectralChange()
387 FDK_ASSERT( sbrSlots * timeStep == no_cols ); in FDKsbrEnc_frameSplitter()
486 FDK_ASSERT((scaleFactor0 >= 0) && (scaleFactor1 >= 0)); in calculateThresholds()
535 FDK_ASSERT(commonScale >= 0); in calculateThresholds()
571 FDK_ASSERT((tmpScaleEnergies0 >= 0) && (tmpScaleEnergies1 >= 0)); in extractTransientCandidates()
777 FDK_ASSERT(no_cols <= QMF_MAX_TIME_SLOTS); in FDKsbrEnc_InitSbrTransientDetector()
778 FDK_ASSERT(no_rows <= QMF_CHANNELS); in FDKsbrEnc_InitSbrTransientDetector()
[all …]
Dsbr_ram.cpp197 FDK_ASSERT(dynamic_RAM!=0); in GetRam_Sbr_envYBuffer()
206 FDK_ASSERT(dynamic_RAM!=0); in GetRam_Sbr_envRBuffer()
210 FDK_ASSERT(dynamic_RAM!=0); in GetRam_Sbr_envIBuffer()
Dnf_est.cpp149 FDK_ASSERT( (band + env*noNoiseBands) < MAX_NUM_NOISE_VALUES); in smoothingOfNoiseLevels()
337 FDK_ASSERT( (band + env*noNoiseBands) < MAX_NUM_NOISE_VALUES); in FDKsbrEnc_sbrNoiseFloorEstimateQmf()
369 FDK_ASSERT( (band + env*noNoiseBands) < MAX_NUM_NOISE_VALUES); in FDKsbrEnc_sbrNoiseFloorEstimateQmf()
491 FDK_ASSERT(noiseFloorOffset<12); in FDKsbrEnc_InitSbrNoiseFloorEstimate()
Dbit_sbr.cpp419 FDK_ASSERT (0); in encodeSbrData()
541 FDK_ASSERT(sbrEnvDataLeft->ldGrid == sbrEnvDataRight->ldGrid); in encodeSbrChannelPairElement()
634 FDK_ASSERT(0 /* Fatal error in encodeSbrGrid! */); in encodeSbrGrid()
895 FDK_ASSERT (fixp_abs (delta) <= sbrEnvData->codeBookScfLavBalance); in writeEnvelopeData()
897 FDK_ASSERT (fixp_abs (delta) <= sbrEnvData->codeBookScfLav); in writeEnvelopeData()
967 FDK_ASSERT(extDataSize <= SBR_EXTENDED_DATA_MAX_CNT); in encodeExtendedData()
Dfram_gen.cpp527 FDK_ASSERT(ldGrid); in FDKsbrEnc_frameInfoGenerator()
672 FDK_ASSERT(0); in FDKsbrEnc_frameInfoGenerator()
844 FDK_ASSERT(0); in FDKsbrEnc_initFrameInfoGenerator()
1820 FDK_ASSERT(0); in createDefFrameInfo()
1841 FDK_ASSERT(0); in createDefFrameInfo()
1862 FDK_ASSERT(0); in createDefFrameInfo()
1866 FDK_ASSERT(0); in createDefFrameInfo()
1918 FDK_ASSERT(nEnv <= MAX_ENVELOPES_FIXVAR_VARFIX); in ctrlSignal2FrameInfo()
2005 FDK_ASSERT(nEnv <= MAX_ENVELOPES_VARVAR); /* just to be sure */ in ctrlSignal2FrameInfo()
/external/aac/libPCMutils/src/
Dpcmutils_lib.cpp461 FDK_ASSERT(channelType != NULL); in getChannelMode()
462 FDK_ASSERT(channelIndices != NULL); in getChannelMode()
463 FDK_ASSERT(offsetTable != NULL); in getChannelMode()
464 FDK_ASSERT(chMode != NULL); in getChannelMode()
528 FDK_ASSERT( (numChInGrp[CH_GROUP_FRONT]+numChInGrp[CH_GROUP_SIDE] in getChannelMode()
531 FDK_ASSERT( numChInGrp[CH_GROUP_FRONT] == numChannels ); in getChannelMode()
566 FDK_ASSERT(0); in getChannelMode()
682 FDK_ASSERT(channelType != NULL); in getChannelDescription()
683 FDK_ASSERT(channelIndices != NULL); in getChannelDescription()
684 FDK_ASSERT(channelMapping != NULL); in getChannelDescription()
[all …]
Dlimiter.cpp229 FDK_ASSERT(gain_size == 1); in applyLimiter()
230 FDK_ASSERT(gain_delay <= nSamples); in applyLimiter()
388 FDK_ASSERT(limiter != NULL); in getLimiterDelay()
/external/aac/libFDK/include/arm/
Dscramble.h101 FDK_ASSERT(!(((INT)x)&(ALIGNMENT_DEFAULT-1))); in scramble()
/external/aac/libMpegTPEnc/src/
Dtpenc_adts.cpp197 FDK_ASSERT(((frame_length+hAdts->headerBits)/8)<0x2000); /*13 bit*/ in adtsWrite_EncodeHeader()
198 FDK_ASSERT(buffer_fullness<0x800); /* 11 bit */ in adtsWrite_EncodeHeader()

123