OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:timestampUs
(Results
1 - 13
of
13
) sorted by null
/frameworks/av/media/libstagefright/
CameraSourceTimeLapse.cpp
234
bool CameraSourceTimeLapse::skipCurrentFrame(int64_t
timestampUs
) {
244
bool CameraSourceTimeLapse::skipFrameAndModifyTimeStamp(int64_t *
timestampUs
) {
248
// to current time (
timestampUs
) and save frame data.
251
mLastTimeLapseFrameRealTimestampUs = *
timestampUs
;
263
*
timestampUs
=
267
if (*
timestampUs
< mStartTimeUs) {
268
ALOGI("set
timestampUs
to start time stamp %lld us", mStartTimeUs);
269
*
timestampUs
= mStartTimeUs;
278
if (mNumFramesEncoded >= 1 && *
timestampUs
<
288
// - Artificially modify
timestampUs
to be one frame time (1/framerate) ahea
[
all
...]
AMRWriter.cpp
228
int64_t
timestampUs
;
229
CHECK(buffer->meta_data()->findInt64(kKeyTime, &
timestampUs
));
230
if (
timestampUs
> mEstimatedDurationUs) {
231
mEstimatedDurationUs =
timestampUs
;
234
previousPausedDurationUs += (
timestampUs
- maxTimestampUs - 20000);
237
timestampUs
-= previousPausedDurationUs;
239
timestampUs
, previousPausedDurationUs);
240
if (
timestampUs
> maxTimestampUs) {
241
maxTimestampUs =
timestampUs
;
AACWriter.cpp
341
int64_t
timestampUs
;
342
CHECK(buffer->meta_data()->findInt64(kKeyTime, &
timestampUs
));
343
if (
timestampUs
> mEstimatedDurationUs) {
344
mEstimatedDurationUs =
timestampUs
;
347
previousPausedDurationUs += (
timestampUs
- maxTimestampUs - mFrameDurationUs);
350
timestampUs
-= previousPausedDurationUs;
352
timestampUs
, previousPausedDurationUs);
353
if (
timestampUs
> maxTimestampUs) {
354
maxTimestampUs =
timestampUs
;
CameraSource.cpp
813
void CameraSource::dataCallbackTimestamp(int64_t
timestampUs
,
815
ALOGV("dataCallbackTimestamp: timestamp %lld us",
timestampUs
);
817
if (!mStarted || (mNumFramesReceived == 0 &&
timestampUs
< mStartTimeUs)) {
818
ALOGV("Drop frame at %lld/%lld us",
timestampUs
, mStartTimeUs);
824
CHECK(
timestampUs
> mLastFrameTimestampUs);
825
if (
timestampUs
- mLastFrameTimestampUs > mGlitchDurationThresholdUs) {
832
if (skipCurrentFrame(
timestampUs
)) {
837
mLastFrameTimestampUs =
timestampUs
;
839
mFirstFrameTimeUs =
timestampUs
;
842
if (
timestampUs
< mStartTimeUs)
[
all
...]
MPEG4Writer.cpp
67
void bufferChunk(int64_t
timestampUs
);
[
all
...]
AudioSource.cpp
345
const int64_t
timestampUs
=
356
mPrevSampleTimeUs =
timestampUs
;
OMXCodec.cpp
[
all
...]
/frameworks/av/include/media/stagefright/
CameraSourceTimeLapse.h
133
virtual bool skipCurrentFrame(int64_t
timestampUs
);
138
virtual void dataCallbackTimestamp(int64_t
timestampUs
, int32_t msgType,
155
bool skipFrameAndModifyTimeStamp(int64_t *
timestampUs
);
CameraSource.h
128
virtual void dataCallbackTimestamp(int64_t
timestampUs
, int32_t msgType,
180
virtual bool skipCurrentFrame(int64_t
timestampUs
) {return false;}
185
virtual void dataCallbackTimestamp(int64_t
timestampUs
, int32_t msgType,
/external/chromium_org/content/public/android/java/src/org/chromium/content/common/
PerfTraceEvent.java
214
long
timestampUs
= (System.nanoTime() - sBeginNanoTime) / 1000;
216
timestampUs
, memoryInfo);
237
long
timestampUs
= (System.nanoTime() - sBeginNanoTime) / 1000;
239
timestampUs
, memoryInfo);
261
long
timestampUs
= (System.nanoTime() - sBeginNanoTime) / 1000;
267
savePerfString(name, id, type,
timestampUs
, memInfo);
276
* @param
timestampUs
The time stamp at which this event was recorded
280
private static void savePerfString(String name, long id, EventType type, long
timestampUs
,
285
traceObj.put("ts",
timestampUs
);
/frameworks/av/cmds/stagefright/
stagefright.cpp
243
int64_t
timestampUs
;
244
CHECK(buffer->meta_data()->findInt64(kKeyTime, &
timestampUs
));
249
int64_t diff =
timestampUs
- seekTimeUs;
256
|| (gReproduceBug == 5 &&
timestampUs
< 0)) {
258
seekTimeUs / 1E6,
timestampUs
/ 1E6);
266
timestampUs
,
timestampUs
/ 1E6);
/cts/tests/tests/media/src/android/media/cts/
MediaCodecTest.java
307
long
timestampUs
= mediaExtractor.getSampleTime();
310
||
timestampUs
== lastBufferTimestampUs;
314
timestampUs
,
/frameworks/base/media/jni/
android_media_MediaCodec.cpp
540
jlong
timestampUs
,
554
index, offset, size,
timestampUs
, flags, &errorDetailMsg);
566
jlong
timestampUs
,
676
timestampUs
,
Completed in 70 milliseconds