# US 2019/0317716 A1 · Video display method, electronic device and computer program product thereof

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2019/0317716 A1
- Document ID: US20190317716A1
- Status: Published application
- Kind: A1
- Application number: 16/452,873
- Filed: 2019-06-26
- Published: 2019-10-17
- Earliest claimed: 2016-12-27
- Assignees: Cloudminds (Shenzhen) Robotics Systems Co., Ltd.
- Applicants: Cloudminds (Shenzhen) Robotics Systems Co., Ltd.
- Inventors: Xiangxiao KONG
- Web page: https://patentgrep.com/patent/US20190317716A1

## CPC

- G06F 3/14: Digital output to display device {; Cooperation and interconnection of the display device with other functional units}
- G06F 12/0284: {Multiple user address space allocation, e.g. using different base addresses (interprocessor communication G06F15/163)}
- G06F 9/5016: {the resource being the memory}
- G06F 9/544: {Buffers; Shared memory; Pipes}
- G06F 13/28: using burst mode transfer, e.g. direct memory access {DMA}, cycle steal (G06F13/32 takes precedence)
- G06F 30/30: Circuit design
- G06T 1/60: Memory management
- G09G 5/363: {Graphics controllers}
- G06F 12/023: {Free address space management}
- G06F 2212/1016: Performance improvement
- G06F 2212/152: Virtualized environment, e.g. logically partitioned system
- G06F 2212/455: Image or video data
- G06F 2212/657: Virtual address space management
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G09G: ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION (arrangements for transferring data between digital computers and displays G06F3/14; static indicating arrangements comprising an association of a number of separate sources or light control cells G09F9/00; static indicating arrangements comprising integral associations of a number of light sources H01J, H01K, H10H, H05B33/12; scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission, details thereof H04N1/00)

## Abstract

A video display method includes: allocating a native window to each guest operating system; receiving a request for establishing a physical contiguous memory PCM sub-region corresponding to a new window from the guest operating system; allocating a PCM sub-region to the guest operating system, returning a descriptor of the PCM sub-region to the guest operating system, the descriptor being used for instructing a corresponding hardware codec design to write display data into the PCM sub-region; receiving a display request from the guest operating system; and rendering and displaying the native window corresponding to the guest operating system based on the display request and the data in the PCM sub-region.

## Claims

### Claim 1

A video display method, comprising:
allocating a native window to each guest operating system;
receiving a request for establishing a physical contiguous memory (PCM) sub-region corresponding to a new window from the guest operating system;
allocating a PCM sub-region to the guest operating system;
returning a descriptor of the PCM sub-region to the guest operating system, the descriptor being used for instructing a corresponding hardware codec design to write display data into the PCM sub-region;
receiving a display request from the guest operating system; and
rendering and displaying the native window corresponding to the guest operating system, wherein the rendering and displaying are based on the display request and the data in the PCM sub-region.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the receiving a request for establishing a physical contiguous memory (PCM) sub-region corresponding to a new window from the guest operating system comprises:
receiving a request for sharing a memory from the guest operating system; and
the allocating a PCM sub-region to the guest operating system comprises:
allocating a PCM sub-region to the guest operating system by using a shared memory management module Gralloc.

### Claim 3 (depends on 1)

The method according to claim 1, wherein the display request comprises a memory indicator sent from the guest operating system when a display request sent by the hardware codec design is detected; and
the rendering and displaying the native window corresponding to the guest operating system comprises:
identifying the PCM sub-region based on the memory indicator sent by the guest operating system, and rendering and displaying the native window based on the data in the PCM sub-region.

### Claim 4 (depends on 1)

The method according to claim 1, wherein the display request comprises a texture converted from the data in the PCM sub-region; and
the rendering and displaying the native window corresponding to the guest operating system comprises:
rendering the native window corresponding to the guest operating system based on the texture.

### Claim 5 (depends on 1)

The method according to claim 1, wherein the hardware codec design comprises a video codec and/or a camera.

