This invention provides a lossless frame
compression method that is easy to implement in HEVC hardware, comprising: S1. Data alignment of the image, expanding the width to a multiple of 64 and the height to a multiple of 16; S2. Block partitioning; S3. Compression of 4*64 size luma PLCU and chroma PLCU, each PLCU being an independent compression unit, with compression performed in units of sbk; obtaining the data_val of all pixels in the luma and chroma PLCU; setting different data_len values according to the characteristics of the data_val of pixels in sbk; S4. Generating the Body, compressing pixels according to the information obtained above; S5. Generating the Head. This method breaks away from the original encoding framework, is more adaptable, and achieves a better
compression ratio and faster compression speed through appropriate block partitioning, better luma and chroma component
processing, and fewer
syntax elements.