VvcSpsUnit::VvcSpsUnit()
    : VvcUnitWithProfile(),
      sps_id(0),
      vps_id(0),
      max_sublayers_minus1(0),
      chroma_format_idc(0),
      pic_width_max_in_luma_samples(0),
      pic_height_max_in_luma_samples(0),
      bitdepth_minus8(0),
      log2_max_pic_order_cnt_lsb(0),
      colour_primaries(2),
      transfer_characteristics(2),
      matrix_coeffs(2),  // 2 = unspecified
      full_range_flag(0),
      chroma_sample_loc_type_frame(0),
      chroma_sample_loc_type_top_field(0),
      chroma_sample_loc_type_bottom_field(0),
      num_units_in_tick(0),
      time_scale(0),
      inter_layer_prediction_enabled_flag(0),
      long_term_ref_pics_flag(0),
      sps_num_ref_pic_lists(0),
      weighted_pred_flag(0),
      weighted_bipred_flag(0)
{
}
VvcSpsUnit::VvcSpsUnit()
    : VvcUnitWithProfile(),
      sps_id(0),
      vps_id(0),
      max_sublayers_minus1(0),
      chroma_format_idc(0),
      pic_width_max_in_luma_samples(0),
      pic_height_max_in_luma_samples(0),
      bitdepth_minus8(0),
      log2_max_pic_order_cnt_lsb(0),
      colour_primaries(2),
      transfer_characteristics(2),
      matrix_coeffs(2),   
      full_range_flag(0),
      chroma_sample_loc_type_frame(0),
      chroma_sample_loc_type_top_field(0),
      chroma_sample_loc_type_bottom_field(0),
      num_units_in_tick(0),
      time_scale(0),
      inter_layer_prediction_enabled_flag(0),
      long_term_ref_pics_flag(0),
      sps_num_ref_pic_lists(0),
      weighted_pred_flag(0),
      weighted_bipred_flag(0)
{
}