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

Page video rendering method and device

A video and page technology, applied in the field of web page video rendering, can solve problems such as page freeze, achieve the effect of improving utilization rate, reducing operation time consumption and system overhead

Active Publication Date: 2020-07-17
HANGZHOU HIKVISION DIGITAL TECH
View PDF16 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0010] In view of this, the embodiment of the present invention provides a page video rendering method and device to solve technical problems such as page freeze in the prior art when there are multiple windows playing videos on the page

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
  • Page video rendering method and device
  • Page video rendering method and device
  • Page video rendering method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] In order to better understand the technical solutions of the present invention, the embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings.

[0035]It should be clear that the described embodiments are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0036] figure 2 It is a schematic flowchart of a specific embodiment of the page video rendering method provided by the embodiment of the present invention. refer to figure 2 , the page video rendering method includes:

[0037] Step 201, when playing the page video, if the main thread receives the video original code streams of multiple video windows, the main thread calls the sub-threads to perform video decoding on the video...

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 page video rendering method and device. The method comprises the following steps that: a main thread creates at least one sub-thread, and when a page video is played and themain thread receives video original code streams of a plurality of video windows, the main thread calls the sub-thread to respectively carry out video decoding on the video original code stream of each video window so as to obtain image data of each video window; and then, the main thread receives the image data of each video window called back by the sub-thread, and when the page is refreshed, the main thread merges the image data of the plurality of video windows and submits the merged image data to a graphics processor. Furthermore, the main thread merges and submits a drawing instruction to the graphics processor based on the image data of the plurality of video windows. According to the technical scheme, the video decoding process is allocated to the sub-threads, so that the utilization rate of the multi-core CPU is improved, and the operation time consumption and the system overhead under the multi-video window are reduced by combining the submitted image data and the combined drawing instruction.

Description

【Technical field】 [0001] The present invention relates to the technical field of webpage video rendering, in particular to a webpage video rendering method and device. 【Background technique】 [0002] Web Graphics Library (WebGL for short) is a 3D drawing protocol. This drawing technology standard allows the combination of JavaScript and OpenGL ES 2.0. By adding a JavaScript binding of OpenGL ES 2.0, WebGL can be used as HTML5 Canvas Provide hardware 3D accelerated rendering, so that web developers can display 3D scenes and models more smoothly in the browser with the help of system graphics cards, and can also create complex navigation and data visualization. It can be seen that the WebGL technical standard eliminates the trouble of developing a special rendering plug-in for web pages, and can be used to create website pages with complex 3D structures, and can even be used to design 3D web games. [0003] Figure 1A It is a schematic diagram of signaling sequence of a page ...

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
IPC IPC(8): H04N21/431H04N21/44H04N21/443H04N21/4402H04N21/81
CPCH04N21/4312H04N21/44H04N21/4438H04N21/440263H04N21/816
Inventor 王浩东朱珍
Owner HANGZHOU HIKVISION DIGITAL TECH
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