de265_error sps_range_extension::read(error_queue* errqueue, bitreader* br)
{
  transform_skip_rotation_enabled_flag    = get_bits(br,1);
  transform_skip_context_enabled_flag     = get_bits(br,1);
  implicit_rdpcm_enabled_flag             = get_bits(br,1);
  explicit_rdpcm_enabled_flag             = get_bits(br,1);
  extended_precision_processing_flag      = get_bits(br,1);
  intra_smoothing_disabled_flag           = get_bits(br,1);
  high_precision_offsets_enabled_flag     = get_bits(br,1);
  persistent_rice_adaptation_enabled_flag = get_bits(br,1);
  cabac_bypass_alignment_enabled_flag     = get_bits(br,1);

  return DE265_OK;
}
de265_error sps_range_extension::read(error_queue* errqueue, bitreader* br)
{
  transform_skip_rotation_enabled_flag    = get_bits(br,1);
  transform_skip_context_enabled_flag     = get_bits(br,1);
  implicit_rdpcm_enabled_flag             = get_bits(br,1);
  explicit_rdpcm_enabled_flag             = get_bits(br,1);
  extended_precision_processing_flag      = get_bits(br,1);
  intra_smoothing_disabled_flag           = get_bits(br,1);
  high_precision_offsets_enabled_flag     = get_bits(br,1);
  persistent_rice_adaptation_enabled_flag = get_bits(br,1);
  cabac_bypass_alignment_enabled_flag     = get_bits(br,1);

  return DE265_OK;
}