Video frame writing method and device, electronic equipment and storage medium

A video frame and sub-video technology, applied in the video field, can solve the problem of wasting video memory and image processing resources, and achieve the effect of saving resources and saving video memory bandwidth

CN110769299AInactive Publication Date: 2020-02-07HANGZHOU HIKVISION DIGITAL TECH
6 Cites 2 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Publication Date
2020-02-07
Estimated Expiration
Not applicable · inactive patent

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The embodiment of the invention provides a video frame writing method and device, electronic equipment and a storage medium. The method comprises the following steps: determining an upper-layer windowsuperposed on the current window, obtaining window information of a current window and window information of an upper-layer window; calculating covered information of a covered area and uncovered information of an uncovered area in the current window; acquiring the covered information and the uncovered information; generating a write-in mask table used for representing a covered area and an uncovered area, using a write mask table, carrying out mask processing on a to-be-displayed video frame corresponding to the current window; and writing the video frame processed by the mask into a video memory. By the video frame writing method of the embodiment of the invention, the content of the area, not covered by the upper-layer window, in the video frame is written into the video memory, and therefore the video memory bandwidth can be saved when the content is written into the video memory, and image processing resources can be saved when subsequent image processing is carried out.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention relates to the field of video technology, in particular to a method, device, electronic equipment and storage medium for reading and writing video frames. Background technique

[0002] As video applications become more and more extensive, the amount of video data is also increasing, and the way users play videos is also changing, from playing only one video in the past to playing multiple videos at the same time.

[0003] For example, in the splicing screen, multiple different windows can be placed at the same time, each window can be placed at any position in the splicing screen, and the size of each window can be set arbitrarily, when the multiple different windows play different videos at the same time , the topmost window of the screen will appear, partially or completely covering the video frame played by the lower window of the topmost window, for example, as figure 1 As shown, the uppermost video playback window 110 will cover par...

Examples

Embodiment Construction

[0034] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. 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.

[0035] In order to solve the problems existing in the prior art, the embodiments of the present invention provide a video frame writing method, device, electronic equipment, and storage medium, so as to save video memory bandwidth and image processing resources.

[0036] In some examples, a method for writing video frames in an embodiment of the present invention may be applied to a scene where multiple windows are opened on a single display screen, and may als...