# US 2023/0274489 A1 · Methods and systems for motion vectors in 3d graphics

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

- Number: US 2023/0274489 A1
- Document ID: US20230274489A1
- Status: Published application
- Kind: A1
- Application number: 17/656,129
- Filed: 2022-03-23
- Published: 2023-08-31
- Earliest claimed: 2022-02-28
- Assignees: Pixelworks Semiconductor Technology (Shanghai) Co. Ltd.
- Applicants: Pixelworks Semiconductor Technology (Shanghai) Co., Ltd.
- Inventors: Hongmin Zhang; Miao Sima; Zongming Han; Gongxian Liu; Junhua Chen; Guohua Cheng; Baochen Liu; Neil Woodall; Yue Ma; Huili Han
- Web page: https://patentgrep.com/patent/US20230274489A1

## CPC

- G06T 15/04: Texture mapping
- H04N 19/29: involving scalability at the object level, e.g. video object layer [VOL]
- G06T 15/00: Three-dimensional [3D] image rendering
- G06T 15/005: {General purpose rendering architectures}
- H04N 19/46: Embedding additional information in the video signal during the compression process (H04N19/517, H04N19/68, H04N19/70 take precedence)
- H04N 19/513: Processing of motion vectors
- H04N 19/597: specially adapted for multi-view video sequence encoding
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

Various methods are provided for generating motion vectors in the context of 3D computer-generated images. An example method includes generating, for each pixel of one or more objects to be rendered in a current frame, a 1-phase motion vector (MV1) and a 0-phase motion vector (MV0), each MV1 and MV0 having an associated depth value, to thereby form an MV1 texture and an MV0 texture; converting the MV1 texture to a set of MV1 blocks and converting the MV0 texture to a set of MV0 blocks; and outputting the set of MV1 blocks and the set of MV0 blocks for image processing.

## Claims

### Claim 1

A method, comprising:
generating, for each pixel of one or more objects to be rendered in a current frame, a 1-phase motion vector (MV1) and a 0-phase motion vector (MV0), each MV1 and MV0 having an associated depth value, to thereby form an MV1 texture and an MV0 texture;
converting the MV1 texture to a set of MV1 blocks and converting the MV0 texture to a set of MV0 blocks; and
outputting the set of MV1 blocks and the set of MV0 blocks for image processing.

### Claim 2 (depends on 1)

The method of claim 1, wherein each MV1 represents a change in a position of an object at that pixel from the current frame to a previous frame, and wherein each MV0 represents a change in a position of the object at that pixel from the previous frame to the current frame.

### Claim 3 (depends on 1)

The method of claim 1, wherein converting the MV1 texture to the set of MV1 blocks comprises:
identifying, for each pixel block of a plurality of pixel blocks, a distribution of pixel types in that pixel block; and
converting each pixel block to a respective MV1 block based on the distribution of pixel types.

### Claim 4 (depends on 3)

The method of claim 3, wherein converting each pixel block to a respective MV1 block based on the distribution of pixel types comprises:
determining that a first selected pixel block has a non-bimodal distribution such that only ore predominantly mid-range pixels are present, and in response, calculating an average MV1 over only mid-range pixels in the first selected pixel block;
determining that a second selected pixel block has a bimodal distribution such that the second selected pixel block includes at least one foreground pixel and at least one background pixel, and in response, calculating an average MV1 over only foreground pixels in the second selected pixel block; and
setting each average MV1 as an MV1 value for the respective MV1 block.

### Claim 5 (depends on 1)

The method of claim 1, wherein converting the MV0 texture to the set of MV0 blocks comprises:
identifying, for each pixel block of a plurality of pixel blocks, a distribution of pixel types in that pixel block; and
converting each pixel block to a respective MV0 block based on the distribution of pixel types.

### Claim 6 (depends on 5)

The method of claim 5, wherein converting each pixel block to a respective MV0 block based on the distribution of pixel types comprises:
determining that a first selected pixel block has a non-bimodal distribution such that only or predominantly mid-range pixels are present, and in response, calculating an average MV0 over only mid-range pixels in the first selected pixel block;
determining that a second selected pixel block has a bimodal distribution such that the second selected pixel block includes at least one foreground pixel and at least one background pixel, and in response, calculating an average MV0 over only foreground pixels in the second selected pixel block; and
setting each average MV0 as an MV0 value for the respective MV0 block.

### Claim 7 (depends on 1)

The method of claim 1, wherein outputting the set of MV1 blocks and the set of MV0 blocks comprises outputting the set of MV1 blocks and the set of MV0 blocks with frame level metadata and image data for image processing.

### Claim 8 (depends on 7)

The method of claim 7, wherein the image data is separated into objects with motion vectors and objects without motion vectors, and the objects with motion vectors are sent on a separate channel than the objects without motion vectors.

### Claim 9 (depends on 8)

The method of claim 8, wherein objects without motion vectors comprise overlays, particle effects, scene transitions, GUI elements, gun reticules, and/or smoke effects.

### Claim 10 (depends on 1)

