Searched refs:FDK_ASSERT (Results 1 - 25 of 69) sorted by relevance

123

/external/aac/libFDK/include/arm/
H A Dscramble.h101 FDK_ASSERT(!(((INT)x)&(ALIGNMENT_DEFAULT-1)));
/external/aac/libAACenc/src/
H A DaacEnc_ram.cpp130 FDK_ASSERT(dynamic_RAM!=0);
163 FDK_ASSERT(dynamic_RAM!=0);
167 FDK_ASSERT(dynamic_RAM!=0);
180 FDK_ASSERT(dynamic_RAM!=0);
H A Dpre_echo_control.cpp136 FDK_ASSERT(scaling>=0);
161 FDK_ASSERT(scaling>=0);
H A Dbit_cnt.h183 FDK_ASSERT( (0 <= (delta+CODE_BOOK_SCF_LAV)) && ((delta+CODE_BOOK_SCF_LAV)<(int)(sizeof(FDKaacEnc_huff_ltabscf)/sizeof((FDKaacEnc_huff_ltabscf[0])))) );
H A Dquantize.cpp129 FDK_ASSERT(totalShift >=0); /* MAX_QUANT_VIOLATION */
142 FDK_ASSERT(totalShift >=0); /* MAX_QUANT_VIOLATION */
187 FDK_ASSERT(specExp < 14); /* this fails if abs(value) > 8191 */
221 FDK_ASSERT(specExp < 14); /* this fails if abs(value) > 8191 */
/external/aac/libSBRenc/src/
H A Dsbr_ram.cpp197 FDK_ASSERT(dynamic_RAM!=0);
206 FDK_ASSERT(dynamic_RAM!=0);
210 FDK_ASSERT(dynamic_RAM!=0);
H A Dtran_det.cpp122 FDK_ASSERT(scaleEnergies[0] >= 0);
312 FDK_ASSERT( sbrSlots * timeStep == no_cols );
396 FDK_ASSERT((scaleFactor0 >= 0) && (scaleFactor1 >= 0));
445 FDK_ASSERT(commonScale >= 0);
481 FDK_ASSERT((tmpScaleEnergies0 >= 0) && (tmpScaleEnergies1 >= 0));
681 FDK_ASSERT(no_cols <= QMF_MAX_TIME_SLOTS);
682 FDK_ASSERT(no_rows <= QMF_CHANNELS);
H A Denv_bit.cpp222 FDK_ASSERT(FDKgetValidBits(&hCmonData->sbrBitbuf) % 8 == 4);
H A Dnf_est.cpp149 FDK_ASSERT( (band + env*noNoiseBands) < MAX_NUM_NOISE_VALUES);
336 FDK_ASSERT( (band + env*noNoiseBands) < MAX_NUM_NOISE_VALUES);
368 FDK_ASSERT( (band + env*noNoiseBands) < MAX_NUM_NOISE_VALUES);
490 FDK_ASSERT(noiseFloorOffset<12);
H A Dfram_gen.cpp527 FDK_ASSERT(ldGrid);
671 FDK_ASSERT(0);
834 FDK_ASSERT(0);
1810 FDK_ASSERT(0);
1831 FDK_ASSERT(0);
1852 FDK_ASSERT(0);
1856 FDK_ASSERT(0);
1906 FDK_ASSERT(nEnv <= MAX_ENVELOPES_FIXVAR_VARFIX);
1993 FDK_ASSERT(nEnv <= MAX_ENVELOPES_VARVAR); /* just to be sure */
/external/aac/libAACdec/src/
H A Dldfiltbank.cpp121 FDK_ASSERT( (-WTS1-1 + scale) >= 0);
124 FDK_ASSERT( (WTS1+1 - scale) >= 0);
145 FDK_ASSERT( (-WTS0-1 + scale) >= 0);
149 FDK_ASSERT( (WTS0+1 - scale) >= 0);
163 FDK_ASSERT( (-WTS0-1 + scale) >= 0);
166 FDK_ASSERT( (WTS0+1 - scale) >= 0);
H A Dstereo.cpp160 FDK_ASSERT(scaleFactorBandsTransmittedL == scaleFactorBandsTransmittedR);
186 FDK_ASSERT(GetWindowSequence(&pAacDecoderChannelInfo[L]->icsInfo) == GetWindowSequence(&pAacDecoderChannelInfo[R]->icsInfo));
187 FDK_ASSERT(GetWindowShape(&pAacDecoderChannelInfo[L]->icsInfo) == GetWindowShape(&pAacDecoderChannelInfo[R]->icsInfo));
196 FDK_ASSERT(lScale >= 0 && rScale >= 0);
268 FDK_ASSERT(GetWindowSequence(&pAacDecoderChannelInfo[L]->icsInfo) == GetWindowSequence(&pAacDecoderChannelInfo[R]->icsInfo));
269 FDK_ASSERT(GetWindowShape(&pAacDecoderChannelInfo[L]->icsInfo) == GetWindowShape(&pAacDecoderChannelInfo[R]->icsInfo));
H A Dconceal.cpp576 FDK_ASSERT(level >= 0 && level <= 127);
842 FDK_ASSERT((samplesPerFrame>=480) && (samplesPerFrame<=1024));
843 FDK_ASSERT((samplesPerFrame&0x1F) == 0);
861 FDK_ASSERT(pConcealmentInfo != NULL);
862 FDK_ASSERT(pConcealmentInfo->cntFadeFrames >= 0);
863 FDK_ASSERT(pConcealmentInfo->cntFadeFrames < CONCEAL_MAX_NUM_FADE_FACTORS);
864 FDK_ASSERT(pConcealmentInfo->cntFadeFrames <= pConcealCommonData->numFadeOutFrames);
888 FDK_ASSERT((lastWindow * windowLen + windowLen) <= samplesPerFrame);
969 FDK_ASSERT(pConcealmentInfo->cntFadeFrames >= 0);
970 FDK_ASSERT(pConcealmentInf
[all...]
H A Dchannelinfo.cpp272 FDK_ASSERT(t->ScaleFactorBands_Long[t->NumberOfScaleFactorBands_Long] == samplesPerFrame);
273 FDK_ASSERT(t->ScaleFactorBands_Short == NULL || t->ScaleFactorBands_Short[t->NumberOfScaleFactorBands_Short]*8 == samplesPerFrame);
H A Dblock.h243 FDK_ASSERT (exponent < 14);
257 FDK_ASSERT(lsb < 4);
/external/aac/libSYS/include/
H A Dmachine_type.h195 #define FDK_ASSERT(x) assert(x) macro
197 #define FDK_ASSERT(ignore) macro
H A 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), ALIGNMENT_DEFAULT)); } \
185 type * Get ## name (int n) { FDK_ASSERT((n) < (n2)); return ((type*)FDKaalloc((n1)*sizeof(type), ALIGNMENT_DEFAULT)); } \
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), ALIGNMENT_DEFAULT, s)); } \
209 type * Get ## name (int n) { FDK_ASSERT((n) < (n2)); return ((type*)FDKaalloc_L((n1)*sizeof(type), ALIGNMENT_DEFAULT, s)); } \
/external/aac/libFDK/include/
H A Dfixpoint_math.h178 FDK_ASSERT((31-(2*tmp_exp+1))>=0) ;
219 FDK_ASSERT (count<=DFRACT_BITS-1);
220 FDK_ASSERT (num>=(FIXP_DBL)0);
221 FDK_ASSERT (denum>(FIXP_DBL)0);
222 FDK_ASSERT (num <= denum);
459 FDK_ASSERT((intValue > 0) && (intValue < 50));
460 FDK_ASSERT(intValue<50);
H A Dscramble.h144 FDK_ASSERT(!(((UINT64)x)&(ALIGNMENT_DEFAULT-1)));
/external/aac/libFDK/src/mips/
H A Dfft_rad2_mips.cpp121 default: FDK_ASSERT(0); break;
/external/aac/libFDK/src/
H A Dmdct.cpp144 FDK_ASSERT(0);
163 FDK_ASSERT(buffered_samples <= nrSamplesRoom);
377 FDK_ASSERT(pOvl >= hMdct->overlap.time + hMdct->ov_offset);
378 FDK_ASSERT(tl/2 <= hMdct->ov_size);
H A Ddct.cpp119 FDK_ASSERT(L == 64 || L == 32);
192 FDK_ASSERT(L == 64 || L == 32);
201 FDK_ASSERT(L == 64 || L == 32);
296 FDK_ASSERT(*twiddle != NULL);
298 FDK_ASSERT(*sin_step > 0);
314 FDK_ASSERT(L >= 4);
439 FDK_ASSERT(L >= 4);
H A Dfixpoint_math.cpp367 FDK_ASSERT((193>0) && ((FIXP_DBL)ldIntCoeff[0]==(FIXP_DBL)0x80000001)); /* tab has to be initialized */
439 FDK_ASSERT(val > FL2FXCONST_DBL(0.0));
475 FDK_ASSERT(tmp_exp > 0) ;
496 FDK_ASSERT (num>=(FIXP_DBL)0);
497 FDK_ASSERT (denum>(FIXP_DBL)0);
498 FDK_ASSERT (num <= denum);
546 FDK_ASSERT (L_num >= (FIXP_DBL)0);
547 FDK_ASSERT (L_denum > (FIXP_DBL)0);
576 FDK_ASSERT (denom >= num);
601 FDK_ASSERT (nu
[all...]
/external/aac/libPCMutils/src/
H A Dpcmutils_lib.cpp456 FDK_ASSERT(channelType != NULL);
457 FDK_ASSERT(channelIndices != NULL);
458 FDK_ASSERT(offsetTable != NULL);
459 FDK_ASSERT(chMode != NULL);
523 FDK_ASSERT( (numChInGrp[CH_GROUP_FRONT]+numChInGrp[CH_GROUP_SIDE]
526 FDK_ASSERT( numChInGrp[CH_GROUP_FRONT] == numChannels );
561 FDK_ASSERT(0);
677 FDK_ASSERT(channelType != NULL);
678 FDK_ASSERT(channelIndices != NULL);
679 FDK_ASSERT(channelMappin
[all...]
/external/aac/libMpegTPEnc/src/
H A Dtpenc_adts.cpp197 FDK_ASSERT(((frame_length+hAdts->headerBits)/8)<0x2000); /*13 bit*/
198 FDK_ASSERT(buffer_fullness<0x800); /* 11 bit */ function

Completed in 354 milliseconds

123