# US 2016/0366439 A1 · Palette copy extension

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

- Number: US 2016/0366439 A1
- Document ID: US20160366439A1
- Status: Published application
- Kind: A1
- Application number: 15/179,758
- Filed: 2016-06-10
- Published: 2016-12-15
- Earliest claimed: 2015-06-12
- Assignees: QUALCOMM Incorporated
- Applicants: QUALCOMM Incorporated
- Inventors: Wei Pu; Marta Karczewicz; Feng Zou; Rajan Laxman Joshi; Vadim Seregin
- Web page: https://patentgrep.com/patent/US20160366439A1

## CPC

- H04N 19/593: involving spatial prediction techniques
- H04N 19/93: Run-length coding
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

Techniques are described for using pixel values of pixels in a neighboring block as part of palette mode coding. A video decoder may copy pixel values of a pixel in a last row or column of a neighboring block as predictor or reconstructed pixel values for a run of pixels as part of extended index copy run for palette mode coding. The pixel in the last row or column of the neighboring block is the same line as the run of pixels.

## Claims

### Claim at position 1

1: A method of decoding video data, the method comprising:
receiving information indicating that extended index copy run is enabled for a run of pixels in a line in a current block in palette mode coding of the current block, wherein in the extended index copy run, a pixel value of a pixel in a neighboring block is copied for pixels in the run of pixels in the current block, and wherein the pixel in the neighboring block is in same line as the run of pixels in the current block and inline with the run of pixels relative to a scan order of the current block;
copying the pixel value of the pixel from the neighboring block as predictor pixel values or final reconstructed pixel values for pixels in the run of pixels in the current block based on extended index copy run being enabled for the run of pixels in the line in the current block in palette mode coding of the current block; and
reconstructing the current block at least in part based on the predictor pixel values or the final reconstructed pixel values for pixels in the run of pixels in the line in the current block.

### Claim at position 2 (depends on 1)

2: The method of claim 1, wherein, based on the scan order of the current block being horizontal scan, the neighboring block comprises a block left of the current block and the pixel in the neighboring block comprises a pixel in a last column of the neighboring block that borders the current block, and wherein, based on the scan order of the current block being vertical scan, the neighboring block comprises a block above the current block and the pixel in the neighboring block comprises a pixel in a last row of the neighboring block that borders the current block.

### Claim at position 3 (depends on 1)

3: The method of claim 1, further comprising:
receiving information indicating that the extended index copy run for palette mode coding is enabled for runs of pixels in a plurality of lines in the current block; and
copying pixel values of respective pixels in the neighboring block for pixels in each of the runs of pixels in the plurality of lines in the current block.

### Claim at position 4 (depends on 3)

4: The method of claim 3, wherein receiving information indicating that the extended index copy run for palette mode coding is enabled for runs of pixels in the plurality of lines in the current block comprises receiving a flag for each of the plurality of lines in the current block indicating whether the extended index copy run for palette mode coding is enabled for each of the plurality of lines in the current block.

### Claim at position 5 (depends on 3)

5: The method of claim 3, wherein receiving information indicating that the extended index copy run for palette mode coding is enabled for runs of pixels in the plurality of lines in the current block comprises receiving information indicating an integer number of lines in the current block for which extended index copy run for palette mode coding is enabled.

### Claim at position 6 (depends on 1)

6: The method of claim 1, wherein the current block comprises a first set of plurality of lines and a second set of plurality of lines, wherein the extended index copy run for palette mode coding is enabled for the first set of the plurality of lines, and wherein the extended index copy run for palette mode coding is not enabled for the second set of the plurality of lines.

### Claim at position 7 (depends on 6)

7: The method of claim 6, further comprising:
determining predictor pixel values or final reconstructed pixel values for pixels in the second set of the plurality of lines based on regular copy above or regular index copy of palette mode coding, wherein for regular copy above or regular index copy, palette indices for pixels that are not in the first set of the plurality of lines are used for palette mode coding.

### Claim at position 8 (depends on 1)

8: The method of claim 1, further comprising:
determining that extended index copy run for palette mode coding is not enabled for any row or column of the current block based on extended index copy run for palette mode coding not being enabled for a first row or column in the current block.

### Claim at position 9

9: A device for decoding video data, the device comprising:
a video data memory configured to store pixel values of pixels; and
a video decoder coupled to the video data memory and comprising at least one of fixed-function or programmable circuitry, the video decoder configured to:
receive information indicating that extended index copy run is enabled for a run of pixels in a line in a current block in palette mode coding of the current block, wherein in the extended index copy run, a pixel value of a pixel in a neighboring block stored in the video data memory is copied for pixels in the run of pixels in the current block, and wherein the pixel in the neighboring block is in same line as the run of pixels in the current block and inline with the run of pixels relative to a scan order of the current block;
copy from the video data memory the pixel value of the pixel from the neighboring block as predictor pixel values or final reconstructed pixel values for pixels in the run of pixels in the current block based on extended index copy run being enabled for the run of pixels in the line in the current block in palette mode coding of the current block; and
reconstruct the current block at least in part based on the predictor pixel values or the final reconstructed pixel values for pixels in the run of pixels in the line in the current block.

