Unlock instant, AI-driven research and patent intelligence for your innovation.

Video frame decoding processing method and device

A video frame and video technology, which is applied in the field of video data processing, can solve the problems of time-consuming, system resource consumption, slow video restoration and display speed, etc., and achieve the effect of increasing speed and reducing consumption

Active Publication Date: 2016-04-20
TENCENT TECH (SHENZHEN) CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, once the video rendering fails due to the system locking event of the operating system, the processing method in the prior art is to disconnect the current rendering filter (RenderFilter) or even directly stop the filter image (FilterGraph ) component, then the video playback stops; when the system lock event ends, reconnect the RenderFilter or rebuild the FilterGraph component, and reconnect the RenderFilter or rebuild the FilterGraph component requires CPU execution, and for the CPU, reconnect the RenderFilter or rebuild The FilterGraph component is a heavyweight operation that consumes a lot of time and system resources such as CPU
As a result, after the system lock event ends, the speed of video recovery and display is very slow, and the CPU and other system resources consume high defects.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Video frame decoding processing method and device
  • Video frame decoding processing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] The present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0026] figure 1 It is a flow chart of the video frame decoding processing method in the present invention. The method can be performed by a video player installed in the operating system. This method needs to set the stop decoding variable in the player in advance, and set its initial value to logic false.

[0027] The method of the present invention will be described below by taking decoding and playing a video file as an example. The video frame format of the video file is H264 format, and the decoding mode of the corresponding decoder is H264 decoding mode. see figure 1 , after reading one or other number of video frames (the specific number can be specified by the developer), perform the following operations:

[0028] Step 101, judge whether described stop decoding variable is logic true, if then discard current video frame, c...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a video frame decoding processing method and device. The video frame decoding processing method includes setting a stop decoding variable in advance, wherein an initial value is logically false. After each video frame is read, the following steps are executed: (A) judging whether the stop decoding variable is logically true, and if the answer is positive, discarding the current video frame, continuing executing a current filter image assembly, and continuing to read a follow-up video frame, and otherwise, executing the step (B); (B) calling a video hardware accelerating interface, decoding the current video frame by means of a GPU, and displaying a decoding frame; (C) judging whether the video hardware accelerating interface feeds back an error code locked by a system, and if the answer is positive, setting the stop decoding variable to be logically true, continuing reading the follow-up video frame, and meanwhile executing the step (D), and otherwise, continuing reading the follow-up video frame; (D) monitoring whether an operation system sends out a system unlocking notice, and if the answer is positive, setting the stop decoding variable be logically false. According to the video frame decoding processing method and device, after a system locking event is finished, the restored video display speed is increased, and consumption of system resources such as a CPU is reduced.

Description

technical field [0001] The invention relates to the field of video data processing, in particular to a method and device for decoding and processing video frames. Background technique [0002] In the field of video data processing, with the continuous improvement of video resolution and video decoding complexity, the computational consumption of video decoding continues to increase. Using the central processing unit CPU to perform video decoding consumes a large amount of CPU computing resources, and it may also occur that the CPU computing resources cannot meet the needs of high resolution and high bit rate. [0003] In recent years, in data processing devices such as desktop computers (PCs), notebook computers, and handheld devices, there has been a trend of using a graphics processing unit (GPU) for video decoding. The main reason is that the GPU has a powerful parallel computing function, which is suitable for video decoding, and can easily decode 1080P video with a bit...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): H04N19/44H04N19/42
Inventor 赖晶
Owner TENCENT TECH (SHENZHEN) CO LTD