Video Encoding Pipeline Mode Switching Without IPCM Retracing
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing video image encoding devices with pipeline structures face inefficiencies when switching to IPCM mode, leading to complex processing control and decreased processing speed due to frequent retracing of the pipeline.
Innovation Solution
A video image encoding device that includes a predictive encoder, subtracter, predictive residual encoder, predictive residual decoder, adder, header code string generator, and coefficient code string generator, which allows for variable-length-coding in a first mode and direct use of residual decoded images as coefficient code strings in a second mode, without retracing the pipeline.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Speed
If the pipeline structure is used for encoding processing, then the processing speed is improved, but the complexity of processing control increases when switching to IPCM mode
Solution Approach 1:
The patent determines whether to use residual mode or PCM mode before the pipeline processing starts. By making this determination in advance based on the block type and prediction mode, the system avoids the need to retrace the pipeline when switching modes, thus maintaining high processing speed while controlling complexity through pre-planned decision logic.
Solution Approach 2:
The patent dynamically switches between residual mode and PCM mode depending on the encoding conditions (block type, prediction mode, quantization parameter). This dynamic adaptation allows the system to optimize processing speed for each specific case without requiring complex retroactive control mechanisms, as the mode selection is made flexible and context-dependent.
2Quantity of substance
If the pipeline is retraced to switch to IPCM mode, then the code amount is suppressed to the maximum value, but the processing speed decreases
Solution Approach 1:
The system performs mode determination before pipeline execution, deciding whether to enter residual mode or PCM mode based on pre-established criteria. This preliminary decision prevents the need for pipeline retracing during execution, allowing the system to suppress code amounts to the maximum value without the performance penalty of retracing operations.
Solution Approach 2:
The patent extracts the mode determination logic from the pipeline execution flow, separating it into a pre-processing stage. By taking out the decision-making function from within the pipeline, the system can make mode selections without interrupting or retracing the main encoding pipeline, thus maintaining processing speed while achieving code amount suppression.
3Speed
If residual mode is used for encoding, then the processing speed is maintained, but the code amount may exceed the maximum value
Solution Approach 1:
The patent implements a feedback mechanism where the quantization parameter and block characteristics are continuously monitored during encoding. Based on this feedback, the system dynamically adjusts the encoding mode between residual mode and PCM mode, allowing it to maintain processing speed while ensuring the code amount stays within the maximum value limit through real-time adaptation.
Solution Approach 2:
The system changes the encoding parameter (mode selection) based on the quantization parameter and block type. By adjusting the mode selection dynamically according to these parameters, the patent enables the system to maintain high processing speed in residual mode while switching to PCM mode when the code amount approaches the maximum limit, thus balancing speed and code amount control.
Data Source
AI summary
A video image encoding device, in a first mode, variable-length-encodes a residual coefficient to generate a coefficient code string, outputs the coefficient code string and the header information in a state in which the header information is associated with the coefficient code string, in a second mode, directly uses a differential image as a coefficient code string without variable-length-encoding the differential image, and outputs the coefficient code string and the header information in a state in which the header information is associated with the coefficient code string.


