Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A 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 effects of improving rendering efficiency, reducing the number of transfers, and reducing the number of operations

Active Publication Date: 2017-02-15
BEIJING QIYI CENTURY SCI & TECH CO LTD
View PDF4 Cites 0 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
  • A video frame rendering method and device
  • A video frame rendering method and device
  • A 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 a preset rule, wherein the preset ...

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 (OpenGraphics Library, open graphics library) to render the video frame. During the rendering process, each special effect corresponds to a GLSL (OpenGL Shading Language, OpenGL coloring language). Language) programs, multiple special effects correspond to multiple GLSL programs, and the video renderin...

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