    clWaitForEvents(1, &debayer_event);
    CL_CHECK(clReleaseEvent(debayer_event));
  
    cur_yuv_buf = vipc_server->get_buffer(yuv_type);
    cur_yuv_idx = cur_yuv_buf->idx;
    yuv_metas[cur_yuv_idx] = frame_data;
    rgb_to_yuv_queue(&rgb_to_yuv_state, q, cur_rgb_buf->buf_cl, cur_yuv_buf->buf_cl);
  
    VisionIpcBufExtra extra = {
                          frame_data.frame_id,
                          frame_data.timestamp_sof,
 
</s> remove   cur_rgb_idx = cur_rgb_buf->idx;
 </s> add  </s> remove     assert(cur_rgb_buf->len >= frame_size);
 </s> add  </s> remove   frame_size = ci->frame_height * ci->frame_stride;
 </s> add   const int frame_size = ci->frame_height * ci->frame_stride; </s> remove   int cur_yuv_idx, cur_rgb_idx;
 </s> add  </s> remove   size_t yuv_buf_size;
 </s> add 
  yuv_metas[cur_yuv_buf->idx] = frame_data;
    clWaitForEvents(1, &debayer_event);
    CL_CHECK(clReleaseEvent(debayer_event));
  
    cur_yuv_buf = vipc_server->get_buffer(yuv_type);
  yuv_metas[cur_yuv_buf->idx] = frame_data;
  yuv_metas[cur_yuv_buf->idx] = frame_data;
    rgb_to_yuv_queue(&rgb_to_yuv_state, q, cur_rgb_buf->buf_cl, cur_yuv_buf->buf_cl);
  
    VisionIpcBufExtra extra = {
                          frame_data.frame_id,
                          frame_data.timestamp_sof,
keep keep keep keep replace replace keep keep keep keep keep
 CameraBuf: removed unused variables (#19735) 
selfdrive/camerad/cameras/camera_common.cc