Lines Matching refs:mParameters
925 if (hw->mParameters.isJpegPictureFormat()) { in take_picture()
942 if ((hw->mParameters.getNumOfRetroSnapshots() > 0) && in take_picture()
1592 if (hw->mFlashNeeded || hw->mParameters.isChromaFlashEnabled()) { in prepare_snapshot()
2060 int32_t rc = mParameters.bundleRelatedCameras(syncOn); in bundleRelatedCameras()
2106 return mParameters.isFrameSyncEnabled(); in isFrameSyncEnabled()
2123 return mParameters.setFrameSyncEnabled(enable); in setFrameSyncEnabled()
2138 return mParameters.getRelatedCamSyncInfo(); in getRelatedCamSyncInfo()
2157 return mParameters.setRelatedCamSyncInfo(info); in setRelatedCamSyncInfo()
2202 !mParameters.isAdvCamFeaturesEnabled() && in setMpoComposition()
2203 !mParameters.getRecordingHintValue() && in setMpoComposition()
2225 return mParameters.getRecordingHintValue(); in getRecordingHintValue()
2242 return mParameters.updateRecordingHintValue(value); in setRecordingHintValue()
2272 mParameters.setStreamConfigure(false, false, true); in closeCamera()
2275 mParameters.deinit(); in closeCamera()
2605 int minCaptureBuffers = mParameters.getNumOfSnapshots(); in getBufNumRequired()
2611 int zslQBuffers = mParameters.getZSLQueueDepth(); in getBufNumRequired()
2613 int minCircularBufNum = mParameters.getMaxUnmatchedFramesInQueue() + in getBufNumRequired()
2616 int maxStreamBuf = minCaptureBuffers + mParameters.getMaxUnmatchedFramesInQueue() + in getBufNumRequired()
2617 mParameters.getNumOfExtraHDRInBufsIfNeeded() - in getBufNumRequired()
2618 mParameters.getNumOfExtraHDROutBufsIfNeeded() + in getBufNumRequired()
2619 mParameters.getNumOfExtraBuffersForImageProc() + in getBufNumRequired()
2655 if (mParameters.isZSLMode()) { in getBufNumRequired()
2663 mParameters.getNumOfExtraBuffersForImageProc() + in getBufNumRequired()
2664 mParameters.getNumOfExtraBuffersForPreview() + in getBufNumRequired()
2665 mParameters.getNumOfExtraHDRInBufsIfNeeded(); in getBufNumRequired()
2671 mParameters.getMaxUnmatchedFramesInQueue() + in getBufNumRequired()
2672 mParameters.getNumOfExtraBuffersForPreview(); in getBufNumRequired()
2680 if ((mParameters.getRecordingHintValue() == true) in getBufNumRequired()
2681 && (!mParameters.isHfrMode())) { in getBufNumRequired()
2685 mParameters.getPreviewFpsRange(&minPrevFps, &maxPrevFps); in getBufNumRequired()
2704 mParameters.getMaxUnmatchedFramesInQueue() + in getBufNumRequired()
2705 mParameters.getNumOfExtraHDRInBufsIfNeeded() - in getBufNumRequired()
2706 mParameters.getNumOfExtraHDROutBufsIfNeeded() + in getBufNumRequired()
2707 mParameters.getNumOfExtraBuffersForImageProc(); in getBufNumRequired()
2717 if (mParameters.isZSLMode() || mLongshotEnabled) { in getBufNumRequired()
2718 if ((minCaptureBuffers == 1 || mParameters.isUbiRefocus()) && in getBufNumRequired()
2722 mParameters.getNumOfExtraBuffersForImageProc(); in getBufNumRequired()
2726 mParameters.getNumOfExtraBuffersForImageProc(); in getBufNumRequired()
2737 mParameters.getNumOfExtraHDRInBufsIfNeeded() - in getBufNumRequired()
2738 mParameters.getNumOfExtraHDROutBufsIfNeeded() + in getBufNumRequired()
2739 mParameters.getNumOfExtraBuffersForImageProc(); in getBufNumRequired()
2753 } else if (mParameters.isZSLMode()) { in getBufNumRequired()
2762 mParameters.getNumOfExtraHDRInBufsIfNeeded() - in getBufNumRequired()
2763 mParameters.getNumOfExtraHDROutBufsIfNeeded() + in getBufNumRequired()
2764 mParameters.getNumOfExtraBuffersForImageProc(); in getBufNumRequired()
2787 if (mParameters.getBufBatchCount()) { in getBufNumRequired()
2790 } else if (mParameters.getVideoBatchSize()) { in getBufNumRequired()
2793 * mParameters.getVideoBatchSize()); in getBufNumRequired()
2802 bufferCnt += mParameters.getNumOfExtraBuffersForVideo(); in getBufNumRequired()
2805 mParameters.getStreamDimension(CAM_STREAM_TYPE_VIDEO, dim); in getBufNumRequired()
2815 if (mParameters.isZSLMode()) { in getBufNumRequired()
2818 mParameters.getNumOfExtraHDRInBufsIfNeeded() - in getBufNumRequired()
2819 mParameters.getNumOfExtraHDROutBufsIfNeeded() + in getBufNumRequired()
2820 mParameters.getNumOfExtraBuffersForImageProc() + in getBufNumRequired()
2827 mParameters.getNumOfExtraHDRInBufsIfNeeded() - in getBufNumRequired()
2828 mParameters.getNumOfExtraHDROutBufsIfNeeded() + in getBufNumRequired()
2829 mParameters.getMaxUnmatchedFramesInQueue() + in getBufNumRequired()
2831 mParameters.getNumOfExtraBuffersForImageProc(); in getBufNumRequired()
2846 if (mParameters.isUbiRefocus()) { in getBufNumRequired()
2850 bufferCnt = mParameters.getLongshotStages(); in getBufNumRequired()
2956 if (!mParameters.isDCmAsymmetricSnapMode()) { in getCamHandleForChannel()
3019 mParameters.getStreamDimension(stream_type, dim); in allocateStreamBuf()
3021 mParameters.getPreviewFpsRange(&minFPS, &maxFPS); in allocateStreamBuf()
3023 if(mParameters.isUBWCEnabled()) { in allocateStreamBuf()
3025 mParameters.getStreamFormat(CAM_STREAM_TYPE_PREVIEW,fmt); in allocateStreamBuf()
3035 mParameters.getPreviewHalPixelFormat(), in allocateStreamBuf()
3060 mParameters.getStreamDimension(stream_type, dim); in allocateStreamBuf()
3062 mParameters.getPreviewFpsRange(&minFPS, &maxFPS); in allocateStreamBuf()
3066 mParameters.getPreviewHalPixelFormat(), maxFPS); in allocateStreamBuf()
3124 if (mParameters.isVideoBuffersCached() || mParameters.isSeeMoreEnabled() || in allocateStreamBuf()
3125 mParameters.isHighQualityNoiseReductionMode()) { in allocateStreamBuf()
3136 if (mParameters.getVideoBatchSize()) { in allocateStreamBuf()
3143 mParameters.getStreamFormat(CAM_STREAM_TYPE_VIDEO,fmt); in allocateStreamBuf()
3144 if (mParameters.isUBWCEnabled() && in allocateStreamBuf()
3155 mParameters.getVideoBatchSize()); in allocateStreamBuf()
3167 mParameters.getStreamFormat(CAM_STREAM_TYPE_VIDEO,fmt); in allocateStreamBuf()
3168 if (mParameters.isUBWCEnabled() && in allocateStreamBuf()
3258 bufSize = mParameters.getTPMaxMetaSize(); in allocateMiscBuf()
3261 bufSize = mParameters.getRefocusMaxMetaSize(); in allocateMiscBuf()
3308 rc = mParameters.getStreamFormat(stream_type, streamInfo->fmt); in initStreamInfoBuf()
3309 rc = mParameters.getStreamDimension(stream_type, streamInfo->dim, cam_type); in initStreamInfoBuf()
3310 rc = mParameters.getStreamRotation(stream_type, streamInfo->pp_config, streamInfo->dim); in initStreamInfoBuf()
3324 if ((mParameters.isZSLMode() && mParameters.getRecordingHintValue() != true) || in initStreamInfoBuf()
3330 (mParameters.getNumOfSnapshots() in initStreamInfoBuf()
3331 + mParameters.getNumOfExtraHDRInBufsIfNeeded() in initStreamInfoBuf()
3332 - mParameters.getNumOfExtraHDROutBufsIfNeeded() in initStreamInfoBuf()
3333 + mParameters.getNumOfExtraBuffersForImageProc()); in initStreamInfoBuf()
3341 if ((mParameters.isZSLMode()) || (isRdiMode()) || (raw_yuv) || isSecureMode()) { in initStreamInfoBuf()
3345 streamInfo->num_of_burst = mParameters.getNumOfSnapshots(); in initStreamInfoBuf()
3354 mParameters.updateDtVc(&dt, &vc); in initStreamInfoBuf()
3366 streamInfo->num_of_burst = (uint8_t)(mParameters.getNumOfSnapshots() in initStreamInfoBuf()
3367 + mParameters.getNumOfExtraHDRInBufsIfNeeded() in initStreamInfoBuf()
3368 - mParameters.getNumOfExtraHDROutBufsIfNeeded() in initStreamInfoBuf()
3369 + mParameters.getNumOfExtraBuffersForImageProc()); in initStreamInfoBuf()
3373 streamInfo->dis_enable = mParameters.isDISEnabled(); in initStreamInfoBuf()
3374 if (mParameters.getBufBatchCount()) { in initStreamInfoBuf()
3377 streamInfo->user_buf_info.frame_buf_cnt = mParameters.getBufBatchCount(); in initStreamInfoBuf()
3381 mParameters.getHfrFps(pFpsRange); in initStreamInfoBuf()
3388 if (mParameters.getRecordingHintValue()) { in initStreamInfoBuf()
3389 if(mParameters.isDISEnabled()) { in initStreamInfoBuf()
3390 streamInfo->is_type = mParameters.getVideoISType(); in initStreamInfoBuf()
3395 if (mParameters.isSecureMode()) { in initStreamInfoBuf()
3400 if (mParameters.getRecordingHintValue()) { in initStreamInfoBuf()
3401 if(mParameters.isDISEnabled()) { in initStreamInfoBuf()
3402 streamInfo->is_type = mParameters.getPreviewISType(); in initStreamInfoBuf()
3435 mParameters.updatePpFeatureMask(stream_type); in initStreamInfoBuf()
3438 mParameters.getStreamPpMask(stream_type, streamInfo->pp_config.feature_mask); in initStreamInfoBuf()
3442 int flipMode = mParameters.getFlipMode(stream_type); in initStreamInfoBuf()
3448 streamInfo->pp_config.sharpness = mParameters.getSharpness(); in initStreamInfoBuf()
3451 streamInfo->pp_config.effect = mParameters.getEffectValue(); in initStreamInfoBuf()
3457 mParameters.getDenoiseProcessPlate(CAM_INTF_PARM_WAVELET_DENOISE); in initStreamInfoBuf()
3577 mParameters.getStreamFormat(CAM_STREAM_TYPE_VIDEO, fmt); in allocateStreamUserBuf()
3578 if(mParameters.isUBWCEnabled() && (fmt == CAM_FORMAT_YUV_420_NV12_UBWC)) { in allocateStreamUserBuf()
3588 mParameters.getBufBatchCount()); in allocateStreamUserBuf()
3744 if (mParameters.isUBWCEnabled()) { in enableMsgType()
3787 if (mParameters.isUBWCEnabled()) { in disableMsgType()
3858 LOGI("E ZSL = %d Recording Hint = %d", mParameters.isZSLMode(), in startPreview()
3859 mParameters.getRecordingHintValue()); in startPreview()
3868 if (mParameters.isZSLMode() && mParameters.getRecordingHintValue() != true) { in startPreview()
3871 if (mParameters.getSecureStreamType() == CAM_STREAM_TYPE_RAW) { in startPreview()
3882 mParameters.setDeferCamera(CAM_DEFER_PROCESS); in startPreview()
3884 mParameters.setDeferCamera(CAM_DEFER_FLUSH); in startPreview()
3929 rc = mParameters.updateOisValue(1); in updatePostPreviewParameters()
4008 if (mParameters.getRecordingHintValue() == false) { in preStartRecording()
4017 mParameters.updateRecordingHintValue(TRUE); in preStartRecording()
4087 if (mParameters.isTNRSnapshotEnabled() && !isLowPowerMode()) { in startRecording()
4089 if (!mParameters.is4k2kVideoResolution()) { in startRecording()
4152 if (mParameters.isTNRSnapshotEnabled()) { in stopRecording()
4205 cam_focus_mode_type focusMode = mParameters.getFocusMode(); in autoFocus()
4248 cam_focus_mode_type focusMode = mParameters.getFocusMode(); in cancelAutoFocus()
4286 if (mParameters.isUbiRefocus()) { in processUFDumps()
4288 bool allFocusImage = (index == ((int)mParameters.getRefocusOutputCount() - 1)); in processUFDumps()
4352 mParameters.setQuadraCfaMode(false, true); in unconfigureAdvancedCapture()
4359 mParameters.set3ALock(false); in unconfigureAdvancedCapture()
4362 if (mParameters.isHDREnabled() || mParameters.isAEBracketEnabled()) { in unconfigureAdvancedCapture()
4363 rc = mParameters.setToneMapMode(true, true); in unconfigureAdvancedCapture()
4368 rc = mParameters.stopAEBracket(); in unconfigureAdvancedCapture()
4369 } else if ((mParameters.isChromaFlashEnabled()) in unconfigureAdvancedCapture()
4372 || (mParameters.getManualCaptureMode() >= CAM_MANUAL_CAPTURE_TYPE_2)) { in unconfigureAdvancedCapture()
4373 rc = mParameters.resetFrameCapture(TRUE, mLowLightConfigured); in unconfigureAdvancedCapture()
4374 } else if (mParameters.isUbiFocusEnabled() || mParameters.isUbiRefocus()) { in unconfigureAdvancedCapture()
4376 } else if (mParameters.isOptiZoomEnabled()) { in unconfigureAdvancedCapture()
4377 rc = mParameters.setAndCommitZoom(mZoomLevel); in unconfigureAdvancedCapture()
4379 } else if (mParameters.isStillMoreEnabled()) { in unconfigureAdvancedCapture()
4380 cam_still_more_t stillmore_config = mParameters.getStillMoreSettings(); in unconfigureAdvancedCapture()
4382 mParameters.setStillMoreSettings(stillmore_config); in unconfigureAdvancedCapture()
4385 if (!mParameters.isSeeMoreEnabled() && !mParameters.isLTMForSeeMoreEnabled()) { in unconfigureAdvancedCapture()
4386 rc = mParameters.setToneMapMode(true, true); in unconfigureAdvancedCapture()
4393 mParameters.setTintless(true); in unconfigureAdvancedCapture()
4419 rc = mParameters.checkFeatureConcurrency(); in configureAdvancedCapture()
4426 mParameters.setQuadraCfaMode(true, true); in configureAdvancedCapture()
4441 if (mParameters.isStillMoreEnabled() && in configureAdvancedCapture()
4442 mParameters.isSeeMoreEnabled()) { in configureAdvancedCapture()
4445 if (mParameters.isUbiFocusEnabled() || mParameters.isUbiRefocus()) { in configureAdvancedCapture()
4447 } else if (mParameters.isOptiZoomEnabled()) { in configureAdvancedCapture()
4449 } else if(mParameters.isHDREnabled()) { in configureAdvancedCapture()
4452 rc = mParameters.setToneMapMode(false, true); in configureAdvancedCapture()
4457 } else if (mParameters.isAEBracketEnabled()) { in configureAdvancedCapture()
4458 rc = mParameters.setToneMapMode(false, true); in configureAdvancedCapture()
4463 } else if (mParameters.isStillMoreEnabled()) { in configureAdvancedCapture()
4466 } else if ((mParameters.isChromaFlashEnabled()) in configureAdvancedCapture()
4467 || (mParameters.getLowLightLevel() != CAM_LOW_LIGHT_OFF) in configureAdvancedCapture()
4468 || (mParameters.getManualCaptureMode() >= CAM_MANUAL_CAPTURE_TYPE_2)) { in configureAdvancedCapture()
4469 rc = mParameters.configFrameCapture(TRUE); in configureAdvancedCapture()
4470 if (mParameters.getLowLightLevel() != CAM_LOW_LIGHT_OFF) { in configureAdvancedCapture()
4474 rc = mParameters.configFrameCapture(TRUE); in configureAdvancedCapture()
4512 if (mParameters.isUbiRefocus()) { in configureAFBracketing()
4531 rc = mParameters.commitAFBracket(afBracket); in configureAFBracketing()
4537 mParameters.set3ALock(true); in configureAFBracketing()
4587 if (mParameters.isHDR1xFrameEnabled() in configureHDRBracketing()
4588 && mParameters.isHDR1xExtraBufferNeeded()) { in configureHDRBracketing()
4602 rc = mParameters.setHDRAEBracket(aeBracket); in configureHDRBracketing()
4627 rc = mParameters.setAEBracketing(); in configureAEBracketing()
4652 mZoomLevel = mParameters.getParmZoomLevel(); in configureOptiZoom()
4655 mParameters.setAndCommitZoom(0); in configureOptiZoom()
4657 mParameters.set3ALock(true); in configureOptiZoom()
4682 if (!mParameters.isSeeMoreEnabled() && !mParameters.isLTMForSeeMoreEnabled()) { in configureStillMore()
4683 rc = mParameters.setToneMapMode(false, true); in configureStillMore()
4690 mParameters.set3ALock(true); in configureStillMore()
4694 mParameters.setTintless(false); in configureStillMore()
4697 stillmore_cap = mParameters.getStillMoreCapability(); in configureStillMore()
4701 cam_dyn_img_data_t dynamic_img_data = mParameters.getDynamicImgData(); in configureStillMore()
4708 if (mParameters.isSeeMoreEnabled()) { in configureStillMore()
4727 mParameters.setStillMoreSettings(stillmore_config); in configureStillMore()
4787 if(mParameters.isUbiFocusEnabled() || mParameters.isUbiRefocus()) { in stopAdvancedCapture()
4789 } else if (mParameters.isChromaFlashEnabled() in stopAdvancedCapture()
4792 || (mParameters.getManualCaptureMode() >= CAM_MANUAL_CAPTURE_TYPE_2)) { in stopAdvancedCapture()
4796 } else if(mParameters.isHDREnabled() in stopAdvancedCapture()
4797 || mParameters.isAEBracketEnabled()) { in stopAdvancedCapture()
4799 } else if (mParameters.isOptiZoomEnabled()) { in stopAdvancedCapture()
4801 } else if (mParameters.isStillMoreEnabled()) { in stopAdvancedCapture()
4830 if(mParameters.isUbiFocusEnabled() || mParameters.isUbiRefocus()) { in startAdvancedCapture()
4832 } else if (mParameters.isOptiZoomEnabled()) { in startAdvancedCapture()
4834 } else if (mParameters.isStillMoreEnabled()) { in startAdvancedCapture()
4836 } else if (mParameters.isHDREnabled() in startAdvancedCapture()
4837 || mParameters.isAEBracketEnabled()) { in startAdvancedCapture()
4839 } else if (mParameters.isChromaFlashEnabled() in startAdvancedCapture()
4842 || (mParameters.getManualCaptureMode() >= CAM_MANUAL_CAPTURE_TYPE_2)) { in startAdvancedCapture()
4843 cam_capture_frame_config_t config = mParameters.getCaptureFrameConfig(); in startAdvancedCapture()
4867 if (mParameters.getRecordingHintValue() == true) { in preTakePicture()
4874 mParameters.updateRecordingHintValue(FALSE); in preTakePicture()
4912 uint8_t numSnapshots = mParameters.getNumOfSnapshots(); in takePicture()
4914 uint8_t numRetroSnapshots = mParameters.getNumOfRetroSnapshots(); in takePicture()
4919 mParameters.setJpegRotation(mParameters.getRotation()); in takePicture()
4922 if (!isRetroPicture() || !mParameters.isZSLMode()) { in takePicture()
4935 numSnapshots = mParameters.getBurstCountForAdvancedCapture(); in takePicture()
4957 numSnapshots, mParameters.isZSLMode(), mAdvancedCaptureConfigured, mActiveCameras); in takePicture()
4959 if (mParameters.isZSLMode()) { in takePicture()
4964 if (mParameters.getofflineRAW()) { in takePicture()
5061 if ((!mParameters.isAdvCamFeaturesEnabled() && in takePicture()
5112 if (mParameters.isJpegPictureFormat() || in takePicture()
5113 mParameters.isNV16PictureFormat() || in takePicture()
5114 mParameters.isNV21PictureFormat()) { in takePicture()
5129 if (!mParameters.getofflineRAW()) { in takePicture()
5185 if (mParameters.isUbiFocusEnabled() || in takePicture()
5186 mParameters.isUbiRefocus() || in takePicture()
5187 mParameters.isChromaFlashEnabled()) { in takePicture()
5219 rc = mParameters.updateRAW(gCamCapability[mCameraId]->raw_dim[0]); in takePicture()
5301 rc = mParameters.addOnlineRotation(mParameters.getJpegRotation(), streamId, in configureOnlineRotation()
5302 mParameters.getDeviceRotation()); in configureOnlineRotation()
5327 rc = mParameters.setStreamConfigure(true, mLongshotEnabled, false); in declareSnapshotStreams()
5351 uint8_t numSnapshots = mParameters.getNumOfSnapshots(); in longShot()
5354 if (mParameters.isZSLMode()) { in longShot()
5392 if (mParameters.isJpegPictureFormat() || in stopCaptureChannel()
5393 mParameters.isNV16PictureFormat() || in stopCaptureChannel()
5394 mParameters.isNV21PictureFormat()) { in stopCaptureChannel()
5395 mParameters.setQuadraCfaMode(false, true); in stopCaptureChannel()
5430 if (mParameters.isZSLMode()) { in cancelPicture()
5432 if (mParameters.getofflineRAW()) { in cancelPicture()
5445 if (mParameters.isJpegPictureFormat() || in cancelPicture()
5446 mParameters.isNV16PictureFormat() || in cancelPicture()
5447 mParameters.isNV21PictureFormat()) { in cancelPicture()
5629 mParameters.getStreamFormat(CAM_STREAM_TYPE_SNAPSHOT, params.picture_format); in checkIntPicPending()
5632 mParameters.getStreamFormat(CAM_STREAM_TYPE_RAW, params.picture_format); in checkIntPicPending()
5656 rc = mParameters.setIntEvent(params); in checkIntPicPending()
5684 mParameters.setJpegRotation(mParameters.getRotation()); in takeBackendPic_internal()
5688 if (mFlashNeeded == 1 || mParameters.isChromaFlashEnabled()) { in takeBackendPic_internal()
5781 if (false == mParameters.isZSLMode()) { in clearIntPendingEvents()
5820 mParameters.setJpegRotation(mParameters.getRotation()); in takeLiveSnapshot_internal()
5919 if (!mParameters.is4k2kVideoResolution()) { in takeLiveSnapshot_internal()
5934 if ((NULL != pChannel) && (mParameters.isTNRSnapshotEnabled())) { in takeLiveSnapshot_internal()
5962 if (!mParameters.is4k2kVideoResolution()) { in takeLiveSnapshot_internal()
5978 && (!mParameters.isHfrMode()) in takeLiveSnapshot_internal()
5979 && (mParameters.isLinkPreviewForLiveShot())) { in takeLiveSnapshot_internal()
6065 if (!mParameters.isTNRSnapshotEnabled()) { in cancelLiveSnapshot_internal()
6142 rc = mParameters.setLongshotEnable(mLongshotEnabled); in sendCommand()
6199 rc = mParameters.setLongshotEnable(mLongshotEnabled); in sendCommand()
6206 mParameters.isHistogramEnabled() ? "Enabled" : "Disabled"); in sendCommand()
6211 … mParameters.setFaceDetectionOption(command == CAMERA_CMD_START_FACE_DETECTION? true : false); in sendCommand()
6214 mParameters.isFaceDetectionEnabled() ? "Enabled" : "Disabled"); in sendCommand()
6360 dprintf(fd, "\n Configuration: %s", mParameters.dump().string()); in dump()
6366 mParameters.updateDebugLevel(); in dump()
6613 mParameters.updateAEInfo(ae_params); in processAEInfo()
6614 if (mParameters.isInstantAECEnabled()) { in processAEInfo()
6620 } else if ((mParameters.isInstantCaptureEnabled()) && in processAEInfo()
6621 (mInstantAecFrameCount >= mParameters.getAecFrameBoundValue())) { in processAEInfo()
6626 } else if ((mParameters.isInstantAECEnabled()) && in processAEInfo()
6627 (mInstantAecFrameCount >= mParameters.getAecSkipDisplayFrameBound())) { in processAEInfo()
6636 mParameters.setInstantAEC(false, true); in processAEInfo()
6655 mParameters.updateCurrentFocusPosition(cur_pos_info); in processFocusPositionInfo()
6681 cam_focus_mode_type focusMode = mParameters.getFocusMode(); in processAutoFocusEvent()
6715 mParameters.updateFocusDistances(&focus_data.focus_dist); in processAutoFocusEvent()
6718 if (mParameters.isZSLMode() && focus_data.flush_info.needFlush ) { in processAutoFocusEvent()
6768 mParameters.updateFocusDistances(&focus_data.focus_dist); in processAutoFocusEvent()
6770 if (mParameters.isZSLMode() && focus_data.flush_info.needFlush ) { in processAutoFocusEvent()
6848 if (++mInputCount >= mParameters.getBurstCountForAdvancedCapture()) { in processZSLCaptureDone()
6871 rc = mParameters.setAecLock("false"); in processRetroAECUnlock()
6877 rc = mParameters.commitParameters(); in processRetroAECUnlock()
6907 mParameters.isAutoHDREnabled()) { in processHDRData()
6912 mParameters.setHDRSceneEnable(m_HDRSceneEnabled); in processHDRData()
6978 if (mParameters.getDualLedCalibration()) { in processLEDCalibration()
7037 mParameters.updateAWBParams(awb_params); in transAwbMetaToParams()
7064 mParameters.setAecLock("true"); in processPrepSnapshotDoneEvent()
7065 mParameters.commitParameters(); in processPrepSnapshotDoneEvent()
7213 ret = mParameters.setCameraControls(activeCameras); in processCameraControl()
7216 mParameters.setBundledSnapshot(bundledSnapshot); in processCameraControl()
7217 mParameters.setNumOfSnapshot(); in processCameraControl()
7258 mParameters.setSwitchCamera(camMaster); in switchCameraCb()
7437 rc = mParameters.updateRAW(max_dim); in prepareRawStream()
7463 mParameters.getStreamPpMask(CAM_STREAM_TYPE_ANALYSIS, featureMask); in getPaddingInfo()
7464 rc = mParameters.getAnalysisInfo( in getPaddingInfo()
7465 ((mParameters.getRecordingHintValue() == true) && in getPaddingInfo()
7466 mParameters.fdModeInVideo()), in getPaddingInfo()
7484 || (!mParameters.isLLNoiseEnabled())) { in getPaddingInfo()
7522 if (!((mParameters.isDCmAsymmetricSnapMode()) && in addStreamToChannel()
7653 if (((mParameters.fdModeInVideo()) in addPreviewChannel()
7654 || (mParameters.getDcrf() == true) in addPreviewChannel()
7655 || (mParameters.getRecordingHintValue() != true)) in addPreviewChannel()
7722 attr.post_frame_skip = mParameters.getZSLBurstInterval(); in addVideoChannel()
7724 attr.max_unmatched_frames = mParameters.getMaxUnmatchedFramesInQueue(); in addVideoChannel()
7785 attr.post_frame_skip = mParameters.getZSLBurstInterval(); in addSnapshotChannel()
7787 attr.max_unmatched_frames = mParameters.getMaxUnmatchedFramesInQueue(); in addSnapshotChannel()
7837 if (mParameters.getofflineRAW()) { in addRawChannel()
7841 attr.look_back = mParameters.getZSLBackLookCount(); in addRawChannel()
7842 attr.post_frame_skip = mParameters.getZSLBurstInterval(); in addRawChannel()
7844 attr.max_unmatched_frames = mParameters.getMaxUnmatchedFramesInQueue(); in addRawChannel()
7860 if (!mParameters.isZSLMode()) { in addRawChannel()
7871 if (mParameters.getofflineRAW()) { in addRawChannel()
7926 if (mParameters.isSceneSelectionEnabled()) { in addZSLChannel()
7931 attr.look_back = mParameters.getZSLBackLookCount(); in addZSLChannel()
7932 attr.post_frame_skip = mParameters.getZSLBurstInterval(); in addZSLChannel()
7933 if (mParameters.isOEMFeatEnabled()) { in addZSLChannel()
7935 attr.post_frame_skip += mParameters.isOEMFeatFrameSkipEnabled(); in addZSLChannel()
7937 attr.water_mark = mParameters.getZSLQueueDepth(); in addZSLChannel()
7938 attr.max_unmatched_frames = mParameters.getMaxUnmatchedFramesInQueue(); in addZSLChannel()
7940 mParameters.isInstantCaptureEnabled() ? (uint8_t)mParameters.getAecFrameBoundValue() : 0; in addZSLChannel()
8057 attr.look_back = mParameters.getZSLBackLookCount(); in addCaptureChannel()
8058 attr.water_mark = mParameters.getZSLQueueDepth(); in addCaptureChannel()
8062 attr.max_unmatched_frames = mParameters.getMaxUnmatchedFramesInQueue(); in addCaptureChannel()
8095 } else if (!mParameters.getQuadraCfa()) { in addCaptureChannel()
8105 if (!mParameters.getofflineRAW()) { in addCaptureChannel()
8123 if ((raw_yuv) || (mParameters.getofflineRAW())) { in addCaptureChannel()
8305 mParameters.getReprocCount(), curIndex); in getPPConfig()
8311 int32_t zoomLevel = mParameters.getParmZoomLevel(); in getPPConfig()
8312 uint32_t rotation = mParameters.getJpegRotation(); in getPPConfig()
8313 int32_t effect = mParameters.getEffectValue(); in getPPConfig()
8316 pp_config.total_reproc_count = mParameters.getReprocCount(); in getPPConfig()
8320 if (mParameters.getQuadraCfa()) { in getPPConfig()
8326 if (mParameters.getQuadraCfa()) { in getPPConfig()
8346 !mParameters.isOptiZoomEnabled()) { in getPPConfig()
8348 pp_config.sharpness = mParameters.getSharpness(); in getPPConfig()
8356 if (mParameters.isWNREnabled() && in getPPConfig()
8361 mParameters.getDenoiseProcessPlate(CAM_INTF_PARM_WAVELET_DENOISE); in getPPConfig()
8382 if (mParameters.isHDREnabled()){ in getPPConfig()
8385 pp_config.hdr_param.hdr_need_1x = mParameters.isHDR1xFrameEnabled(); in getPPConfig()
8394 mParameters.isReprocScaleEnabled() && in getPPConfig()
8395 mParameters.isUnderReprocScaling()){ in getPPConfig()
8397 mParameters.getPicSizeFromAPK( in getPPConfig()
8402 if(mParameters.isUbiFocusEnabled()) { in getPPConfig()
8408 if(mParameters.isUbiRefocus()) { in getPPConfig()
8415 if(mParameters.isChromaFlashEnabled()) { in getPPConfig()
8422 if(mParameters.isOptiZoomEnabled() && (0 <= zoomLevel)) { in getPPConfig()
8429 if (mParameters.getofflineRAW()) { in getPPConfig()
8433 if (mParameters.isTruePortraitEnabled()) { in getPPConfig()
8440 if(mParameters.isStillMoreEnabled()) { in getPPConfig()
8446 if (mParameters.isOEMFeatEnabled()) { in getPPConfig()
8450 if (mParameters.getCDSMode() != CAM_CDS_MODE_OFF) { in getPPConfig()
8460 && (!mParameters.getQuadraCfa())) { in getPPConfig()
8472 mParameters.getThumbnailSize(&(thumb_dst_dim.width), &(thumb_dst_dim.height)); in getPPConfig()
8473 mParameters.getStreamDimension(CAM_STREAM_TYPE_POSTVIEW,thumb_src_dim); in getPPConfig()
8498 if (mParameters.getCDSMode() != CAM_CDS_MODE_OFF) { in getPPConfig()
8539 uint32_t burst_cnt = mParameters.getNumOfSnapshots(); in addReprocChannel()
8557 attr.max_unmatched_frames = mParameters.getMaxUnmatchedFramesInQueue(); in addReprocChannel()
8572 ((mParameters.getReprocCount() > 1) ? TRUE : FALSE)); in addReprocChannel()
8584 if (temp_feature_mask && mParameters.isHDREnabled()) { in addReprocChannel()
8585 minStreamBufNum = (uint8_t)(1 + mParameters.getNumOfExtraHDRInBufsIfNeeded()); in addReprocChannel()
8588 if (mParameters.isStillMoreEnabled()) { in addReprocChannel()
8589 cam_still_more_t stillmore_config = mParameters.getStillMoreSettings(); in addReprocChannel()
8596 if (mParameters.getNumOfExtraBuffersForImageProc() == 0) { in addReprocChannel()
8601 if (mParameters.getManualCaptureMode() >= CAM_MANUAL_CAPTURE_TYPE_3) { in addReprocChannel()
8602 minStreamBufNum += mParameters.getReprocCount() - 1; in addReprocChannel()
8603 burst_cnt = mParameters.getReprocCount(); in addReprocChannel()
8621 uint8_t imglib_extra_bufs = mParameters.getNumOfExtraBuffersForImageProc(); in addReprocChannel()
8630 mParameters.getStreamPpMask(CAM_STREAM_TYPE_SNAPSHOT, snapshot_feature_mask); in addReprocChannel()
8650 mParameters, in addReprocChannel()
8870 rc = mParameters.setStreamConfigure(false, false, false); in preparePreview()
8878 mParameters.setDeferCamera(CAM_DEFER_START); in preparePreview()
8881 if (mParameters.isZSLMode() && mParameters.getRecordingHintValue() != true) { in preparePreview()
8888 if (mParameters.isUBWCEnabled()) { in preparePreview()
8890 mParameters.getStreamFormat(CAM_STREAM_TYPE_PREVIEW, fmt); in preparePreview()
8901 if (mParameters.getofflineRAW() && !mParameters.getQuadraCfa()) { in preparePreview()
8905 if (mParameters.getSecureStreamType() == CAM_STREAM_TYPE_RAW) { in preparePreview()
8911 bool recordingHint = mParameters.getRecordingHintValue(); in preparePreview()
8919 if (mParameters.isFaceDetectionEnabled() in preparePreview()
8920 && (!mParameters.fdModeInVideo())) { in preparePreview()
8923 if (mParameters.isHistogramEnabled()) { in preparePreview()
8952 if (mParameters.isUBWCEnabled() && !recordingHint) { in preparePreview()
8954 mParameters.getStreamFormat(CAM_STREAM_TYPE_PREVIEW, fmt); in preparePreview()
8976 mParameters.setDeferCamera(CAM_DEFER_FLUSH); in preparePreview()
8995 mParameters.setDeferCamera(CAM_DEFER_FLUSH); in unpreparePreview()
9086 if (!mParameters.isFaceDetectionEnabled()) { in processFaceDetectionResult()
9110 mParameters.getStreamDimension(CAM_STREAM_TYPE_PREVIEW, display_dim); in processFaceDetectionResult()
9429 if (!mParameters.isHistogramEnabled()) { in processHistogramStats()
9708 mParameters.getPreviewFpsRange(&minFPS, &maxFPS); in updateThermalLevel()
9709 qcamera_thermal_mode thermalMode = mParameters.getThermalMode(); in updateThermalLevel()
9710 if (mParameters.isHfrMode()) { in updateThermalLevel()
9712 mParameters.getHfrFps(hfrFpsRange); in updateThermalLevel()
9720 value = mParameters.getRecordingHintValue(); in updateThermalLevel()
9726 ret = mParameters.adjustPreviewFpsRange(&adjustedRange); in updateThermalLevel()
9728 ret = mParameters.setFrameSkip(skipPattern); in updateThermalLevel()
9754 rc = mParameters.updateParameters(str, needRestart); in updateParameters()
9760 m_channels[i]->UpdateStreamBasedParameters(mParameters); in updateParameters()
9783 rc = mParameters.commitParameters(); in commitParameterChanges()
9786 rc = mParameters.setNumOfSnapshot(); in commitParameterChanges()
9790 mParameters.isZoomChanged()) { in commitParameterChanges()
9811 needFps = mParameters.isFpsDebugEnabled(); in needDebugFps()
9888 if (!mParameters.isJpegPictureFormat() && in needReprocess()
9889 !mParameters.isNV21PictureFormat()) { in needReprocess()
9895 if ((mParameters.is4k2kVideoResolution() && mParameters.getRecordingHintValue() in needReprocess()
9896 && !isLowPowerMode()) || mParameters.isSmallJpegSizeEnabled()) { in needReprocess()
9929 if (!mParameters.isJpegPictureFormat() && in needRotationReprocess()
9930 !mParameters.isNV21PictureFormat()) { in needRotationReprocess()
9936 if ((mParameters.is4k2kVideoResolution() && mParameters.getRecordingHintValue() in needRotationReprocess()
9937 && !isLowPowerMode()) || mParameters.isSmallJpegSizeEnabled()) { in needRotationReprocess()
9944 (mParameters.getJpegRotation() > 0)) { in needRotationReprocess()
9947 mParameters.getJpegRotation()); in needRotationReprocess()
9966 mParameters.getThumbnailSize(&dim.width, &dim.height); in getThumbnailSize()
9981 quality = mParameters.getJpegQuality(); in getJpegQuality()
10006 rc = mParameters.getExifDateTime(dateTime, subSecTime); in getExifData()
10025 rc = mParameters.getExifFocalLength(&focalLength); in getExifData()
10035 uint16_t isoSpeed = mParameters.getExifIsoSpeed(); in getExifData()
10047 rc = mParameters.getExifGpsProcessingMethod(gpsProcessingMethod, count); in getExifData()
10059 rc = mParameters.getExifLatitude(latitude, latRef); in getExifData()
10075 rc = mParameters.getExifLongitude(longitude, lonRef); in getExifData()
10092 rc = mParameters.getExifAltitude(&altitude, &altRef); in getExifData()
10109 rc = mParameters.getExifGpsDateTimeStamp(gpsDateStamp, 20, gpsTimeStamp); in getExifData()
10152 if (mParameters.useJpegExifRotation()) { in getExifData()
10154 switch (mParameters.getJpegExifRotation()) { in getExifData()
10198 return mParameters.setHistogram(histogram_en); in setHistogram()
10215 return mParameters.setFaceDetection(enabled, true); in setFaceDetection()
10254 (!mParameters.isInstantAECEnabled())) || in needProcessPreviewFrame()
10407 if(mParameters.isSnapshotFDNeeded() && in needFDMetadata()
10408 mParameters.isFaceDetectionEnabled()){ in needFDMetadata()
10669 rc = pme->mParameters.allocate(MM_CAMERA_MAX_CAM_CNT); in deferredWorkRoutine()
10671 rc = pme->mParameters.allocate(); in deferredWorkRoutine()
10708 rc = pme->mParameters.init(cap, in deferredWorkRoutine()
10723 rc = pme->mParameters.getRelatedCamCalibration( in deferredWorkRoutine()
10742 pme->mParameters.setMinPpMask( in deferredWorkRoutine()
10843 mParameters.getMaxPicSize(size); in initJpegHandle()
11133 && (mParameters.getofflineRAW() && !mParameters.getQuadraCfa())) { in needDeferred()
11138 && (!mParameters.getRecordingHintValue())){ in needDeferred()
11170 if(mParameters.getTsMakeupInfo(whiteLevel, cleanLevel) == TRUE) { in needSyncCB()
11199 !mParameters.isHDREnabled() && in isRegularCapture()
11200 !mParameters.getRecordingHintValue() && in isRegularCapture()
11201 !isZSLMode() && (!mParameters.getofflineRAW()|| mParameters.getQuadraCfa())) { in isRegularCapture()
11279 if ((NULL != pChannel) && (mParameters.getofflineRAW())) { in startRAWChannel()
11339 mParameters.getStreamDimension(CAM_STREAM_TYPE_VIDEO, dim); in isLowPowerMode()
11349 bool isLowpower = mParameters.getRecordingHintValue() && enable in isLowPowerMode()