Lines Matching defs:durationUs
721 int64_t durationUs;
722 if (mAudioTrack->getFormat()->findInt64(kKeyDuration, &durationUs)) {
723 setDuration_l(durationUs);
756 int64_t durationUs;
757 if (mVideoTrack->getFormat()->findInt64(kKeyDuration, &durationUs)) {
758 setDuration_l(durationUs);
1854 void PreviewPlayer::setDuration_l(int64_t durationUs) {
1855 if (mDurationUs < 0 || durationUs > mDurationUs) {
1856 mDurationUs = durationUs;
1860 status_t PreviewPlayer::getDuration(int64_t *durationUs) {
1866 *durationUs = mDurationUs;