# US 2022/0036922 A1 · Frame buffer compressing circuitry and image processing apparatus

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2022/0036922 A1
- Document ID: US20220036922A1
- Status: Published application
- Kind: A1
- Application number: 17/375,666
- Filed: 2021-07-14
- Published: 2022-02-03
- Earliest claimed: 2020-07-31
- Assignees: Samsung Electronics Co., Ltd.
- Applicants: Samsung Electronics Co., Ltd.
- Inventors: Kyung Koo LEE
- Web page: https://patentgrep.com/patent/US20220036922A1

## CPC

- G11B 20/10527: {Audio or video recording; Data buffering arrangements (G11B20/12 - G11B20/18 take precedence)}
- G11B 20/00007: {Time or data compression or expansion (audio compression based on psychoacoustics G10L19/00; data processing for reproducing audio data at different playback speeds G10L21/04; video compression H04N19/00; data compression per se H03M7/30)}
- H04N 19/124: Quantisation
- H04N 19/15: by monitoring actual compressed data size at the memory before deciding storage at the transmission buffer
- H04N 19/172: the region being a picture, frame or field
- H04N 19/176: the region being a block, e.g. a macroblock
- H04N 19/46: Embedding additional information in the video signal during the compression process (H04N19/517, H04N19/68, H04N19/70 take precedence)
- H04N 19/91: Entropy coding, e.g. variable length coding [VLC] or arithmetic coding
- G11B 2020/00072: {the compressed signal including a video signal}
- H03M 7/3071: {Prediction}
- H03M 7/607: {Selection between different types of compressors}
- G11B: INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER (recording measured values in a way that does not require playback through a transducer G01D9/00; recording or playback apparatus using mechanically marked tape, e.g. punched paper tape, or using unit records, e.g. punched or magnetically marked cards G06K; transferring data from one type of record carrier to another G06K1/18; circuits for coupling output of reproducer to radio receiver H04B1/20; gramophone pick-ups or like acoustic electromechanical transducers or circuits therefor H04R)
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION
- H03M: CODING; DECODING; CODE CONVERSION IN GENERAL (using fluidic means F15C4/00; optical analogue/digital converters G02F7/00; coding, decoding or code conversion, specially adapted for particular applications, see the relevant subclasses, e.g. G01D, G01R, G06F, G06T, G09G, G10L, G11B, G11C, H04B, H04L, H04M, H04N; ciphering or deciphering for cryptography or other purposes involving the need for secrecy G09C)

## Abstract

An image processing apparatus includes a memory configured to store compressed data; and frame buffer compressing circuitry which includes encoder circuitry configured to compress at least some of source data to generate the compressed data and transmit the compressed data to the memory, and decoder circuitry configured to read and decompress the compressed data from the memory, in which the compressed data includes a payload and a header including actual compressed data and flag, the frame buffer compressing circuitry is configured to reflect a result obtained by comparing an accumulated compressibility corresponding to the compressed data with a reference compressibility in the flag, and is configured to perform compression or decompression in a lossy mode or a lossless mode depending on the flag.

## Claims

### Claim 1

An image processing apparatus comprising:
a multi-media IP configured to process raw data to generate source data, and receives and uses output data;
frame buffer compressing circuitry configured to operate in a lossy mode or a lossless mode to compress the source data into compressed data or decompress the compressed data into the output data; and
a memory configured to store the compressed data and is accessed by the multi-media IP,
wherein the frame buffer compressing circuitry is configured to select the lossy mode or the lossless mode on the basis of an accumulated compressibility of the compressed data and performs compression or decompression based on the selected mode.

### Claim 2 (depends on 1)

The image processing apparatus of claim 1, wherein the source data includes at least one frame including a plurality of blocks, and
wherein the frame buffer compressing circuitry is configured to operate in the lossy mode when the accumulated compressibility of at least two blocks among the plurality of blocks exceeds a reference compressibility, and otherwise, the frame buffer compressing circuitry is configured to operate in the lossless mode.

### Claim 3 (depends on 2)

The image processing apparatus of claim 2, wherein at least two blocks which are a basis of the accumulated compressibility include all the plurality of blocks.

### Claim 4 (depends on 2)

The image processing apparatus of claim 2, wherein at least two blocks which are the basis of the accumulated compressibility are blocks included in at least one line among the plurality of blocks.

### Claim 5 (depends on 2)

The image processing apparatus of claim 2, wherein at least two blocks which are the basis of the accumulated compressibility are at least two or more blocks continuously placed among the plurality of blocks.

### Claim 6 (depends on 2)

The image processing apparatus of claim 2, wherein at least two blocks which are the basis of the accumulated compressibility are at least two or more blocks randomly placed among the plurality of blocks.

### Claim 7 (depends on 1)

The image processing apparatus of claim 1, wherein the compressed data further includes a header which indicates a percentage of the compressed data in a bandwidth; and
a payload which includes a flag indicating whether the accumulated compressibility exceeds a reference compressibility, actual compressed data, and values required for the decompression.

### Claim 8

