Home
last modified time | relevance | path

Searched refs:timeScale (Results 1 – 7 of 7) sorted by relevance

/frameworks/av/media/libmediaplayerservice/
DStagefrightRecorder.cpp677 status_t StagefrightRecorder::setParamMovieTimeScale(int32_t timeScale) { in setParamMovieTimeScale() argument
678 ALOGV("setParamMovieTimeScale: %d", timeScale); in setParamMovieTimeScale()
682 if (timeScale < 600 || timeScale > 96000) { in setParamMovieTimeScale()
683 ALOGE("Time scale (%d) for movie is out of range [600, 96000]", timeScale); in setParamMovieTimeScale()
686 mMovieTimeScale = timeScale; in setParamMovieTimeScale()
690 status_t StagefrightRecorder::setParamVideoTimeScale(int32_t timeScale) { in setParamVideoTimeScale() argument
691 ALOGV("setParamVideoTimeScale: %d", timeScale); in setParamVideoTimeScale()
695 if (timeScale < 600 || timeScale > 60000) { in setParamVideoTimeScale()
696 ALOGE("Time scale (%d) for video is out of range [600, 60000]", timeScale); in setParamVideoTimeScale()
699 mVideoTimeScale = timeScale; in setParamVideoTimeScale()
[all …]
DStagefrightRecorder.h194 status_t setParamAudioTimeScale(int32_t timeScale);
202 status_t setParamVideoTimeScale(int32_t timeScale);
209 status_t setParamMovieTimeScale(int32_t timeScale);
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DSystemUIInterpolators.java32 private LogDecelerateInterpolator(float base, float timeScale, float drift) { in LogDecelerateInterpolator() argument
35 mTimeScale = 1f / timeScale; in LogDecelerateInterpolator()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DRTSPSource.cpp731 int32_t timeScale; in onConnected() local
732 sp<MetaData> format = mHandler->getTrackFormat(i, &timeScale); in onConnected()
749 info.mTimeScale = timeScale; in onConnected()
/frameworks/av/media/extractors/mp4/
DMPEG4Extractor.cpp80 int32_t timeScale,
3339 uint32_t timeScale; in parseSegmentIndex() local
3340 if (!mDataSource->getUInt32(offset + 8, &timeScale)) { in parseSegmentIndex()
3343 ALOGV("sidx refid/timescale: %d/%d", referenceId, timeScale); in parseSegmentIndex()
3344 if (timeScale == 0) in parseSegmentIndex()
3423 se.mDurationUs = 1000000LL * d2 / timeScale; in parseSegmentIndex()
3427 uint64_t sidxDuration = total_duration * 1000000 / timeScale; in parseSegmentIndex()
4678 int32_t timeScale, in MPEG4Source() argument
4687 mTimescale(timeScale), in MPEG4Source()
/frameworks/av/media/libstagefright/rtsp/
DMyHandler.h1529 sp<MetaData> getTrackFormat(size_t index, int32_t *timeScale) { in getTrackFormat()
1535 *timeScale = info.mTimeScale; in getTrackFormat()
/frameworks/av/media/libstagefright/
DMPEG4Writer.cpp2176 int32_t timeScale; in setTimeScale() local
2177 if (mMeta->findInt32(kKeyTimeScale, &timeScale)) { in setTimeScale()
2178 mTimeScale = timeScale; in setTimeScale()