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

Video rendering method and device

A video and video frame technology, applied in the video field, can solve problems such as CPU and GPU load imbalance, achieve load balancing, reduce computing time, and accelerate rendering

Active Publication Date: 2017-04-26
ALIBABA (CHINA) CO LTD
View PDF1 Cites 17 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In view of this, the present disclosure proposes a video rendering method and device to solve the problem of unbalanced CPU and GPU loads in the video rendering technology in the related art

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0064] figure 1An implementation flowchart of a video rendering method according to an embodiment of the present disclosure is shown. This method can be applied to mobile terminals such as mobile phones or tablet computers, and can also be applied to PCs (Personal Computers, personal computers), which is not limited here. Such as figure 1 As shown, the method includes:

[0065] In step S11, a texture is created through OpenGL.

[0066] OpenGL (Open Graphics Library, Open Graphics Library) defines a graphics program interface that is a cross-programming language and cross-platform programming interface specification. OpenGL can be used for 3D images or 2D images. OpenGL in this embodiment may be OpenGL ES, which is not limited here.

[0067] A texture can refer to a bitmap that represents the details of an object's surface. As an example of this embodiment, the texture created by OpenGL may be an RGBA (Red, red; Green, green; Blue, blue; Alpha, alpha) texture.

[0068] I...

Embodiment 2

[0138] Image 6 A structural block diagram of a video rendering device according to an embodiment of the present disclosure is shown. The device can be used to run figure 1 The video rendering method shown. For the sake of illustration, in Image 6 Only the parts related to this embodiment are shown in . Such as Image 6 As shown, the video rendering device includes: a texture creation module 61, which is used to create a texture through an open graphics library OpenGL; a shared setting module 62, which is used to set an open computing language OpenCL and OpenGL to share textures; a texture writing module 63, which is used to pass The OpenCL parallel algorithm writes the decoded data of the current video frame into the texture to obtain the renderable data of the current video frame; the rendering output module 64 is used to output the renderable data through OpenGL.

[0139] Figure 7 An exemplary structural block diagram of a video rendering device according to an embo...

Embodiment 3

[0146] Figure 8 It is a block diagram of an apparatus 800 for video rendering according to an exemplary embodiment. For example, the apparatus 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, and the like.

[0147] refer to Figure 8 , the apparatus 800 may include one or more of the following components: a processing component 802, a memory 804, a power supply component 806, a multimedia component 808, an audio component 810, an input / output (I / O) interface 812, a sensor component 814, and a communication component 816.

[0148] The processing component 802 generally controls the overall operations of the device 800, such as those associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to compl...

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 relates to a video rendering method and device. The video rendering method comprises the steps of creating a texture via an OpenGL (Open Graphics Library); setting an OpenCL (Open Computing Language) to share the texture with the OpenGL; writing decoding data of a current video frame to the texture via an OpenCL parallel algorithm to obtain renderable data of the current video frame; and outputting the renderable data via the OpenGL. According to the video rendering method and device related by the invention, the general computing power of a GPU (Graphics Processing Unit) can be utilized fully, so that loads of a CPU and the GPU are balanced; and meanwhile, the operation time can be reduced via the OpenCL parallel algorithm; and thus, the rendering can be accelerated.

Description

technical field [0001] The present disclosure relates to the field of video technologies, and in particular, to a video rendering method and device. Background technique [0002] At present, in the video rendering of mobile terminals, the combination of software and hardware is not tight enough, and usually all software rendering or all hardware rendering is adopted. Specifically, the system interface is usually used for rendering, or the OpenGL ES (OpenGraphics Library for Embedded Systems, an open graphics library for embedded systems) is used to accelerate rendering, and the general computing of the GPU (Graphics Processing Unit, graphics processing unit) is not fully utilized capacity, resulting in unbalanced CPU and GPU loads. Contents of the invention [0003] In view of this, the present disclosure proposes a video rendering method and device to solve the problem of unbalanced CPU and GPU loads in the video rendering technology in the related art. [0004] Accordi...

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/50G06T1/20
CPCG06F9/5027G06T1/20
Inventor 张子豪吴建平李庆燕彭伟刚林岳顾思斌潘柏宇王冀
Owner ALIBABA (CHINA) 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