camerad: cleanup includes (#30782)

* cleanup includes

* continue

---------

Co-authored-by: Comma Device <device@comma.ai>
This commit is contained in:
Dean Lee 2023-12-18 14:42:52 +08:00 committed by GitHub
parent 846be323d5
commit ab0b26d2b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 7 additions and 21 deletions

View File

@ -9,6 +9,7 @@
#include <QDebug>
#include <QMouseEvent>
#include "common/swaglog.h"
#include "common/timing.h"
#include "selfdrive/ui/qt/util.h"
#ifdef ENABLE_MAPS

View File

@ -1,12 +1,7 @@
#include "system/camerad/cameras/camera_common.h"
#include <unistd.h>
#include <cassert>
#include <cstdio>
#include <chrono>
#include <string>
#include <thread>
#include "third_party/libyuv/include/libyuv.h"
#include <jpeglib.h>
@ -14,7 +9,6 @@
#include "common/clutil.h"
#include "common/swaglog.h"
#include "common/util.h"
#include "system/hardware/hw.h"
#include "third_party/linux/include/msm_media_info.h"
#include "system/camerad/cameras/camera_qcom2.h"

View File

@ -1,18 +1,12 @@
#pragma once
#include <cstdint>
#include <cstdlib>
#include <fcntl.h>
#include <memory>
#include <thread>
#include "cereal/messaging/messaging.h"
#include "cereal/visionipc/visionbuf.h"
#include "cereal/visionipc/visionipc.h"
#include "cereal/visionipc/visionipc_server.h"
#include "common/mat.h"
#include "common/queue.h"
#include "common/swaglog.h"
#include "system/hardware/hw.h"
const int YUV_BUFFER_COUNT = 20;

View File

@ -1,17 +1,12 @@
#include "system/camerad/cameras/camera_qcom2.h"
#include <fcntl.h>
#include <poll.h>
#include <sys/ioctl.h>
#include <sys/mman.h>
#include <unistd.h>
#include <algorithm>
#include <atomic>
#include <cassert>
#include <cerrno>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <string>
#include <vector>
@ -19,6 +14,7 @@
#include "media/cam_defs.h"
#include "media/cam_isp.h"
#include "media/cam_isp_ife.h"
#include "media/cam_req_mgr.h"
#include "media/cam_sensor_cmn_header.h"
#include "media/cam_sync.h"
#include "common/swaglog.h"

View File

@ -1,11 +1,8 @@
#pragma once
#include <cstdint>
#include <memory>
#include <utility>
#include <media/cam_req_mgr.h>
#include "system/camerad/cameras/camera_common.h"
#include "system/camerad/cameras/camera_util.h"
#include "system/camerad/sensors/sensor.h"

View File

@ -1,5 +1,6 @@
#include <cassert>
#include "common/swaglog.h"
#include "system/camerad/cameras/camera_common.h"
#include "system/camerad/cameras/camera_qcom2.h"
#include "system/camerad/sensors/sensor.h"

View File

@ -6,6 +6,8 @@
#include <QMessageBox>
#include <QPushButton>
#include "common/timing.h"
ReplayStream::ReplayStream(QObject *parent) : AbstractStream(parent) {
unsetenv("ZMQ");
setenv("COMMA_CACHE", "/tmp/comma_download_cache", 1);

View File

@ -7,6 +7,7 @@
#include <QApplication>
#include "common/util.h"
#include "common/version.h"
namespace {