mirror of
https://github.com/MoreTore/openpilot.git
synced 2026-08-05 16:26:14 +08:00
only 100 yuv buffers on C2 (#21622)
This commit is contained in:
@@ -28,6 +28,8 @@
|
||||
#include "selfdrive/camerad/cameras/camera_frame_stream.h"
|
||||
#endif
|
||||
|
||||
const int YUV_COUNT = Hardware::EON() ? 100 : 40;
|
||||
|
||||
static cl_program build_debayer_program(cl_device_id device_id, cl_context context, const CameraInfo *ci, const CameraBuf *b, const CameraState *s) {
|
||||
char args[4096];
|
||||
snprintf(args, sizeof(args),
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
#define CAMERA_ID_MAX 9
|
||||
|
||||
#define UI_BUF_COUNT 4
|
||||
#define YUV_COUNT 100
|
||||
|
||||
#define LOG_CAMERA_ID_FCAMERA 0
|
||||
#define LOG_CAMERA_ID_DCAMERA 1
|
||||
#define LOG_CAMERA_ID_ECAMERA 2
|
||||
|
||||
Reference in New Issue
Block a user