Image Decryption Memory Sharing via Circular Storage
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current image decryption technologies inefficiently use memory by requiring separate storage for reference frames and decrypted frames, leading to unnecessary memory waste.
Innovation Solution
An image decryption method and apparatus that allows the reference frame and decrypted frame to share a temporary storage block in the memory module, using a circular storage mechanism to efficiently replace and store pixel data, thereby optimizing memory usage.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If separate storage is used for reference frames and decrypted frames, then decryption functionality is ensured, but memory usage increases unnecessarily
Solution Approach 1:
The patent merges the storage of reference frames and decrypted frames into a single temporary storage block. The decryption circuit stores decrypted frame data in the temporary storage block, which is also used for storing reference frames. This combining approach allows both functions to share the same memory resource, thereby reducing overall memory usage while maintaining decryption functionality.
Solution Approach 2:
The temporary storage block is designed to serve multiple functions: it stores both reference frames and decrypted frames. The system determines whether to store a decrypted frame as a reference frame based on control information, allowing the same storage block to perform multiple roles in the decryption process.
2Reliability
If reference frames are stored in memory, then decryption process can proceed, but memory bandwidth requirements increase
Solution Approach 1:
By merging the storage of reference frames and decrypted frames into a single temporary storage block, the system reduces the total memory bandwidth required. Instead of having separate storage blocks for reference frames and decrypted frames, the unified block allows for more efficient memory access patterns and reduces overall memory traffic during the decryption process.
Data Source
AI summary
The present disclosure discloses an image decryption method that includes steps outlined below. Control information in an image stream is read and decrypted. Image stream packets in the image stream are read according to the control information. According to the control information, pixel data of a first reference frame from a first temporary storage block of a memory module and/or of a second reference frame from a second temporary storage block of the memory module are selectively read. A decryption process is performed according to the image stream packets and selectively according to the pixel data of the first and/or the second reference frame to generate pixel data of a decrypted frame. During the decryption process, the pixel data of the decrypted frame is transmitted to a post-processing circuit and is stored to one of the first and the second temporary storage blocks according to the control information.


