Searched defs:timeUs (Results 1 - 25 of 61) sorted by relevance

123

/frameworks/av/include/media/
H A DMediaMetadataRetrieverInterface.h39 virtual VideoFrame* getFrameAtTime(int64_t timeUs, int option) = 0;
51 virtual VideoFrame* getFrameAtTime(int64_t timeUs, int option) { return NULL; } argument
/frameworks/av/media/libstagefright/rtsp/
H A Drtp_test.cpp213 int64_t timeUs; local
214 CHECK(buffer->meta_data()->findInt64(kKeyTime, &timeUs));
217 buffer->range_length(), timeUs / 1E6);
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DStreamingSource.cpp176 int64_t timeUs; local
177 CHECK((*accessUnit)->meta()->findInt64("timeUs", &timeUs));
178 ALOGV("dequeueAccessUnit timeUs=%lld us", timeUs);
H A DGenericSource.cpp254 int64_t timeUs; local
255 CHECK(mbuf->meta_data()->findInt64(kKeyTime, &timeUs));
257 buffer->meta()->setInt64("timeUs", timeUs);
260 *actualTimeUs = timeUs;
/frameworks/av/media/libstagefright/
H A DMediaMuxer.cpp136 int64_t timeUs, uint32_t flags) {
160 sampleMetaData->setInt64(kKeyTime, timeUs);
162 sampleMetaData->setInt64(kKeyDecodingTime, timeUs);
135 writeSampleData(const sp<ABuffer> &buffer, size_t trackIndex, int64_t timeUs, uint32_t flags) argument
H A DVBRISeeker.cpp148 bool VBRISeeker::getOffsetForTime(int64_t *timeUs, off64_t *pos) { argument
158 while (segmentIndex < mSegments.size() && nowUs < *timeUs) {
163 ALOGV("getOffsetForTime %lld us => 0x%08lx", *timeUs, *pos);
165 *timeUs = nowUs;
H A DXINGSeeker.cpp46 bool XINGSeeker::getOffsetForTime(int64_t *timeUs, off64_t *pos) { argument
51 float percent = (float)(*timeUs) * 100 / mDurationUs;
H A DAudioSource.cpp237 int64_t timeUs; local
238 CHECK(buffer->meta_data()->findInt64(kKeyTime, &timeUs));
239 int64_t elapsedTimeUs = timeUs - mStartTimeUs;
275 int64_t timeUs = systemTime() / 1000ll; local
277 ALOGV("dataCallbackTimestamp: %lld us", timeUs);
285 if (mNumFramesReceived == 0 && timeUs < mStartTimeUs) {
287 ALOGV("Drop audio data at %lld/%lld us", timeUs, mStartTimeUs);
292 mInitialReadTimeUs = timeUs;
295 mStartTimeUs = timeUs - mStartTimeUs;
330 queueInputBuffer_l(lostAudioBuffer, timeUs);
347 queueInputBuffer_l(MediaBuffer *buffer, int64_t timeUs) argument
[all...]
/frameworks/av/media/libstagefright/timedtext/
H A DTimedText3GPPSource.cpp66 int64_t timeUs, const MediaBuffer *textBuffer, Parcel *parcel) {
82 (const uint8_t *)data, size, flag, timeUs / 1000, parcel);
65 extractAndAppendLocalDescriptions( int64_t timeUs, const MediaBuffer *textBuffer, Parcel *parcel) argument
H A DTimedTextDriver.cpp163 status_t TimedTextDriver::seekToAsync(int64_t timeUs) { argument
170 mPlayer->seekToAsync(timeUs);
175 mPlayer->seekToAsync(timeUs);
179 mPlayer->seekToAsync(timeUs);
H A DTimedTextPlayer.cpp69 void TimedTextPlayer::seekToAsync(int64_t timeUs) { argument
71 msg->setInt64("seekTimeUs", timeUs);
259 void TimedTextPlayer::postTextEvent(const sp<ParcelEvent>& parcel, int64_t timeUs) { argument
260 int64_t delayUs = delayUsFromCurrentTime(timeUs);
266 msg->setInt64("fireTimeUs", timeUs);
H A DTimedTextSRTSource.cpp270 int64_t timeUs, const AString &text, Parcel *parcel) {
278 (const uint8_t *)data, size, flag, timeUs / 1000, parcel);
283 int TimedTextSRTSource::compareExtendedRangeAndTime(size_t index, int64_t timeUs) { argument
288 if (timeUs >= startTimeUs && timeUs < endTimeUs) {
290 } else if (endTimeUs <= timeUs) {
269 extractAndAppendLocalDescriptions( int64_t timeUs, const AString &text, Parcel *parcel) argument
/frameworks/av/media/libstagefright/wifi-display/source/
H A DMediaPuller.cpp162 int64_t timeUs; local
163 CHECK(mbuf->meta_data()->findInt64(kKeyTime, &timeUs));
171 accessUnit->meta()->setInt64("timeUs", timeUs);
/frameworks/av/libvideoeditor/lvpp/
H A DVideoEditorSRC.cpp170 int64_t timeUs = mInitialTimeStampUs + totalOutDurationUs; local
171 to->setInt64(kKeyTime, timeUs);
/frameworks/av/media/libmedia/
H A Dmediametadataretriever.cpp127 sp<IMemory> MediaMetadataRetriever::getFrameAtTime(int64_t timeUs, int option) argument
129 ALOGV("getFrameAtTime: time(%lld us) option(%d)", timeUs, option);
135 return mRetriever->getFrameAtTime(timeUs, option);
H A DIMediaMetadataRetriever.cpp119 sp<IMemory> getFrameAtTime(int64_t timeUs, int option) argument
121 ALOGV("getTimeAtTime: time(%lld us) and option(%d)", timeUs, option);
124 data.writeInt64(timeUs);
223 int64_t timeUs = data.readInt64(); local
225 ALOGV("getTimeAtTime: time(%lld us) and option(%d)", timeUs, option);
229 sp<IMemory> bitmap = getFrameAtTime(timeUs, option);
/frameworks/av/media/libmediaplayerservice/
H A DMetadataRetrieverClient.cpp178 sp<IMemory> MetadataRetrieverClient::getFrameAtTime(int64_t timeUs, int option) argument
180 ALOGV("getFrameAtTime: time(%lld us) option(%d)", timeUs, option);
187 VideoFrame *frame = mRetriever->getFrameAtTime(timeUs, option);
/frameworks/av/media/libstagefright/mpeg2ts/
H A DAnotherPacketSource.cpp116 int64_t timeUs; local
117 CHECK(buffer->meta()->findInt64("timeUs", &timeUs));
121 mediaBuffer->meta_data()->setInt64(kKeyTime, timeUs);
147 CHECK(buffer->meta()->findInt64("timeUs", &mLastQueuedTimeUs));
148 ALOGV("queueAccessUnit timeUs=%lld us (%.2f secs)", mLastQueuedTimeUs, mLastQueuedTimeUs / 1E6);
220 int64_t timeUs; local
221 if (buffer->meta()->findInt64("timeUs", &timeUs)) {
223 time1 = timeUs;
238 nextBufferTime(int64_t *timeUs) argument
[all...]
/frameworks/base/media/jni/
H A Dandroid_media_MediaMuxer.cpp76 jobject byteBuf, jint offset, jint size, jlong timeUs, jint flags) {
122 status_t err = muxer->writeSampleData(buffer, trackIndex, timeUs, flags);
74 android_media_MediaMuxer_writeSampleData( JNIEnv *env, jclass clazz, jint nativeObject, jint trackIndex, jobject byteBuf, jint offset, jint size, jlong timeUs, jint flags) argument
/frameworks/av/cmds/stagefright/
H A DSimplePlayer.cpp492 int64_t timeUs; local
493 CHECK_EQ(mExtractor->getSampleTime(&timeUs), (status_t)OK);
499 timeUs,
H A Dcodec.cpp176 int64_t timeUs; local
177 err = extractor->getSampleTime(&timeUs);
186 timeUs,
212 0ll /* timeUs */,
H A Dmuxer.cpp158 int64_t timeUs; local
159 err = extractor->getSampleTime(&timeUs);
173 if (enableTrim && timeUs > trimStartTimeUs &&
174 timeUs <= trimEndTimeUs) {
176 trimOffsetTimeUs = timeUs;
182 if (enableTrim && timeUs > trimEndTimeUs) {
189 timeUs - trimOffsetTimeUs, sampleFlags);
/frameworks/av/include/media/stagefright/
H A DMPEG4Writer.h106 void setStartTimestampUs(int64_t timeUs);
120 Chunk(Track *track, int64_t timeUs, List<MediaBuffer *> samples) argument
121 : mTrack(track), mTimeStampUs(timeUs), mSamples(samples) {
190 void trackProgressStatus(size_t trackId, int64_t timeUs, status_t err = OK);
/frameworks/av/media/libstagefright/codecs/aacenc/
H A DAACEncoder.cpp260 int64_t timeUs; local
261 if (mInputBuffer->meta_data()->findInt64(kKeyDriftTime, &timeUs)) {
262 wallClockTimeUs = timeUs;
264 if (mInputBuffer->meta_data()->findInt64(kKeyAnchorTime, &timeUs)) {
265 mAnchorTimeUs = timeUs;
/frameworks/av/media/libstagefright/wifi-display/
H A DMediaSender.cpp231 int64_t timeUs; local
233 CHECK(accessUnit->meta()->findInt64("timeUs", &timeUs));
235 if (minTrackIndex < 0 || timeUs < minTimeUs) {
237 minTimeUs = timeUs;
258 int64_t timeUs; local
259 CHECK(accessUnit->meta()->findInt64("timeUs", &timeUs));
260 tsPackets->meta()->setInt64("timeUs", timeUs);
453 int64_t timeUs = ALooper::GetNowUs(); local
[all...]

Completed in 3724 milliseconds

123