LogCameraInfo: remove unused variables (#23142)

pull/23051/head
Dean Lee 3 years ago committed by GitHub
parent 790a64af90
commit ddc612e9f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      selfdrive/loggerd/loggerd.h

@ -44,8 +44,6 @@ const int SEGMENT_LENGTH = LOGGERD_TEST ? atoi(getenv("LOGGERD_SEGMENT_LENGTH"))
struct LogCameraInfo { struct LogCameraInfo {
CameraType type; CameraType type;
const char *filename; const char *filename;
const char *frame_packet_name;
const char *encode_idx_name;
VisionStreamType stream_type; VisionStreamType stream_type;
int frame_width, frame_height; int frame_width, frame_height;
int fps; int fps;
@ -63,7 +61,6 @@ const LogCameraInfo cameras_logged[] = {
.type = RoadCam, .type = RoadCam,
.stream_type = VISION_STREAM_ROAD, .stream_type = VISION_STREAM_ROAD,
.filename = "fcamera.hevc", .filename = "fcamera.hevc",
.frame_packet_name = "roadCameraState",
.fps = MAIN_FPS, .fps = MAIN_FPS,
.bitrate = MAIN_BITRATE, .bitrate = MAIN_BITRATE,
.is_h265 = true, .is_h265 = true,
@ -77,7 +74,6 @@ const LogCameraInfo cameras_logged[] = {
.type = DriverCam, .type = DriverCam,
.stream_type = VISION_STREAM_DRIVER, .stream_type = VISION_STREAM_DRIVER,
.filename = "dcamera.hevc", .filename = "dcamera.hevc",
.frame_packet_name = "driverCameraState",
.fps = MAIN_FPS, // on EONs, more compressed this way .fps = MAIN_FPS, // on EONs, more compressed this way
.bitrate = DCAM_BITRATE, .bitrate = DCAM_BITRATE,
.is_h265 = true, .is_h265 = true,
@ -91,7 +87,6 @@ const LogCameraInfo cameras_logged[] = {
.type = WideRoadCam, .type = WideRoadCam,
.stream_type = VISION_STREAM_WIDE_ROAD, .stream_type = VISION_STREAM_WIDE_ROAD,
.filename = "ecamera.hevc", .filename = "ecamera.hevc",
.frame_packet_name = "wideRoadCameraState",
.fps = MAIN_FPS, .fps = MAIN_FPS,
.bitrate = MAIN_BITRATE, .bitrate = MAIN_BITRATE,
.is_h265 = true, .is_h265 = true,

Loading…
Cancel
Save