2024年10月26日 第35讲 AE手动曝光实战 极客笔记
本讲是Android Camera专题系列的第35讲,我们介绍Android Camera2 API专题的AE手动曝光实战。
更多资源:
资源 | 描述 |
---|---|
在线课程 | 极客笔记在线课程 |
知识星球 | 星球名称:深入浅出Android Camera 星球ID: 17296815 |
极客笔记圈 |
MainActivity#cameraSetup
|--> final SeekBar iso_seek_bar = findViewById(R.id.iso_seekbar);
|--> iso_seek_bar.setOnSeekBarChangeListener(null);
|--> iso_seek_bar.setOnSeekBarChangeListener(new OnSeekBarChangeListener()
MainActivity#iso_seek_bar#onProgressChanged
|--> Preview#setISO
|--> CameraController2#setISO
|--> CameraSetting#setAEMode
|--> CaptureRequest.CONTROL_AE_MODE to OFF
|--> CaptureRequest.SENSOR_SENSITIVITY to iso
|--> CaptureRequest.SENSOR_EXPOSURE_TIME to exp_time
|--> CaptureRequest.SENSOR_FRAME_DURATION to sensor_frame_duration
MainActivity#cameraSetup
|--> final SeekBar exposure_time_seek_bar = findViewById(R.id.exposure_time_seekbar);
|--> exposure_time_seek_bar.setOnSeekBarChangeListener(null);
|--> exposure_time_seek_bar.setOnSeekBarChangeListener(new OnSeekBarChangeListener
MainActivity#exposure_time_seek_bar#onProgressChanged
|--> Preview#setExposureTime
|--> CameraController2#setExposureTime
|--> CameraSetting#setAEMode
|--> CaptureRequest.CONTROL_AE_MODE to OFF
|--> CaptureRequest.SENSOR_SENSITIVITY to iso
|--> CaptureRequest.SENSOR_EXPOSURE_TIME to exp_time
|--> CaptureRequest.SENSOR_FRAME_DURATION to sensor_frame_duration
本文链接:http://so.lmcjl.com/news/16256/