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

move do_exit to camera_qcom2.cc
old-commit-hash: 8ab587d30b461cf52844a351b912e3560b9dcbcd
This commit is contained in:
Dean Lee
2024-08-03 03:18:10 +08:00
committed by GitHub
parent c92010d0ac
commit 2a16a305b3
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),