### Claim at position 10 (depends on 9)

10: The device of claim 9, wherein, based on the scan order of the current block being horizontal scan, the neighboring block comprises a block left of the current block and the pixel in the neighboring block comprises a pixel in a last column of the neighboring block that borders the current block, and wherein, based on the scan order of the current block being vertical scan, the neighboring block comprises a block above the current block and the pixel in the neighboring block comprises a pixel in a last row of the neighboring block that borders the current block.

### Claim at position 11 (depends on 9)

11: The device of claim 9, wherein the video decoder is configured to:
receive information indicating that the extended index copy run for palette mode coding is enabled for runs of pixels in a plurality of lines in the current block; and
copy from the video data memory pixel values of respective pixels in the neighboring block for pixels in each of the runs of pixels in the plurality of lines in the current block.

### Claim at position 12 (depends on 11)

12: The device of claim 11, wherein to receive information indicating that the extended index copy run for palette mode coding is enabled for runs of pixels in the plurality of lines in the current block, the video decoder is configured to receive a flag for each of the plurality of lines in the current block indicating whether the extended index copy run for palette mode coding is enabled for each of the plurality of lines in the current block.

### Claim at position 13 (depends on 11)

13: The device of claim 11, wherein to receive information indicating that the extended index copy run for palette mode coding is enabled for runs of pixels in the plurality of lines in the current block, the video decoder is configured to receive information indicating an integer number of lines in the current block for which extended index copy run for palette mode coding is enabled.

### Claim at position 14 (depends on 9)

14: The device of claim 9, wherein the current block comprises a first set of plurality of lines and a second set of plurality of lines, wherein the extended index copy run for palette mode coding is enabled for the first set of the plurality of lines, and wherein the extended index copy run for palette mode coding is not enabled for the second set of the plurality of lines.

### Claim at position 15 (depends on 14)

15: The device of claim 14, wherein the video decoder is configured to:
determine predictor pixel values or final reconstructed pixel values for pixels in the second set of the plurality of lines based on regular copy above or regular index copy of palette mode coding, wherein for regular copy above or regular index copy, palette indices for pixels that are not in the first set of the plurality of lines are used for palette mode coding.

### Claim at position 16 (depends on 9)

16: The device of claim 9, wherein the video decoder is configured to determine that extended index copy run for palette mode coding is not enabled for any row or column of the current block based on extended index copy run for palette mode coding not being enabled for a first row or column in the current block.

### Claim at position 17

17: The device of 9, wherein the device comprises one of:
an integrated circuit;
a microprocessor; or
a wireless communication device.

### Claim at position 18

18: A computer-readable storage medium storing instructions that, when executed, cause one or more processors of a device for video decoding to:
receive information indicating that extended index copy run is enabled for a run of pixels in a line in a current block in palette mode coding of the current block, wherein in the extended index copy run, a pixel value of a pixel in a neighboring block is copied for pixels in the run of pixels in the current block, and wherein the pixel in the neighboring block is in same line as the run of pixels in the current block and inline with the run of pixels relative to a scan order of the current block;
copy the pixel value of the pixel from the neighboring block as predictor pixel values or final reconstructed pixel values for pixels in the run of pixels in the current block based on extended index copy run being enabled for the run of pixels in the line in the current block in palette mode coding of the current block; and
reconstruct the current block at least in part based on the predictor pixel values or the final reconstructed pixel values for pixels in the run of pixels in the line in the current block.

### Claim at position 19 (depends on 18)

19: The computer-readable storage medium of claim 18, wherein, based on the scan order of the current block being horizontal scan, the neighboring block comprises a block left of the current block and the pixel in the neighboring block comprises a pixel in a last column of the neighboring block that borders the current block, and wherein, based on the scan order of the current block being vertical scan, the neighboring block comprises a block above the current block and the pixel in the neighboring block comprises a pixel in a last row of the neighboring block that borders the current block.

### Claim at position 20 (depends on 19)

20: The computer-readable storage medium of claim 19, further comprising instructions that cause the one or more processors to:
receive information indicating that the extended index copy run for palette mode coding is enabled for runs of pixels in a plurality of lines in the current block; and
copy pixel values of respective pixels in the neighboring block for pixels in each of the runs of pixels in the plurality of lines in the current block.
