Searched refs:RequireAction (Results 1 – 6 of 6) sorted by relevance
/third_party/libsnd/src/ALAC/ |
D | alac_decoder.c | 111 RequireAction (p->mConfig.compatibleVersion <= kALACVersion, return kALAC_IncompatibleVersion ;) ; in alac_decoder_init() 112 …RequireAction ((p->mConfig.bitDepth >= 8 && p->mConfig.bitDepth <= 32), return kALAC_BadBitWidth ;… in alac_decoder_init() 113 RequireAction ((p->mMixBufferU != NULL) && (p->mMixBufferV != NULL) && (p->u.mPredictor != NULL), in alac_decoder_init() 168 …RequireAction ((bits != NULL) && (sampleBuffer != NULL) && (outNumSamples != NULL), return kALAC_P… in alac_decode() 169 RequireAction (p->mNumChannels > 0, return kALAC_ZeroChannelCount ;) ; in alac_decode() 180 RequireAction (bits->cur < bits->end, status = kALAC_ParamError ; goto Exit ;) ; in alac_decode() 198 RequireAction (unusedHeader == 0, status = kALAC_ParamError ; goto Exit ;) ; in alac_decode() 206 RequireAction (bytesShifted != 3, status = kALAC_ParamError ; goto Exit ;) ; in alac_decode() 220 RequireAction (numSamples < kALACDefaultFramesPerPacket, return kALAC_NumSamplesTooBig ;) ; in alac_decode() 351 RequireAction (unusedHeader == 0, status = kALAC_ParamError ; goto Exit ;) ; in alac_decode() [all …]
|
D | ag_dec.c | 281 …RequireAction ((bitstream != NULL) && (pc != NULL) && (outNumBits != NULL), return kALAC_ParamErro… in dyn_decomp() 298 RequireAction (bitPos < maxPos, status = kALAC_ParamError ; goto Exit ;) ; in dyn_decomp() 337 RequireAction (c+n <= (uint32_t) numSamples, status = kALAC_ParamError ; goto Exit ;) ; in dyn_decomp() 355 RequireAction (bitstream->cur <= bitstream->end, status = kALAC_ParamError ;) ; in dyn_decomp()
|
D | ag_enc.c | 251 RequireAction ((bitSize >= 1) && (bitSize <= 32), return kALAC_ParamError ;) ; in dyn_comp() 310 RequireAction (c <= (uint32_t) numSamples, status = kALAC_ParamError ; goto Exit ;) ; in dyn_comp()
|
D | ALACBitUtilities.h | 39 #define RequireAction(condition, action) if (! (condition)) { action } macro
|
D | alac_encoder.c | 246 …RequireAction ((p->mBitDepth == 16) || (p->mBitDepth == 20) || (p->mBitDepth == 24) || (p->mBitDep… in EncodeStereo() 525 …RequireAction ((p->mBitDepth == 16) || (p->mBitDepth == 20) || (p->mBitDepth == 24) || (p->mBitDep… in EncodeStereoFast() 766 …RequireAction ((p->mBitDepth == 16) || (p->mBitDepth == 20) || (p->mBitDepth == 24) || (p->mBitDep… in EncodeMono() 970 …RequireAction ((p->mBitDepth == 16) || (p->mBitDepth == 20) || (p->mBitDepth == 24) || (p->mBitDep… in alac_encode()
|
D | ALACBitUtilities.c | 218 RequireAction (bits != NULL, return ;) ; in BitBufferWrite()
|