mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-06-23 23:12:04 +08:00
up tici hevc bitrate (#20093)
* 2x tici bitrate * update test * clean up
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user