mirror of https://github.com/1okko/openpilot.git
camerad: cleanup includes (#30782)
* cleanup includes * continue --------- Co-authored-by: Comma Device <device@comma.ai>
This commit is contained in:
parent
846be323d5
commit
ab0b26d2b8
|
@ -9,6 +9,7 @@
|
||||||
#include <QDebug>
|
#include <QDebug>
|
||||||
#include <QMouseEvent>
|
#include <QMouseEvent>
|
||||||
|
|
||||||
|
#include "common/swaglog.h"
|
||||||
#include "common/timing.h"
|
#include "common/timing.h"
|
||||||
#include "selfdrive/ui/qt/util.h"
|
#include "selfdrive/ui/qt/util.h"
|
||||||
#ifdef ENABLE_MAPS
|
#ifdef ENABLE_MAPS
|
||||||
|
|
|
@ -1,12 +1,7 @@
|
||||||
#include "system/camerad/cameras/camera_common.h"
|
#include "system/camerad/cameras/camera_common.h"
|
||||||
|
|
||||||
#include <unistd.h>
|
|
||||||
|
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
#include <cstdio>
|
|
||||||
#include <chrono>
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <thread>
|
|
||||||
|
|
||||||
#include "third_party/libyuv/include/libyuv.h"
|
#include "third_party/libyuv/include/libyuv.h"
|
||||||
#include <jpeglib.h>
|
#include <jpeglib.h>
|
||||||
|
@ -14,7 +9,6 @@
|
||||||
#include "common/clutil.h"
|
#include "common/clutil.h"
|
||||||
#include "common/swaglog.h"
|
#include "common/swaglog.h"
|
||||||
#include "common/util.h"
|
#include "common/util.h"
|
||||||
#include "system/hardware/hw.h"
|
|
||||||
#include "third_party/linux/include/msm_media_info.h"
|
#include "third_party/linux/include/msm_media_info.h"
|
||||||
|
|
||||||
#include "system/camerad/cameras/camera_qcom2.h"
|
#include "system/camerad/cameras/camera_qcom2.h"
|
||||||
|
|
|
@ -1,18 +1,12 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <cstdint>
|
#include <fcntl.h>
|
||||||
#include <cstdlib>
|
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <thread>
|
#include <thread>
|
||||||
|
|
||||||
#include "cereal/messaging/messaging.h"
|
#include "cereal/messaging/messaging.h"
|
||||||
#include "cereal/visionipc/visionbuf.h"
|
|
||||||
#include "cereal/visionipc/visionipc.h"
|
|
||||||
#include "cereal/visionipc/visionipc_server.h"
|
#include "cereal/visionipc/visionipc_server.h"
|
||||||
#include "common/mat.h"
|
|
||||||
#include "common/queue.h"
|
#include "common/queue.h"
|
||||||
#include "common/swaglog.h"
|
|
||||||
#include "system/hardware/hw.h"
|
|
||||||
|
|
||||||
const int YUV_BUFFER_COUNT = 20;
|
const int YUV_BUFFER_COUNT = 20;
|
||||||
|
|
||||||
|
|
|
@ -1,17 +1,12 @@
|
||||||
#include "system/camerad/cameras/camera_qcom2.h"
|
#include "system/camerad/cameras/camera_qcom2.h"
|
||||||
|
|
||||||
#include <fcntl.h>
|
|
||||||
#include <poll.h>
|
#include <poll.h>
|
||||||
#include <sys/ioctl.h>
|
#include <sys/ioctl.h>
|
||||||
#include <sys/mman.h>
|
|
||||||
#include <unistd.h>
|
|
||||||
|
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <atomic>
|
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
#include <cerrno>
|
#include <cerrno>
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
#include <cstdio>
|
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
@ -19,6 +14,7 @@
|
||||||
#include "media/cam_defs.h"
|
#include "media/cam_defs.h"
|
||||||
#include "media/cam_isp.h"
|
#include "media/cam_isp.h"
|
||||||
#include "media/cam_isp_ife.h"
|
#include "media/cam_isp_ife.h"
|
||||||
|
#include "media/cam_req_mgr.h"
|
||||||
#include "media/cam_sensor_cmn_header.h"
|
#include "media/cam_sensor_cmn_header.h"
|
||||||
#include "media/cam_sync.h"
|
#include "media/cam_sync.h"
|
||||||
#include "common/swaglog.h"
|
#include "common/swaglog.h"
|
||||||
|
|
|
@ -1,11 +1,8 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <cstdint>
|
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <utility>
|
#include <utility>
|
||||||
|
|
||||||
#include <media/cam_req_mgr.h>
|
|
||||||
|
|
||||||
#include "system/camerad/cameras/camera_common.h"
|
#include "system/camerad/cameras/camera_common.h"
|
||||||
#include "system/camerad/cameras/camera_util.h"
|
#include "system/camerad/cameras/camera_util.h"
|
||||||
#include "system/camerad/sensors/sensor.h"
|
#include "system/camerad/sensors/sensor.h"
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
|
|
||||||
|
#include "common/swaglog.h"
|
||||||
#include "system/camerad/cameras/camera_common.h"
|
#include "system/camerad/cameras/camera_common.h"
|
||||||
#include "system/camerad/cameras/camera_qcom2.h"
|
#include "system/camerad/cameras/camera_qcom2.h"
|
||||||
#include "system/camerad/sensors/sensor.h"
|
#include "system/camerad/sensors/sensor.h"
|
||||||
|
|
|
@ -6,6 +6,8 @@
|
||||||
#include <QMessageBox>
|
#include <QMessageBox>
|
||||||
#include <QPushButton>
|
#include <QPushButton>
|
||||||
|
|
||||||
|
#include "common/timing.h"
|
||||||
|
|
||||||
ReplayStream::ReplayStream(QObject *parent) : AbstractStream(parent) {
|
ReplayStream::ReplayStream(QObject *parent) : AbstractStream(parent) {
|
||||||
unsetenv("ZMQ");
|
unsetenv("ZMQ");
|
||||||
setenv("COMMA_CACHE", "/tmp/comma_download_cache", 1);
|
setenv("COMMA_CACHE", "/tmp/comma_download_cache", 1);
|
||||||
|
|
|
@ -7,6 +7,7 @@
|
||||||
|
|
||||||
#include <QApplication>
|
#include <QApplication>
|
||||||
|
|
||||||
|
#include "common/util.h"
|
||||||
#include "common/version.h"
|
#include "common/version.h"
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
|
|
Loading…
Reference in New Issue