# US 2009/0257668 A1 · Prediction techniques for interpolation in video coding

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

- Number: US 2009/0257668 A1
- Document ID: US20090257668A1
- Status: Published application
- Kind: A1
- Application number: 12/420,333
- Filed: 2009-04-08
- Published: 2009-10-15
- Earliest claimed: 2008-04-10
- Assignees: QUALCOMM Incorporated
- Inventors: Yan Ye; Marta Karczewicz
- Web page: https://patentgrep.com/patent/US20090257668A1

## CPC

- H04N 19/50: using predictive coding (H04N19/61 takes precedence)
- H04N 19/124: Quantisation
- H04N 19/136: Incoming video signal characteristics or properties
- H04N 19/147: according to rate distortion criteria (rate-distortion as a criterion for motion estimation H04N19/567)
- H04N 19/192: the adaptation method, adaptation tool or adaptation type being iterative or recursive
- H04N 19/198: {including smoothing of a sequence of encoding parameters, e.g. by averaging, by choice of the maximum, minimum or median value}
- H04N 19/463: by compressing encoding parameters before transmission
- H04N 19/523: with sub-pixel accuracy
- H04N 19/82: involving filtering within a prediction loop
- H04N 19/117: Filters, e.g. for pre-processing or post-processing (sub-band filter banks H04N19/635)
- H04N 19/182: the unit being a pixel
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

This disclosure describes filtering techniques applied by an encoder and a decoder during the prediction stage of a video encoding and/or decoding process. The filtering techniques may enhance the accuracy of predictive data used during fractional interpolation, and may improve predictive data of integer blocks of pixels. There are several aspects to this disclosure, including a useful twelve-pixel filter support that may be used for interpolation, techniques that use coefficient symmetry and pixel symmetry to reduce the amount of data needed to be sent between an encoder and a decoder to configure the filter support for interpolation, and techniques for filtering data at integer pixel locations in a manner that is similar to sub-pixel interpolation. Other aspects of this disclosure concern techniques for encoding information in the bitstream to convey the type of filter used, and possibly the filter coefficients used. Predictive coding of filter coefficients is also described.

## Claims

### Claim 1

A method comprising:
identifying a set of filter coefficients for interpolation of predictive data in video encoding;
generating residual values associated with the set of filter coefficients based on predictive coding of the set of filter coefficients relative to filter coefficients associated with a fixed interpolation filter;
applying quantization to the residual values; and
entropy coding and outputting the quantized residual values as part of an encoded bitstream.

### Claim 2 (depends on 1)

The method of claim 1, wherein identifying the set of filter coefficients includes performing an adaptive interpolation filtering process to determine the set of filter coefficients and generate the predictive data.

### Claim 3 (depends on 1)

The method of claim 1, wherein the set of filter coefficients comprises a first set of filter coefficients that define only a portion of an entire set of filter coefficients associated with an adaptive interpolation filter, wherein a second set of filter coefficients can be determined by a decoder based on the first set of filter coefficients and coefficient symmetry.

### Claim 4 (depends on 1)

The method of claim 1, wherein the set of filter coefficients comprises a first set of filter coefficients that define only a portion of an entire set of filter coefficients associated with an adaptive interpolation filter, the method further comprising:
generating additional residual values associated with the entire set of filter coefficients based on predictive coding of the second set of filter coefficients relative to the first set of filter coefficients;
applying quantization to the additional residual values; and
entropy coding and outputting the quantized additional residual values as part of the encoded bitstream.

### Claim 5 (depends on 1)

The method of claim 1, wherein at least some of the residual values associated with different filter coefficients are assigned different levels of quantization.

### Claim 6 (depends on 5)

The method of claim 5, wherein at least some of the residual values with smaller magnitude are assigned finer quantization and at least some of the residual values with larger magnitude are assigned coarser quantization.

### Claim 7 (depends on 5)

The method of claim 5, further comprising entropy coding the quantized residual values prior to outputting the quantized residual values, wherein entropy coding the quantized residual values comprises assigning a prefix code, assigning a suffix code and assigning a sign value for the quantized residual values following quantization of the residual values.

### Claim 8

