Home
last modified time | relevance | path

Searched refs:decoderErr (Results 1 – 12 of 12) sorted by relevance

/frameworks/av/media/codecs/mp3dec/test/
DMp3DecoderTest.cpp70 ERROR_CODE decoderErr; in DecodeFrames() local
82 decoderErr = pvmp3_framedecoder(mConfig, decoderBuf); in DecodeFrames()
83 if (decoderErr != NO_DECODING_ERROR) break; in DecodeFrames()
87 return decoderErr; in DecodeFrames()
133 ERROR_CODE decoderErr = DecodeFrames(decoderBuf, outFileHandle, sfInfo); in TEST_P() local
134 ASSERT_EQ(decoderErr, NO_DECODING_ERROR) << "Failed to decode the frames"; in TEST_P()
164 ERROR_CODE decoderErr; in TEST_P() local
165 decoderErr = DecodeFrames(decoderBuf, outFileHandle, sfInfo, kNumFrameReset); in TEST_P()
166 ASSERT_EQ(decoderErr, NO_DECODING_ERROR) << "Failed to decode the frames"; in TEST_P()
172 decoderErr = DecodeFrames(decoderBuf, outFileHandle, sfInfo); in TEST_P()
[all …]
Dmp3dec_test.cpp112 ERROR_CODE decoderErr; in main() local
113 decoderErr = pvmp3_framedecoder(&config, decoderBuf); in main()
114 if (decoderErr != NO_DECODING_ERROR) { in main()
/frameworks/av/media/libstagefright/codecs/flac/dec/
DSoftFlacDecoder.cpp359 status_t decoderErr = mFLACDecoder->parseMetadata(inBuffer, inBufferLength); in onQueueFilled() local
362 if (decoderErr != OK && decoderErr != WOULD_BLOCK) { in onQueueFilled()
363 ALOGE("onQueueFilled: FLACDecoder parseMetaData returns error %d", decoderErr); in onQueueFilled()
365 notify(OMX_EventError, OMX_ErrorStreamCorrupt, decoderErr, NULL); in onQueueFilled()
373 if (decoderErr == WOULD_BLOCK) { in onQueueFilled()
391 status_t decoderErr = mFLACDecoder->decodeOneFrame( in onQueueFilled() local
393 if (decoderErr != OK) { in onQueueFilled()
394 ALOGE("onQueueFilled: FLACDecoder decodeOneFrame returns error %d", decoderErr); in onQueueFilled()
396 notify(OMX_EventError, OMX_ErrorStreamCorrupt, decoderErr, NULL); in onQueueFilled()
411 status_t decoderErr = mFLACDecoder->decodeOneFrame( in onQueueFilled() local
[all …]
/frameworks/av/media/libstagefright/flac/dec/test/
DFlacDecoderTest.cpp121 status_t decoderErr = mFLACDecoder->parseMetadata((uint8_t *)data, size); in processFlacDecoder() local
122 if (decoderErr == WOULD_BLOCK) { in processFlacDecoder()
123 ALOGV("process: parseMetadata is Blocking, Continue %d", decoderErr); in processFlacDecoder()
124 } else if (decoderErr == OK) { in processFlacDecoder()
134 ALOGE("FLACDecoder parseMetaData returns error %d", decoderErr); in processFlacDecoder()
139 return decoderErr; in processFlacDecoder()
156 status_t decoderErr = mFLACDecoder->decodeOneFrame((uint8_t *)data, size, out_buf, in processFlacDecoder() local
158 if (decoderErr != OK) { in processFlacDecoder()
159 ALOGE("decodeOneFrame returns error %d", decoderErr); in processFlacDecoder()
168 return decoderErr; in processFlacDecoder()
/frameworks/av/media/codecs/amrnb/dec/test/
DAmrnbDecoderTest.cpp123 int32_t decoderErr = DecodeFrames(amrHandle, outFileHandle); in TEST_P() local
124 ASSERT_EQ(decoderErr, 0) << "DecodeFrames returned error"; in TEST_P()
146 int32_t decoderErr = DecodeFrames(amrHandle, outFileHandle, kNumFrameReset); in TEST_P() local
147 ASSERT_EQ(decoderErr, 0) << "DecodeFrames returned error"; in TEST_P()
153 decoderErr = DecodeFrames(amrHandle, outFileHandle); in TEST_P()
154 ASSERT_EQ(decoderErr, 0) << "DecodeFrames returned error"; in TEST_P()
/frameworks/av/media/codecs/amrwb/dec/test/
DAmrwbDecoderTest.cpp162 int32_t decoderErr = DecodeFrames(decoderCookie, decoderBuf, outFileHandle); in TEST_P() local
163 ASSERT_EQ(decoderErr, 0) << "DecodeFrames returned error"; in TEST_P()
193 int32_t decoderErr = DecodeFrames(decoderCookie, decoderBuf, outFileHandle, kNumFrameReset); in TEST_P() local
194 ASSERT_EQ(decoderErr, 0) << "DecodeFrames returned error"; in TEST_P()
200 decoderErr = DecodeFrames(decoderCookie, decoderBuf, outFileHandle); in TEST_P()
201 ASSERT_EQ(decoderErr, 0) << "DecodeFrames returned error"; in TEST_P()
/frameworks/av/media/libstagefright/codecs/aacdec/
DSoftAAC2.cpp692 AAC_DECODER_ERROR decoderErr = in onQueueFilled() local
697 if (decoderErr != AAC_DEC_OK) { in onQueueFilled()
698 ALOGW("aacDecoder_ConfigRaw decoderErr = 0x%4.4x", decoderErr); in onQueueFilled()
700 notify(OMX_EventError, OMX_ErrorUndefined, decoderErr, NULL); in onQueueFilled()
823 AAC_DECODER_ERROR decoderErr; in onQueueFilled() local
833 decoderErr = aacDecoder_DecodeFrame(mAACDecoder, in onQueueFilled()
841 if (decoderErr == AAC_DEC_NOT_ENOUGH_BITS) { in onQueueFilled()
846 if (decoderErr != AAC_DEC_OK) { in onQueueFilled()
847 ALOGW("aacDecoder_DecodeFrame decoderErr = 0x%4.4x", decoderErr); in onQueueFilled()
860 if (decoderErr == AAC_DEC_OK) { in onQueueFilled()
[all …]
/frameworks/av/media/codec2/components/flac/
DC2SoftFlacDec.cpp229 status_t decoderErr = mFLACDecoder->parseMetadata(input, inSize); in process() local
230 if (decoderErr != OK && decoderErr != WOULD_BLOCK) { in process()
231 ALOGE("process: FLACDecoder parseMetaData returns error %d", decoderErr); in process()
244 if (decoderErr == WOULD_BLOCK) { in process()
245 ALOGV("process: parseMetadata is Blocking, Continue %d", decoderErr); in process()
299 status_t decoderErr = mFLACDecoder->decodeOneFrame( in process() local
301 if (decoderErr != OK) { in process()
302 ALOGE("process: FLACDecoder decodeOneFrame returns error %d", decoderErr); in process()
/frameworks/av/media/libstagefright/codecs/mp3dec/
DSoftMP3.cpp350 ERROR_CODE decoderErr; in onQueueFilled() local
351 if ((decoderErr = pvmp3_framedecoder(mConfig, mDecoderBuf)) in onQueueFilled()
353 ALOGV("mp3 decoder returned error %d", decoderErr); in onQueueFilled()
355 if (decoderErr != NO_ENOUGH_MAIN_DATA_ERROR in onQueueFilled()
356 && decoderErr != SIDE_INFO_ERROR) { in onQueueFilled()
357 ALOGE("mp3 decoder returned error %d", decoderErr); in onQueueFilled()
359 notify(OMX_EventError, OMX_ErrorUndefined, decoderErr, NULL); in onQueueFilled()
368 if (decoderErr == NO_ENOUGH_MAIN_DATA_ERROR && mSawInputEos) { in onQueueFilled()
/frameworks/av/media/codecs/mp3dec/fuzzer/
Dmp3_dec_fuzzer.cpp202 ERROR_CODE decoderErr; in decodeFrames() local
203 decoderErr = pvmp3_framedecoder(mConfig, mDecoderBuf); in decodeFrames()
204 if (decoderErr != NO_DECODING_ERROR) { in decodeFrames()
/frameworks/av/media/codec2/components/aac/
DC2SoftAacDec.cpp602 AAC_DECODER_ERROR decoderErr = in process() local
607 if (decoderErr != AAC_DEC_OK) { in process()
608 ALOGE("aacDecoder_ConfigRaw decoderErr = 0x%4.4x", decoderErr); in process()
742 AAC_DECODER_ERROR decoderErr; in process() local
753 decoderErr = aacDecoder_DecodeFrame(mAACDecoder, in process()
760 if (decoderErr == AAC_DEC_NOT_ENOUGH_BITS) { in process()
765 if (decoderErr != AAC_DEC_OK) { in process()
766 ALOGW("aacDecoder_DecodeFrame decoderErr = 0x%4.4x", decoderErr); in process()
779 if (decoderErr == AAC_DEC_OK) { in process()
787 ALOGW("AAC decoder returned error 0x%4.4x, substituting silence", decoderErr); in process()
[all …]
/frameworks/av/media/codec2/components/mp3/
DC2SoftMp3Dec.cpp419 ERROR_CODE decoderErr; in process() local
420 if ((decoderErr = pvmp3_framedecoder(mConfig, mDecoderBuf)) in process()
422 ALOGE("mp3 decoder returned error %d", decoderErr); in process()
423 if (decoderErr != NO_ENOUGH_MAIN_DATA_ERROR in process()
424 && decoderErr != SIDE_INFO_ERROR) { in process()