Image Block Processing in DDR to Reduce Transmission Delay
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing image processing technologies face challenges with high data transmission delay and system resource waste when handling high-resolution video images, particularly due to the need to read and write entire frames of video source image data, which increases transmission delay and wastes resources.
Innovation Solution
An image processing method and apparatus that determines when the number of written rows of source image data in a DDR reaches a preset number of rows corresponding to an image block, allowing for partial frame processing and compression, reducing data transmission delay and system resource waste by reading and writing less data at a time and completing image partitioning before compression.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If the entire frame of video source image data is read and written in the DDR, then the image compression can be performed on complete data, but the transmission delay increases and system resources are wasted
Solution Approach 1:
The patent divides the entire frame of video source image data into multiple image blocks (e.g., 16x16 pixels) that can be processed independently. The DDR is organized with each row containing data for multiple image blocks, allowing the system to read and process partial frames (individual blocks or groups of blocks) rather than waiting for complete frame accumulation. This segmentation enables incremental compression of image blocks as they become available in the DDR, significantly reducing transmission delay while maintaining compression quality.
2Reliability
If the entire frame of video source image data is stored in the DDR before processing, then data completeness is ensured, but system resources are wasted and processing efficiency decreases
Solution Approach 1:
The patent implements preliminary organization of the DDR memory structure where each row is configured to store source image data for a specific number of image blocks. The system pre-calculates and sets the number of rows to be read based on the required number of image blocks for compression. This preliminary configuration allows the JPEG compression module to immediately begin processing as soon as the required data is written, without waiting for the entire frame to be complete, thereby improving processing efficiency while ensuring data completeness for each image block.
3Loss of time
If partitioning of the entire frame of image is implemented in the JPEG compression module, then transmission delay is reduced, but system resources are wasted
Solution Approach 1:
The patent performs partitioning of the image frame at the memory storage level rather than at the compression processing level. By organizing the DDR to naturally contain segmented image block data and configuring the read operation to retrieve exactly the required number of rows corresponding to the needed image blocks, the system avoids the overhead of dynamic partitioning logic in the JPEG compression module. This approach reduces transmission delay by enabling selective reading of partial frames while minimizing system resource waste by eliminating redundant partitioning operations.
Data Source
AI summary
Provided is an image processing method, which includes: determining whether the number of written rows of source image data in a DDR is a preset number of rows or a stop write number of rows, the preset number of rows being an integer multiple of the number of rows of an image block determined according to a compression condition, and the image block being any image block in an image block matrix determined on the basis of an entire frame of image; if yes, reading the source image data of the current image block from the DDR on the basis of a first read address of the current image block, the number of rows, and the number of columns; and performing compression on the source image data of the current image block to obtain compressed data, and writing the compressed data to the DDR.

