@@ -38,9 +38,9 @@ calling RunLengthEncode with run_length_code = -1, magnitude_code = -1, and
3838use_run_length_for_non_zeros = false.
3939
4040run_length_code: If >= 0, use Rice code with this parameter to encode run
41- lengths, else use Golomb code.
41+ lengths, else use Elias gamma code.
4242magnitude_code: If >= 0, use Rice code with this parameter to encode magnitudes,
43- else use Golomb code.
43+ else use Elias gamma code.
4444use_run_length_for_non_zeros: If true, alternate between coding run lengths of
4545 zeros and non-zeros. If false, only encode run lengths of zeros, and encode
4646 non-zeros one by one.
@@ -72,9 +72,9 @@ calling RunLengthDecode with run_length_code = -1, magnitude_code = -1, and
7272use_run_length_for_non_zeros = false.
7373
7474run_length_code: If >= 0, use Rice code with this parameter to decode run
75- lengths, else use Golomb code.
75+ lengths, else use Elias gamma code.
7676magnitude_code: If >= 0, use Rice code with this parameter to decode magnitudes,
77- else use Golomb code.
77+ else use Elias gamma code.
7878use_run_length_for_non_zeros: If true, alternate between coding run lengths of
7979 zeros and non-zeros. If false, only decode run lengths of zeros, and decode
8080 non-zeros one by one.
0 commit comments