Lines Matching refs:request_shot
458 struct camera2_shot_ext * request_shot; in MarkProcessingRequest() local
481 request_shot = &(newEntry->internal_shot); in MarkProcessingRequest()
495 shot_ext->shot.ctl.request.frameCount = request_shot->shot.ctl.request.frameCount; in MarkProcessingRequest()
610 struct camera2_shot_ext * request_shot; in ApplyDynamicMetadata() local
636 request_shot = &(newEntry->internal_shot); in ApplyDynamicMetadata()
638 timeStamp = request_shot->shot.dm.sensor.timeStamp; in ApplyDynamicMetadata()
639 memcpy(&(request_shot->shot.dm), &(shot_ext->shot.dm), sizeof(struct camera2_dm)); in ApplyDynamicMetadata()
640 request_shot->shot.dm.sensor.timeStamp = timeStamp; in ApplyDynamicMetadata()
648 struct camera2_shot_ext * request_shot; in UpdateIspParameters() local
661 request_shot = &(newEntry->internal_shot); in UpdateIspParameters()
662 memcpy(&(shot_ext->shot.ctl), &(request_shot->shot.ctl), sizeof(struct camera2_ctl)); in UpdateIspParameters()
674 shot_ext->isReprocessing = request_shot->isReprocessing; in UpdateIspParameters()
675 shot_ext->reprocessInput = request_shot->reprocessInput; in UpdateIspParameters()
678 shot_ext->awb_mode_dm = request_shot->awb_mode_dm; in UpdateIspParameters()
680 shot_ext->shot.ctl.scaler.cropRegion[0] = request_shot->shot.ctl.scaler.cropRegion[0]; in UpdateIspParameters()
681 shot_ext->shot.ctl.scaler.cropRegion[1] = request_shot->shot.ctl.scaler.cropRegion[1]; in UpdateIspParameters()
682 shot_ext->shot.ctl.scaler.cropRegion[2] = request_shot->shot.ctl.scaler.cropRegion[2]; in UpdateIspParameters()
685 if (request_shot->shot.ctl.aa.aeMode >= AA_AEMODE_ON) { in UpdateIspParameters()
686 if (request_shot->shot.ctl.aa.captureIntent == AA_CAPTURE_INTENT_PREVIEW) in UpdateIspParameters()
687 ctl_info->flash.i_flashMode = request_shot->shot.ctl.aa.aeMode; in UpdateIspParameters()
688 else if (request_shot->shot.ctl.aa.captureIntent == AA_CAPTURE_INTENT_VIDEO_RECORD) in UpdateIspParameters()
689 ctl_info->flash.i_flashMode = request_shot->shot.ctl.aa.aeMode; in UpdateIspParameters()
690 request_shot->shot.ctl.aa.aeMode = AA_AEMODE_ON; in UpdateIspParameters()
694 if (request_shot->ae_lock == AEMODE_LOCK_ON) in UpdateIspParameters()
695 request_shot->shot.ctl.aa.aeMode = AA_AEMODE_LOCKED; in UpdateIspParameters()
696 if (request_shot->awb_lock == AWBMODE_LOCK_ON) in UpdateIspParameters()
697 request_shot->shot.ctl.aa.awbMode = AA_AWBMODE_LOCKED; in UpdateIspParameters()
699 if (m_lastAaMode == request_shot->shot.ctl.aa.mode) { in UpdateIspParameters()
703 shot_ext->shot.ctl.aa.mode = request_shot->shot.ctl.aa.mode; in UpdateIspParameters()
706 if (m_lastAeMode == request_shot->shot.ctl.aa.aeMode) { in UpdateIspParameters()
710 shot_ext->shot.ctl.aa.aeMode = request_shot->shot.ctl.aa.aeMode; in UpdateIspParameters()
713 if (m_lastAwbMode == request_shot->shot.ctl.aa.awbMode) { in UpdateIspParameters()
717 shot_ext->shot.ctl.aa.awbMode = request_shot->shot.ctl.aa.awbMode; in UpdateIspParameters()
720 if (m_lastAeComp == request_shot->shot.ctl.aa.aeExpCompensation) { in UpdateIspParameters()
724 shot_ext->shot.ctl.aa.aeExpCompensation = request_shot->shot.ctl.aa.aeExpCompensation; in UpdateIspParameters()
728 if (request_shot->shot.ctl.aa.videoStabilizationMode && m_vdisEnable) { in UpdateIspParameters()
751 shot_ext->shot.ctl.aa.aeTargetFpsRange[0] = request_shot->shot.ctl.aa.aeTargetFpsRange[0]; in UpdateIspParameters()
752 shot_ext->shot.ctl.aa.aeTargetFpsRange[1] = request_shot->shot.ctl.aa.aeTargetFpsRange[1]; in UpdateIspParameters()