Home
last modified time | relevance | path

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

/third_party/libsnd/src/ALAC/
H A Dalac_decoder.c111 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_ParamError ;) ; 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 (unusedHeade in alac_decode()
[all...]
H A Dag_dec.c281 RequireAction ((bitstream != NULL) && (pc != NULL) && (outNumBits != NULL), return kALAC_ParamError ;) ; 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()
H A DALACBitUtilities.h39 #define RequireAction(condition, action) if (! (condition)) { action } macro
H A 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()
H A DALACBitUtilities.c218 RequireAction (bits != NULL, return ;) ; in BitBufferWrite()
H A Dalac_encoder.c246 RequireAction ((p->mBitDepth == 16) || (p->mBitDepth == 20) || (p->mBitDepth == 24) || (p->mBitDepth == 32), return kALAC_ParamError ;) ; in EncodeStereo()
525 RequireAction ((p->mBitDepth == 16) || (p->mBitDepth == 20) || (p->mBitDepth == 24) || (p->mBitDepth == 32), return kALAC_ParamError ;) ; in EncodeStereoFast()
766 RequireAction ((p->mBitDepth == 16) || (p->mBitDepth == 20) || (p->mBitDepth == 24) || (p->mBitDepth == 32), return kALAC_ParamError ;) ; in EncodeMono()
970 RequireAction ((p->mBitDepth == 16) || (p->mBitDepth == 20) || (p->mBitDepth == 24) || (p->mBitDepth == 32), return kALAC_ParamError ;) ; in alac_encode()

Completed in 5 milliseconds