CameraBuf: remove class variable yuv_metas (#20376)

albatross
Dean Lee 2021-03-17 11:50:11 +08:00 committed by GitHub
parent e7e76b755b
commit dd4fa036e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 2 deletions

View File

@ -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 = {

View File

@ -96,7 +96,6 @@ private:
RGBToYUVState rgb_to_yuv_state;
FrameMetadata yuv_metas[YUV_COUNT];
VisionStreamType rgb_type, yuv_type;
int cur_buf_idx;