Home
last modified time | relevance | path

Searched refs:FDK_ASSERT (Results 1 – 25 of 68) 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.cpp129 FDK_ASSERT(totalShift >=0); /* MAX_QUANT_VIOLATION */ in FDKaacEnc_quantizeLines()
142 FDK_ASSERT(totalShift >=0); /* MAX_QUANT_VIOLATION */ in FDKaacEnc_quantizeLines()
187 FDK_ASSERT(specExp < 14); /* this fails if abs(value) > 8191 */ in FDKaacEnc_invQuantizeLines()
221 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/libFDK/include/
Dfixpoint_math.h178 FDK_ASSERT((31-(2*tmp_exp+1))>=0) ; in invFixp()
219 FDK_ASSERT (count<=DFRACT_BITS-1); in schur_div()
220 FDK_ASSERT (num>=(FIXP_DBL)0); in schur_div()
221 FDK_ASSERT (denum>(FIXP_DBL)0); in schur_div()
222 FDK_ASSERT (num <= denum); in schur_div()
459 FDK_ASSERT((intValue > 0) && (intValue < 50)); in GetInvInt()
460 FDK_ASSERT(intValue<50); in GetInvInt()
/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()
DFDK_crc.cpp262 FDK_ASSERT(hCrcInfo->crcRegData[reg].isActive==0); in FDKcrcStartReg()
279 FDK_ASSERT((reg==(INT)hCrcInfo->regStop)&&(hCrcInfo->crcRegData[reg].isActive==1)); in FDKcrcEndReg()
/external/aac/libSBRenc/src/
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()
Dtran_det.cpp122 FDK_ASSERT(scaleEnergies[0] >= 0); in spectralChange()
312 FDK_ASSERT( sbrSlots * timeStep == no_cols ); in FDKsbrEnc_frameSplitter()
396 FDK_ASSERT((scaleFactor0 >= 0) && (scaleFactor1 >= 0)); in calculateThresholds()
445 FDK_ASSERT(commonScale >= 0); in calculateThresholds()
481 FDK_ASSERT((tmpScaleEnergies0 >= 0) && (tmpScaleEnergies1 >= 0)); in extractTransientCandidates()
681 FDK_ASSERT(no_cols <= QMF_MAX_TIME_SLOTS); in FDKsbrEnc_InitSbrTransientDetector()
682 FDK_ASSERT(no_rows <= QMF_CHANNELS); in FDKsbrEnc_InitSbrTransientDetector()
Dnf_est.cpp149 FDK_ASSERT( (band + env*noNoiseBands) < MAX_NUM_NOISE_VALUES); in smoothingOfNoiseLevels()
336 FDK_ASSERT( (band + env*noNoiseBands) < MAX_NUM_NOISE_VALUES); in FDKsbrEnc_sbrNoiseFloorEstimateQmf()
368 FDK_ASSERT( (band + env*noNoiseBands) < MAX_NUM_NOISE_VALUES); in FDKsbrEnc_sbrNoiseFloorEstimateQmf()
490 FDK_ASSERT(noiseFloorOffset<12); in FDKsbrEnc_InitSbrNoiseFloorEstimate()
Dfram_gen.cpp527 FDK_ASSERT(ldGrid); in FDKsbrEnc_frameInfoGenerator()
671 FDK_ASSERT(0); in FDKsbrEnc_frameInfoGenerator()
834 FDK_ASSERT(0); in FDKsbrEnc_initFrameInfoGenerator()
1810 FDK_ASSERT(0); in createDefFrameInfo()
1831 FDK_ASSERT(0); in createDefFrameInfo()
1852 FDK_ASSERT(0); in createDefFrameInfo()
1856 FDK_ASSERT(0); in createDefFrameInfo()
1906 FDK_ASSERT(nEnv <= MAX_ENVELOPES_FIXVAR_VARFIX); in ctrlSignal2FrameInfo()
1993 FDK_ASSERT(nEnv <= MAX_ENVELOPES_VARVAR); /* just to be sure */ in ctrlSignal2FrameInfo()
Dbit_sbr.cpp421 FDK_ASSERT (0); in encodeSbrData()
543 FDK_ASSERT(sbrEnvDataLeft->ldGrid == sbrEnvDataRight->ldGrid); in encodeSbrChannelPairElement()
636 FDK_ASSERT(0 /* Fatal error in encodeSbrGrid! */); in encodeSbrGrid()
897 FDK_ASSERT (fixp_abs (delta) <= sbrEnvData->codeBookScfLavBalance); in writeEnvelopeData()
899 FDK_ASSERT (fixp_abs (delta) <= sbrEnvData->codeBookScfLav); in writeEnvelopeData()
969 FDK_ASSERT(extDataSize <= SBR_EXTENDED_DATA_MAX_CNT); in encodeExtendedData()
/external/aac/libPCMutils/src/
Dpcmutils_lib.cpp456 FDK_ASSERT(channelType != NULL); in getChannelMode()
457 FDK_ASSERT(channelIndices != NULL); in getChannelMode()
458 FDK_ASSERT(offsetTable != NULL); in getChannelMode()
459 FDK_ASSERT(chMode != NULL); in getChannelMode()
523 FDK_ASSERT( (numChInGrp[CH_GROUP_FRONT]+numChInGrp[CH_GROUP_SIDE] in getChannelMode()
526 FDK_ASSERT( numChInGrp[CH_GROUP_FRONT] == numChannels ); in getChannelMode()
561 FDK_ASSERT(0); in getChannelMode()
677 FDK_ASSERT(channelType != NULL); in getChannelDescription()
678 FDK_ASSERT(channelIndices != NULL); in getChannelDescription()
679 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/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()
/external/aac/libFDK/src/mips/
Dfft_rad2_mips.cpp121 default: FDK_ASSERT(0); break; in dit_fft()

123