Frame buffer compressing circuitry comprising:
encoder circuitry configured to receive source data and generates compressed data; and
decoder circuitry configured to decompress the compressed data and outputs the output data,
wherein the encoder circuitry is configured to perform compression in a lossy mode when an accumulated compressibility of the compressed data exceeds a reference compressibility, and otherwise, the encoder circuitry is configured to perform compression in a lossless mode, and
wherein the decoder circuitry is configured to perform decompression according to a compression mode corresponding to the compressed data.

### Claim 9 (depends on 8)

The frame buffer compressing circuitry of claim 8, wherein the compressed data includes
a header which indicates a percentage of the compressed data in a bandwidth; and
a payload including flag, actual compressed data, and values required for the decompression.

### Claim 10 (depends on 9)

The frame buffer compressing circuitry of claim 9, wherein the encoder circuitry includes
quantization circuitry configured to quantize the source data according to a quantization coefficient;
prediction circuitry configured to generate the source data or the quantized data as prediction data; and
entropy encoding circuitry configured to perform entropy encoding on the prediction data to generate entropy data, and
the entropy encoding circuitry is configured to calculate and accumulate compressibility of the source data on a block basis, and
the entropy encoding circuitry is configured to reflect a result obtained by comparing the accumulated compressibility of at least two or more blocks with the reference compressibility in the flag.

### Claim 11 (depends on 10)

The frame buffer compressing circuitry of claim 10, wherein the encoder circuitry further includes first mode selector circuitry configured to select the lossy mode or the lossless mode on the basis of the flag provided by the entropy encoding circuitry, and
the first mode selector circuitry is in front of the quantization circuitry, and is configured to transmit the source data to the prediction circuitry when the lossy mode is selected, and is configured to transmit the source data to the quantization circuitry when the lossless mode is selected.

### Claim 12 (depends on 10)

The frame buffer compressing circuitry of claim 10, wherein the encoder circuitry further includes a CRC (cyclical redundancy check) circuitry configured to add CRC bits generated on the basis of the source data to the compressed data.

### Claim 13 (depends on 9)

The frame buffer compressing circuitry of claim 9, wherein the decoder circuitry includes:
second mode selector circuitry configured to select the lossy mode or the lossless mode depending on the flag;
entropy decoding circuitry configured to perform entropy-decoding of the compressed data;
prediction compensation circuitry configured to perform prediction compensation on the entropy-decoded data; and
inverse quantization circuitry configured to inversely quantize the prediction-compensated data and configured to output the prediction-compensated data as the output data in the case of the lossy mode,
wherein the prediction-compensated data is output as the output data in the case of the lossless mode.

### Claim 14

An image processing apparatus comprising:
a memory configured to store compressed data; and
a frame buffer compressing circuitry which includes encoder circuitry configured to compress at least some of source data to generate the compressed data and transmit the compressed data to the memory, and decoder circuitry configured to read and decompress the compressed data from the memory,
wherein the compressed data includes a payload and a header including actual compressed data and flag,
wherein the frame buffer compressing circuitry is configured to reflect a result obtained by comparing an accumulated compressibility corresponding to the compressed data with a reference compressibility in the flag, and is configured to perform compression or decompression in a lossy mode or a lossless mode depending on the flag.

### Claim 15 (depends on 14)

The image processing apparatus of claim 14, wherein the encoder circuitry includes
quantization circuitry configured to quantize the source data depending on a quantization coefficient;
prediction circuitry configured to generate the source data or the quantized data as prediction data; and
entropy encoding circuitry configured to perform entropy-encoding on the prediction data to generate entropy data,
wherein the entropy encoding circuitry is configured to calculate and accumulate compressibility of the entropy data on a block basis, and
the entropy encoding circuitry is configured to generate a result obtained by comparing the accumulated compressibility of at least two or more blocks with the reference compressibility as the flag.

### Claim 16 (depends on 15)

The image processing apparatus of claim 15, wherein the encoder circuitry further includes first mode selector circuitry configured to cause the encoder circuitry to operate in the lossy mode or the lossless mode depending on the flag.

### Claim 17 (depends on 14)

The image processing apparatus of claim 14, wherein the decoder circuitry is configured to select the lossy mode or the lossless mode depending on the flag of the read compressed data,
the decoder circuitry is configured to perform unpadding of zero data of the compressed data,
the decoder circuitry is configured to perform entropy-decoding of the unpadded compressed date, and
when the lossy mode is selected, the decoder circuitry is configured to inversely quantize the decoded data and is configured to output the decoded data as output data, and
when the lossless mode is selected, the decoder circuitry is configured to output the decoded data as the output data.

### Claim 18 (depends on 17)

The image processing apparatus of claim 17, wherein the header represents a percentage of compressed data in a bandwidth between the memory and the frame buffer compressing circuitry.

### Claim 19 (depends on 15)

The image processing apparatus of claim 15, wherein at least two blocks which are the basis of the accumulated compressibility are blocks included in at least one line among a plurality of blocks of the source data.

### Claim 20 (depends on 15)

The image processing apparatus of claim 15, wherein at least two blocks which are the basis of the accumulated compressibility are at least two or more blocks placed consecutively among a plurality of blocks of the source data.
