Barrage display method and device, electronic equipment and medium
A display method and barrage technology, applied in the Internet field, can solve the problems that affect the audience's access to the main content of the video, and achieve the effect of improving the adequacy
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Examples
Example Embodiment
[0031] Example 1
[0032] like figure 1 As shown, this embodiment provides a method for displaying a bullet screen, including:
[0033] Step S101, obtaining the position parameter and size parameter of the target object displayed in the current video;
[0034] Step S102, drawing a transparent occlusion layer view covering the target object according to the position parameter and the size parameter, and the occlusion layer view and the bullet screen view are preset in an exclusive OR display relationship;
[0035] Step S103, when the bullet screen view and the occlusion layer view overlap, based on the XOR display relationship, crop the overlapping part of the bullet screen view and the occlusion layer view.
[0036] In the embodiments of the present application, the method can be applied to electronic devices such as smart phones, notebooks, desktop computers, and tablet computers that can play videos, which is not limited herein. The current video may be a live video or a pre
Example Embodiment
[0078] Embodiment 2
[0079] This embodiment provides a bullet screen display device, such as figure 2 shown, including:
[0080] Obtaining module 201, for obtaining the position parameter and size parameter of the target object displayed in the current video;
[0081] A drawing module 202, configured to draw a transparent occlusion layer view covering the target object according to the position parameter and the size parameter, and the occlusion layer view and the bullet screen view are preset in an exclusive OR display relationship;
[0082] The cropping module 203 is configured to crop the overlapping part of the bullet screen view and the blocking layer view based on the XOR display relationship when the bullet screen view overlaps the blocking layer view.
[0083] In the embodiments of the present application, the device may be an electronic device capable of playing videos, such as a smart phone, a notebook, a desktop computer, and a tablet computer, which is not limited
Example Embodiment
[0087] Embodiment 3
[0088] This embodiment provides an electronic device, such as image 3 As shown, it includes a memory 310, a processor 320, and a computer program 311 stored in the memory 310 and running on the processor 320. When the processor 320 executes the computer program 311, it realizes:
[0089] Get the position parameters and size parameters of the target object displayed in the current video;
[0090] Drawing a transparent occlusion layer view covering the target object according to the position parameter and the size parameter, and the occlusion layer view and the bullet screen view are preset in an exclusive OR display relationship;
[0091] When the bullet screen view and the occlusion layer view overlap, based on the XOR display relationship, the overlapping part of the bullet screen view and the occlusion layer view is cropped.
[0092] Since the electronic device introduced in this embodiment is the device used to implement the method in the first embodim
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap