# US 10,958,912 B2 · Bit prediction based bit rate control method and apparatus for video coding process supporting offline CABAC

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

- Number: US 10,958,912 B2
- Document ID: US10958912B2
- Status: Granted
- Kind: B2
- Application number: 16/488,060
- Filed: 2018-02-27
- Published: 2020-02-27
- Granted: 2021-03-23
- Earliest claimed: 2017-02-24
- Assignees: Chips & Media, Inc
- Applicants: Chips & Media, Inc
- Inventors: Dong Jin Park
- Web page: https://patentgrep.com/patent/US10958912B2

## CPC

- H04N 19/149: by estimating the code amount by means of a model, e.g. mathematical model or statistical model
- H04N 19/124: Quantisation
- H04N 19/13: Adaptive entropy coding, e.g. adaptive variable length coding [AVLC] or context adaptive binary arithmetic coding [CABAC]
- H04N 19/136: Incoming video signal characteristics or properties
- H04N 19/152: by measuring the fullness of the transmission buffer
- H04N 19/184: the unit being bits, e.g. of the compressed video stream
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

Provided is a bit rate control methods includes determining an input bit count for a rate quantization model according to a target bit rate setting; and providing a quantization parameter value determined through the rate quantization model to an encoder unit based on the input bit count. The rate quantization model is updated according to a prediction bit count information predicted from a BIN count information of a current or delay frame encoded in an encoder unit and the delay bit count information of the delay frame obtained from an offline context-adaptive binary arithmetic coding CABAC module.

## Claims

### Claim 1

A bit rate control method comprising:
determining an input bit count for a rate quantization model according to a target bit rate setting; and
providing a quantization parameter value determined through the rate quantization model to an encoder unit based on the input bit count,
wherein the rate quantization model is updated according to prediction bit count information predicted from BIN count information of a current frame or a delay frame encoded in the encoder unit and delay bit count information of the delay frame obtained from an offline context-adaptive binary arithmetic coding (CABAC) encoding module,
wherein the determining the input bit count for the rate quantization model according to a target bit rate setting comprises determining the input bit count according to a buffer level of a buffer modeling unit, and
wherein the buffer level is corrected by a delay bit error obtained according to the prediction bit count information and the delay bit count information of the offline CABAC encoding module.

### Claim 2 (depends on 1)

The bit rate control method of claim 1, wherein the offline CABAC encoding module processes a context-adaptive binary arithmetic coding of previous frames delayed by a preset delay value from the current frame processed by the encoder unit by asynchronously operating with a hardware pipeline of the encoder unit.

### Claim 3 (depends on 1)

The bit rate control method of claim 1, further comprising calculating the prediction bit count information,
wherein the BIN count information includes regular bin count information and bypass bin count information of the current frame or the delayed frame, and
wherein the prediction bit count information is obtained by multiplying a regular bin count of the current frame by a regular bit ratio and adding a bypass bin count of the current frame.

### Claim 4 (depends on 3)

The bit rate control method of claim 3, wherein the regular bit ratio is obtained based on a regular bit count of the delay frame predicted from a bypass bin count of the delay frame and a bit count of the delay frame and a regular bin count of the delayed frame.

### Claim 5 (depends on 1)

The bit rate control of claim 1, wherein the delay bit error is determined according to a difference between the delay frame and a prediction bit count obtained from the prediction bit count information and an actual bit count of the delay frame.

### Claim 6 (depends on 5)

The bit rate control method of claim 5, wherein the buffer level is adjusted to subtract the input bit count and the delay bit error from a value obtained by adding a prediction bit count of the current frame to an existing buffer level.

### Claim 7

A bit rate control apparatus comprising:
an input bit allocation unit for determining an input bit count for a rate quantization model according to a target bit rate setting;
a rate quantization modeling unit for providing a quantization parameter value determined through the rate quantization model to an encoder unit based on the input bit count; and
a buffer modeling unit for determining a buffer level,
wherein the rate quantization model is updated according to prediction bit count information predicted from BIN count information of a current frame or a delay frame encoded in the encoder unit and delay bit count information of the delay frame obtained from an offline context-adaptive binary arithmetic coding (CABAC) encoding module,
wherein the input bit allocation unit determines the input bit count according to the buffer level of the buffer modeling unit, and
wherein the buffer modeling unit corrects the buffer level by a delay bit error obtained according to the prediction bit count information and the delay bit count information of the offline CABAC encoding module.

### Claim 8 (depends on 7)

The bit rate control apparatus of claim 7, wherein the offline CABAC encoding module processes a context-adaptive binary arithmetic coding of previous frames delayed by a preset delay value from the current frame processed by the encoder unit by asynchronously operating with a hardware pipeline of the encoder unit.

### Claim 9 (depends on 8)

The bit rate control apparatus of claim 8, further comprising a bit prediction unit for calculating the prediction bit count information,
wherein the BIN count information includes regular bin count information and bypass bin count information of the current frame or the delayed frame, and
wherein the prediction bit count information is obtained by multiplying a regular bin count of the current frame by a regular bit ratio and adding a bypass bin count of the current frame.

### Claim 10 (depends on 9)

The bit rate control apparatus of claim 9, wherein the regular bit ratio is obtained based on a regular bit count of the delay frame predicted from a bypass bin count of the delay frame and a bit count of the delay frame and a regular bin count of the delayed frame.

### Claim 11 (depends on 8)

The bit rate control apparatus of claim 8, wherein the delay bit error is determined according to a difference between the delay frame and a prediction bit count obtained from the prediction bit count information and an actual bit count of the delay frame.

### Claim 12 (depends on 11)

The bit rate control apparatus of claim 11, wherein the buffer level is adjusted to subtract the input bit count and the delay bit error from a value obtained by adding a prediction bit count of the current frame to an existing buffer level.

### Claim 13 (depends on 1)

A non-transitory recording medium on which a program for causing a computer to execute the method of claim 1 is recorded.
