mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-02-26 11:13:52 +08:00
CameraBuf: remove class variable yuv_metas (#20376)
This commit is contained in:
@@ -151,7 +151,6 @@ bool CameraBuf::acquire() {
|
||||
CL_CHECK(clReleaseEvent(debayer_event));
|
||||
|
||||
cur_yuv_buf = vipc_server->get_buffer(yuv_type);
|
||||
yuv_metas[cur_yuv_buf->idx] = cur_frame_data;
|
||||
rgb_to_yuv_queue(&rgb_to_yuv_state, q, cur_rgb_buf->buf_cl, cur_yuv_buf->buf_cl);
|
||||
|
||||
VisionIpcBufExtra extra = {
|
||||
|
||||
@@ -96,7 +96,6 @@ private:
|
||||
|
||||
RGBToYUVState rgb_to_yuv_state;
|
||||
|
||||
FrameMetadata yuv_metas[YUV_COUNT];
|
||||
VisionStreamType rgb_type, yuv_type;
|
||||
|
||||
int cur_buf_idx;
|
||||
|
||||
Reference in New Issue
Block a user