HomeSort by relevance Sort by last modified time
    Searched defs:timeUs (Results 1 - 25 of 38) sorted by null

1 2

  /frameworks/base/media/libstagefright/rtsp/
rtp_test.cpp 213 int64_t timeUs;
214 CHECK(buffer->meta_data()->findInt64(kKeyTime, &timeUs));
217 buffer->range_length(), timeUs / 1E6);
ARTPWriter.cpp 574 int64_t timeUs;
575 CHECK(mediaBuf->meta_data()->findInt64(kKeyTime, &timeUs));
577 uint32_t rtpTime = mRTPTimeBase + (timeUs * 9 / 100ll);
669 int64_t timeUs;
670 CHECK(mediaBuf->meta_data()->findInt64(kKeyTime, &timeUs));
672 uint32_t rtpTime = mRTPTimeBase + (timeUs * 9 / 100ll);
754 int64_t timeUs;
755 CHECK(mediaBuf->meta_data()->findInt64(kKeyTime, &timeUs));
756 uint32_t rtpTime = mRTPTimeBase + (timeUs / (isWide ? 250 : 125));
MyTransmitter.h 638 int64_t timeUs;
639 CHECK(mediaBuf->meta_data()->findInt64(kKeyTime, &timeUs));
641 uint32_t rtpTime = mRTPTimeBase + (timeUs * 9 / 100ll);
  /frameworks/base/media/libstagefright/codecs/amrnb/enc/