A method comprising:
receiving residual values associated with a set of filter coefficients;
generating the set of filter coefficients using predictive decoding based on the set of residual values and filter coefficients associated with a fixed interpolation filter; and
applying the set of filter coefficients to interpolate predictive data used for predictive decoding of video blocks.

### Claim 9 (depends on 8)

The method of claim 8, wherein the set of filter coefficients comprises a first set of filter coefficients that define only a portion of an entire set of filter coefficients associated with an adaptive interpolation filter, the method further comprising:
generating a second set of filter coefficients based on the first set of filter coefficients and coefficient symmetry; and
applying the first and second sets of filter coefficients to interpolate the predictive data.

### Claim 10 (depends on 8)

The method of claim 8, wherein the set of filter coefficients comprises a first set of filter coefficients that define only a portion of an entire set of filter coefficients associated with an adaptive interpolation filter, the method further comprising:
receiving additional residual values associated with the entire set of filter coefficients;
generating a second set of filter coefficients using predictive decoding based on additional residual values and the first set of filter coefficients; and
applying the first and second sets of filter coefficients to interpolate the predictive data.

### Claim 11 (depends on 8)

The method of claim 8, further comprising entropy decoding and de-quantizing the received residual values prior to generating the set of filter coefficients and applying the set of filter coefficients.

### Claim 12

An apparatus comprising a video encoder that:
identifies a set of filter coefficients for interpolation of predictive data in video encoding;
generates residual values associated with the set of filter coefficients based on predictive coding of the set of filter coefficients relative to filter coefficients associated with a fixed interpolation filter;
applies quantization to the residual values; and
entropy codes and outputs the quantized residual values as part of an encoded bitstream.

### Claim 13 (depends on 12)

The apparatus of claim 12, wherein in identifying the set of filter coefficients, the video encoder performs an adaptive interpolation filtering process to determine the set of filter coefficients and generate the predictive data.

### Claim 14 (depends on 12)

The apparatus of claim 12, wherein the set of filter coefficients comprises a first set of filter coefficients that define only a portion of an entire set of filter coefficients associated with an adaptive interpolation filter, wherein a second set of filter coefficients can be determined by a decoder based on the first set of filter coefficients and coefficient symmetry.

### Claim 15 (depends on 12)

The apparatus of claim 12, wherein the set of filter coefficients comprises a first set of filter coefficients that define only a portion of an entire set of filter coefficients associated with an adaptive interpolation filter, wherein the video encoder:
generates additional residual values associated with the entire set of filter coefficients based on predictive coding of the second set of filter coefficients relative to the first set of filter coefficients;
applies quantization to the additional residual values; and
entropy codes and outputs the quantized additional residual values as part of the encoded bitstream.

### Claim 16 (depends on 12)

The apparatus of claim 12, wherein at least some of the residual values associated with different filter coefficients are assigned different levels of quantization.

### Claim 17 (depends on 16)

The apparatus of claim 16, wherein at least some of the residual values with smaller magnitude are assigned finer quantization and at least some of the residual values with larger magnitude are assigned coarser quantization.

### Claim 18 (depends on 16)

The apparatus of claim 16, wherein the video encoder entropy encodes the quantized residual values prior to outputting the quantized residual values, wherein entropy encoding the quantized residual values comprises assigning a prefix code, assigning a suffix code and assigning a sign value for the quantized residual values following quantization of the residual values.

### Claim 19 (depends on 12)

The apparatus of claim 12, wherein the video encoder comprises an integrated circuit.

### Claim 20 (depends on 12)

The apparatus of claim 12, wherein the video encoder comprises a microprocessor.

### Claim 21 (depends on 12)

The apparatus of claim 12, wherein the apparatus comprises a wireless communication device that includes the video encoder.

### Claim 22

An apparatus comprising a video decoder that:
receives residual values associated with a set of filter coefficients;
generates the set of filter coefficients using predictive decoding based on the set of residual values and filter coefficients associated with a fixed interpolation filter; and
applies the set of filter coefficients to interpolate predictive data used for predictive decoding of video blocks.

### Claim 23 (depends on 22)

