loggerd: create encoder threads from cameras_logged (#21875)

old-commit-hash: d9baaf7eb90f0815c4d635d33244975ad71876d2
This commit is contained in:
Dean Lee
2021-08-31 10:33:00 +08:00
committed by GitHub
parent 2e1ea456f0
commit ecf3ee7603
3 changed files with 41 additions and 56 deletions
+2 -5
View File
@@ -13,6 +13,8 @@
#include "cereal/gen/cpp/log.capnp.h"
#include "selfdrive/camerad/cameras/camera_common.h"
class FileReader : public QObject {
Q_OBJECT
@@ -31,11 +33,6 @@ private:
QUrl url_;
};
enum CameraType {
RoadCam = 0,
DriverCam,
WideRoadCam
};
const CameraType ALL_CAMERAS[] = {RoadCam, DriverCam, WideRoadCam};
const int MAX_CAMERAS = std::size(ALL_CAMERAS);