Home | History | Annotate | Download | only in jni

Lines Matching refs:scs

396     SyncParams scs;
397 scs.fillFromJobject(env, gSyncParamsFields, params);
399 scs.syncSourceSet, scs.sync.mSource,
400 scs.audioAdjustModeSet, scs.sync.mAudioAdjustMode,
401 scs.toleranceSet, scs.sync.mTolerance,
402 scs.frameRateSet, scs.frameRate);
408 if (scs.syncSourceSet) {
409 avsync.mSource = scs.sync.mSource;
412 if (scs.audioAdjustModeSet) {
413 avsync.mAudioAdjustMode = scs.sync.mAudioAdjustMode;
416 if (scs.toleranceSet) {
417 avsync.mTolerance = scs.sync.mTolerance;
424 if (scs.frameRateSet && err == OK) {
425 err = sync->setVideoFrameRateHint(scs.frameRate);
447 SyncParams scs;
448 sync->getSyncParams(&scs.sync);
449 scs.frameRate = sync->getVideoFrameRate();
452 scs.sync.mSource, scs.sync.mAudioAdjustMode, scs.sync.mTolerance, scs.frameRate);
455 if (scs.sync.mSource >= AVSYNC_SOURCE_MAX
456 || scs.sync.mAudioAdjustMode >= AVSYNC_AUDIO_ADJUST_MODE_MAX
457 || scs.sync.mTolerance < 0.f
458 || scs.sync.mTolerance >= AVSYNC_TOLERANCE_MAX) {
463 scs.syncSourceSet = true;
464 scs.audioAdjustModeSet = true;
465 scs.toleranceSet = true;
466 scs.frameRateSet = scs.frameRate >= 0.f;
468 return scs.asJobject(env, gSyncParamsFields);