Home
last modified time | relevance | path

Searched refs:finalResult (Results 1 – 18 of 18) sorted by relevance

/frameworks/av/media/libstagefright/mpeg2ts/
DAnotherPacketSource.h47 bool hasBufferAvailable(status_t *finalResult);
50 bool hasDataBufferAvailable(status_t *finalResult);
54 size_t getAvailableBufferCount(status_t *finalResult);
58 int64_t getBufferedDurationUs(status_t *finalResult);
DAnotherPacketSource.cpp402 bool AnotherPacketSource::hasBufferAvailable(status_t *finalResult) { in hasBufferAvailable() argument
404 *finalResult = OK; in hasBufferAvailable()
412 *finalResult = mEOSResult; in hasBufferAvailable()
416 bool AnotherPacketSource::hasDataBufferAvailable(status_t *finalResult) { in hasDataBufferAvailable() argument
418 *finalResult = OK; in hasDataBufferAvailable()
430 *finalResult = mEOSResult; in hasDataBufferAvailable()
434 size_t AnotherPacketSource::getAvailableBufferCount(status_t *finalResult) { in getAvailableBufferCount() argument
437 *finalResult = OK; in getAvailableBufferCount()
444 *finalResult = mEOSResult; in getAvailableBufferCount()
448 int64_t AnotherPacketSource::getBufferedDurationUs(status_t *finalResult) { in getBufferedDurationUs() argument
[all …]
DMPEG2TSExtractor.cpp633 status_t finalResult; in feedUntilBufferAvailable() local
634 while (!impl->hasBufferAvailable(&finalResult)) { in feedUntilBufferAvailable()
635 if (finalResult != OK) { in feedUntilBufferAvailable()
636 return finalResult; in feedUntilBufferAvailable()
DMPEG2PSExtractor.cpp667 status_t finalResult; in read() local
668 while (!mSource->hasBufferAvailable(&finalResult)) { in read()
669 if (finalResult != OK) { in read()
DATSParser.cpp77 void signalEOS(status_t finalResult);
169 void signalEOS(status_t finalResult);
353 void ATSParser::Program::signalEOS(status_t finalResult) { in signalEOS() argument
355 mStreams.editValueAt(i)->signalEOS(finalResult); in signalEOS()
1057 void ATSParser::Stream::signalEOS(status_t finalResult) { in signalEOS() argument
1059 mSource->signalEOS(finalResult); in signalEOS()
1741 void ATSParser::signalEOS(status_t finalResult) { in signalEOS() argument
1742 if (finalResult == (status_t) OK) { in signalEOS()
1748 mPrograms.editItemAt(i)->signalEOS(finalResult); in signalEOS()
DATSParser.h127 void signalEOS(status_t finalResult);
/frameworks/av/media/libmediaplayerservice/nuplayer/
DRTSPSource.cpp230 status_t finalResult; in dequeueAccessUnit() local
231 if (!source->hasBufferAvailable(&finalResult)) { in dequeueAccessUnit()
232 if (finalResult == OK) { in dequeueAccessUnit()
262 return finalResult; in dequeueAccessUnit()
350 status_t finalResult; in checkBuffering() local
357 int64_t bufferedDurationUs = src->getBufferedDurationUs(&finalResult); in checkBuffering()
440 status_t finalResult; in sourceReachedEOS() local
442 !source->hasBufferAvailable(&finalResult) && in sourceReachedEOS()
443 finalResult == ERROR_END_OF_STREAM); in sourceReachedEOS()
691 int32_t finalResult; in onMessageReceived() local
[all …]
DStreamingSource.cpp271 status_t finalResult; in dequeueAccessUnit() local
272 if (!source->hasBufferAvailable(&finalResult)) { in dequeueAccessUnit()
273 return finalResult == OK ? -EWOULDBLOCK : finalResult; in dequeueAccessUnit()
DNuPlayerRenderer.h52 void queueEOS(bool audio, status_t finalResult);
277 void notifyEOS(bool audio, status_t finalResult, int64_t delayUs = 0);
278 void notifyEOS_l(bool audio, status_t finalResult, int64_t delayUs = 0);
DNuPlayerRenderer.cpp170 void NuPlayer::Renderer::queueEOS(bool audio, status_t finalResult) { in queueEOS() argument
171 CHECK_NE(finalResult, (status_t)OK); in queueEOS()
176 msg->setInt32("finalResult", finalResult); in queueEOS()
625 status_t finalResult; in onMessageReceived() local
626 CHECK(msg->findInt32("finalResult", &finalResult)); in onMessageReceived()
627 notifyEOS(true /* audio */, finalResult); in onMessageReceived()
1421 void NuPlayer::Renderer::notifyEOS(bool audio, status_t finalResult, int64_t delayUs) { in notifyEOS() argument
1423 notifyEOS_l(audio, finalResult, delayUs); in notifyEOS()
1426 void NuPlayer::Renderer::notifyEOS_l(bool audio, status_t finalResult, int64_t delayUs) { in notifyEOS_l() argument
1430 msg->setInt32("finalResult", finalResult); in notifyEOS_l()
[all …]
DGenericSource.cpp867 status_t finalResult; in dequeueAccessUnit() local
868 if (!track->mPackets->hasBufferAvailable(&finalResult)) { in dequeueAccessUnit()
869 if (finalResult == OK) { in dequeueAccessUnit()
874 return finalResult; in dequeueAccessUnit()
881 if (track->mPackets->getAvailableBufferCount(&finalResult) < 2) { in dequeueAccessUnit()
DNuPlayer.cpp1225 int32_t finalResult; in onMessageReceived() local
1226 CHECK(msg->findInt32("finalResult", &finalResult)); in onMessageReceived()
1234 if (finalResult == ERROR_END_OF_STREAM) { in onMessageReceived()
1238 audio ? "audio" : "video", finalResult); in onMessageReceived()
1241 MEDIA_ERROR, MEDIA_ERROR_UNKNOWN, finalResult); in onMessageReceived()
/frameworks/av/media/libstagefright/httplive/
DLiveDataSource.cpp154 void LiveDataSource::queueEOS(status_t finalResult) { in queueEOS() argument
155 CHECK_NE(finalResult, (status_t)OK); in queueEOS()
159 mFinalResult = finalResult; in queueEOS()
DLiveDataSource.h39 void queueEOS(status_t finalResult);
DLiveSession.cpp336 status_t finalResult = OK; in dequeueAccessUnit() local
350 if (!packetSource->hasDataBufferAvailable(&finalResult)) { in dequeueAccessUnit()
352 streamStr, finalResult); in dequeueAccessUnit()
354 if (finalResult == OK) { in dequeueAccessUnit()
357 return finalResult; in dequeueAccessUnit()
1976 status_t finalResult = OK; in swapPacketSource() local
1978 while (aps2->hasBufferAvailable(&finalResult) && finalResult == OK && in swapPacketSource()
2183 status_t finalResult; in checkBuffering() local
2185 mPacketSources[i]->getBufferedDurationUs(&finalResult); in checkBuffering()
DPlaylistFetcher.cpp846 status_t finalResult = OK; in onMonitorQueue() local
852 packetSource->getBufferedDurationUs(&finalResult); in onMonitorQueue()
866 mPacketSources.valueAt(i)->getBufferedDurationUs(&finalResult); in onMonitorQueue()
880 if (finalResult == OK && bufferedDurationUs < kMinBufferedDurationUs) { in onMonitorQueue()
1812 status_t finalResult; in extractAndQueueAccessUnitsFromTs() local
1813 while (source->hasBufferAvailable(&finalResult) in extractAndQueueAccessUnitsFromTs()
/frameworks/base/core/java/android/hardware/camera2/impl/
DCameraDeviceImpl.java1919 CaptureResult finalResult; in onResultReceived() local
1961 finalResult = resultAsCapture; in onResultReceived()
2005 finalResult = resultAsCapture; in onResultReceived()
2011 mFrameNumberTracker.updateTracker(frameNumber, finalResult, isPartialResult, in onResultReceived()
/frameworks/av/media/libstagefright/rtsp/
DMyHandler.h1931 void postQueueEOS(size_t trackIndex, status_t finalResult) { in postQueueEOS()
1935 msg->setInt32("finalResult", finalResult); in postQueueEOS()