up tici hevc bitrate (#20093)

* 2x tici bitrate

* update test

* clean up
This commit is contained in:
ZwX1616
2021-02-22 09:15:56 -08:00
committed by GitHub
parent cb9f860e0c
commit e2044ca5a2
2 changed files with 5 additions and 2 deletions
+3 -1
View File
@@ -41,12 +41,14 @@
namespace {
constexpr int MAIN_BITRATE = 5000000;
constexpr int MAIN_FPS = 20;
#ifndef QCOM2
constexpr int MAIN_BITRATE = 5000000;
constexpr int MAX_CAM_IDX = LOG_CAMERA_ID_DCAMERA;
constexpr int DCAM_BITRATE = 2500000;
#else
constexpr int MAIN_BITRATE = 10000000;
constexpr int MAX_CAM_IDX = LOG_CAMERA_ID_ECAMERA;
constexpr int DCAM_BITRATE = MAIN_BITRATE;
#endif
+2 -1
View File
@@ -18,14 +18,15 @@ from selfdrive.loggerd.config import ROOT
SEGMENT_LENGTH = 2
FULL_SIZE = 1253786 # file size for a 2s segment in bytes
if EON:
FULL_SIZE = 1253786 # file size for a 2s segment in bytes
CAMERAS = [
("fcamera.hevc", 20, FULL_SIZE),
("dcamera.hevc", 10, 770920),
("qcamera.ts", 20, 77066),
]
else:
FULL_SIZE = 2507572
CAMERAS = [
("fcamera.hevc", 20, FULL_SIZE),
("dcamera.hevc", 20, FULL_SIZE),