The method of claim 1, further comprising applying a double-confirm process to each MV0 and each MV1, wherein the double-confirm process includes confirming each associated depth value.

### Claim 11 (depends on 10)

The method of claim 10, wherein applying the double-confirm process includes adjusting one or more non-confirmed MV1s and/or MV0s based on a nearest double-confirmed MV1 and/or MV0.

### Claim 12 (depends on 10)

The method of claim 10, wherein applying the double-confirm process includes, for a selected pixel in the current frame, double confirming the MV1 or MV0 for the selected pixel responsive to coordinates of the selected pixel in the current frame matching coordinates of that pixel mapped back to a previous frame using the MV1 or MV0 for the selected pixel, the coordinates of the selected pixel including a depth coordinate.

### Claim 13

A system for rendering 3D graphics, comprising:
one or more processors and non-transitory memory allocated to form:
a 3D motion vector module configured to receive a 3D model from a game engine and configured to output a plurality of 1-phase 3D motion vectors (3D MV1s) and a plurality of 0-phase 3D motion vectors (3D MV0s) based on the 3D model, each 3D MV1 comprising a change in a vertical position, a change in a horizontal position, and a change in a depth position of an object at a respective pixel from a current frame to a previous frame, each MV0 comprising a change in a vertical position, a change in a horizontal position, and a change in a depth position of an object at a respective pixel from the previous frame to the current frame; and
a block motion vector module configured to generate a 2.5D block MV1 texture and a 2.5D block MV0 texture from the plurality of 3D MV1s and the plurality of 3D MV0s, respectively, and output the 2.5D block MV1 texture and the 2.5D block MV0 texture for image processing in order to form an image to be displayed on a display, wherein the 2.5D block MV1 texture comprises a plurality of MV1 blocks each formed from a respective subset of the plurality of 3D MV1s, and wherein the 2.5D block MV0 texture comprises a plurality of MV0 blocks each formed from a respective subset of the plurality of 3D MV0s.

### Claim 14 (depends on 13)

The system of claim 13, wherein the 2.5D block MV1 texture and the 2.5D block MV0 texture are usable to interpolate a frame between the current frame and the previous frame.

### Claim 15 (depends on 13)

The system of claim 13, wherein the 2.5D block MV1 texture is formed from a respective subset of double-confirmed and/or corrected 3D MV1s and the 2.5D block MV0 texture is formed from a respective subset of double-confirmed and/or corrected 3D MV0s.

### Claim 16 (depends on 13)

The system of claim 13, wherein each MV1 block comprises an average change in horizontal position for that respective subset of the plurality of 3D MV1s, an average change in vertical position for that respective subset of the plurality of 3D MV1s, and an average depth value for that respective subset of the plurality of 3D MV1s, and wherein each MV0 block comprises an average change in horizontal position for that respective subset of the plurality of 3D MV0s, an average change in vertical position for that respective subset of the plurality of 3D MV0s, and an average depth value for that respective subset of the plurality of 3D MV0s.

### Claim 17

A method, comprising:
generating, for each pixel of one or more objects to be rendered in a current frame, a 1-phase motion vector (MV1) and a 0-phase motion vector (MV0), each MV1 and MV0 having an associated change in depth, to thereby form an MV1 texture and an MV0 texture;
applying a double-confirm process to each MV0 and each MV1, wherein the double-confirm process includes confirming each associated change in depth;
correcting each non-double confirmed MV0s and MV1s;
converting the MV1 texture to a set of MV1 blocks and converting the MV0 texture to a set of MV0 blocks, each MV1 block and each MV0 block having an associated depth value, including identifying, for each pixel block of a plurality of pixel blocks, a distribution of pixel types in that pixel block and converting each pixel block to a respective MV0 block and a respective MV1 based on the distribution of pixel types; and
outputting the set of MV1 blocks and the set of MV0 blocks for image processing.

### Claim 18 (depends on 17)

The method of claim 17, wherein each MV1 represents a change in a position of an object at that pixel from the current frame to a previous frame, and wherein each MV0 represents a change in a position of the object at that pixel from the previous frame to the current frame.

### Claim 19 (depends on 17)

The method of claim 17, wherein converting each pixel block to a respective MV0 block and a respective MV1 block based on the distribution of pixel types comprises:
if the distribution is bimodal such that at least one background pixel and at least one foreground pixel are present, calculating an average MV0 and an average MV1 over only foreground pixels in that pixel block, otherwise calculating the average MV0 and the average MV1 over only mid-range pixels in that pixel block; and
setting the average MV0 as an MV0 value for that MV0 block and the average MV1 as an MV1 value for that MV1 block.

### Claim 20 (depends on 17)

The method of claim 17, wherein applying the double-confirm process includes, for a selected pixel in the current frame, double confirming the MV1 or MV0 for the selected pixel responsive to coordinates of the selected pixel in the current frame matching coordinates of that pixel mapped back to a previous frame using the MV1 or MV0 for the selected pixel, the coordinates of the selected pixel including a depth coordinate.
