Class: Omnizip::Algorithms::Zstandard::FSE::State

Inherits:
Struct
  • Object
show all
Defined in:
lib/omnizip/algorithms/zstandard/fse/table.rb

Overview

One FSE table entry: the symbol decoded in this state and the transition rule (bits to read, baseline to add). base_val / nb_add_bits carry the sequence-code meaning of the symbol (LL/ML baseline + extra bits, or OF base + offset code width) and are attached by the sequences decoder.

Instance Attribute Summary collapse

Instance Attribute Details

#base_valObject

Returns the value of attribute base_val

Returns:

  • (Object)

    the current value of base_val



32
33
34
# File 'lib/omnizip/algorithms/zstandard/fse/table.rb', line 32

def base_val
  @base_val
end

#baselineObject

Returns the value of attribute baseline

Returns:

  • (Object)

    the current value of baseline



32
33
34
# File 'lib/omnizip/algorithms/zstandard/fse/table.rb', line 32

def baseline
  @baseline
end

#nb_add_bitsObject

Returns the value of attribute nb_add_bits

Returns:

  • (Object)

    the current value of nb_add_bits



32
33
34
# File 'lib/omnizip/algorithms/zstandard/fse/table.rb', line 32

def nb_add_bits
  @nb_add_bits
end

#num_bitsObject

Returns the value of attribute num_bits

Returns:

  • (Object)

    the current value of num_bits



32
33
34
# File 'lib/omnizip/algorithms/zstandard/fse/table.rb', line 32

def num_bits
  @num_bits
end

#symbolObject

Returns the value of attribute symbol

Returns:

  • (Object)

    the current value of symbol



32
33
34
# File 'lib/omnizip/algorithms/zstandard/fse/table.rb', line 32

def symbol
  @symbol
end