High-performance optimization method for JPG format picture
An optimization method and high-performance technology, applied in the field of image processing, can solve the problems of long time consumption, affecting the number of concurrent, insufficient CPU, etc., to achieve the effect of efficient processing efficiency, reduction of optimization time, and reduction of memory allocation
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0041] A high-performance optimization method for JPG format pictures, the method includes the following steps:
[0042] Step 1): Read the original JPG format picture, take out the Huffman code table, quantization table, picture width and height, and the start address of the compressed macroblock. Generally, every 16x16 pixel on the JPG format picture is divided into a macroblock;
[0043] Step 2): Carry out entropy decoding on the macroblock to obtain the quantized DCT coefficients;
[0044] The entropy decoding process is:
[0045] a) First, the macroblock is divided into several data units DU according to luminance and chrominance, and the data in each data unit DU is divided into two types, one is DC data that has been differentially coded, and the other is run-length coded For AC data, DPCM is used for differential coding, and RLE is used for run length coding;
[0046] b) Perform a normal Huffman decoding on the two kinds of data first, and then perform DPCM and RLE decoding resp...
Embodiment 2
[0061] The comparison test table of the optimization result of the embodiment 2 and the optimization result of the traditional technology:
[0062] Optimization operation hours FFmpeg 85ms ImagicMagick 59ms Libjpeg 40ms this invention 7ms
[0063] It can be seen that the actual effect of the present invention reduces the CPU usage time by more than 80% compared with the traditional technology.
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com