Video decoding method and device, hardware decoder, and storage medium

US12470752B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-12470752-B2
Application numberUS-202318241939-A
CountryUS
Kind codeB2
Filing dateSep 4, 2023
Priority dateSep 30, 2022
Publication dateNov 11, 2025
Grant dateNov 11, 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.

The present disclosure provides a video decoding method, a video decoding device, a hardware decoder, and a storage medium. The method comprises: decoding a target slice of a to-be-decoded video; determining coding blocks that need to be restored in a frame where the target slice is located, when detecting occurrence of an error to a syntax element of the target slice; and restoring the coding blocks that need to be restored based on a global preset syntax element template, so as to perform forced decoding of the target slice.

First claim

Opening claim text (preview).

What is claimed is: 1 . A video decoding method, wherein the method comprises: decoding a target slice of a to-be-decoded video; determining coding blocks that need to be restored in a frame where the target slice is located, when detecting occurrence of an error to a syntax element of the target slice; and restoring the coding blocks that need to be restored based on a global preset syntax element template, so as to perform forced decoding of the target slice; wherein the global preset syntax element template is constructed through following steps comprising, determining a preset value according to a meaning indicated by a key syntax element wherein the key syntax element is configured to determine a fixed decoding branch, and assigning a value to the key syntax element according to the determined preset value, to obtain the global preset syntax element template. 2 . The method according to claim 1 , wherein the key syntax element comprises syntax elements of a Slice header and syntax elements of a coding block. 3 . The method according to claim 2 , wherein the step of restoring the coding blocks that need to be restored based on a global preset syntax element template comprises: combining the coding blocks that need to be restored into a new slice; and restoring the new slice based on the global preset syntax element template, wherein in a restoring process, a slice type of the new slice is determined by whether the frame where the target slice is located contains a reference frame. 4 . The method according to claim 1 , wherein the step of restoring the coding blocks that need to be restored based on a global preset syntax element template comprises: combining the coding blocks that need to be restored into a new slice; and restoring the new slice based on the global preset syntax element template, wherein in a restoring process, a slice type of the new slice is determined by whether the frame where the target slice is located contains a reference frame. 5 . The method according to claim 1 , wherein the occurrence of an error to a syntax element of the target slice comprises occurrence of an error to a syntax element of a Slice header in the target slice. 6 . The method according to claim 5 , wherein the syntax element of the Slice header in the target slice is detected through following steps, comprising: when detecting that a syntax element with the number of prefixes 0 greater than a preset threshold corresponding to a first syntax element exists in the first syntax element, determining that an error occurs to this syntax element, wherein the first syntax element is a syntax element based on Exponential-Golomb coding in the Slice header in the target slice. 7 . The method according to claim 6 , wherein the preset threshold is determined by a coding standard corresponding to each syntax element. 8 . The method according to claim 1 , wherein the step of determining coding blocks that need to be restored in a frame where the target slice is located, when detecting occurrence of an error to a syntax element of the target slice, comprises: when detecting that an error occurs to a syntax element of a coding block in the target slice, reading a local preset syntax element template to correct this syntax element, and meanwhile reading a preset code stream template, so as to perform forced decoding of this coding block; and determining the coding blocks that need to be restored in the frame where the target slice is located. 9 . The method according to claim 8 , wherein after reading the preset code stream template, the method further comprises: in response to a syntax element where an error occurs further existing in a to-be-decoded coding block, reading a preset value of a syntax element corresponding to the syntax element where the error occurs in the local preset syntax element template. 10 . The method according to claim 8 , wherein the syntax element of the coding block in the target slice is detected through following steps, comprising: when detecting that a syntax element with the number of prefixes 1 greater than a preset threshold corresponding to a second syntax element exists in the second syntax element, determining that an error occurs to this syntax element, wherein the second syntax element is a syntax element based on CABAC coding in the coding block in the target slice. 11 . The method according to claim 10 , wherein the preset threshold is determined by a coding standard corresponding to each syntax element. 12 . The method according to claim 1 , wherein the step of determining coding blocks that need to be restored in a frame where the target slice is located comprises: when detecting that no start code exists in a code stream behind the target slice, determining the coding blocks that need to be restored in the frame where the target slice is located, wherein the coding blocks that need to be restored are equal to total coding blocks in the frame where the target slice is located minus coding blocks that have been decoded currently. 13 . The method according to claim 1 , wherein the step of determining coding blocks that need to be restored in a frame where the target slice is located comprises: when detecting that a start code exists in a code stream behind the target slice, decoding a network abstraction layer unit header corresponding to the start code, to obtain a type syntax element in the network abstraction layer unit header; and determining the coding blocks that need to be restored in the frame where the target slice is located based on the type syntax element. 14 . The method according to claim 13 , wherein the step of determining the coding blocks that need to be restored in the frame where the target slice is located based on the type syntax element comprises: determining, when a numerical value of the type syntax element satisfies a preset condition, the coding blocks that need to be restored in the frame where the target slice is located, wherein the coding blocks that need to be restored are equal to total coding blocks in the frame where the target slice is located minus coding blocks that have been decoded currently; and when the numerical value of the type syntax element satisfies the preset condition, indicating that the target slice and a next slice do not belong to the same frame; and the next slice is a slice in a network abstraction layer unit corresponding to the start code. 15 . The method according to claim 13 , wherein the step of determining the coding blocks that need to be restored in the frame where the target slice is located based on the type syntax element comprises: when a numerical value of the type syntax element does not satisfy a preset condition, parsing a Slice header of a next slice, and determining the coding blocks that need to be restored in the frame where the target slice is located based on a parsing result of the Slice header of the next slice, wherein when the parsing result indicates that the target slice and the next slice do not belong to the same frame, the coding blocks that need to be restored are equal to total coding blocks in the frame where the target slice is located minus coding blocks that have been decoded currently; and when the parsing result indicates that the target slice and the next slice belong to the same frame, the coding blocks that need to be restored are equal to total coding blocks in the frame where the target slice is located before the next slice minus coding blocks that have been decoded currently. 16 . A non-transitory computer-readable storage m

Assignees

Inventors

Classifications

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

  • the region being a slice, e.g. a line of blocks or a group of blocks · CPC title

  • H04N19/13Primary

    Adaptive entropy coding, e.g. adaptive variable length coding [AVLC] or context adaptive binary arithmetic coding [CABAC] · CPC title

  • H04N19/70Primary

    characterised by syntax aspects related to video coding, e.g. related to compression standards · CPC title

  • using error resilience · 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 US12470752B2 cover?
The present disclosure provides a video decoding method, a video decoding device, a hardware decoder, and a storage medium. The method comprises: decoding a target slice of a to-be-decoded video; determining coding blocks that need to be restored in a frame where the target slice is located, when detecting occurrence of an error to a syntax element of the target slice; and restoring the coding …
Who is the assignee on this patent?
Verisilicon Microelectronics Shanghai Co Ltd, Verisilicon Microelectronics Chengdu Co 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 Nov 11 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 2 related publications on this page (citations in our corpus or others sharing the same primary CPC).