Racing-Mode Ring Buffer Access Control for Low-Latency Video Processing

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional video systems face challenges in achieving low-latency and high-performance video playback due to long playback latency in video receiving systems, which is a limitation for ultra-low latency applications such as virtual reality.

Innovation Solution

A video processing system utilizing a ring buffer and a racing-mode ring buffer access control scheme is implemented, with storage devices and processing stages configured to prevent data overflow and underflow, ensuring seamless data access and processing between stages.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Loss of time

If conventional video receiving system design is used, then system stability is maintained, but playback latency becomes too long for ultra-low latency applications

Engineering Contradiction:
Improveplayback latencyVSAvoidsystem stability
Core Design Contradiction:
Loss of timeVSReliability

Solution Approach 1:

The video receiving system is divided into multiple independent processing stages (receiving circuit, audio/video demultiplexing circuit, video decoder, display engine), each with dedicated ring buffers. This segmentation allows parallel processing and reduces overall latency while maintaining system stability through modular design.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

Ring buffers are pre-configured with sufficient capacity to hold video data packets before processing. The racing-mode access control scheme is pre-established to manage buffer access, allowing data to be staged and prepared in advance, reducing waiting time and latency in the video playback pipeline.

Inventive Principle:
Principle #10Preliminary action

2Reliability

If buffer size is increased to prevent underflow and overflow, then data access reliability improves, but buffer cost increases

Engineering Contradiction:
Improvedata access reliabilityVSAvoidbuffer cost
Core Design Contradiction:
ReliabilityVSQuantity of substance

Solution Approach 1:

The racing-mode ring buffer access control scheme dynamically adjusts buffer access based on real-time read and write pointer positions. This dynamic control allows smaller buffer sizes to be used effectively, as the system adapts to varying data flow rates, preventing overflow and underflow without requiring excessive buffer capacity.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The access control scheme continuously monitors the positions of read and write pointers in the ring buffers, providing feedback control. When the write pointer approaches the read pointer, the system adjusts data flow to prevent overflow, and when the read pointer approaches the write pointer, it prevents underflow, ensuring reliable data access with optimized buffer sizes.

Inventive Principle:
Principle #23Feedback

3Loss of time

If racing-mode ring buffer access control scheme is implemented, then access latency is reduced, but system complexity increases

Engineering Contradiction:
Improveaccess latencyVSAvoidsystem complexity
Core Design Contradiction:
Loss of timeVSDevice complexity

Solution Approach 1:

The ring buffer access control scheme is designed to be self-managing through automated pointer comparison and conditional blocking. The system automatically detects when read and write pointers are in conflict and manages data flow without external intervention, reducing access latency while keeping control logic integrated within the buffer management structure rather than requiring complex external control mechanisms.

Inventive Principle:
Principle #25Self-service

Data Source

PatentUS10984832B2Video processing system using ring buffer and racing-mode ring buffer access control scheme
Publication Date: 2021.04.20 MEDIATEK INC
  • US10984832B2 patent drawing
  • US10984832B2 patent drawing
  • US10984832B2 patent drawing

AI summary

A video processing system includes a storage device, a receiving circuit, an audio/video demultiplexing circuit, a video decoder, and a display engine. The storage device includes a data buffer, a bitstream buffer, and a display buffer. An output of the receiving circuit is written into the data buffer. An input of the audio/video demultiplexing circuit is read from the data buffer, and an output of the audio/video demultiplexing circuit is written into the bitstream buffer. An input of the video decoder is read from the bitstream buffer, and an output of the video decoder is written into the display buffer. An input of the display engine is read from the display buffer. Each of the data buffer, the bitstream buffer, and the display buffer is a ring buffer.