Home | History | Annotate | Download | only in libcamera2

Lines Matching refs:shot_ext

455     struct camera2_shot_ext * shot_ext;
490 shot_ext = (struct camera2_shot_ext *)buf->virt.extP[1];
492 memset(shot_ext, 0x00, sizeof(struct camera2_shot_ext));
493 shot_ext->shot.ctl.request.frameCount = request_shot->shot.ctl.request.frameCount;
494 shot_ext->request_sensor = 1;
495 shot_ext->dis_bypass = 1;
496 shot_ext->dnr_bypass = 1;
497 shot_ext->fd_bypass = 1;
498 shot_ext->setfile = 0;
501 shot_ext->shot.ctl.request.outputStreams[0] = targetStreamIndex;
503 shot_ext->request_scp = 1;
506 shot_ext->request_scc = 1;
508 if (shot_ext->shot.ctl.stats.faceDetectMode != FACEDETECT_MODE_OFF)
509 shot_ext->fd_bypass = 0;
512 shot_ext->shot.ctl.aa.mode = AA_CONTROL_AUTO;
514 shot_ext->shot.ctl.aa.mode = AA_CONTROL_NONE;
517 shot_ext->shot.ctl.request.metadataMode = METADATA_MODE_FULL;
518 shot_ext->shot.ctl.stats.faceDetectMode = FACEDETECT_MODE_FULL;
519 shot_ext->shot.magicNumber = 0x23456789;
520 shot_ext->shot.ctl.sensor.exposureTime = 0;
521 shot_ext->shot.ctl.sensor.frameDuration = 33*1000*1000;
522 shot_ext->shot.ctl.sensor.sensitivity = 0;
525 shot_ext->shot.ctl.scaler.cropRegion[0] = newEntry->internal_shot.shot.ctl.scaler.cropRegion[0];
526 shot_ext
527 shot_ext->shot.ctl.scaler.cropRegion[2] = newEntry->internal_shot.shot.ctl.scaler.cropRegion[2];
605 void RequestManager::ApplyDynamicMetadata(struct camera2_shot_ext *shot_ext)
613 ALOGV("DEBUG(%s): frameCnt(%d)", __FUNCTION__, shot_ext->shot.ctl.request.frameCount);
616 if((entries[i].internal_shot.shot.ctl.request.frameCount == shot_ext->shot.ctl.request.frameCount)
624 ALOGE("[%s] no entry found(framecount:%d)", __FUNCTION__, shot_ext->shot.ctl.request.frameCount);
632 memcpy(&(request_shot->shot.dm), &(shot_ext->shot.dm), sizeof(struct camera2_dm));
638 void RequestManager::UpdateIspParameters(struct camera2_shot_ext *shot_ext, int frameCnt, ctl_request_info_t *ctl_info)
655 memcpy(&(shot_ext->shot.ctl), &(request_shot->shot.ctl), sizeof(struct camera2_ctl));
656 shot_ext->shot.ctl.request.frameCount = frameCnt;
657 shot_ext->request_sensor = 1;
658 shot_ext->dis_bypass = 1;
659 shot_ext->dnr_bypass = 1;
660 shot_ext->fd_bypass = 1;
661 shot_ext->drc_bypass = 1;
662 shot_ext->setfile = 0;
664 shot_ext->request_scc = 0;
665 shot_ext->request_scp = 0;
667 shot_ext->isReprocessing = request_shot->isReprocessing;
668 shot_ext->reprocessInput = request_shot->reprocessInput;
669 shot_ext->shot.ctl.request.outputStreams[0] = 0;
671 shot_ext->awb_mode_dm = request_shot->awb_mode_dm;
673 shot_ext->shot.ctl.scaler.cropRegion[0] = request_shot->shot.ctl.scaler.cropRegion[0];
674 shot_ext->shot.ctl.scaler.cropRegion[1] = request_shot->shot.ctl.scaler.cropRegion[1];
675 shot_ext->shot.ctl.scaler.cropRegion[2] = request_shot->shot.ctl.scaler.cropRegion[2];
693 shot_ext->shot.ctl.aa.mode = (enum aa_mode)(0);
696 shot_ext->shot.ctl.aa.mode = request_shot->shot.ctl.aa.mode;
697 m_lastAaMode = (int)(shot_ext->shot.ctl.aa.mode);
700 shot_ext->shot.ctl.aa.aeMode = (enum aa_aemode)(0);
703 shot_ext->shot.ctl.aa.aeMode = request_shot->shot.ctl.aa.aeMode;
704 m_lastAeMode = (int)(shot_ext->shot.ctl.aa.aeMode);
707 shot_ext->shot.ctl.aa.awbMode = (enum aa_awbmode)(0);
710 shot_ext->shot.ctl.aa.awbMode = request_shot->shot.ctl.aa.awbMode;
711 m_lastAwbMode = (int)(shot_ext->shot.ctl.aa.awbMode);
714 shot_ext->shot.ctl.aa.aeExpCompensation = 0;
717 shot_ext->shot.ctl.aa.aeExpCompensation = request_shot->shot.ctl.aa.aeExpCompensation;
718 m_lastAeComp = (int)(shot_ext->shot.ctl.aa.aeExpCompensation);
723 shot_ext->dis_bypass = 0;
724 shot_ext->dnr_bypass = 0;
727 shot_ext->dis_bypass = 1;
728 shot_ext->dnr_bypass = 1;
731 shot_ext->shot.ctl.aa.afTrigger = 0;
734 shot_ext->shot.ctl.request.outputStreams[0] = targetStreamIndex;
736 shot_ext->request_scp = 1;
739 shot_ext->request_scc = 1;
741 if (shot_ext->shot.ctl.stats.faceDetectMode != FACEDETECT_MODE_OFF)
742 shot_ext->fd_bypass = 0;
744 shot_ext->shot.ctl.aa.aeTargetFpsRange[0] = request_shot->shot.ctl.aa.aeTargetFpsRange[0];
745 shot_ext->shot.ctl.aa.aeTargetFpsRange[1] = request_shot->shot.ctl.aa.aeTargetFpsRange[1];
748 (int)(shot_ext->shot.ctl.aa.mode), (int)(shot_ext->shot.ctl.aa.aeMode),
749 (int)(shot_ext->shot.ctl.aa.aeExpCompensation), (int)(shot_ext->shot.ctl.aa.awbMode),
750 (int)(shot_ext->shot.ctl.aa.afMode));
862 int RequestManager::FindFrameCnt(struct camera2_shot_ext * shot_ext)
873 if(entries[i].internal_shot.shot.ctl.request.frameCount != shot_ext->shot.ctl.request.frameCount)
880 CAM_LOGE("ERR(%s): frameCount(%d), index(%d), status(%d)", __FUNCTION__, shot_ext->shot.ctl.request.frameCount, i, entries[i].status);
883 CAM_LOGD("(%s): No Entry found frame count(%d)", __FUNCTION__, shot_ext->shot.ctl.request.frameCount);
2846 void ExynosCameraHWInterface2::DumpInfoWithShot(struct camera2_shot_ext * shot_ext)
2850 shot_ext->shot.magicNumber);
2853 shot_ext->shot.ctl.request.metadataMode,
2854 shot_ext->shot.ctl.lens.aperture,
2855 shot_ext->shot.ctl.sensor.exposureTime,
2856 shot_ext->shot.ctl.sensor.frameDuration,
2857 shot_ext->shot.ctl.sensor.sensitivity,
2858 shot_ext->shot.ctl.aa.awbMode);
2861 shot_ext->request_sensor, shot_ext->request_scp, shot_ext->request_scc,
2862 shot_ext->shot.ctl.request.outputStreams[0]);
2866 shot_ext->shot.dm.request.metadataMode,
2867 shot_ext->shot.dm.lens.aperture,
2868 shot_ext->shot.dm.sensor.exposureTime,
2869 shot_ext->shot.dm.sensor.frameDuration,
2870 shot_ext->shot.dm.sensor.sensitivity,
2871 shot_ext->shot.dm.sensor.timeStamp,
2872 shot_ext->shot.dm.aa.awbMode,
2873 shot_ext->shot.dm.request.frameCount );
2876 void ExynosCameraHWInterface2::m_preCaptureSetter(struct camera2_shot_ext * shot_ext)
2881 ALOGV("(%s): [Flash] Flash ON for Capture (%d)", __FUNCTION__, shot_ext->shot.ctl.request.frameCount);
2886 shot_ext->shot.ctl.aa.aeflashMode = AA_FLASHMODE_ON_ALWAYS;
2889 shot_ext->shot.ctl.aa.aeflashMode = AA_FLASHMODE_ON;
2896 shot_ext->shot.ctl.aa.aeflashMode = AA_FLASHMODE_ON_ALWAYS;
2899 shot_ext->shot.ctl.aa.aeflashMode = AA_FLASHMODE_ON;
2911 ALOGV("(%s): [Flash] IS_FLASH_AF_AUTO_AE_AWB_LOCK (%d)", __FUNCTION__, shot_ext->shot.ctl.request.frameCount);
2912 shot_ext->shot.ctl.aa.aeflashMode = AA_FLASHMODE_AUTO;
2913 //shot_ext->shot.ctl.aa.aeMode = AA_AEMODE_LOCKED;
2914 shot_ext->shot.ctl.aa.awbMode = AA_AWBMODE_LOCKED;
2919 shot_ext->shot.ctl.aa.aeMode =(enum aa_aemode)0;
2920 shot_ext->shot.ctl.aa.awbMode = (enum aa_awbmode)0;
2923 ALOGV("(%s): [Flash] IS_FLASH_AF_AUTO DONE (%d)", __FUNCTION__, shot_ext->shot.ctl.request.frameCount);
2924 shot_ext->shot.ctl.aa.aeflashMode = AA_FLASHMODE_OFF;
2927 ALOGV("(%s): [Flash] IS_FLASH_AF_AUTO Clear (%d)", __FUNCTION__, shot_ext->shot.ctl.request.frameCount);
2928 shot_ext->shot.ctl.aa.aeflashMode = AA_FLASHMODE_OFF;
2932 ALOGV("(%s): [Flash] IS_FLASH_CAPTURE (%d)", __FUNCTION__, shot_ext->shot.ctl.request.frameCount);
2934 shot_ext->shot.ctl.aa.aeflashMode = AA_FLASHMODE_CAPTURE;
2935 shot_ext->request_scc = 0;
2936 shot_ext->request_scp = 0;
2940 shot_ext->request_scc = 0;
2941 shot_ext->request_scp = 0;
2945 shot_ext->request_scc = 1;
2946 shot_ext->request_scp = 1;
2950 ALOGV("(%s): [Flash] Flash Capture END (%d)", __FUNCTION__, shot_ext->shot.ctl.request.frameCount);
2951 shot_ext->shot.ctl.aa.aeflashMode = AA_FLASHMODE_OFF;
2952 shot_ext->request_scc = 0;
2953 shot_ext->request_scp = 0;
2965 void ExynosCameraHWInterface2::m_preCaptureListenerSensor(struct camera2_shot_ext * shot_ext)
2971 if (shot_ext->shot.dm.flash.flashMode == CAM2_FLASH_MODE_OFF) {
2973 ALOGV("(%s): [Flash] Lis : AUTO -> OFF (%d)", __FUNCTION__, shot_ext->shot.dm.flash.flashMode);
2986 void ExynosCameraHWInterface2::m_preCaptureListenerISP(struct camera2_shot_ext * shot_ext)
2991 if (shot_ext->shot.dm.flash.decision > 0) {
2993 ALOGV("(%s): [Flash] IS_FLASH_ON, decision - %d", __FUNCTION__, shot_ext->shot.dm.flash.decision);
2994 if (shot_ext->shot.dm.flash.decision == 2)
3010 if (shot_ext->shot.dm.aa.awbMode == AA_AWBMODE_LOCKED) {
3011 ALOGV("(%s): [Flash] FLASH_AUTO_AE_AWB_LOCK_WAIT - %d", __FUNCTION__, shot_ext->shot.dm.aa.awbMode);
3019 if (shot_ext->shot.dm.flash.firingStable) {
3037 void ExynosCameraHWInterface2::m_preCaptureAeState(struct camera2_shot_ext * shot_ext)
3042 shot_ext->shot.dm.aa.aeState = AE_STATE_CONVERGED;
3047 shot_ext->shot.dm.aa.aeState = AE_STATE_FLASH_REQUIRED;
3052 void ExynosCameraHWInterface2::m_updateAfRegion(struct camera2_shot_ext * shot_ext)
3054 shot_ext->shot.ctl.aa.afRegions[0] = currentAfRegion[0];
3055 shot_ext->shot.ctl.aa.afRegions[1] = currentAfRegion[1];
3056 shot_ext->shot.ctl.aa.afRegions[2] = currentAfRegion[2];
3057 shot_ext->shot.ctl.aa.afRegions[3] = currentAfRegion[3];
3068 void ExynosCameraHWInterface2::m_afTrigger(struct camera2_shot_ext * shot_ext, int mode)
3079 shot_ext->shot.ctl.aa.afTrigger = 1;
3080 shot_ext->shot.ctl.aa.afMode = m_afMode;
3133 struct camera2_shot_ext *shot_ext;
3142 shot_ext = (struct camera2_shot_ext *)(m_camera_info.sensor.buffer[index].virt.extP[1]);
3150 matchedFrameCnt = m_requestManager->FindFrameCnt(shot_ext);
3161 m_requestManager->UpdateIspParameters(shot_ext, matchedFrameCnt, &m_ctlInfo);
3167 if (m_ctlInfo.scene.prevSceneMode != shot_ext->shot.ctl.aa.sceneMode) {
3168 ALOGV("(%s): Scene mode changed (%d)", __FUNCTION__, shot_ext->shot.ctl.aa.sceneMode);
3169 m_ctlInfo.scene.prevSceneMode = shot_ext->shot.ctl.aa.sceneMode;
3172 m_zoomRatio = (float)m_camera2->getSensorW() / (float)shot_ext->shot.ctl.scaler.cropRegion[2];
3200 shot_ext->shot.ctl.scaler.cropRegion[0] = new_cropRegion[0];
3201 shot_ext->shot.ctl.scaler.cropRegion[1] = new_cropRegion[1];
3202 shot_ext->shot.ctl.scaler.cropRegion[2] = new_cropRegion[2];
3205 shot_ext->shot.ctl.aa.afMode = m_afMode;
3209 shot_ext->shot.ctl.aa.afTrigger = 1;
3215 shot_ext->shot.ctl.aa.afMode = AA_AFMODE_CONTINUOUS_PICTURE_FACE;
3216 ALOGD("### Face AF Mode change (Mode %d) ", shot_ext->shot.ctl.aa.afMode);
3232 if ((m_afMode == AA_AFMODE_MANUAL) && ( shot_ext->shot.ctl.lens.focusDistance == 0)) {
3233 shot_ext->shot.ctl.aa.afMode = AA_AFMODE_INFINITY;
3234 shot_ext->shot.ctl.aa.afTrigger = 1;
3244 shot_ext->shot.ctl.aa.afMode = NO_CHANGE;
3252 m_afTrigger(shot_ext, 1);
3254 m_afTrigger(shot_ext, 0);
3259 m_afTrigger(shot_ext, 0);
3262 shot_ext->shot.ctl.aa.afTrigger = 0;
3266 shot_ext->setfile = ISS_SUB_SCENARIO_VIDEO;
3268 shot_ext->setfile = ISS_SUB_SCENARIO_STILL;
3271 shot_ext->shot.ctl.aa.afTrigger = 1;
3275 shot_ext->shot.ctl.aa.afMode = AA_AFMODE_OFF;
3280 shot_ext->shot.ctl.request.frameCount,
3281 shot_ext->request_scp,
3282 shot_ext->request_scc,
3283 shot_ext->dis_bypass, sizeof(camera2_shot));
3286 m_updateAfRegion(shot_ext);
3288 m_lastSceneMode = shot_ext->shot.ctl.aa.sceneMode;
3289 if (shot_ext->shot.ctl.aa.sceneMode == AA_SCENE_MODE_NIGHT
3290 && shot_ext->shot.ctl.aa.aeMode == AA_AEMODE_LOCKED)
3291 shot_ext->shot.ctl.aa.aeMode = AA_AEMODE_ON;
3293 if (shot_ext->shot.ctl.aa.captureIntent == AA_CAPTURE_INTENT_STILL_CAPTURE
3294 && shot_ext->shot.ctl.aa.sceneMode == AA_SCENE_MODE_NIGHT) {
3295 shot_ext->shot.ctl.aa.sceneMode = AA_SCENE_MODE_NIGHT_CAPTURE;
3296 shot_ext->shot.ctl.aa.aeTargetFpsRange[0] = 2;
3297 shot_ext->shot.ctl.aa.aeTargetFpsRange[1] = 30;
3300 shot_ext->request_scc = 0;
3304 shot_ext->shot.ctl.aa.sceneMode = AA_SCENE_MODE_NIGHT_CAPTURE;
3305 shot_ext->shot.ctl.aa.aeTargetFpsRange[0] = 30;
3306 shot_ext->shot.ctl.aa.aeTargetFpsRange[1] = 30;
3309 shot_ext->request_scc = 1;
3312 shot_ext->shot.ctl.aa.sceneMode = AA_SCENE_MODE_NIGHT_CAPTURE;
3313 shot_ext->shot.ctl.aa.aeTargetFpsRange[0] = 2;
3314 shot_ext->shot.ctl.aa.aeTargetFpsRange[1] = 30;
3316 shot_ext->request_scc = 0;
3319 shot_ext->shot.ctl.aa.sceneMode = AA_SCENE_MODE_NIGHT_CAPTURE;
3320 shot_ext->shot.ctl.aa.aeTargetFpsRange[0] = 2;
3321 shot_ext->shot.ctl.aa.aeTargetFpsRange[1] = 30;
3323 shot_ext->request_scc = 0;
3326 shot_ext->shot.ctl.aa.sceneMode = AA_SCENE_MODE_NIGHT_CAPTURE;
3327 shot_ext->shot.ctl.aa.aeTargetFpsRange[0] = 2;
3328 shot_ext->shot.ctl.aa.aeTargetFpsRange[1] = 30;
3330 shot_ext->request_scc = 0;
3333 switch (shot_ext->shot.ctl.aa.aeTargetFpsRange[1]) {
3335 shot_ext->shot.ctl.sensor.frameDuration = (66666 * 1000);
3339 shot_ext->shot.ctl.sensor.frameDuration = (41666 * 1000);
3343 shot_ext->shot.ctl.sensor.frameDuration = (40000 * 1000);
3348 shot_ext->shot.ctl.sensor.frameDuration = (33333 * 1000);
3351 shot_ext->shot.ctl.aa.aeTargetFpsRange[1] = 30;
3356 && (shot_ext->shot.ctl.aa.captureIntent == AA_CAPTURE_INTENT_STILL_CAPTURE)
3365 shot_ext->request_scc = 0;
3372 shot_ext
3377 } else if (shot_ext->shot.ctl.aa.captureIntent == AA_CAPTURE_INTENT_STILL_CAPTURE) {
3381 if (shot_ext->shot.ctl.flash.flashMode == CAM2_FLASH_MODE_TORCH) {
3387 shot_ext->shot.ctl.flash.flashMode = CAM2_FLASH_MODE_OFF;
3388 shot_ext->shot.ctl.flash.firingPower = 0;
3391 shot_ext->shot.ctl.flash.flashMode = CAM2_FLASH_MODE_NOP;
3395 if (shot_ext->isReprocessing) {
3397 m_currentReprocessOutStreams = shot_ext->shot.ctl.request.outputStreams[0];
3398 shot_ext->request_scp = 0;
3399 shot_ext->request_scc = 0;
3400 m_reprocessingFrameCnt = shot_ext->shot.ctl.request.frameCount;
3409 m_preCaptureListenerSensor(shot_ext);
3410 m_preCaptureSetter(shot_ext);
3414 (int)(shot_ext->shot.ctl.aa.mode), (int)(shot_ext->shot.ctl.aa.aeMode),
3415 (int)(shot_ext->shot.ctl.aa.awbMode), (int)(shot_ext->shot.ctl.aa.afMode),
3416 (int)(shot_ext->shot.ctl.aa.afTrigger));
3419 shot_ext->dis_bypass = 1;
3420 shot_ext->dnr_bypass = 1;
3421 shot_ext->request_scp = 0;
3422 shot_ext->request_scc = 0;
3429 shot_ext->request_scc = 0;
3431 uint32_t current_scp = shot_ext->request_scp;
3432 uint32_t current_scc = shot_ext->request_scc;
3434 if (shot_ext->shot.dm.request.frameCount == 0) {
3435 CAM_LOGE("ERR(%s): dm.request.frameCount = %d", __FUNCTION__, shot_ext->shot.dm.request.frameCount);
3443 shot_ext = (struct camera2_shot_ext *)(m_camera_info.isp.buffer[index_isp].virt.extP[1]);
3446 m_preCaptureListenerISP(shot_ext);
3450 shot_ext->shot.ctl.request.frameCount,
3451 shot_ext->request_scp,
3452 shot_ext->request_scc,
3453 shot_ext->dis_bypass,
3454 shot_ext->dnr_bypass, sizeof(camera2_shot));
3457 (int)(shot_ext->shot.dm.aa.mode), (int)(shot_ext->shot.dm.aa.aeMode),
3458 (int)(shot_ext->shot.dm.aa.awbMode),
3459 (int)(shot_ext->shot.dm.aa.afMode));
3462 m_currentOutputStreams = shot_ext->shot.ctl.request.outputStreams[0];
3465 if (!shot_ext->fd_bypass) {
3468 if (shot_ext->shot.dm.stats.faceRectangles[i][0] > 0)
3469 shot_ext->shot.dm.stats.faceRectangles[i][0] = (m_camera2->m_curCameraInfo->sensorW
3470 * shot_ext->shot.dm.stats.faceRectangles[i][0])
3472 if (shot_ext->shot.dm.stats.faceRectangles[i][1] > 0)
3473 shot_ext->shot.dm.stats.faceRectangles[i][1] = (m_camera2->m_curCameraInfo->sensorH
3474 * shot_ext->shot.dm.stats.faceRectangles[i][1])
3476 if (shot_ext->shot.dm.stats.faceRectangles[i][2] > 0)
3477 shot_ext->shot.dm.stats.faceRectangles[i][2] = (m_camera2->m_curCameraInfo->sensorW
3478 * shot_ext->shot.dm.stats.faceRectangles[i][2])
3480 if (shot_ext->shot.dm.stats.faceRectangles[i][3] > 0)
3481 shot_ext->shot.dm.stats.faceRectangles[i][3] = (m_camera2->m_curCameraInfo->sensorH
3482 * shot_ext->shot.dm.stats.faceRectangles[i][3])
3487 if (shot_ext->shot.ctl.aa.sceneMode != AA_SCENE_MODE_NIGHT)
3488 m_preCaptureAeState(shot_ext);
3491 if (shot_ext->shot.dm.aa.afMode == AA_AFMODE_CONTINUOUS_PICTURE_FACE)
3492 shot_ext->shot.dm.aa.afMode = AA_AFMODE_CONTINUOUS_PICTURE;
3495 m_requestManager->ApplyDynamicMetadata(shot_ext);
3498 if (current_scc != shot_ext->request_scc) {
3500 __FUNCTION__, current_scc, shot_ext->request_scc);
3501 m_requestManager->NotifyStreamOutput(shot_ext->shot.ctl.request.frameCount);
3503 if (shot_ext->request_scc) {
3505 if (shot_ext->shot.ctl.request.outputStreams[0] & STREAM_MASK_JPEG) {
3507 memcpy(&m_jpegMetadata, (void*)(m_requestManager->GetInternalShotExtByFrameCnt(shot_ext->shot.ctl.request.frameCount)),
3510 memcpy(&m_jpegMetadata, (void*)shot_ext, sizeof(struct camera2_shot_ext));
3514 if (current_scp != shot_ext->request_scp) {
3516 __FUNCTION__, current_scp, shot_ext->request_scp);
3517 m_requestManager->NotifyStreamOutput(shot_ext->shot.ctl.request.frameCount);
3519 if (shot_ext->request_scp) {
3525 shot_ext->request_sensor, shot_ext->request_scc, shot_ext->request_scp);
3526 if (shot_ext->request_scc + shot_ext->request_scp + shot_ext->request_sensor == 0) {
3533 OnAfNotification(shot_ext->shot.dm.aa.afState);
3536 memcpy(&shot_ext->shot.ctl, &m_camera_info.dummy_shot.shot.ctl, sizeof(struct camera2_ctl));
3537 shot_ext->shot.ctl.request.frameCount = 0xfffffffe;
3538 shot_ext->request_sensor = 1;
3539 shot_ext->dis_bypass = 1;
3540 shot_ext->dnr_bypass = 1;
3541 shot_ext->fd_bypass = 1;
3542 shot_ext->drc_bypass = 1;
3543 shot_ext->request_scc = 0;
3544 shot_ext->request_scp = 0;
3546 shot_ext->setfile = ISS_SUB_SCENARIO_VIDEO;
3548 shot_ext->setfile = ISS_SUB_SCENARIO_STILL;
3550 shot_ext->shot.ctl.aa.sceneMode = (enum aa_scene_mode)m_lastSceneMode;
3551 if (shot_ext->shot.ctl.aa.sceneMode == AA_SCENE_MODE_NIGHT_CAPTURE || shot_ext->shot.ctl.aa.sceneMode == AA_SCENE_MODE_NIGHT) {
3552 shot_ext->shot.ctl.aa.aeTargetFpsRange[0] = 8;
3553 shot_ext->shot.ctl.aa.aeTargetFpsRange[1] = 30;
3555 shot_ext->shot.ctl.aa.aeflashMode = AA_FLASHMODE_OFF;
3556 shot_ext->shot.ctl.flash.flashMode = CAM2_FLASH_MODE_OFF;
3559 (int)(shot_ext->shot.ctl.aa.mode), (int)(shot_ext->shot.ctl.aa.aeMode),
3560 (int)(shot_ext->shot.ctl.aa.awbMode), (int)(shot_ext->shot.ctl.aa.afMode),
3561 (int)(shot_ext->shot.ctl.aa.afTrigger));
3566 shot_ext = (struct camera2_shot_ext *)(m_camera_info.isp.buffer[index_isp].virt.extP[1]);
3568 (int)(shot_ext->shot.dm.aa.mode), (int)(shot_ext->shot.dm.aa.aeMode),
3569 (int)(shot_ext->shot.dm.aa.awbMode),
3570 (int)(shot_ext->shot.dm.aa.afMode));
3572 OnAfNotification(shot_ext->shot.dm.aa.afState);
3582 shot_ext = (struct camera2_shot_ext *)(m_camera_info.sensor.buffer[index].virt.extP[1]);
3585 shot_ext->request_scc = 0;
3586 shot_ext->request_scp = 0;
3587 shot_ext->request_sensor = 0;