Hardware Video Decoding with Syntax Template Error Recovery
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current video decoding technologies, particularly hardware decoders for H.264/HEVC standards, struggle with error detection and restoration, leading to pipeline interruptions and incomplete image reconstruction due to bit errors in the code stream, especially when reference frames are affected.
Innovation Solution
A video decoding method that involves decoding a target slice, determining and restoring coding blocks based on a global preset syntax element template, ensuring continuous decoding without pipeline interruption by using a fixed decoding branch and combining coding blocks into a new slice for restoration.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If error detection is implemented in hardware decoder, then error detection capability is improved, but hardware pipeline is interrupted and decoding efficiency deteriorates
Solution Approach 1:
The patent introduces a syntax element template as an intermediary mechanism that stores preset syntax element values. When an error is detected, this template serves as a mediator to provide replacement values without interrupting the hardware pipeline, allowing continuous decoding while restoring erroneous syntax elements.
Solution Approach 2:
The patent pre-stores syntax element templates containing valid syntax element values before decoding occurs. This preliminary preparation allows the hardware decoder to quickly replace erroneous syntax elements during error recovery without requiring complex real-time analysis, thus maintaining decoding efficiency while improving error detection capability.
2Reliability
If error restoration is implemented in hardware decoder, then code stream restoration capability is improved, but hardware pipeline is interrupted and processing speed deteriorates
Solution Approach 1:
The syntax element template acts as an intermediary that enables fast restoration of erroneous code stream data. By pre-storing valid syntax element combinations, the template allows the hardware decoder to quickly replace corrupted data without interrupting the pipeline or requiring slow software-based recovery procedures.
Solution Approach 2:
The patent uses copying by maintaining a template of valid syntax element values that can be copied into the decoding stream when errors are detected. This copying mechanism allows rapid restoration of corrupted code stream portions while keeping the hardware pipeline continuously operational.
3Duration of action of stationary object
If forced decoding is implemented, then decoding continuity is improved, but complexity of error handling increases
Solution Approach 1:
The hardware decoder performs self-service error handling by automatically detecting syntax element errors and using the syntax element template to restore corrupted data. This self-service mechanism enables continuous forced decoding without requiring complex external error handling systems or interrupting the decoding pipeline.
Data Source
AI summary
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.


