CPC H03M 7/6011 (2013.01) [G06F 11/08 (2013.01); H03M 5/145 (2013.01); H03M 7/14 (2013.01); H03M 7/6005 (2013.01); H03M 13/19 (2013.01); H03M 13/31 (2013.01); H03M 13/63 (2013.01); H04L 1/0057 (2013.01); H04L 1/0061 (2013.01); H04L 25/4908 (2013.01); H04N 23/665 (2023.01)] | 20 Claims |
1. An encoding device comprising:
a memory storing instructions, and
at least one processor configured to execute the instructions to perform operations comprising:
scrambling an input data string to produce a scrambled data string;
calculating a first running disparity of the scrambled data string;
determining whether or not to invert the scrambled data string on a basis of the first running disparity and a second running disparity calculated at a time point before the first running disparity;
determining a flag in association with the input data string;
calculating a parity code using the flag; and
adding the parity code at an end of a block that includes the scrambled data string.
|