Home
last modified time | relevance | path

Searched refs:RequireAction (Results 1 – 6 of 6) sorted by relevance

/third_party/libsnd/src/ALAC/
Dalac_decoder.c111 RequireAction (p->mConfig.compatibleVersion <= kALACVersion, return kALAC_IncompatibleVersion ;) ; in alac_decoder_init()
112RequireAction ((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()
168RequireAction ((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 …]
Dag_dec.c281RequireAction ((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()
Dag_enc.c251 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()
DALACBitUtilities.h39 #define RequireAction(condition, action) if (! (condition)) { action } macro
Dalac_encoder.c246RequireAction ((p->mBitDepth == 16) || (p->mBitDepth == 20) || (p->mBitDepth == 24) || (p->mBitDep… in EncodeStereo()
525RequireAction ((p->mBitDepth == 16) || (p->mBitDepth == 20) || (p->mBitDepth == 24) || (p->mBitDep… in EncodeStereoFast()
766RequireAction ((p->mBitDepth == 16) || (p->mBitDepth == 20) || (p->mBitDepth == 24) || (p->mBitDep… in EncodeMono()
970RequireAction ((p->mBitDepth == 16) || (p->mBitDepth == 20) || (p->mBitDepth == 24) || (p->mBitDep… in alac_encode()
DALACBitUtilities.c218 RequireAction (bits != NULL, return ;) ; in BitBufferWrite()