Adaptive Video Encoding with Dynamic Resource Allocation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional methods for concurrent video encoding and decoding waste performance due to fixed cycle budgets based on worst-case decoding conditions, leading to inefficiency in CPU cycles and memory bandwidth utilization.

Innovation Solution

An adaptive video encoding system comprising an encoder circuit, task scheduler circuit, and decoder circuit that dynamically adjust video encoding tasks based on available CPU cycles and memory bandwidth, allowing for efficient resource utilization and concurrent decoding.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If a fixed cycle budget is used for encoding based on worst case decoding, then decoding reliability is ensured, but CPU cycle utilization efficiency deteriorates

Engineering Contradiction:
Improvedecoding reliabilityVSAvoidCPU cycle utilization efficiency
Core Design Contradiction:
ReliabilityVSLoss of energy

Solution Approach 1:

The system dynamically adjusts the encoding cycle budget based on real-time decoding performance feedback. Instead of using a fixed worst-case budget, the encoder receives status signals from the decoder indicating actual decoding resource consumption, and adapts its encoding tasks accordingly. This dynamic adjustment allows the system to use more aggressive encoding when decoding is fast and conserve resources when decoding is slow, resolving the contradiction between reliability and efficiency.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The system implements a feedback mechanism where the decoder generates status signals about its resource consumption and sends them back to the encoder. The encoder uses this feedback information to adjust its encoding tasks in real-time. This closed-loop control ensures that encoding always matches actual decoding capacity, preventing both over-provisioning (waste) and under-provisioning (quality loss), thus resolving the efficiency-reliability tradeoff.

Inventive Principle:
Principle #23Feedback

2Reliability

If a fixed cycle budget is used for encoding based on worst case decoding, then concurrent decoding reliability is ensured, but productivity deteriorates

Engineering Contradiction:
Improveconcurrent decoding reliabilityVSAvoidvideo encoding quality
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The system dynamically adapts encoding complexity based on actual decoding performance. When the decoder processes bitstreams faster than expected, the encoder can increase encoding quality and complexity. When decoding is slower, the encoder reduces complexity to maintain timely operation. This dynamic adaptation allows the system to achieve high encoding quality when possible while ensuring reliable concurrent operation, resolving the contradiction between reliability and productivity.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The system changes encoding parameters (such as quantization step size, transformation complexity, and motion estimation precision) based on feedback from the decoder about actual resource consumption. By adjusting these parameters dynamically rather than fixing them for worst-case scenarios, the system can achieve better encoding quality when resources are available while maintaining reliable concurrent decoding operation, thus resolving the productivity-reliability contradiction.

Inventive Principle:
Principle #35Parameter changes

3Adaptability or versatility

If shared resources are allocated for concurrent encoding and decoding, then adaptability improves, but resource contention increases

Engineering Contradiction:
Improveresource allocation adaptabilityVSAvoidresource management complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The system uses feedback from the decoder about actual resource consumption to guide encoder resource allocation decisions. This feedback mechanism provides real-time information about available resources, allowing the system to adapt resource allocation dynamically without requiring complex predictive models or centralized arbitration. The feedback-driven approach simplifies resource management while maintaining high adaptability, resolving the contradiction between adaptability and complexity.

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The encoder and decoder autonomously adjust their resource usage based on mutual feedback signals without requiring external resource management intervention. Each component serves itself by adapting its behavior to the current system state, eliminating the need for complex centralized resource allocation logic. This self-service mechanism achieves high adaptability with minimal management complexity, resolving the stated contradiction.

Inventive Principle:
Principle #25Self-service

Data Source

PatentUS8031766B2Performance adaptive video encoding with concurrent decoding
Publication Date: 2011.10.04 AVAGO TECHNOLOGIES INTERNATIONAL SALES PTE LTD
  • US8031766B2 patent drawing
  • US8031766B2 patent drawing
  • US8031766B2 patent drawing

AI summary

An encoder circuit, a task scheduler circuit and a decoder circuit. The encoder circuit may be configured to (i) generate one or more first status signals in response to one or more report signals and (ii) perform video encoding tasks based on available central processing unit (CPU) cycles and memory bandwidth. The task scheduler circuit may be configured to (i) generate a control signal and the one or more report signals in response to the one or more first status signals. The decoder circuit may be configured to (i) generate one or more second status signals and (ii) perform concurrent decoding while the encoder circuit performs adaptive video encoding tasks in response to the control signal.