The apparatus of claim 22, wherein the set of filter coefficients comprises a first set of filter coefficients that define only a portion of an entire set of filter coefficients associated with an adaptive interpolation filter, wherein the video decoder:
generates a second set of filter coefficients based on the first set of filter coefficients and coefficient symmetry; and
applies the first and second sets of filter coefficients to interpolate the predictive data.

### Claim 24 (depends on 22)

The apparatus of claim 22, wherein the set of filter coefficients comprises a first set of filter coefficients that define only a portion of an entire set of filter coefficients associated with an adaptive interpolation filter, wherein the video decoder:
receives additional residual values associated with the entire set of filter coefficients;
generates a second set of filter coefficients using predictive decoding based on additional residual values and the first set of filter coefficients; and
applies the first and second sets of filter coefficients to interpolate the predictive data.

### Claim 25 (depends on 22)

The apparatus of claim 22, wherein the video decoder entropy decodes and de-quantizes the received residual values prior to generating the set of filter coefficients and applying the set of filter coefficients.

### Claim 26 (depends on 22)

The apparatus of claim 22, wherein the video decoder comprises an integrated circuit.

### Claim 27 (depends on 22)

The apparatus of claim 22, wherein the video decoder comprises a microprocessor.

### Claim 28 (depends on 22)

The apparatus of claim 22, wherein the apparatus comprises a wireless communication device that includes the video decoder.

### Claim 29

A device comprising:
means for identifying a set of filter coefficients for interpolation of predictive data in video encoding;
means for generating residual values associated with the set of filter coefficients based on predictive coding of the set of filter coefficients relative to filter coefficients associated with a fixed interpolation filter;
means for applying quantization to the residual values; and
means for entropy coding and outputting the quantized residual values as part of an encoded bitstream.

### Claim 30 (depends on 29)

The device of claim 29, wherein means for identifying the set of filter coefficients includes means for performing an adaptive interpolation filtering process to determine the set of filter coefficients and generate the predictive data.

### Claim 31 (depends on 29)

The device of claim 29, wherein the set of filter coefficients comprises a first set of filter coefficients that define only a portion of an entire set of filter coefficients associated with an adaptive interpolation filter, wherein a second set of filter coefficients can be determined by a decoder based on the first set of filter coefficients and coefficient symmetry.

### Claim 32 (depends on 29)

The device of claim 29, wherein the set of filter coefficients comprises a first set of filter coefficients that define only a portion of an entire set of filter coefficients associated with an adaptive interpolation filter, the device further comprising:
means for generating additional residual values associated with the entire set of filter coefficients based on predictive coding of the second set of filter coefficients relative to the first set of filter coefficients;
means for applying quantization to the additional residual values; and
means for entropy coding and outputting the quantized additional residual values as part of the encoded bitstream.

### Claim 33 (depends on 29)

The device of claim 29, wherein at least some of the residual values associated with different filter coefficients are assigned different levels of quantization.

### Claim 34 (depends on 33)

The method of claim 33, wherein at least some of the residual values with smaller magnitude are assigned finer quantization and at least some of the residual values with larger magnitude are assigned coarser quantization.

### Claim 35 (depends on 33)

The device of claim 33, further comprising means for entropy coding the quantized residual values prior to outputting the quantized residual values, wherein means for entropy coding the quantized residual values comprises means for assigning a prefix code, means for assigning a suffix code and means for assigning a sign value for the quantized residual values following quantization of the residual values.

### Claim 36

A device comprising:
means for receiving residual values associated with a set of filter coefficients;
means for generating the set of filter coefficients using predictive decoding based on the set of residual values and filter coefficients associated with a fixed interpolation filter; and
means for applying the set of filter coefficients to interpolate predictive data used for predictive decoding of video blocks.

### Claim 37 (depends on 36)

The device of claim 36, wherein the set of filter coefficients comprises a first set of filter coefficients that define only a portion of an entire set of filter coefficients associated with an adaptive interpolation filter, the device further comprising:
means for generating a second set of filter coefficients based on the first set of filter coefficients and coefficient symmetry; and
means for applying the first and second sets of filter coefficients to interpolate the predictive data.

### Claim 38 (depends on 36)

