OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:durationUs
(Results
1 - 25
of
51
) sorted by null
1
2
3
/frameworks/av/media/libstagefright/include/
MP3Seeker.h
29
virtual bool getDuration(int64_t *
durationUs
) = 0;
VBRISeeker.h
33
virtual bool getDuration(int64_t *
durationUs
);
XINGSeeker.h
31
virtual bool getDuration(int64_t *
durationUs
);
/frameworks/av/include/media/stagefright/
MediaWriter.h
42
virtual void setMaxFileDuration(int64_t
durationUs
) { mMaxFileDurationLimitUs =
durationUs
; }
MPEG4Writer.h
192
void writeMvhdBox(int64_t
durationUs
);
193
void writeMoovBox(int64_t
durationUs
);
/frameworks/av/media/libstagefright/
ThrottledSource.cpp
53
int64_t
durationUs
=
56
int64_t whenUs = mStartTimeUs +
durationUs
;
VBRISeeker.cpp
69
int64_t
durationUs
=
72
ALOGV("duration = %.2f secs",
durationUs
/ 1E6);
100
if (
durationUs
) {
101
seeker->mDurationUs =
durationUs
;
138
bool VBRISeeker::getDuration(int64_t *
durationUs
) {
143
*
durationUs
= mDurationUs;
XINGSeeker.cpp
36
bool XINGSeeker::getDuration(int64_t *
durationUs
) {
41
*
durationUs
= mDurationUs;
NuMediaExtractor.cpp
199
int64_t
durationUs
;
200
if (meta->findInt64(kKeyDuration, &
durationUs
)
201
&&
durationUs
> mDurationUs) {
202
mDurationUs =
durationUs
;
553
int64_t *
durationUs
, bool *eos) const {
562
*
durationUs
= wvmExtractor->getCachedDurationUs(&finalStatus);
574
*
durationUs
= cachedDataRemaining * 8000000ll / bitrate;
MP3Extractor.cpp
336
int64_t
durationUs
;
338
if (mSeeker == NULL || !mSeeker->getDuration(&
durationUs
)) {
341
durationUs
= 8000LL * (fileSize - mFirstFramePos) / bitrate;
343
durationUs
= -1;
347
if (
durationUs
>= 0) {
348
mMeta->setInt64(kKeyDuration,
durationUs
);
Utils.cpp
81
int64_t
durationUs
;
82
if (meta->findInt64(kKeyDuration, &
durationUs
)) {
83
msg->setInt64("
durationUs
",
durationUs
);
378
int64_t
durationUs
;
379
if (msg->findInt64("
durationUs
", &
durationUs
)) {
380
meta->setInt64(kKeyDuration,
durationUs
);
/frameworks/av/media/libmediaplayerservice/nuplayer/
GenericSource.cpp
96
int64_t
durationUs
;
97
if (meta->findInt64(kKeyDuration, &
durationUs
)) {
98
if (
durationUs
> mDurationUs) {
99
mDurationUs =
durationUs
;
185
status_t NuPlayer::GenericSource::getDuration(int64_t *
durationUs
) {
186
*
durationUs
= mDurationUs;
RTSPSource.cpp
171
int64_t
durationUs
;
173
&& (
durationUs
= mAudioTrack->getBufferedDurationUs(&err))
177
durationUs
/ 1E6);
182
&& (
durationUs
= mVideoTrack->getBufferedDurationUs(&err))
186
durationUs
/ 1E6);
282
status_t NuPlayer::RTSPSource::getDuration(int64_t *
durationUs
) {
283
*
durationUs
= 0ll;
289
&& audioDurationUs > *
durationUs
) {
290
*
durationUs
= audioDurationUs;
297
&& videoDurationUs > *
durationUs
) {
[
all
...]
GenericSource.h
53
virtual status_t getDuration(int64_t *
durationUs
);
HTTPLiveSource.cpp
120
status_t NuPlayer::HTTPLiveSource::getDuration(int64_t *
durationUs
) {
121
return mLiveSession->getDuration(
durationUs
);
176
int64_t timeUs, baseUs,
durationUs
, delayUs;
179
CHECK(buffer->meta()->findInt64("
durationUs
", &
durationUs
));
HTTPLiveSource.h
43
virtual status_t getDuration(int64_t *
durationUs
);
NuPlayerSource.h
71
virtual status_t getDuration(int64_t *
durationUs
) {
RTSPSource.h
53
virtual status_t getDuration(int64_t *
durationUs
);
NuPlayer.cpp
393
int64_t
durationUs
;
394
if (mDriver != NULL && mSource->getDuration(&
durationUs
) == OK) {
397
driver->notifyDuration(
durationUs
);
609
int64_t
durationUs
;
616
mSource->getDuration(&
durationUs
) == OK &&
617
durationUs
[
all
...]
/frameworks/av/media/libmediaplayerservice/
StagefrightPlayer.cpp
136
int64_t
durationUs
;
137
status_t err = mPlayer->getDuration(&
durationUs
);
144
*msec = (
durationUs
+ 500) / 1000;
StagefrightRecorder.cpp
423
status_t StagefrightRecorder::setParamInterleaveDuration(int32_t
durationUs
) {
424
ALOGV("setParamInterleaveDuration: %d",
durationUs
);
425
if (
durationUs
<= 500000) { // 500 ms
429
ALOGE("Audio/video interleave duration is too small: %d us",
durationUs
);
431
} else if (
durationUs
>= 10000000) { // 10 seconds
435
ALOGE("Audio/video interleave duration is too large: %d us",
durationUs
);
438
mInterleaveDurationUs =
durationUs
;
593
int32_t
durationUs
;
594
if (safe_strtoi32(value.string(), &
durationUs
)) {
595
return setParamInterleaveDuration(
durationUs
);
[
all
...]
/frameworks/av/media/libstagefright/rtsp/
ASessionDescription.h
51
bool getDurationUs(int64_t *
durationUs
) const;
ASessionDescription.cpp
252
bool ASessionDescription::getDurationUs(int64_t *
durationUs
) const {
253
*
durationUs
= 0;
271
*
durationUs
= (int64_t)((to - from) * 1E6);
/frameworks/base/media/jni/
android_media_MediaExtractor.h
62
bool getCachedDuration(int64_t *
durationUs
, bool *eos) const;
/frameworks/wilhelm/src/android/
android_AudioSfDecoder.cpp
272
int64_t
durationUs
;
275
&& meta->findInt64(kKeyDuration, &
durationUs
)) {
276
if (
durationUs
!= 0) {
277
mBitrate = size * 8000000ll /
durationUs
; // in bits/sec
281
mDurationUsec =
durationUs
;
282
durationMsec =
durationUs
/ 1000;
Completed in 476 milliseconds
1
2
3