Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/timedtext/test/
DTimedTextSRTSource_test.cpp111 int64_t startTimeUs; member in android::test::TimedTextSRTSourceTest
120 err = mSource->read(&startTimeUs, &endTimeUs, &parcel); in TEST_F()
127 err = mSource->read(&startTimeUs, &endTimeUs, &parcel); in TEST_F()
133 err = mSource->read(&startTimeUs, &endTimeUs, &parcel); in TEST_F()
139 err = mSource->read(&startTimeUs, &endTimeUs, &parcel); in TEST_F()
145 err = mSource->read(&startTimeUs, &endTimeUs, &parcel); in TEST_F()
152 err = mSource->read(&startTimeUs, &endTimeUs, &parcel, &options); in TEST_F()
154 EXPECT_EQ(1 * kSecToUsec, startTimeUs); in TEST_F()
161 err = mSource->read(&startTimeUs, &endTimeUs, &parcel, &options); in TEST_F()
165 err = mSource->read(&startTimeUs, &endTimeUs, &parcel, &options); in TEST_F()
[all …]
/frameworks/av/media/libstagefright/timedtext/
DTimedTextSRTSource.cpp66 int64_t *startTimeUs, in read() argument
71 status_t err = getText(options, &text, startTimeUs, endTimeUs); in read()
76 CHECK_GE(*startTimeUs, 0); in read()
77 extractAndAppendLocalDescriptions(*startTimeUs, text, parcel); in read()
87 int64_t startTimeUs; in scanFile() local
92 status_t err = getNextSubtitleInfo(&offset, &startTimeUs, &info); in scanFile()
95 mTextVector.add(startTimeUs, info); in scanFile()
126 off64_t *offset, int64_t *startTimeUs, TextInfo *info) { in getNextSubtitleInfo() argument
150 *startTimeUs = ((hour1 * 3600 + min1 * 60 + sec1) * 1000 + msec1) * 1000ll; in getNextSubtitleInfo()
152 if (info->endTimeUs <= *startTimeUs) { in getNextSubtitleInfo()
[all …]
DTimedText3GPPSource.cpp42 int64_t *startTimeUs, int64_t *endTimeUs, Parcel *parcel, in read() argument
50 textBuffer->meta_data()->findInt64(kKeyTime, startTimeUs); in read()
51 CHECK_GE(*startTimeUs, 0); in read()
52 extractAndAppendLocalDescriptions(*startTimeUs, textBuffer, parcel); in read()
DTimedTextSRTSource.h39 int64_t *startTimeUs,
65 off64_t *offset, int64_t *startTimeUs, TextInfo *info);
69 AString *text, int64_t *startTimeUs, int64_t *endTimeUs);
DTimedTextPlayer.cpp227 int64_t startTimeUs = 0; in doRead() local
231 status_t err = mSource->read(&startTimeUs, &endTimeUs, in doRead()
251 postTextEvent(parcelEvent, startTimeUs); in doRead()
253 CHECK_GE(endTimeUs, startTimeUs); in doRead()
DTimedTextSource.h46 int64_t *startTimeUs,
DTimedText3GPPSource.h36 int64_t *startTimeUs,
/frameworks/av/media/libstagefright/mpeg2ts/
DAnotherPacketSource.cpp364 int64_t startTimeUs; in getEstimatedDurationUs() local
365 buffer->meta()->findInt64("timeUs", &startTimeUs); in getEstimatedDurationUs()
366 if (startTimeUs < 0) { in getEstimatedDurationUs()
381 if (endTimeUs > startTimeUs) { in getEstimatedDurationUs()
382 diffUs = endTimeUs - startTimeUs; in getEstimatedDurationUs()
384 diffUs = startTimeUs - endTimeUs; in getEstimatedDurationUs()
/frameworks/av/media/libstagefright/httplive/
DPlaylistFetcher.cpp342 int64_t startTimeUs, in startAsync() argument
366 msg->setInt64("startTimeUs", startTimeUs); in startAsync()
458 int64_t startTimeUs; in onStart() local
462 CHECK(msg->findInt64("startTimeUs", &startTimeUs)); in onStart()
499 if (startTimeUs >= 0) { in onStart()
500 mStartTimeUs = startTimeUs; in onStart()
1350 int64_t startTimeUs; in extractAndQueueAccessUnitsFromTs() local
1351 if (!mStartTimeUsNotify->findInt64(key, &startTimeUs)) { in extractAndQueueAccessUnitsFromTs()
1609 int64_t startTimeUs = unitTimeUs; in extractAndQueueAccessUnits() local
1611 startTimeUs -= mFirstTimeUs; in extractAndQueueAccessUnits()
[all …]
DLiveSession.cpp1473 int64_t startTimeUs = -1; in onChangeConfiguration3() local
1490 startTimeUs = timeUs; in onChangeConfiguration3()
1516 if (startTimeUs < 0 || tmpSegmentUs < segmentStartTimeUs) { in onChangeConfiguration3()
1517 startTimeUs = tmpUs; in onChangeConfiguration3()
1519 } else if (tmpSegmentUs == segmentStartTimeUs && tmpUs < startTimeUs) { in onChangeConfiguration3()
1520 startTimeUs = tmpUs; in onChangeConfiguration3()
1559 startTimeUs < 0 ? mLastSeekTimeUs : startTimeUs, in onChangeConfiguration3()
DPlaylistFetcher.h64 int64_t startTimeUs = -1ll, // starting timestamps
/frameworks/av/media/libstagefright/http/
DMediaHTTP.cpp86 int64_t startTimeUs = ALooper::GetNowUs(); in readAt() local
110 int64_t delayUs = ALooper::GetNowUs() - startTimeUs; in readAt()
/frameworks/av/media/libstagefright/
DAudioSource.cpp115 int64_t startTimeUs; in start() local
116 if (params && params->findInt64(kKeyTime, &startTimeUs)) { in start()
117 mStartTimeUs = startTimeUs; in start()
DSurfaceMediaSource.cpp148 int64_t startTimeUs; in start() local
151 if (params->findInt64(kKeyTime, &startTimeUs)) { in start()
152 mStartTimeNs = startTimeUs * 1000; in start()
DMediaCodecSource.cpp616 int64_t startTimeUs; in onStart() local
617 if (!params || !params->findInt64(kKeyTime, &startTimeUs)) { in onStart()
618 startTimeUs = -1ll; in onStart()
620 resume(startTimeUs); in onStart()
DCameraSource.cpp649 int64_t startTimeUs; in start() local
650 if (meta->findInt64(kKeyTime, &startTimeUs)) { in start()
651 mStartTimeUs = startTimeUs; in start()
DMPEG4Writer.cpp1716 int64_t startTimeUs; in start() local
1717 if (params == NULL || !params->findInt64(kKeyTime, &startTimeUs)) { in start()
1718 startTimeUs = 0; in start()
1720 mStartTimeRealUs = startTimeUs; in start()
1744 startTimeUs += startTimeOffsetUs; in start()
1748 meta->setInt64(kKeyTime, startTimeUs); in start()
DOMXCodec.cpp3754 int64_t startTimeUs = 0; in start() local
3757 startTimeUs = timeUs; in start()
3759 params->setInt64(kKeyTime, startTimeUs); in start()
/frameworks/av/media/libstagefright/omx/
DGraphicBufferSource.h131 void setSkipFramesBeforeUs(int64_t startTimeUs);
/frameworks/av/cmds/stagefright/
Dcodec.cpp138 int64_t startTimeUs = ALooper::GetNowUs(); in decode() local
288 int64_t elapsedTimeUs = ALooper::GetNowUs() - startTimeUs; in decode()
DSimplePlayer.cpp629 int64_t startTimeUs = ALooper::GetNowUs(); in renderAudio() local
636 int64_t delayUs = ALooper::GetNowUs() - startTimeUs; in renderAudio()
/frameworks/base/media/java/android/media/
DTtmlRenderer.java663 private List<TtmlNode> getActiveNodes(long startTimeUs, long endTimeUs) { in getActiveNodes() argument
667 if (node.isActive(startTimeUs, endTimeUs)) { in getActiveNodes()
/frameworks/av/media/libmediaplayerservice/
DStagefrightRecorder.cpp1657 int64_t startTimeUs = systemTime() / 1000; in setupMPEG4orWEBMMetaData() local
1658 (*meta)->setInt64(kKeyTime, startTimeUs); in setupMPEG4orWEBMMetaData()