AMRNBEncoder.cpp 177 int64_t timeUs;
178 if (mInputBuffer->meta_data()->findInt64(kKeyDriftTime, &timeUs)) {
179 wallClockTimeUs = timeUs;
181 if (mInputBuffer->meta_data()->findInt64(kKeyAnchorTime, &timeUs)) {
182 mAnchorTimeUs = timeUs;
  /frameworks/base/media/libstagefright/mpeg2ts/
AnotherPacketSource.cpp 113 int64_t timeUs;
114 CHECK(buffer->meta()->findInt64("timeUs", &timeUs));
118 mediaBuffer->meta_data()->setInt64(kKeyTime, timeUs);
144 int64_t timeUs;
145 CHECK(buffer->meta()->findInt64("timeUs", &timeUs));
146 LOGV("queueAccessUnit timeUs=%lld us (%.2f secs)", timeUs, timeUs / 1E6)
    [all...]
MPEG2PSExtractor.cpp 634 int64_t timeUs;
636 timeUs = (PTS * 100) / 9;
638 timeUs = 0;
641 status_t err = mQueue->appendData(data, size, timeUs);
ATSParser.cpp 755 int64_t timeUs = 0ll; // no presentation timestamp available.
757 timeUs = mProgram->convertPTSToTimestamp(PTS);
760 status_t err = mQueue->appendData(data, size, timeUs);
ESQueue.cpp 121 const void *data, size_t size, int64_t timeUs) {
278 info.mTimestampUs = timeUs;
283 LOGI("size = %d, timeUs = %.2f secs", size, timeUs / 1E6);
382 int64_t timeUs = -1;
388 timeUs = tmpUs;
408 if (timeUs >= 0) {
409 accessUnit->meta()->setInt64("timeUs", timeUs);
418 int64_t timeUs = -1
    [all...]
  /frameworks/base/media/libmedia/
IMediaMetadataRetriever.cpp 119 sp<IMemory> getFrameAtTime(int64_t timeUs, int option)
121 LOGV("getTimeAtTime: time(%lld us) and option(%d)", timeUs, option);
124 data.writeInt64(timeUs);
209 int64_t timeUs = data.readInt64();
211 LOGV("getTimeAtTime: time(%lld us) and option(%d)", timeUs, option);
215 sp<IMemory> bitmap = getFrameAtTime(timeUs, option);
  /frameworks/base/media/libstagefright/
AudioSource.cpp 220 int64_t timeUs;
221 CHECK(buffer->meta_data()->findInt64(kKeyTime, &timeUs));
222 int64_t elapsedTimeUs = timeUs - mStartTimeUs;
258 const AudioRecord::Buffer& audioBuffer, int64_t timeUs) {
259 LOGV("dataCallbackTimestamp: %lld us", timeUs);
267 if (mNumFramesReceived == 0 && timeUs < mStartTimeUs) {
269 LOGV("Drop audio data at %lld/%lld us", timeUs, mStartTimeUs);
274 mInitialReadTimeUs = timeUs;
277 mStartTimeUs = timeUs - mStartTimeUs;
320 buffer->meta_data()->setInt64(kKeyDriftTime, timeUs - mInitialReadTimeUs)
    [all...]
StagefrightMetadataRetriever.cpp 196 int64_t timeUs;
197 CHECK(buffer->meta_data()->findInt64(kKeyTime, &timeUs));
199 if (timeUs != thumbNailTime) {
203 LOGV("thumbNailTime = %lld us, timeUs = %lld us, mime = %s",
204 thumbNailTime, timeUs, mime);
277 int64_t timeUs, int option) {
279 LOGV("getFrameAtTime: %lld us option: %d", timeUs, option);
341 timeUs, option);
348 timeUs, option);
CameraSource.cpp 813 int64_t timeUs = mStartTimeUs + (timestampUs - mFirstFrameTimeUs);
814 mFrameTimes.push_back(timeUs);
816 mStartTimeUs, timeUs);
FLACExtractor.cpp 647 int64_t timeUs = (1000000LL * sampleNumber) / getSampleRate();
648 buffer->meta_data()->setInt64(kKeyTime, timeUs);
MPEG2TSWriter.cpp 243 out->meta()->setInt64("timeUs", 0ll);
263 int64_t timeUs;
264 CHECK(buffer->meta_data()->findInt64(kKeyTime, &timeUs));
265 copy->meta()->setInt64("timeUs", timeUs);
294 int64_t timeUs;
295 CHECK(buffer->meta_data()->findInt64(kKeyTime, &timeUs));
297 mAACBuffer->meta()->setInt64("timeUs", timeUs);
450 int64_t timeUs;
    [all...]
  /frameworks/base/media/libstagefright/codecs/aacenc/
AACEncoder.cpp 260 int64_t timeUs;
261 if (mInputBuffer->meta_data()->findInt64(kKeyDriftTime, &timeUs)) {
262 wallClockTimeUs = timeUs;
264 if (mInputBuffer->meta_data()->findInt64(kKeyAnchorTime, &timeUs)) {
265 mAnchorTimeUs = timeUs;
  /frameworks/base/media/libstagefright/codecs/amrwbenc/
AMRWBEncoder.cpp 227 int64_t timeUs;
228 if (mInputBuffer->meta_data()->findInt64(kKeyDriftTime, &timeUs)) {
229 wallClockTimeUs = timeUs;
231 if (mInputBuffer->meta_data()->findInt64(kKeyAnchorTime, &timeUs)) {
232 mAnchorTimeUs = timeUs;
  /frameworks/base/media/libstagefright/codecs/m4v_h263/enc/
M4vH263Encoder.cpp 417 int64_t timeUs;
418 CHECK(mInputBuffer->meta_data()->findInt64(kKeyTime, &timeUs));
424 (mNextModTimeUs > timeUs || mPrevTimestampUs == timeUs)) {
434 CHECK(mPrevTimestampUs < timeUs);
435 mPrevTimestampUs = timeUs;
438 outputBuffer->meta_data()->setInt64(kKeyTime, timeUs);
453 vin.timestamp = (timeUs + 500) / 1000; // in ms
  /frameworks/media/libvideoeditor/lvpp/
VideoEditorSRC.cpp 157 int64_t timeUs = mInitialTimeStampUs + totalOutDurationUs;
158 to->setInt64(kKeyTime, timeUs);
NativeWindowRenderer.cpp 383 int64_t timeUs;
384 CHECK(buffer->meta_data()->findInt64(kKeyTime, &timeUs));
385 native_window_set_buffers_timestamp(anw, timeUs * 1000);
PreviewPlayer.cpp 670 status_t PreviewPlayer::seekTo(int64_t timeUs) {
674 return seekTo_l(timeUs);
903 int64_t timeUs;
904 CHECK(mVideoBuffer->meta_data()->findInt64(kKeyTime, &timeUs));
908 mVideoTimeUs = timeUs;
913 int64_t playbackTimeRemaining = (mPlayEndTimeMsec*1000LL) - timeUs;
924 finishSeekIfNecessary(timeUs);
945 mTimeSourceDeltaUs = ts->getRealTimeUs() - timeUs;
956 int64_t latenessUs = nowUs - timeUs;
963 ts->getRealTimeUs(),timeUs);
    [all...]
  /frameworks/base/media/libstagefright/codecs/avc/enc/
AVCEncoder.cpp 492 int64_t timeUs;
493 CHECK(mInputBuffer->meta_data()->findInt64(kKeyTime, &timeUs));
494 outputBuffer->meta_data()->setInt64(kKeyTime, timeUs);
499 if (mNumInputFrames >= 1 && mPrevTimestampUs == timeUs) {
509 CHECK(mPrevTimestampUs < timeUs);
510 mPrevTimestampUs = timeUs;
516 videoInput.coding_timestamp = (timeUs + 500) / 1000; // in ms
607 int64_t timeUs;
608 CHECK(mInputBuffer->meta_data()->findInt64(kKeyTime, &timeUs));
609 mOutputBuffers[index]->meta_data()->setInt64(kKeyTime, timeUs);
    [all...]
  /frameworks/base/media/libstagefright/timedtext/
TimedTextPlayer.cpp 236 int64_t positionUs, timeUs;
244 mTextBuffer->meta_data()->findInt64(kKeyTime, &timeUs);
248 &mText, &timeUs, &endTimeUs, &options) != OK) {
253 if (timeUs > 0) {
254 extractAndAppendLocalDescriptions(timeUs);
267 if (timeUs <= positionUs + 100000ll) {
270 postTextEvent(timeUs - positionUs - 100000ll);
347 status_t TimedTextPlayer::extractAndAppendLocalDescriptions(int64_t timeUs) {
373 (const uint8_t *)data, size, flag, timeUs / 1000, &mData);
  /frameworks/base/cmds/stagefright/
sf2.cpp 419 outBuffer->meta()->setInt64("timeUs", 0);
469 int64_t timeUs;
470 CHECK(inBuffer->meta_data()->findInt64(kKeyTime, &timeUs));
472 outBuffer->meta()->setInt64("timeUs", timeUs);
  /frameworks/base/media/libstagefright/httplive/
LiveSession.cpp 98 void LiveSession::seekTo(int64_t timeUs) {
103 msg->setInt64("timeUs", timeUs);
892 int64_t timeUs;
893 CHECK(msg->findInt64("timeUs", &timeUs));
895 mSeekTimeUs = timeUs;
  /frameworks/base/media/libstagefright/matroska/
MatroskaExtractor.cpp 371 int64_t timeUs = mBlockIter.blockTimeUs();
377 mbuf->meta_data()->setInt64(kKeyTime, timeUs);
494 int64_t timeUs;
495 CHECK(frame->meta_data()->findInt64(kKeyTime, &timeUs));
499 buffer->meta_data()->setInt64(kKeyTime, timeUs);

Completed in 629 milliseconds

1 2