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

Method, device and computer-readable storage medium for drawing element floating layer

An element and floating layer technology, applied in the field of image processing, can solve the problems of reducing the ease of use of the underlying functional modules and increasing the coupling, and achieve the effect of ensuring low coupling and reusability

Active Publication Date: 2020-01-03
WUHAN DOUYU NETWORK TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, if these functions of drawing the floating layer are implemented in the underlying functional modules, it will couple platform-related services, reduce the ease of use of the underlying functional modules, and increase the coupling

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
  • Method, device and computer-readable storage medium for drawing element floating layer
  • Method, device and computer-readable storage medium for drawing element floating layer
  • Method, device and computer-readable storage medium for drawing element floating layer

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0027] Please refer to figure 2 , figure 2 It is a flowchart of a method for drawing an element floating layer provided by the first embodiment of the present invention, and the method is applied to a client. The client may be software installed on the user terminal (such as live broadcast software), a third-party application program (Application, APP) or the user terminal itself. The element floating layer is to paste an image above or below the existing image.

[0028] The following will be figure 2 The process shown is described in detail, and the method includes:

[0029] Step S110: the client calls the interface function of the interface of the underlying function module.

[0030] The underlying function module may be a LiveEncoder module, which may provide an ICaptureListener interface to draw a custom layer on an existing element image.

[0031]The ICaptureListener interface generally has two interface functions, one of which is the upper texture function OnAfte...

no. 2 example

[0046] Please refer to image 3 , image 3 It is a flow chart of a method for drawing an element floating layer provided by the second embodiment of the present invention, and the method is applied to a client. The client may be software installed on the user terminal (such as live broadcast software), a third-party application program (Application, APP) or the user terminal itself. The element floating layer is to paste an image above or below the existing image.

[0047] The following will be image 3 As illustrated in the flow chart, the method includes:

[0048] Step S210: the client calls the interface function of the interface of the underlying function module.

[0049] Step S220: Bind the interface function with the ID of the target video element.

[0050] Step S230: Obtain display information of the element floating layer.

[0051] Step S240: Based on the display information, make the upper layer function module call a drawing function to draw the element floatin...

no. 3 example

[0057] Please refer to Figure 4 , Figure 4 It is a structural block diagram of an apparatus 400 for drawing element floating layers provided by the second embodiment of the present invention. The following will be Figure 4 The illustrated structural block diagram is described, and the illustrated device includes: a calling module 410, a binding module 420, an obtaining module 430, and a drawing module 440, wherein:

[0058] The calling module 410 is used to call the interface function of the bottom layer function module interface.

[0059] The interface of the bottom layer function module is an ICaptureListener interface, and the interface function is an upper layer texture function OnAfterDrawCapture or a lower layer texture function OnBeforDrawCapture.

[0060] The binding module 420 is configured to bind the interface function with the ID of the target video element.

[0061] The obtaining module 430 is configured to obtain display information of the element floating...

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 provides a method and device for drawing an element floating layer and a computer readable storage medium, and relates to the field of image processing. The method comprises the steps of making a client side call an interface function of an interface of a bottom layer function module; binding the interface function and the ID of a target video element; obtaining displaying information of the element floating layer; making an upper layer function module call a drawing function based on the displaying information, and drawing the element floating layer in the target video element. According to the method and device for drawing the element floating layer and the computer readable storage medium, through the adoption of the method, the bottom layer function module of open broadcast software can have reusability and low coupling.

Description

technical field [0001] The present invention relates to the field of image processing, in particular to a method, device and computer-readable storage medium for drawing element floating layers. Background technique [0002] With the increasing popularity of domestic live broadcast platforms, each live broadcast platform has its own live broadcast software. In traditional live broadcast software, functions such as obtaining the desktop, adding text, and adding a camera to draw a custom floating layer are all services provided to the upper layer through the underlying functional modules of the live broadcast software. However, if these functions of drawing floating layers are implemented in the underlying functional modules, platform-related services will be coupled, the ease of use of the underlying functional modules will be reduced, and the coupling will be increased. [0003] However, with the deepening of the live broadcast business, new functional requirements for live...

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): G06F3/0481
CPCG06F3/0481
Inventor 杨亮张文明陈少杰
Owner WUHAN DOUYU NETWORK TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More