CameraBuf: remove class variable yuv_metas (#20376)
This commit is contained in:
parent
e7e76b755b
commit
dd4fa036e9
|
@ -151,7 +151,6 @@ bool CameraBuf::acquire() {
|
||||||
CL_CHECK(clReleaseEvent(debayer_event));
|
CL_CHECK(clReleaseEvent(debayer_event));
|
||||||
|
|
||||||
cur_yuv_buf = vipc_server->get_buffer(yuv_type);
|
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);
|
rgb_to_yuv_queue(&rgb_to_yuv_state, q, cur_rgb_buf->buf_cl, cur_yuv_buf->buf_cl);
|
||||||
|
|
||||||
VisionIpcBufExtra extra = {
|
VisionIpcBufExtra extra = {
|
||||||
|
|
|
@ -96,7 +96,6 @@ private:
|
||||||
|
|
||||||
RGBToYUVState rgb_to_yuv_state;
|
RGBToYUVState rgb_to_yuv_state;
|
||||||
|
|
||||||
FrameMetadata yuv_metas[YUV_COUNT];
|
|
||||||
VisionStreamType rgb_type, yuv_type;
|
VisionStreamType rgb_type, yuv_type;
|
||||||
|
|
||||||
int cur_buf_idx;
|
int cur_buf_idx;
|
||||||
|
|
Loading…
Reference in a new issue