CPC H03M 7/3066 (2013.01) [H03M 7/6011 (2013.01); H03M 7/6076 (2013.01)] | 30 Claims |
1. An apparatus for compressing data, comprising:
at least one memory; and
at least one processor coupled to the at least one memory, the at least one processor configured to:
generate a first compressed sub-packet based on removing one or more sparsity bytes from a first sequence of values corresponding to a first sub-packet, wherein the first sequence of values includes one or more sparsity bytes each equal to a configured sparsity value and one or more non-sparsity bytes each corresponding to a respective data value different from the configured sparsity value;
generate a first sub-packet header corresponding to the first compressed sub-packet, wherein the first sub-packet header is indicative of a respective location within the first sequence of values of each non-sparsity byte of the one or more non-sparsity bytes;
generate a first packet header corresponding to a plurality of compressed sub-packets including the first compressed sub-packet, wherein the first packet header is indicative of the configured sparsity value and respective coding information corresponding to each compressed sub-packet of the plurality of compressed sub-packets; and
generate a compressed data packet, wherein the compressed data packet includes at least the first packet header, the first sub-packet header, and the one or more non-sparsity bytes included in the first sequence of values.
|