camerad: move `do_exit` to camera_qcom2.cc (#33086)

move do_exit to camera_qcom2.cc
This commit is contained in:
Dean Lee 2024-08-03 03:18:10 +08:00 committed by GitHub
parent ea5ee29ebd
commit 8ab587d30b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1 additions and 3 deletions

View File

@ -15,8 +15,6 @@
#include "CL/cl_ext_qcom.h"
#endif
ExitHandler do_exit;
class ImgProc {
public:
ImgProc(cl_device_id device_id, cl_context context, const CameraBuf *b, const CameraState *s, int buf_width, int uv_offset) {

View File

@ -24,7 +24,7 @@ const int MIPI_SETTLE_CNT = 33; // Calculated by camera_freqs.py
// For debugging:
// echo "4294967295" > /sys/module/cam_debug_util/parameters/debug_mdl
extern ExitHandler do_exit;
ExitHandler do_exit;
CameraState::CameraState(MultiCameraState *multi_camera_state, const CameraConfig &config)
: multi_cam_state(multi_camera_state),