Home
last modified time | relevance | path

Searched refs:mSawInputEOS (Results 1 – 23 of 23) sorted by relevance

/frameworks/base/media/java/android/media/
DAmrInputStream.java41 boolean mSawInputEOS; field in AmrInputStream
120 while (!mSawInputEOS) { in read()
130 mSawInputEOS = true; in read()
141 mSawInputEOS ? MediaCodec.BUFFER_FLAG_END_OF_STREAM : 0 /* flags */); in read()
168 if (mSawInputEOS && mSawOutputEOS) { in read()
/frameworks/av/media/tests/benchmark/MediaBenchmarkTest/src/main/java/com/android/media/benchmark/library/
DEncoder.java52 private boolean mSawInputEOS; field in Encoder
62 mSawInputEOS = false; in Encoder()
207 if (!mSawInputEOS) { in encode()
269 if (mSawInputEOS || inputBufferId < 0) { in onInputAvailable()
270 if (mSawInputEOS) { in onInputAvailable()
308 mSawInputEOS = true; in onInputAvailable()
359 mSawInputEOS = false; in resetEncoder()
DDecoder.java41 private boolean mSawInputEOS; field in Decoder
108 mSawInputEOS = false; in decode()
179 if (!mSawInputEOS) { in decode()
263 if ((inputBufferId >= 0) && !mSawInputEOS) { in onInputAvailable()
268 mSawInputEOS = (bufInfo.flags & MediaCodec.BUFFER_FLAG_END_OF_STREAM) != 0; in onInputAvailable()
269 if (mSawInputEOS) { in onInputAvailable()
/frameworks/av/media/tests/benchmark/src/native/encoder/
DEncoder.h53 mSawInputEOS(false), in Encoder()
90 bool mSawInputEOS; variable
DEncoder.cpp27 if (mSawInputEOS || bufIdx < 0) return; in onInputAvailable()
100 if (flag == AMEDIACODEC_BUFFER_FLAG_END_OF_STREAM) mSawInputEOS = true; in onInputAvailable()
102 bytesToRead, presentationTimeUs, mSawInputEOS ? "TRUE" : "FALSE"); in onInputAvailable()
259 if (!mSawInputEOS) { in encode()
/frameworks/av/media/tests/benchmark/src/native/decoder/
DDecoder.cpp47 if (mSawInputEOS || bufIdx < 0) return; in onInputAvailable()
75 if (flag == AMEDIACODEC_BUFFER_FLAG_END_OF_STREAM) mSawInputEOS = true; in onInputAvailable()
77 bytesRead, presentationTimeUs, mSawInputEOS ? "TRUE" : "FALSE"); in onInputAvailable()
185 if (!mSawInputEOS) { in decode()
DDecoder.h38 mSawInputEOS(false), in Decoder()
88 bool mSawInputEOS; variable
/frameworks/av/media/libstagefright/codecs/flac/enc/
DSoftFlacEncoder.cpp60 mSawInputEOS(false), in SoftFlacEncoder()
381 while ((!inQueue.empty() || mSawInputEOS) && !outQueue.empty() && !mSentOutputEOS) { in onQueueFilled()
388 mSawInputEOS = true; in onQueueFilled()
440 (long long )mEncoderReturnedNbBytes, mSawInputEOS); in onQueueFilled()
441 if (mSawInputEOS && !mEncoderReturnedEncodedData) { in onQueueFilled()
447 if (mSawInputEOS || mEncoderReturnedEncodedData) { in onQueueFilled()
DSoftFlacEncoder.h65 bool mSawInputEOS; member
/frameworks/av/media/libstagefright/codecs/flac/dec/
DSoftFlacDecoder.cpp51 mSawInputEOS(false), in SoftFlacDecoder()
320 while ((!inQueue.empty() || mSawInputEOS) && !outQueue.empty() && !mFinishedDecoder) { in onQueueFilled()
335 mSawInputEOS = true; in onQueueFilled()
410 } else if (mSawInputEOS) { in onQueueFilled()
445 mSawInputEOS = false; in drainDecoder()
DSoftFlacDecoder.h62 bool mSawInputEOS; member
/frameworks/av/media/libstagefright/codecs/amrnb/enc/
DSoftAMRNBEncoder.cpp53 mSawInputEOS(false), in SoftAMRNBEncoder()
316 if (mSawInputEOS || inQueue.empty()) { in onQueueFilled()
348 mSawInputEOS = true; in onQueueFilled()
396 if (mSawInputEOS) { in onQueueFilled()
DSoftAMRNBEncoder.h59 bool mSawInputEOS; member
/frameworks/av/media/libstagefright/codecs/amrwbenc/
DSoftAMRWBEncoder.cpp54 mSawInputEOS(false), in SoftAMRWBEncoder()
363 if (mSawInputEOS || inQueue.empty()) { in onQueueFilled()
395 mSawInputEOS = true; in onQueueFilled()
451 if (mSawInputEOS) { in onQueueFilled()
DSoftAMRWBEncoder.h65 bool mSawInputEOS; member
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/
DSoftMPEG4Encoder.cpp79 mSawInputEOS(false), in SoftMPEG4Encoder()
380 if (mSignalledError || mSawInputEOS) { in onQueueFilled()
393 while (!mSawInputEOS && !inQueue.empty() && !outQueue.empty()) { in onQueueFilled()
433 mSawInputEOS = true; in onQueueFilled()
DSoftMPEG4Encoder.h71 bool mSawInputEOS; member
/frameworks/av/media/libstagefright/codecs/aacenc/
DSoftAACEncoder2.cpp67 mSawInputEOS(false), in SoftAACEncoder2()
550 if (mSawInputEOS || inQueue.empty()) { in onQueueFilled()
595 mSawInputEOS = true; in onQueueFilled()
695 if (mSawInputEOS) { in onQueueFilled()
729 mSawInputEOS = false; in onReset()
DSoftAACEncoder2.h68 bool mSawInputEOS; member
/frameworks/av/media/codec2/components/avc/
DC2SoftAvcEnc.cpp439 mSawInputEOS(false), in C2SoftAvcEnc()
1237 if (mSawInputEOS) { in setEncodeArgs()
1396 if (mSawInputEOS) { in finishWork()
1515 mSawInputEOS = true; in process()
1542 if (mSawInputEOS && work->input.buffers.empty()) break; in process()
1636 if (mSawInputEOS) { in process()
DC2SoftAvcEnc.h170 bool mSawInputEOS; member
/frameworks/av/media/libstagefright/codecs/avcenc/
DSoftAVCEnc.cpp142 mSawInputEOS(false), in SoftAVC()
1210 if (mSawInputEOS){ in setEncodeArgs()
1306 if (mSawInputEOS) { in onQueueFilled()
1382 mSawInputEOS = true; in onQueueFilled()
DSoftAVCEnc.h177 bool mSawInputEOS; member