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

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

Completed in 186 milliseconds