The present application relates to the technical field of
cloud computing, in particular to a
JPEG image sequence parallel decoding and rendering method, comprising the following steps: based on CPU concurrent
programming, adopting thread allocation strategy, carrying out
Huffman decoding on the received
JPEG image, and generating
parallel processing frame sequence.In the present application, the CPU concurrent
programming and thread allocation strategy are adopted, which greatly improves the
Huffman decoding efficiency, saves the preliminary
processing time, and significantly improves the
throughput and efficiency through independent decoding of each thread.Further, combined with the isolated writing and
video memory allocation strategy, the data is efficiently written to the GPU
video memory, the data operation is reduced, the speed is improved, the
parallel computing capability of the GPU makes the IDCT transformation and YUV to RGB
processing rapid and efficient, the time
delay is reduced, the output quality is improved, the shared
video memory buffer strategy optimizes the hardware
resource utilization, the application of
OpenGL rendering guarantees the smoothness of rendering and visual effect, and the speed and quality of
image processing are significantly improved through the comprehensive optimization, which lays a
solid foundation for real-time application.