/frameworks/base/media/libstagefright/ |
H A D | MediaSource.cpp | 62 void MediaSource::ReadOptions::setSkipFrame(int64_t timeUs) { argument 64 mSkipFrameUntilTimeUs = timeUs; 67 bool MediaSource::ReadOptions::getSkipFrame(int64_t *timeUs) const { 68 *timeUs = mSkipFrameUntilTimeUs;
|
H A D | StagefrightMetadataRetriever.cpp | 190 int64_t timeUs; local 191 CHECK(buffer->meta_data()->findInt64(kKeyTime, &timeUs)); 193 if (timeUs != thumbNailTime) { 197 LOGV("thumbNailTime = %lld us, timeUs = %lld us, mime = %s", 198 thumbNailTime, timeUs, mime); 244 int64_t timeUs, int option) { 246 LOGV("getFrameAtTime: %lld us option: %d", timeUs, option); 284 timeUs, option); 291 timeUs, option); 243 getFrameAtTime( int64_t timeUs, int option) argument
|
/frameworks/base/media/libstagefright/mpeg2ts/ |
H A D | AnotherPacketSource.cpp | 69 uint64_t timeUs; local 71 "time", (int64_t *)&timeUs)); 74 mediaBuffer->meta_data()->setInt64(kKeyTime, timeUs); 94 int64_t timeUs; local 95 CHECK(buffer->meta()->findInt64("time", &timeUs)); 96 LOGV("queueAccessUnit timeUs=%lld us (%.2f secs)", timeUs, timeUs / 1E6);
|
H A D | ESQueue.h | 37 status_t appendData(const void *data, size_t size, int64_t timeUs);
|
H A D | ESQueue.cpp | 50 const void *data, size_t size, int64_t timeUs) { 97 mTimestamps.push_back(timeUs); 191 int64_t timeUs = *mTimestamps.begin(); local 194 accessUnit->meta()->setInt64("time", timeUs); 337 int64_t timeUs = *mTimestamps.begin(); local 340 accessUnit->meta()->setInt64("time", timeUs); 49 appendData( const void *data, size_t size, int64_t timeUs) argument
|
/frameworks/base/include/media/ |
H A D | MediaMetadataRetrieverInterface.h | 35 virtual VideoFrame* getFrameAtTime(int64_t timeUs, int option) = 0; 47 virtual VideoFrame* getFrameAtTime(int64_t timeUs, int option) { return NULL; } argument
|
H A D | IMediaMetadataRetriever.h | 35 virtual sp<IMemory> getFrameAtTime(int64_t timeUs, int option) = 0;
|
/frameworks/base/media/java/android/media/ |
H A D | MediaMetadataRetriever.java | 169 * @param timeUs The time position where the frame will be retrieved. 172 * When this happens, a frame nearby will be returned. If timeUs is 178 * that has a timestamp earlier than or the same as timeUs. Use 180 * that has a timestamp later than or the same as timeUs. Use 182 * that has a timestamp closest to or the same as timeUs. Use 184 * or may not be a sync frame but is closest to or the same as timeUs. 186 * to the other options if there is no sync frame located at timeUs. 191 public Bitmap getFrameAtTime(long timeUs, int option) { argument 197 return _getFrameAtTime(timeUs, option); 208 * @param timeUs Th 220 getFrameAtTime(long timeUs) argument 242 _getFrameAtTime(long timeUs, int option) argument [all...] |
/frameworks/base/include/media/stagefright/ |
H A D | MediaSource.h | 87 bool getSkipFrame(int64_t *timeUs) const; 88 void setSkipFrame(int64_t timeUs);
|
H A D | MPEG4Writer.h | 88 void setStartTimestampUs(int64_t timeUs); 100 Chunk(Track *track, int64_t timeUs, List<MediaBuffer *> samples) argument 101 : mTrack(track), mTimeStampUs(timeUs), mSamples(samples) { 156 void trackProgressStatus(const Track* track, int64_t timeUs, status_t err = OK);
|
/frameworks/base/media/libstagefright/codecs/m4v_h263/dec/ |
H A D | M4vH263Decoder.cpp | 246 int64_t timeUs; local 247 CHECK(inputBuffer->meta_data()->findInt64(kKeyTime, &timeUs)); 255 CHECK(timeUs <= mTargetTimeUs); 257 if (timeUs < mTargetTimeUs) { 262 LOGV("skipping frame at %lld us", timeUs); 264 LOGV("found target frame at %lld us", timeUs); 275 (*out)->meta_data()->setInt64(kKeyTime, timeUs);
|
/frameworks/base/media/libstagefright/codecs/on2/dec/ |
H A D | VPXDecoder.cpp | 175 int64_t timeUs; local 176 CHECK(input->meta_data()->findInt64(kKeyTime, &timeUs)); 184 CHECK(timeUs <= mTargetTimeUs); 186 if (timeUs < mTargetTimeUs) { 191 LOGV("skipping frame at %lld us", timeUs); 193 LOGV("found target frame at %lld us", timeUs); 267 output->meta_data()->setInt64(kKeyTime, timeUs);
|
/frameworks/base/media/libstagefright/include/ |
H A D | StagefrightMetadataRetriever.h | 38 virtual VideoFrame *getFrameAtTime(int64_t timeUs, int option);
|
/frameworks/base/media/libstagefright/codecs/m4v_h263/enc/ |
H A D | M4vH263Encoder.cpp | 306 int64_t timeUs; local 307 CHECK(mInputBuffer->meta_data()->findInt64(kKeyTime, &timeUs)); 313 (mNextModTimeUs > timeUs || mPrevTimestampUs == timeUs)) { 323 CHECK(mPrevTimestampUs < timeUs); 324 mPrevTimestampUs = timeUs; 327 outputBuffer->meta_data()->setInt64(kKeyTime, timeUs); 342 vin.timestamp = (timeUs + 500) / 1000; // in ms
|
/frameworks/base/media/libmedia/ |
H A D | IMediaMetadataRetriever.cpp | 125 sp<IMemory> getFrameAtTime(int64_t timeUs, int option) argument 127 LOGV("getTimeAtTime: time(%lld us) and option(%d)", timeUs, option); 130 data.writeInt64(timeUs); 204 int64_t timeUs = data.readInt64(); local 206 LOGV("getTimeAtTime: time(%lld us) and option(%d)", timeUs, option); 210 sp<IMemory> bitmap = getFrameAtTime(timeUs, option);
|
H A D | mediametadataretriever.cpp | 126 sp<IMemory> MediaMetadataRetriever::getFrameAtTime(int64_t timeUs, int option) argument 128 LOGV("getFrameAtTime: time(%lld us) option(%d)", timeUs, option); 134 return mRetriever->getFrameAtTime(timeUs, option);
|
/frameworks/base/media/libstagefright/codecs/avc/dec/ |
H A D | AVCDecoder.cpp | 256 int64_t timeUs; local 257 CHECK(mbuf->meta_data()->findInt64(kKeyTime, &timeUs)); 258 CHECK(timeUs <= mTargetTimeUs); 260 if (timeUs < mTargetTimeUs) { 265 LOGV("skipping frame at %lld us", timeUs); 267 LOGV("found target frame at %lld us", timeUs); 582 int64_t timeUs; 583 CHECK(mInputBuffer->meta_data()->findInt64(kKeyTime, &timeUs)); 584 mFrames[index]->meta_data()->setInt64(kKeyTime, timeUs);
|
/frameworks/base/media/libstagefright/codecs/aacenc/ |
H A D | AACEncoder.cpp | 242 int64_t timeUs; local 243 if (mInputBuffer->meta_data()->findInt64(kKeyDriftTime, &timeUs)) { 244 wallClockTimeUs = timeUs; 246 if (mInputBuffer->meta_data()->findInt64(kKeyAnchorTime, &timeUs)) { 247 mAnchorTimeUs = timeUs;
|
/frameworks/base/media/libstagefright/codecs/amrnb/enc/ |
H A D | AMRNBEncoder.cpp | 173 int64_t timeUs; local 174 if (mInputBuffer->meta_data()->findInt64(kKeyDriftTime, &timeUs)) { 175 wallClockTimeUs = timeUs; 177 if (mInputBuffer->meta_data()->findInt64(kKeyAnchorTime, &timeUs)) { 178 mAnchorTimeUs = timeUs;
|
/frameworks/base/media/libstagefright/codecs/amrwbenc/ |
H A D | AMRWBEncoder.cpp | 223 int64_t timeUs; local 224 if (mInputBuffer->meta_data()->findInt64(kKeyDriftTime, &timeUs)) { 225 wallClockTimeUs = timeUs; 227 if (mInputBuffer->meta_data()->findInt64(kKeyAnchorTime, &timeUs)) { 228 mAnchorTimeUs = timeUs;
|
/frameworks/base/media/libstagefright/codecs/amrnb/dec/ |
H A D | AMRNBDecoder.cpp | 141 int64_t timeUs; local 142 if (mInputBuffer->meta_data()->findInt64(kKeyTime, &timeUs)) { 143 mAnchorTimeUs = timeUs;
|
/frameworks/base/media/libstagefright/codecs/amrwb/ |
H A D | AMRWBDecoder.cpp | 159 int64_t timeUs; local 160 if (mInputBuffer->meta_data()->findInt64(kKeyTime, &timeUs)) { 161 mAnchorTimeUs = timeUs;
|
/frameworks/base/media/libstagefright/codecs/g711/dec/ |
H A D | G711Decoder.cpp | 136 int64_t timeUs; local 137 CHECK(inBuffer->meta_data()->findInt64(kKeyTime, &timeUs)); 158 outBuffer->meta_data()->setInt64(kKeyTime, timeUs);
|
/frameworks/base/media/libstagefright/codecs/mp3dec/ |
H A D | MP3Decoder.cpp | 150 int64_t timeUs; local 151 if (mInputBuffer->meta_data()->findInt64(kKeyTime, &timeUs)) { 152 mAnchorTimeUs = timeUs;
|
/frameworks/base/media/libstagefright/rtsp/ |
H A D | rtp_test.cpp | 213 int64_t timeUs; local 214 CHECK(buffer->meta_data()->findInt64(kKeyTime, &timeUs)); 217 buffer->range_length(), timeUs / 1E6);
|