  
    VisionStreamType rgb_type, yuv_type;
    int rgb_width, rgb_height, rgb_stride;
  
    int cur_yuv_idx, cur_rgb_idx;
    FrameMetadata cur_frame_data;
  
    VisionBuf *cur_rgb_buf;
    VisionBuf *cur_yuv_buf;
    int cur_buf_idx;
 
</s> remove   size_t yuv_buf_size;
 </s> add  </s> remove   cur_yuv_idx = cur_yuv_buf->idx;
  yuv_metas[cur_yuv_idx] = frame_data;
 </s> add   yuv_metas[cur_yuv_buf->idx] = frame_data; </s> remove     assert(cur_rgb_buf->len >= frame_size);
 </s> add  </s> remove   cur_rgb_idx = cur_rgb_buf->idx;
 </s> add  </s> remove   frame_size = ci->frame_height * ci->frame_stride;
 </s> add   const int frame_size = ci->frame_height * ci->frame_stride;
  
    VisionStreamType rgb_type, yuv_type;
    int rgb_width, rgb_height, rgb_stride;
  

    FrameMetadata cur_frame_data;
  
    VisionBuf *cur_rgb_buf;
    VisionBuf *cur_yuv_buf;
    int cur_buf_idx;
keep keep keep keep replace keep keep keep keep keep
 CameraBuf: removed unused variables (#19735) 
selfdrive/camerad/cameras/camera_common.h