method for accelerating decoding of a camera video stream through a programmable GPU in a virtual-real fusion system

Zheng Wenting,Li Rong,Bao Hujun
2019-01-01
Abstract:The invention discloses a method for accelerating decoding of a camera video stream through a programmable GPU in a virtual-real fusion system. The method comprises the steps of obtaining an originalYUV video; Creating a single-channel texture for the pixel flow of each frame of YUV image and transmitting the single-channel texture to the GPU; Drawing a three-dimensional virtual scene, and judging whether the current pixel belongs to a camera image or not; And mixing the RGB pixels and the three-dimensional scene to form a final virtual-real fusion image. Compared with a traditional method for decoding YUV video pixels on a CPU in a multi-thread mode, more original video pixels which do not need to be sampled can be effectively cut, and meanwhile the decoding efficiency is greatly improved on the basis of a GPU with higher parallel decoding capacity. The method is clear in algorithm and robust in result, can be applied to fusion application of a large three-dimensional virtual scene and real-time monitoring, and can be well combined with a video of a current mainstream camera manufacturer for use.
What problem does this paper attempt to address?