Video frame rendering method and device

A technology of video frames and rendering instructions, applied in the direction of program control devices, etc., can solve the problems of low rendering efficiency, achieve the effect of improving rendering efficiency, reducing the number of transfers, and reducing the number of operations

Active Publication Date: 2014-06-11
BEIJING QIYI CENTURY SCI & TECH CO LTD
View PDF4 Cites 25 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, when a video frame needs to be rendered with multiple special effects, the video rendering module needs to run the GLSL programs corresponding to the special effects one by one. The more times the GLSL program is run, the more times the repeated data is transmitted, and the rendering efficiency is lower.

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 rendering method and device
  • Video frame rendering method and device
  • Video frame rendering method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] First, a video frame rendering method provided by an embodiment of the present invention is described, and the method may include the following steps:

[0035] Receive user rendering instructions and video frames to be rendered;

[0036] Analyzing the rendering instruction, determining the special effects corresponding to the video frame and the action time interval of each special effect;

[0037] Extracting the identification information of the determined special effect, according to the identification information, determine the GLSL program corresponding to the special effect, wherein each special effect corresponds to a GLSL program, and the GLSL program is a program written by the OpenGL shading language;

[0038] According to the action time interval of each special effect and the identification information of the extracted special effect, respectively judge whether each special effect corresponding to the video frame conforms to the preset rule, wherein the prese...

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 embodiment of the invention discloses a video frame rendering method and a video frame rendering device. The video frame rendering method comprises the following steps: receiving a rendering instruction of a user and a to-be-rendered video frame; analyzing the rendering instruction, and determining special effects corresponding to the video frame and an action time interval of each special effect; extracting the identifier information of the determined special effects, and determining GLSL (open graphics library shading language) programs corresponding to the special effects, wherein each special effect corresponds to one GLSL program; respectively judging whether each special effect corresponding to the video frame meets a preset rule according to the action time interval of each special effect and the extracted identifier information of each special effect; combining the GLSL programs corresponding to the special effects which meet the preset rule to obtain a combined GLSL program; executing the combined GLSL program and the GLSL programs corresponding to the special effects which do not meet the preset rule to obtain a rendered special-effect frame. According to the technical scheme, the execution frequency of the GLSL programs is reduced, and the transfer frequency of repeating data is reduced, so that the rendering efficiency is improved.

Description

technical field [0001] The present invention relates to the technical field of video frame processing, in particular to a video frame rendering method and device. Background technique [0002] In this era of micro-shooting, people hope to use software with video editing functions in mobile terminals such as mobile phones and tablet computers to convert the scattered photos and images of themselves and their family and friends into interesting dynamic videos and share them with family and friends. In this conversion process, rendering video frames is an important link. [0003] In the prior art, the video rendering module in the software with video editing function uses OpenGL (Open Graphics Library, Open Graphics Library) to render video frames. During the rendering process, each special effect corresponds to a GLSL (OpenGL Shading Language, OpenGL Shading language) programs, multiple special effects correspond to multiple GLSL programs, and the video rendering module needs...

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 Applications(China)
IPC IPC(8): G06F9/44
Inventor 刘细华
Owner BEIJING QIYI CENTURY SCI & TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products