IP Library › Granted Patent US 12,407,875
Granted Patent B2
US 12,407,875 · App. 18/644,591 · Granted Sep 2, 2025

Entropy-coding for video encoding and decoding

Inventors: Dong Gyu Sim (Seoul, KR); Sea Nae Park (Seoul, KR); Jong Seok Lee (Seoul, KR); Seung Wook Park (Gyeonggi-do, KR); Wha Pyeong Lim (Gyeonggi-do, KR)
Assignees: Hyundai Motor Company; Kia Corporation; Kwangwoon University Industry-Academic Collaboration Foundation
H04N19/91H04N19/103H04N19/13H04N19/186H04N19/70
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,407,875
App. No.
18/644,591
Granted
Sep 2, 2025
Kind
B2
Abstract

A method is executed to efficiently operate a bin buffer to limit a bin-to-bit ratio in entropy encoding and decoding related to bitstream generation and parsing. In addition, a method of configuring a list includes various entropy encoding/decoding methods and adaptively uses the entropy encoding/decoding methods for each basic unit of entropy encoding/decoding.

Claims (42)

1. A method for entropy decoding executed by a video decoding apparatus, the method comprising:

receiving a bitstream that has been generated by encoding a picture;

performing an arithmetic decoding process to generate at least one bin string each including at least one bin by decoding the bitstream; and

generating a syntax element through inverse binarization of the bin string,

wherein the number of bins generated by decoding the bitstream satisfies a constraint that the number does not exceed a threshold,

wherein the threshold is a value calculated based on a size of the picture, a sampling ratio between a luma component and a chroma component, and a bit depth, and

wherein the threshold is variably set according to a tier of a video.

2. The method of claim 1 , wherein in order to satisfy a constraint that the number of bins does not exceed the threshold, the performing of the arithmetic decoding process comprises:

increasing a counter by N per bit read and decrementing the counter by M according to occurrence of one bin, wherein M and N are natural numbers and are determined based on the threshold; and

selectively performing context-based adaptive binary arithmetic decoding or uniform probability-based binary arithmetic decoding depending on whether the counter is greater than N.

3. The method of claim 1 , wherein the arithmetic decoding process comprises:

generating a detailed section from a current section for decoding;

obtaining a current probability value for a most probable symbol (MPS) using a first context model and a second context model for each of the syntax element, and generating an MPS value;

calculating a length of a section of a least probable symbol (LPS) using the detailed section and the MPS value, and updating the current section using the length of the section of the LPS;

generating one bin using an offset of a preset length acquired from the bitstream and the updated current section, and re-adjusting, when a value of the LPS is determined as the one bin, the offset and the current section, wherein the value of the LPS is generated from a value of the MPS;

updating the first context model and the second context model; and

when the readjusted current section is less than a preset threshold, renormalizing the current section and the offset.

4. The method of claim 3 , wherein the updating of the first context model and the second context model comprises:

calculating a first adaptation rate and a second adaptation rate for each of the syntax element; and

updating the first context model using the first adaptation rate and updating the second context model using the second adaptation rate,

wherein the first context model is clipped to a maximum possible value of a probability of the first context model, and the second context model is clipped to a maximum possible value of a probability of the second context model.

5. A method for entropy encoding syntax elements generated according to predictive encoding of each block constituting a picture, the method comprising:

binarizing each of the syntax elements and generating at least one bin string each including at least one bin;

performing an arithmetic coding process to generate encoded data from the bin string; and

generating a bitstream comprised of one or more network abstraction layer (NAL) units from the encoded data,

wherein the number of bins relative to a length of the one or more NAL units is constrained not to exceed a threshold,

wherein the threshold is a value calculated based on a size of the picture, a sampling ratio between a luma component and a chroma component, and a bit depth,

wherein the threshold is variably set according to a tier of an image.

6. The method of claim 5 , wherein when the number of bins relative to the length of the one or more NAL units exceeds the threshold, each of the one or more NAL units is configured by inserting one or more zero words of a predefined length.

7. The method of claim 5 , wherein in order to satisfy a constraint that the number of bins does not exceed the threshold, the performing of the arithmetic coding process comprises:

increasing a counter by N per bit and decrementing the counter by M per bin, wherein M and N are natural numbers and are determined based on the threshold; and

selectively performing context-based adaptive binary arithmetic coding or uniform probability-based binary arithmetic coding depending on whether the counter is greater than N.

8. A method for transmitting a bitstream containing encoded video data, the method comprising:

generating the bitstream by encoding syntax elements generated according to predictive encoding for each block constituting a picture; and

transmitting the bitstream to a video decoding apparatus,

wherein generating the bitstream comprises:

binarizing each of the syntax elements to generate at least one bin string each including at least one bin;

performing an arithmetic coding process to generate encoded data from the bin string; and

generating a bitstream comprised of one or more network abstraction layer (NAL) units from the encoded data,

wherein the number of bins relative to a length of the one or more NAL units is constrained not to exceed a threshold,

wherein the threshold is a value calculated based on a size of the picture, a sampling ratio between a luma component and a chroma component, and a bit depth,

wherein the threshold is variably set according to a tier of an image.

Priority Claims (3)
KR 10-2019-0095448 · Aug 6, 2019 · national
KR 10-2019-0097803 · Aug 9, 2019 · national
KR 10-2020-0098311 · Aug 6, 2020 · national
Continuity (2)
Continuation 17428403
Related Publication 20240276027A1 · Aug 15, 2024
References Cited (11)
US 10225557B2 · Lim et al. · 2019 [cited by applicant]
US 11336918B2 · Karczewicz · 2022 [cited by examiner]
US 20120177131A1 · Matsuba · 2012 [cited by examiner]
US 20120201294A1 · Segall · 2012 [cited by examiner]
US 20150195549A1 · Wang · 2015 [cited by applicant]
US 20160330479A1 · Liu · 2016 [cited by examiner]
US 20200244995A1 · Hsiang · 2020 [cited by examiner]
US 20200322607A1 · Hsiang · 2020 [cited by examiner]
US 20220360783A1 · Keating · 2022 [cited by examiner]
WO 2013109026A1 · 2013 [cited by applicant]
WO 2015105890A1 · 2015 [cited by applicant]