### Claim 6

An electronic device, comprising:
at least one processor;
a memory communicably connected to the at least one processor; wherein the memory stores computer-executable instructions that are executable by the at least one processor, wherein the computer-executable instructions, when being executed by the at least one processor, cause the at least one processor to perform the steps of:
allocating a native window to each guest operating system;
receiving a request for establishing a physical contiguous memory (PCM) sub-region corresponding to a new window from the guest operating system;
allocating a PCM sub-region to the guest operating system, and returning a descriptor of the PCM sub-region to the guest operating system, the descriptor being used for instructing a corresponding hardware codec design to write display data into the PCM sub-region;
receiving a display request from the guest operating system; and
rendering and displaying the native window corresponding to the guest operating system, wherein the rendering and displaying are based on the display request and the data in the PCM sub-region.

### Claim 7 (depends on 6)

The electronic device according to claim 6, wherein the receiving a request for establishing a physical contiguous memory (PCM) sub-region corresponding to a new window from the guest operating system comprises:
receiving a request for sharing a memory from the guest operating system; and
the allocating a PCM sub-region to the guest operating system comprises:
allocating a PCM sub-region to the guest operating system by using a shared memory management module Gralloc.

### Claim 8 (depends on 6)

The electronic device according to claim 6, wherein the display request comprises a memory indicator sent from the guest operating system when a display request sent by the hardware codec design is detected; and
the rendering and displaying the native window corresponding to the guest operating system comprises:
identifying the PCM sub-region based on the memory indicator sent by the guest operating system, and rendering and displaying the native window based on the data in the PCM sub-region.

### Claim 9 (depends on 6)

The electronic device according to claim 6, wherein the display request comprises a texture converted from the data in the PCM sub-region; and
the rendering and displaying the native window corresponding to the guest operating system comprises:
rendering the native window corresponding to the guest operating system based on the texture.

### Claim 10 (depends on 6)

The electronic device according to claim 6, wherein the hardware codec design comprises a video codec and/or a camera.

### Claim 11

A computer program product, wherein the computer program product comprises non-transitory computer-readable storage medium storing a computer readable program code, the computer readable program code comprising instructions that when executed by a computer processor implements a method comprising:
allocating a native window to each guest operating system;
receiving a request for establishing a physical contiguous memory PCM sub-region corresponding to a new window from the guest operating system;
allocating a PCM sub-region to the guest operating system;
returning a descriptor of the PCM sub-region to the guest operating system, the descriptor being used for instructing a corresponding hardware codec design to write display data into the PCM sub-region;
receiving a display request from the guest operating system; and
rendering and displaying the native window corresponding to the guest operating system, wherein the rendering and displaying are based on the display request and the data in the PCM sub-region.

### Claim 12 (depends on 11)

The computer program product according to claim 11, wherein the receiving a request for establishing a physical contiguous memory (PCM) sub-region corresponding to a new window from the guest operating system comprises:
receiving a request for sharing a memory from the guest operating system; and
allocating a PCM sub-region to the guest operating system comprises:
allocating a PCM sub-region to the guest operating system by using a shared memory management module Gralloc.

### Claim 13 (depends on 11)

The computer program product according to claim 11, wherein the display request comprises a memory indicator sent from the guest operating system when a display request sent by the hardware codec design is detected; and
the rendering and displaying the native window corresponding to the guest operating system comprises:
identifying the PCM sub-region based on the memory indicator sent by the guest operating system, and rendering and displaying the native window based on the data in the PCM sub-region.

### Claim 14 (depends on 11)

The computer program according to claim 11, wherein the display request comprises a texture converted from the data in the PCM sub-region; and
the rendering and displaying the native window corresponding to the guest operating system comprises:
rendering the native window corresponding to the guest operating system based on the texture.

### Claim 15 (depends on 11)

The computer program product according to claim 11, wherein the hardware codec design comprises a video codec and/or a camera.
