camerad: move debugging parameters from camera_common.h to camera_qcom2.cc (#33589)

move debugging parameters

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
This commit is contained in:
Dean Lee
2024-09-20 01:45:57 +08:00
committed by GitHub
parent 78db136914
commit c95f0f039f
2 changed files with 5 additions and 5 deletions
-5
View File
@@ -11,11 +11,6 @@
const int YUV_BUFFER_COUNT = 20;
// for debugging
const bool env_debug_frames = getenv("DEBUG_FRAMES") != NULL;
const bool env_log_raw_frames = getenv("LOG_RAW_FRAMES") != NULL;
const bool env_ctrl_exp_from_params = getenv("CTRL_EXP_FROM_PARAMS") != NULL;
typedef struct FrameMetadata {
uint32_t frame_id;
uint32_t request_id;
+5
View File
@@ -25,6 +25,11 @@
ExitHandler do_exit;
// for debugging
const bool env_debug_frames = getenv("DEBUG_FRAMES") != nullptr;
const bool env_log_raw_frames = getenv("LOG_RAW_FRAMES") != nullptr;
const bool env_ctrl_exp_from_params = getenv("CTRL_EXP_FROM_PARAMS") != nullptr;
// high level camera state
class CameraState : public SpectraCamera {