# US 2017/0289547 A1 · Video decoding using point sprites

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

- Number: US 2017/0289547 A1
- Document ID: US20170289547A1
- Status: Published application
- Kind: A1
- Application number: 15/089,310
- Filed: 2016-04-01
- Published: 2017-10-05
- Earliest claimed: 2016-04-01
- Assignees: Microsoft Technology Licensing, LLC
- Applicants: Microsoft Technology Licensing, LLC
- Inventors: Lihua Zhu; Guosheng Sun; B. Anil Kumar; Shir Aharon
- Web page: https://patentgrep.com/patent/US20170289547A1

## CPC

- H04N 19/42: characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation (H04N19/635 takes precedence)
- H04N 19/436: using parallelised computational arrangements
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

A GPU loads point sprites that represent coded blocks of transform coefficients of one or more frames encoded in a bitstream and loads a transform kernel as a transform kernel texture. The GPU constructs an output frame using an inverse transform on the coded blocks of transform coefficients by transforming the point sprites with the transform kernel texture and by optionally dequantizing the point sprites. A single render pass may be used in which the rasterization formula performs the inverse transform and optionally dequantization. To preserve bandwidth, a CPU may refrain from sending the GPU at least some zero valued transform coefficients for the point sprites. Also, to reduce processing, the transform coefficients can remain in a zig-zag arrangement. The transform kernel texture used in the decoding can correspond to a modified version of the basis matrices used to encode the frame, which compensates for the zig-zag arrangement.

## Claims

### Claim 1

A computer-implemented method comprising:
instructing a graphics processor unit (GPU) to load a plurality of point sprites, each point sprite representing a coded block of transform coefficients of one or more frames encoded in a bitstream;
instructing the GPU to load a transform kernel as a transform kernel texture; and
instructing the GPU to construct an output frame by applying an inverse transform, for each of the plurality of point sprites, to the coded block of transform coefficients represented by the point sprite by transforming the point sprite with the loaded transform kernel texture.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein the coded block of transform coefficients for each of the plurality of point sprites has a zig-zag arrangement and the transform kernel texture is configured to compensate for the zig-zag arrangement in the inverse transform.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, further comprising:
generating the coded block of transform coefficients for each of the plurality of point sprites from the bitstream; and
providing the coded block of transform coefficients for each of the plurality of point sprites for the GPU to load based on the instructing of the GPU to load the plurality of point sprites, wherein trailing zero value coefficients are omitted from being provided to the GPU for each of the plurality of point sprites.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1, further comprising:
dequantizing the coded block of transform coefficients for each of the plurality of point sprites; and
providing the dequantized coded block of transform coefficients for each of the plurality of point sprites for the GPU to load based on the instructing of the GPU to load the plurality of point sprites.

### Claim 5 (depends on 1)

The computer-implemented method of claim 1, further comprising providing the transform kernel to the GPU to load based on the instructing of the GPU to load the transform kernel.

### Claim 6 (depends on 1)

The computer-implemented method of claim 1, wherein the plurality of point sprites correspond to respective and non-overlapping portions of the output frame.

### Claim 7 (depends on 1)

The computer-implemented method of claim 1, further comprising:
instructing the GPU to generate offsets for the plurality of point sprites, the offsets mapping the plurality of point sprites to corresponding basis matrices in the transform kernel texture; and
instructing the GPU to perform the inverse transform at locations of the loaded transform kernel texture determined by the offsets generated by the GPU.

### Claim 8 (depends on 1)

The computer-implemented method of claim 1, further comprising:
receiving the bitstream over a connection by a remote desktop client to a remote session; and
presenting the output frame in the remote desktop client.

### Claim 9 (depends on 1)

The computer-implemented method of claim 1, wherein the output frame is generated using one of intra-prediction or inter-prediction, and the plurality of point sprites represent residual data used for motion compensation.

### Claim 10

One or more computer-readable media having a plurality of executable instructions embodied thereon, which, when executed by one or more processors, cause a graphical processing unit (GPU) to perform a method comprising:
loading a plurality of point sprites that each represent a coded block of transform coefficients of one or more frames encoded in a bitstream;
loading a transform kernel as a transform kernel texture;
constructing an output frame, the constructing comprising applying an inverse transform, for each of the plurality of point sprites, to the coded block of transform coefficients represented by the point sprite by transforming the point sprite with the loaded transform kernel texture.

### Claim 11 (depends on 10)

The one or more computer-readable media of claim 10, wherein at least the inverse transform is applied to the coded block of the transform coefficients for each of the plurality of point sprites in parallel by the GPU.

### Claim 12 (depends on 10)

The one or more computer-readable media of claim 10, wherein the constructing of the output frame further comprises dequantizing for each of the plurality of point sprites, the coded block of transform coefficients represented by the point sprite, wherein the dequantizing is performed and the inverse transform is applied for each of the plurality of point sprites in a single render pass.

### Claim 13 (depends on 10)

The one or more computer-readable media of claim 10, wherein the constructing of the output frame is further by dequantizing for each of the plurality of point sprites, the coded block of transform coefficients represented by the point sprite, wherein the dequantizing is applied for each of the plurality of point sprites in a first render pass and the inverse transform for each of the plurality of point sprites is performed in a second render pass.

### Claim 14 (depends on 10)

The one or more computer-readable media of claim 10, further:
comprising dequantizing the coded block of transform coefficients for each of the plurality of point sprites; and
providing the dequantized coded block of transform coefficients for each of the plurality of point sprites for the GPU to load based on the instructing of the GPU to load the plurality of point sprites.

### Claim 15 (depends on 10)

The one or more computer-readable media of claim 10, wherein the inverse transform is applied to the coded block of transform coefficients for each of the plurality of point sprites in a packed manner.

### Claim 16 (depends on 10)

The one or more computer-readable media of claim 10, wherein the inverse transform is applied to the coded block of transform coefficients for each of the plurality of point sprites in a unpacked manner.

### Claim 17

A computer-implemented system comprising:
a server storing program code, which, when executed by a central processing unit (CPU) on a client device:
instructs a graphics processor unit (GPU) to load a plurality of point sprites, each point sprite representing a coded block of transform coefficients of one or more frames encoded in a bitstream;
instructs the GPU to load a transform kernel as a transform kernel texture;
instructs the GPU to construct an output frame by applying an inverse transform, for each of the plurality of point sprites, to the coded block of transform coefficients represented by the point sprite by transforming the point sprite with the loaded transform kernel texture;
the server programmed to provide the stored program code to the client device in response to a request from the client device over a computer network.

### Claim 18 (depends on 17)

The computer-implemented system of claim 17, wherein the program code effectuates a remote desktop client connected to a remote session, and the output frame is of a computer desktop of the remote session.

### Claim 19 (depends on 17)

The computer-implemented system of claim 17, comprising one or more computer-readable media having a plurality of executable instructions embodied thereon, which, when executed by one or more processors, causes the one or more processors to provide the bitstream comprising graphical user interface (GUI) data of a remote session to the client device.

### Claim 20 (depends on 17)

The computer-implemented system of claim 17, wherein the program code comprises browser-native program code that instructs a web browser on the client device to decode the bitstream using the browser-native program code to generate an output frame and to display the output frame.
