Lines Matching defs:timeScale
495 status_t StagefrightRecorder::setParamMovieTimeScale(int32_t timeScale) {
496 ALOGV("setParamMovieTimeScale: %d", timeScale);
500 if (timeScale < 600 || timeScale > 96000) {
501 ALOGE("Time scale (%d) for movie is out of range [600, 96000]", timeScale);
504 mMovieTimeScale = timeScale;
508 status_t StagefrightRecorder::setParamVideoTimeScale(int32_t timeScale) {
509 ALOGV("setParamVideoTimeScale: %d", timeScale);
513 if (timeScale < 600 || timeScale > 60000) {
514 ALOGE("Time scale (%d) for video is out of range [600, 60000]", timeScale);
517 mVideoTimeScale = timeScale;
521 status_t StagefrightRecorder::setParamAudioTimeScale(int32_t timeScale) {
522 ALOGV("setParamAudioTimeScale: %d", timeScale);
525 if (timeScale < 600 || timeScale > 96000) {
526 timeScale);
529 mAudioTimeScale = timeScale;
598 int32_t timeScale;
599 if (safe_strtoi32(value.string(), &timeScale)) {
600 return setParamMovieTimeScale(timeScale);
638 int32_t timeScale;
639 if (safe_strtoi32(value.string(), &timeScale)) {
640 return setParamAudioTimeScale(timeScale);
673 int32_t timeScale;
674 if (safe_strtoi32(value.string(), &timeScale)) {
675 return setParamVideoTimeScale(timeScale);