CPC H04N 19/42 (2014.11) [G06T 1/20 (2013.01); H04N 19/127 (2014.11); H04N 19/156 (2014.11); H04N 19/172 (2014.11)] | 16 Claims |
1. A video stream decoding method, performed by a terminal device, the video stream decoding method comprising:
receiving a plurality of video streams from a monitoring device;
generating a plurality of threads in a thread pool corresponding to a graphics processing unit (GPU), comprising:
obtaining a video stream quantity of the plurality of video streams; and
generating threads in the thread pool corresponding to the GPU, a quantity of the threads being the same as the video stream quantity; and
transmitting, according to the plurality of threads, the plurality of video streams to the GPU for video decoding processing to obtain a plurality of pieces of decoded video data.
|