Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/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/libstagefright/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/libstagefright/codecs/amrwb/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.cpp651 AAC_DECODER_ERROR decoderErr = in onQueueFilled() local
656 if (decoderErr != AAC_DEC_OK) { in onQueueFilled()
657 ALOGW("aacDecoder_ConfigRaw decoderErr = 0x%4.4x", decoderErr); in onQueueFilled()
659 notify(OMX_EventError, OMX_ErrorUndefined, decoderErr, NULL); in onQueueFilled()
782 AAC_DECODER_ERROR decoderErr; in onQueueFilled() local
792 decoderErr = aacDecoder_DecodeFrame(mAACDecoder, in onQueueFilled()
800 if (decoderErr == AAC_DEC_NOT_ENOUGH_BITS) { in onQueueFilled()
805 if (decoderErr != AAC_DEC_OK) { in onQueueFilled()
806 ALOGW("aacDecoder_DecodeFrame decoderErr = 0x%4.4x", decoderErr); in onQueueFilled()
819 if (decoderErr == AAC_DEC_OK) { in onQueueFilled()
[all …]
/frameworks/av/media/codec2/components/flac/
DC2SoftFlacDec.cpp224 status_t decoderErr = mFLACDecoder->parseMetadata(input, inSize); in process() local
225 if (decoderErr != OK && decoderErr != WOULD_BLOCK) { in process()
226 ALOGE("process: FLACDecoder parseMetaData returns error %d", decoderErr); in process()
239 if (decoderErr == WOULD_BLOCK) { in process()
240 ALOGV("process: parseMetadata is Blocking, Continue %d", decoderErr); in process()
294 status_t decoderErr = mFLACDecoder->decodeOneFrame( in process() local
296 if (decoderErr != OK) { in process()
297 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/codec2/components/aac/
DC2SoftAacDec.cpp591 AAC_DECODER_ERROR decoderErr = in process() local
596 if (decoderErr != AAC_DEC_OK) { in process()
597 ALOGE("aacDecoder_ConfigRaw decoderErr = 0x%4.4x", decoderErr); in process()
731 AAC_DECODER_ERROR decoderErr; in process() local
742 decoderErr = aacDecoder_DecodeFrame(mAACDecoder, in process()
749 if (decoderErr == AAC_DEC_NOT_ENOUGH_BITS) { in process()
754 if (decoderErr != AAC_DEC_OK) { in process()
755 ALOGW("aacDecoder_DecodeFrame decoderErr = 0x%4.4x", decoderErr); in process()
768 if (decoderErr == AAC_DEC_OK) { in process()
776 ALOGW("AAC decoder returned error 0x%4.4x, substituting silence", decoderErr); in process()
[all …]
/frameworks/av/media/codec2/components/mp3/
DC2SoftMp3Dec.cpp411 ERROR_CODE decoderErr; in process() local
412 if ((decoderErr = pvmp3_framedecoder(mConfig, mDecoderBuf)) in process()
414 ALOGE("mp3 decoder returned error %d", decoderErr); in process()
415 if (decoderErr != NO_ENOUGH_MAIN_DATA_ERROR in process()
416 && decoderErr != SIDE_INFO_ERROR) { in process()