US 12,105,953 B2
Zero coder compression
Christian Martelock, Bonn (DE); Eric Bainville, Sunnyvale, CA (US); and Ali Sazegari, Cupertino, CA (US)
Assigned to Apple Inc., Cupertino, CA (US)
Filed by Apple Inc., Cupertino, CA (US)
Filed on Jan. 26, 2022, as Appl. No. 17/585,479.
Claims priority of provisional application 63/243,690, filed on Sep. 13, 2021.
Prior Publication US 2023/0081845 A1, Mar. 16, 2023
Int. Cl. G06F 3/06 (2006.01)
CPC G06F 3/0608 (2013.01) [G06F 3/064 (2013.01); G06F 3/0679 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A method comprising:
grouping received data in data blocks, each data block having a predetermined number of bytes; and
writing directly to an output buffer and not to an interim memory location, for wireless transmission to a device, for each data block, a compressed data block comprising:
a mask block having a same number of bits as the predetermined number, the mask block comprising, in a same order as bytes within that data block, a zero corresponding to a zero-byte within that data block, and a one corresponding to each non-zero byte within that data block, and
a subsequent block following the mask block, the subsequent block comprising non-zero bytes within that data block in a same order as the non-zero bytes within that data block.