The device of claim 36, wherein the set of filter coefficients comprises a first set of filter coefficients that define only a portion of an entire set of filter coefficients associated with an adaptive interpolation filter, the device further comprising:
means for receiving additional residual values associated with the entire set of filter coefficients;
means for generating a second set of filter coefficients using predictive decoding based on additional residual values and the first set of filter coefficients; and
means for applying the first and second sets of filter coefficients to interpolate the predictive data.

### Claim 39 (depends on 36)

The device of claim 36, further comprising means for entropy decoding the received residual values and means for de-quantizing the received residual values prior to generating the set of filter coefficients and applying the set of filter coefficients.

### Claim 40

A computer-readable storage medium comprising instructions that when executed by a processor cause the processor to:
identify a set of filter coefficients for interpolation of predictive data in video encoding;
generate residual values associated with the set of filter coefficients based on predictive coding of the set of filter coefficients relative to filter coefficients associated with a fixed interpolation filter;
apply quantization to the residual values; and
entropy code and output the quantized residual values as part of an encoded bitstream.

### Claim 41 (depends on 40)

The computer-readable storage medium of claim 40, wherein in identifying the set of filter coefficients, the instructions cause the processor to perform an adaptive interpolation filtering process to determine the set of filter coefficients and generate the predictive data.

### Claim 42 (depends on 40)

The computer-readable storage medium of claim 40, wherein the set of filter coefficients comprises a first set of filter coefficients that define only a portion of an entire set of filter coefficients associated with an adaptive interpolation filter, wherein a second set of filter coefficients can be determined by a decoder based on the first set of filter coefficients and coefficient symmetry.

### Claim 43 (depends on 40)

The computer-readable storage medium of claim 40, wherein the set of filter coefficients comprises a first set of filter coefficients that define only a portion of an entire set of filter coefficients associated with an adaptive interpolation filter, wherein the instructions upon execution cause the processor to:
generate additional residual values associated with the entire set of filter coefficients based on predictive coding of the second set of filter coefficients relative to the first set of filter coefficients;
apply quantization to the additional residual values; and
output the quantized additional residual values as part of the encoded bitstream.

### Claim 44 (depends on 40)

The computer-readable storage medium of claim 40, wherein at least some of the residual values associated with different filter coefficients are assigned different levels of quantization.

### Claim 45 (depends on 44)

The computer-readable storage medium of claim 44, wherein at least some of the residual values with smaller magnitude are assigned finer quantization and at least some of the residual values with larger magnitude are assigned coarser quantization.

### Claim 46 (depends on 44)

The computer-readable storage medium of claim 44, further comprising instructions that upon execution cause the processor to entropy code the quantized residual values prior to outputting the quantized residual values, wherein in entropy coding the quantized residual values the instructions cause the processor to assign a prefix code, assign a suffix code and assign a sign value for the quantized residual values following quantization of the residual values.

### Claim 47

A computer-readable storage medium comprising instructions that when executed by a processor cause the processor to:
upon receiving residual values associated with a set of filter coefficients,
generate the set of filter coefficients using predictive decoding based on the set of residual values and filter coefficients associated with a fixed interpolation filter; and
apply the set of filter coefficients to interpolate predictive data used for predictive decoding of video blocks.

### Claim 48 (depends on 47)

The computer-readable storage medium of claim 47, wherein the set of filter coefficients comprises a first set of filter coefficients that define only a portion of an entire set of filter coefficients associated with an adaptive interpolation filter, wherein the instructions upon execution cause the processor to:
generate a second set of filter coefficients based on the first set of filter coefficients and coefficient symmetry; and
apply the first and second sets of filter coefficients to interpolate the predictive data.

### Claim 49 (depends on 47)

The computer-readable storage medium of claim 47, wherein the set of filter coefficients comprises a first set of filter coefficients that define only a portion of an entire set of filter coefficients associated with an adaptive interpolation filter, wherein the instructions upon execution cause the processor to:
receive additional residual values associated with the entire set of filter coefficients;
generate a second set of filter coefficients using predictive decoding based on additional residual values and the first set of filter coefficients; and
apply the first and second sets of filter coefficients to interpolate the predictive data.

### Claim 50 (depends on 47)

The computer-readable storage medium of claim 47, further comprising instructions that upon execution cause the processor to entropy decode and de-quantize the received residual values prior to generating the set of filter coefficients and applying the set of filter coefficients.
