Home
last modified time | relevance | path

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

12345

/external/aac/libAACdec/src/
Dldfiltbank.cpp148 FDK_ASSERT((-WTS1 - 1 + scale) >= 0); in multE2_DinvF_fdk()
149 FDK_ASSERT(tmp <= ((FIXP_DBL)0x7FFFFFFF - in multE2_DinvF_fdk()
154 FDK_ASSERT((WTS1 + 1 - scale) >= 0); in multE2_DinvF_fdk()
180 FDK_ASSERT((-WTS0 - 1 + scale) >= 0); in multE2_DinvF_fdk()
181 FDK_ASSERT(tmp0 <= ((FIXP_DBL)0x7FFFFFFF - in multE2_DinvF_fdk()
183 FDK_ASSERT(tmp1 <= ((FIXP_DBL)0x7FFFFFFF - in multE2_DinvF_fdk()
190 FDK_ASSERT((WTS0 + 1 - scale) >= 0); in multE2_DinvF_fdk()
205 FDK_ASSERT((-WTS0 - 1 + scale) >= 0); in multE2_DinvF_fdk()
206 FDK_ASSERT(tmp0 <= ((FIXP_DBL)0x7FFFFFFF - in multE2_DinvF_fdk()
211 FDK_ASSERT((WTS0 + 1 - scale) >= 0); in multE2_DinvF_fdk()
DFDK_delay.cpp111 FDK_ASSERT(data != NULL); in FDK_Delay_Create()
112 FDK_ASSERT(num_channels > 0); in FDK_Delay_Create()
131 FDK_ASSERT(data != NULL); in FDK_Delay_Apply()
135 FDK_ASSERT(frame_length <= MAX_FRAME_LENGTH); in FDK_Delay_Apply()
136 FDK_ASSERT(channel < data->num_channels); in FDK_Delay_Apply()
137 FDK_ASSERT(time_buffer != NULL); in FDK_Delay_Apply()
Dusacdec_fac.cpp122 FDK_ASSERT(*pState >= 0 && *pState < max_windows); in CLpd_FAC_GetMemory()
137 FDK_ASSERT(mod[(i >> 1)] == 0); in CLpd_FAC_GetMemory()
214 FDK_ASSERT((fac_length == 128) || (fac_length == 96)); in CFac_ApplyGains()
281 FDK_ASSERT(fac_length <= 1024 / (4 * 2)); in CLpd_FAC_Mdct2Acelp()
291 FDK_ASSERT(nl == 0); in CLpd_FAC_Mdct2Acelp()
398 FDK_ASSERT(fac_length <= 1024 / (4 * 2)); in CLpd_FAC_Acelp2Mdct()
428 FDK_ASSERT(0); in CLpd_FAC_Acelp2Mdct()
550 FDK_ASSERT((pOut1 >= hMdct->overlap.time && in CLpd_FAC_Acelp2Mdct()
566 FDK_ASSERT(nl >= fac_length); in CLpd_FAC_Acelp2Mdct()
582 FDK_ASSERT((pOut1 >= hMdct->overlap.time && in CLpd_FAC_Acelp2Mdct()
[all …]
Dconceal.cpp812 FDK_ASSERT(pConcealmentInfo != NULL); in CConcealment_ApplyNoise()
813 FDK_ASSERT((samplesPerFrame >= 120) && (samplesPerFrame <= 1024)); in CConcealment_ApplyNoise()
858 FDK_ASSERT(0); in CConcealment_ApplyNoise()
1064 FDK_ASSERT(pConcealmentInfo->cntFadeFrames >= 0); in CConcealment_ApplyInter()
1065 FDK_ASSERT(pConcealmentInfo->cntFadeFrames < in CConcealment_ApplyInter()
1067 FDK_ASSERT(pConcealmentInfo->cntFadeFrames < in CConcealment_ApplyInter()
1077 FDK_ASSERT(pConcealmentInfo->cntFadeFrames >= 0); in CConcealment_ApplyInter()
1078 FDK_ASSERT(pConcealmentInfo->cntFadeFrames < in CConcealment_ApplyInter()
1080 FDK_ASSERT(pConcealmentInfo->cntFadeFrames < in CConcealment_ApplyInter()
1481 FDK_ASSERT(0); in CConcealment_UpdateState()
[all …]
Daacdec_drc.cpp389 FDK_ASSERT(j < (UINT)-1); in parseExcludedChannels()
705 FDK_ASSERT(self != NULL); in aacDecoder_drcExtractAndMap()
706 FDK_ASSERT(hBs != NULL); in aacDecoder_drcExtractAndMap()
707 FDK_ASSERT(pAacDecoderStaticChannelInfo != NULL); in aacDecoder_drcExtractAndMap()
893 FDK_ASSERT(0); in aacDecoder_drcApply()
925 FDK_ASSERT(0); in aacDecoder_drcApply()
1099 FDK_ASSERT(self != NULL); in aacDecoder_drcParameterHandling()
1414 FDK_ASSERT(gain_delay <= nSamples); in applyDrcLevelNormalization()
1438 FDK_ASSERT(pGainPerSample != NULL); in applyDrcLevelNormalization()
1486 FDK_ASSERT(stride == 1); in applyDrcLevelNormalization()
[all …]
Daacdec_pns.cpp122 FDK_ASSERT(pPnsData != NULL); in CPns_ResetData()
123 FDK_ASSERT(pPnsInterChannelData != NULL); in CPns_ResetData()
338 FDK_ASSERT(bandWidth >= 0); in CPns_Apply()
/external/aac/libSACdec/src/
Dsac_dec_conceal.cpp107 FDK_ASSERT(info != NULL); in SpatialDecConcealment_Init()
142 FDK_ASSERT(info != NULL); in SpatialDecConcealment_Apply()
143 FDK_ASSERT(cmpIdxData != NULL); in SpatialDecConcealment_Apply()
144 FDK_ASSERT(idxPrev != NULL); in SpatialDecConcealment_Apply()
145 FDK_ASSERT(bsXXXDataMode != NULL); in SpatialDecConcealment_Apply()
198 FDK_ASSERT(0); /* All valid states shall be handled above. */ in SpatialDecConcealment_Apply()
219 FDK_ASSERT(info != NULL); in SpatialDecConcealment_UpdateState()
305 FDK_ASSERT(0); /* All valid states should be handled above! */ in SpatialDecConcealment_UpdateState()
Dsac_tsd.cpp156 FDK_ASSERT(a != 0); in longdiv()
177 FDK_ASSERT(lena >= lenb); in longsub()
190 FDK_ASSERT(carry == in longsub()
266 FDK_ASSERT(*r == 0); in TsdRead()
291 FDK_ASSERT(*r == 0); in TsdRead()
340 FDK_ASSERT((pTsdData->bsTsdTrPhaseData[ts] >= 0) && in TsdApply()
Dsac_dec.cpp184 FDK_ASSERT(self != NULL); in SpatialDecClearFrameData()
185 FDK_ASSERT(bsFrame != NULL); in SpatialDecClearFrameData()
186 FDK_ASSERT(setup != NULL); in SpatialDecClearFrameData()
531 FDK_ASSERT(self != NULL); in isValidConfig()
532 FDK_ASSERT(pUserParams != NULL); in isValidConfig()
555 FDK_ASSERT(pCreateParams != NULL); in CheckLevelTreeUpmixType()
556 FDK_ASSERT(pSsc != NULL); in CheckLevelTreeUpmixType()
1079 FDK_ASSERT(lf != -1); in SpatialDecApplyBypass()
1080 FDK_ASSERT(rf != -1); in SpatialDecApplyBypass()
1451 FDK_ASSERT(self != NULL); in SpatialDecApplyFrame()
[all …]
Dsac_dec_lib.cpp260 FDK_ASSERT((pSsc->coreSbrFrameLengthIndex >= 2) && in mpegSurroundDecoder_GetNrOfQmfBands()
420 FDK_ASSERT(pUserParams != NULL); in check_UParam_Build_DecConfig()
421 FDK_ASSERT(pUpmixType != NULL); in check_UParam_Build_DecConfig()
516 FDK_ASSERT(pMpegSurroundDecoder != NULL); in initMpegSurroundDecoder()
1028 FDK_ASSERT(pSsc != NULL); in sscCheckInBand()
1061 FDK_ASSERT(pMpegSurroundDecoder->pSpatialDec); in mpegSurroundDecoder_ConfigureQmfDomain()
1116 FDK_ASSERT(pSsc != NULL); in sscCheckOutOfBand()
1319 FDK_ASSERT(pMpegSurroundDecoder->pSpatialDec); in mpegSurroundDecoder_Parse()
1385 FDK_ASSERT(0); in mpegSurroundDecoder_Parse()
1544 FDK_ASSERT(pMpegSurroundDecoder->pSpatialDec); in mpegSurroundDecoder_Apply()
[all …]
/external/aac/libFDK/src/
DFDK_qmf_domain.cpp438 FDK_ASSERT((workBufferSectSize % 64) == 0); in FDK_getWorkBuffer()
445 FDK_ASSERT(idx1 < QMF_MAX_WB_SECTIONS); in FDK_getWorkBuffer()
448 FDK_ASSERT(pWorkBuffer[idx1] != NULL); in FDK_getWorkBuffer()
451 FDK_ASSERT((idx2 + memSize) <= workBufferSectSize); in FDK_getWorkBuffer()
479 FDK_ASSERT(qd != NULL); in FDK_QmfDomain_IsInitialized()
487 FDK_ASSERT(qd != NULL); in FDK_QmfDomain_InitFilterBank()
495 FDK_ASSERT(nProcBands % ALIGNMENT_DEFAULT == 0); in FDK_QmfDomain_InitFilterBank()
569 FDK_ASSERT(qd_ch != NULL); in FDK_QmfDomain_SaveOverlap()
604 FDK_ASSERT(qd_ch != NULL); in FDK_QmfDomain_GetSlot()
605 FDK_ASSERT(pQmfOutReal != NULL); in FDK_QmfDomain_GetSlot()
[all …]
Dfixpoint_math.cpp382 FDK_ASSERT((LD_INT_TAB_LEN > 0) && in CalcLdInt()
408 FDK_ASSERT(num >= (FIXP_DBL)0); in schur_div()
409 FDK_ASSERT(denum > (FIXP_DBL)0); in schur_div()
410 FDK_ASSERT(num <= denum); in schur_div()
457 FDK_ASSERT(L_num >= (FIXP_DBL)0); in fDivNorm()
458 FDK_ASSERT(L_denum > (FIXP_DBL)0); in fDivNorm()
485 FDK_ASSERT(denom >= num); in fDivNorm()
570 FDK_ASSERT(num >= (FIXP_DBL)0); in fDivNormHighPrec()
571 FDK_ASSERT(denom > (FIXP_DBL)0); in fDivNormHighPrec()
769 FDK_ASSERT(sf >= 0); in fixp_floorToInt()
[all …]
DFDK_lpc.cpp124 FDK_ASSERT(order <= LPC_MAX_ORDER); in CLpc_SynthesisLattice()
125 FDK_ASSERT(order > 0); in CLpc_SynthesisLattice()
175 FDK_ASSERT(order <= LPC_MAX_ORDER); in CLpc_SynthesisLattice()
176 FDK_ASSERT(order > 0); in CLpc_SynthesisLattice()
183 FDK_ASSERT(signal_size > 0); in CLpc_SynthesisLattice()
226 FDK_ASSERT(order <= LPC_MAX_ORDER); in CLpc_Synthesis()
227 FDK_ASSERT(stateIndex < order); in CLpc_Synthesis()
269 FDK_ASSERT(order <= LPC_MAX_ORDER); in CLpc_Synthesis()
270 FDK_ASSERT(stateIndex < order); in CLpc_Synthesis()
332 FDK_ASSERT(shift >= 0); in CLpc_Analysis()
Ddct.cpp167 FDK_ASSERT(twiddle != NULL); in dct_getTables()
171 FDK_ASSERT(*sin_step > 0); in dct_getTables()
185 FDK_ASSERT(L % 4 == 0); in dct_III()
302 FDK_ASSERT(L % 4 == 0); in dct_II()
378 FDK_ASSERT(L >= 4); in dct_IV()
380 FDK_ASSERT(L >= 4); in dct_IV()
475 FDK_ASSERT(L >= 4); in dst_IV()
477 FDK_ASSERT(L >= 4); in dst_IV()
/external/aac/libFDK/include/x86/
Dfixpoint_math_x86.h117 FDK_ASSERT(result >= (FIXP_DBL)0); in sqrtFixp()
142 FDK_ASSERT(result >= 0); in invSqrtNorm2()
200 FDK_ASSERT(num >= (FIXP_DBL)0); in schur_div()
201 FDK_ASSERT(denum > (FIXP_DBL)0); in schur_div()
202 FDK_ASSERT(num <= denum); in schur_div()
/external/aac/libAACenc/src/
DaacEnc_ram.cpp143 FDK_ASSERT(dynamic_RAM != 0); in GetRam_aacEnc_PsyDynamic()
178 FDK_ASSERT(dynamic_RAM != 0); in GetRam_aacEnc_BitLookUp()
185 FDK_ASSERT(dynamic_RAM != 0); in GetRam_aacEnc_MergeGainLookUp()
202 FDK_ASSERT(dynamic_RAM != 0); in GetRam_aacEnc_QCchannel()
Dquantize.cpp146 FDK_ASSERT(totalShift >= 0); /* MAX_QUANT_VIOLATION */ in FDKaacEnc_quantizeLines()
162 FDK_ASSERT(totalShift >= 0); /* MAX_QUANT_VIOLATION */ in FDKaacEnc_quantizeLines()
204 FDK_ASSERT(specExp < 14); /* this fails if abs(value) > 8191 */ in FDKaacEnc_invQuantizeLines()
239 FDK_ASSERT(specExp < 14); /* this fails if abs(value) > 8191 */ in FDKaacEnc_invQuantizeLines()
Dpre_echo_control.cpp143 FDK_ASSERT(scaling >= 0); in FDKaacEnc_PreEchoControl()
167 FDK_ASSERT(scaling >= 0); in FDKaacEnc_PreEchoControl()
/external/aac/libMpegTPDec/src/
Dtpdec_drm.cpp109 FDK_ASSERT(pDrm != NULL); in drmRead_CrcInit()
119 FDK_ASSERT(pDrm != NULL); in drmRead_CrcStartReg()
133 FDK_ASSERT(pDrm != NULL); in drmRead_CrcEndReg()
/external/aac/libSYS/include/
DgenericStds.h174 FDK_ASSERT((n) == 0); \
190 FDK_ASSERT((n) < (n2)); \
207 FDK_ASSERT((n) == 0); \
226 FDK_ASSERT((n) < (n2)); \
245 FDK_ASSERT((n) == 0); \
261 FDK_ASSERT((n) < (n2)); \
278 FDK_ASSERT((n) == 0); \
297 FDK_ASSERT((n) < (n2)); \
Dmachine_type.h221 #define FDK_ASSERT(x) assert(x) macro
223 #define FDK_ASSERT(ignore) macro
/external/aac/libSBRenc/src/
Dtran_det.cpp157 FDK_ASSERT(scaleEnergies[0] >= 0); in spectralChange()
158 FDK_ASSERT(scaleEnergies[1] >= 0); in spectralChange()
193 FDK_ASSERT(len1 <= 8); /* otherwise an overflow is possible */ in spectralChange()
194 FDK_ASSERT(len2 <= 8); /* otherwise an overflow is possible */ in spectralChange()
409 FDK_ASSERT(sbrSlots * timeStep == no_cols); in FDKsbrEnc_frameSplitter()
492 FDK_ASSERT((scaleFactor0 >= 0) && (scaleFactor1 >= 0)); in calculateThresholds()
544 FDK_ASSERT(commonScale >= 0); in calculateThresholds()
571 FDK_ASSERT((tmpScaleEnergies0 >= 0) && (tmpScaleEnergies1 >= 0)); in extractTransientCandidates()
772 FDK_ASSERT(no_cols <= 32); in FDKsbrEnc_InitSbrTransientDetector()
773 FDK_ASSERT(no_rows <= 64); in FDKsbrEnc_InitSbrTransientDetector()
[all …]
Dsbrenc_ram.cpp217 FDK_ASSERT(dynamic_RAM != 0); in GetRam_Sbr_envYBuffer()
231 FDK_ASSERT(dynamic_RAM != 0); in GetRam_Sbr_envRBuffer()
239 FDK_ASSERT(dynamic_RAM != 0); in GetRam_Sbr_envIBuffer()
/external/aac/libPCMutils/src/
Dpcmdmx_lib.cpp412 FDK_ASSERT(chIndex < numChInGrp); in getSpeakerPos()
561 FDK_ASSERT(channelType != NULL); in getChannelMode()
562 FDK_ASSERT(channelIndices != NULL); in getChannelMode()
563 FDK_ASSERT(offsetTable != NULL); in getChannelMode()
564 FDK_ASSERT(chMode != NULL); in getChannelMode()
732 FDK_ASSERT(channelType != NULL); in getChannelDescription()
733 FDK_ASSERT(channelIndices != NULL); in getChannelDescription()
734 FDK_ASSERT(mapDescr != NULL); in getChannelDescription()
735 FDK_ASSERT(offsetTable != NULL); in getChannelDescription()
854 FDK_ASSERT(0); in getChannelDescription()
[all …]
/external/aac/libMpegTPEnc/src/
Dtpenc_asc.cpp373 FDK_ASSERT(config->num_front_channel_elements <= MAX_FRONT_ELEMENTS); in transportEnc_writePCE()
374 FDK_ASSERT(config->num_side_channel_elements <= MAX_SIDE_ELEMENTS); in transportEnc_writePCE()
375 FDK_ASSERT(config->num_back_channel_elements <= MAX_BACK_ELEMENTS); in transportEnc_writePCE()
488 FDK_ASSERT(i < bottomBackEnd); /* won't fail if implementation of pce in transportEnc_writePCE()
494 FDK_ASSERT(frntCnt < config->num_front_channel_elements); in transportEnc_writePCE()
499 FDK_ASSERT(sdCnt < config->num_side_channel_elements); in transportEnc_writePCE()
504 FDK_ASSERT(bckCnt < config->num_back_channel_elements); in transportEnc_writePCE()
815 FDK_ASSERT(cnt <= 0xFFFF); in transportEnc_writeELDSpecificConfig()

12345