History-based rice parameter derivations for video coding

US12413736B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-12413736-B2
Application numberUS-202218682366-A
CountryUS
Kind codeB2
Filing dateAug 18, 2022
Priority dateAug 18, 2021
Publication dateSep 9, 2025
Grant dateSep 9, 2025

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

In some embodiments, a video decoder decodes a video from a bitstream of the video using a history-based Rice parameter derivation. The video decoder accesses a binary string representing a partition of the video and processes each coding tree unit (CTU) in the partition to generate decoded coefficient values in the CTU. The process includes updating a history counter for a color component for calculating Rice parameters and prior to calculating a next Rice parameter, updating a replacement variable based on the updated history counter. The process further includes calculating the Rice parameters for transform units (TUs) in the CTU based on the value of the replacement variable and decoding the binary string corresponding to the TUs in the CTU into coefficient values of the TUs based on the calculated Rice parameters.

First claim

Opening claim text (preview).

The invention claimed is: 1. A method for decoding a video, the method comprising: accessing a binary string representing a partition of the video, the partition comprising a plurality of coding tree units (CTUs); decoding each CTU of the plurality of CTUs in the partition, decoding the CTU comprising: updating a history counter StatCoeff for a color component for calculating Rice parameters; prior to calculating a next Rice parameter, updating a replacement variable HistValue based on the updated history counter; calculating the Rice parameters for transform units (TUs) in the CTU based on the updated replacement variable HistValue; decoding the binary string corresponding to the TUs in the CTU into coefficient values of the TUs based on the calculated Rice parameters; and determining pixel values for the TUs in the CTU from the coefficient values; and outputting a decoded partition of the video comprising the decoded plurality of CTUs in the partition. 2. The method of claim 1 , wherein updating the history counter StatCoeff comprises: in response to determining that a first non-zero Golomb-Rice coded transform coefficient in a TU is coded as abs_remainder, updating the history counter StatCoeff for a color component cIdx as: StatCoeff [ cIdx ] = Floor ( Log ⁢ 2 ⁢ ( abs_remainder [ c ⁢ I ⁢ d ⁢ x ] ) ) + 1 ; in response to determining that the first non-zero Golomb-Rice coded transform coefficient in the TU is coded as dec_abs_level, updating the history counter for a color component cIdx as: StatCoeff [ cIdx ] = Floor ( Log ⁢ 2 ⁢ ( dec_abs ⁢ _level [ cIdx ] ) ) , wherein Floor(x) represents the largest integer less than or equal to x, and Log 2(x) is base-2 logarithm of x. 3. The method of claim 1 , wherein the partition is a frame, a slice, or a tile. 4. The method of claim 1 , further comprising setting the history counter StatCoeff to an initial value based on a bit depth of samples of luma and chroma arrays of the video. 5. The method of claim 1 , wherein calculating the Rice parameters for the TUs in the CTU based on the history counter comprises: calculating a local sum variable locSumAbs for a coefficient in a TU of the CTU using values of neighboring coefficients in a pre-determined neighborhood of the coefficient and the replacement variable HistValue; and deriving the Rice parameter for the TU based on the local sum variable locSumAbs. 6. The method of claim 5 , wherein calculating a local sum variable locSumAbs for a coefficient in a TU of the CTU comprises: determining that a neighboring coefficient of a plurality of neighboring coefficients in the pre-determined neighborhood of the coefficient is outside the TU; and using the replacement variable HistValue as a value of the neighboring coefficient outside the TU to calculate the local sum variable locSumAbs. 7. The method of claim 1 , wherein updating a replacement variable HistValue based on the history counter comprises updating the replacement variable HistValue for a color component cIdx by calculating: HistValue ⁢ [ c ⁢ I ⁢ d ⁢ x ] = 1 ⁢ << StatCoeff[cIdx] , wherein StatCoeff denotes the history counter. 8. A system comprising: a processing device; and a non-transitory computer-readable medium communicatively coupled to the processing device, wherein the processing device is configured to execute program code stored in the non-transitory computer-readable medium and thereby perform operations comprising: accessing a binary string representing a partition of a video, the partition comprising a plurality of coding tree units (CTUs); decoding each CTU of the plurality of CTUs in the partition, decoding the CTU comprising: updating a history counter StatCoeff for a color component for calculating Rice parameters; prior to calculating a next Rice parameter, updating a replacement variable HistValue based on the updated history counter; calculating the Rice parameters for transform units (TUs) in the CTU based on the updated replacement variable HistValue; decoding the binary string corresponding to the TUs in the CTU into coefficient values of the TUs based on the calculated Rice parameters; and determining pixel values for the TUs in the CTU from the coefficient values; and outputting a decoded partition of the video comprising the decoded plurality of CTUs in the partition. 9. The system of claim 8 , wherein updating the history counter StatCoeff comprises: in response to determining that a first non-zero Golomb-Rice coded transform coefficient in a TU is coded as abs_remainder, updating the history counter StatCoeff for a color component cIdx as: StatCoeff [ cIdx ] = Floor ( Log ⁢ 2 ⁢ (

Assignees

Inventors

Classifications

  • Tree coding, e.g. quad-tree coding · CPC title

  • the unit being a colour or a chrominance component · CPC title

  • the unit being a set of transform coefficients · CPC title

  • Adaptive subdivision aspects, e.g. subdivision of a picture into rectangular or non-rectangular coding blocks · CPC title

  • the region being a block, e.g. a macroblock · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US12413736B2 cover?
In some embodiments, a video decoder decodes a video from a bitstream of the video using a history-based Rice parameter derivation. The video decoder accesses a binary string representing a partition of the video and processes each coding tree unit (CTU) in the partition to generate decoded coefficient values in the CTU. The process includes updating a history counter for a color component for …
Who is the assignee on this patent?
Guangdong Oppo Mobile Telecommunications Corp Ltd
What technology area does this patent fall under?
Primary CPC classification H04N19/13. Mapped technology areas include Electricity.
When was this patent published?
Publication date Tue Sep 09 2025 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 6 related publications on this page (citations in our corpus or others sharing the same primary CPC).