  
    // SENSOR: stop stream
    struct msm_camera_i2c_reg_setting stop_settings = {
      .reg_setting = stop_reg_array,
      .size = ARRAYSIZE(stop_reg_array),
      .addr_type = MSM_CAMERA_I2C_WORD_ADDR,
      .data_type = MSM_CAMERA_I2C_BYTE_DATA,
      .delay = 0
    };
    sensorb_cfg_data.cfgtype = CFG_SET_STOP_STREAM_SETTING;
 
</s> remove     int ret = poll(fds, ARRAYSIZE(fds), 1000);
 </s> add     int ret = poll(fds, std::size(fds), 1000); </s> remove     err = sensor_write_regs(s, init_array_imx298, ARRAYSIZE(init_array_imx298), MSM_CAMERA_I2C_BYTE_DATA);
 </s> add     err = sensor_write_regs(s, init_array_imx298, std::size(init_array_imx298), MSM_CAMERA_I2C_BYTE_DATA); </s> remove     err = sensor_write_regs(s, init_array_ov8865, ARRAYSIZE(init_array_ov8865), MSM_CAMERA_I2C_BYTE_DATA);
 </s> add     err = sensor_write_regs(s, init_array_ov8865, std::size(init_array_ov8865), MSM_CAMERA_I2C_BYTE_DATA); </s> remove     err = sensor_write_regs(s, mode_setting_array_imx298, ARRAYSIZE(mode_setting_array_imx298), MSM_CAMERA_I2C_BYTE_DATA);
 </s> add     err = sensor_write_regs(s, mode_setting_array_imx298, std::size(mode_setting_array_imx298), MSM_CAMERA_I2C_BYTE_DATA); </s> remove   int err = sensor_write_regs(s, start_reg_array, ARRAYSIZE(start_reg_array), MSM_CAMERA_I2C_BYTE_DATA);
 </s> add   int err = sensor_write_regs(s, start_reg_array, std::size(start_reg_array), MSM_CAMERA_I2C_BYTE_DATA);
    .size = std::size(stop_reg_array),
  
    // SENSOR: stop stream
    struct msm_camera_i2c_reg_setting stop_settings = {
      .reg_setting = stop_reg_array,
    .size = std::size(stop_reg_array),
      .addr_type = MSM_CAMERA_I2C_WORD_ADDR,
      .data_type = MSM_CAMERA_I2C_BYTE_DATA,
      .delay = 0
    };
    sensorb_cfg_data.cfgtype = CFG_SET_STOP_STREAM_SETTING;
keep keep keep keep replace keep keep keep keep keep
 Use std::size for element counts (#20654) 
selfdrive/camerad/cameras/camera_qcom.cc