# US 2021/0281866 A1 · High precision up-sampling in scalable coding of high bit-depth video

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

- Number: US 2021/0281866 A1
- Document ID: US20210281866A1
- Status: Published application
- Kind: A1
- Application number: 17/206,843
- Filed: 2021-03-19
- Published: 2021-09-09
- Earliest claimed: 2012-12-21
- Assignees: Dolby Laboratories Licensing Corporation
- Applicants: Dolby Laboratories Licensing Corporation
- Inventors: Peng YIN; Taoran LU; Tao CHEN
- Web page: https://patentgrep.com/patent/US20210281866A1

## CPC

- H04N 19/33: in the spatial domain
- H04N 19/105: Selection of the reference unit for prediction within a chosen coding or prediction mode, e.g. adaptive choice of position and number of pixels used for prediction
- H04N 19/59: involving spatial sub-sampling or interpolation, e.g. alteration of picture size or resolution
- H04N 19/80: Details of filtering operations specially adapted for video compression, e.g. for pixel interpolation (H04N19/635, H04N19/86 take precedence)
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

The precision of up-sampling operations in a layered coding system is preserved when operating on video data with high bit-depth. In response to bit-depth requirements of the video coding or decoding system, scaling and rounding parameters are determined for a separable up-scaling filter. Input data are first filtered across a first spatial direction using a first rounding parameter to generate first up-sampled data. First intermediate data are generated by scaling the first up-sampled data using a first shift parameter. The intermediate data are then filtered across a second spatial direction using a second rounding parameter to generate second up-sampled data. Second intermediate data are generated by scaling the second up-sampled data using a second shift parameter. Final up-sampled data may be generated by clipping the second intermediate data.

## Claims

### Claim 1

An apparatus for re-sampling image data in a scalable video system, the apparatus comprising:
an input for receiving image data; and
a processor for processing the image data, wherein the processor:
determines scaling and rounding parameters in response to bit-depth requirements of the scalable video system;
generates first re-sampled data by filtering image data from a first layer, wherein filtering of the image data from the first layer is performed across a first spatial direction with zero rounding;
generates first intermediate data by scaling the first re-sampled data with a first shift parameter;
generates second re-sampled data by filtering the first intermediate data, wherein the filtering of the first intermediate data is performed across a second spatial direction using a rounding parameter;
generates second intermediate data by scaling the second re-sampled data with a second shift parameter; and
generates output re-sampled data for a second layer by clipping the second intermediate data,
wherein determining the rounding parameter comprises computing
offset=1<<(nShift2−1),
wherein offset is the rounding parameter, <<denotes a binary shift to the left, and nShift2 is the second shift parameter.

### Claim 2 (depends on 1)

The apparatus of claim 1, wherein the scalable video system comprises a video encoder.

### Claim 3 (depends on 1)

The apparatus of claim 1, wherein the scalable video system comprises a video decoder.

### Claim 4 (depends on 1)

The apparatus of claim 1, wherein determining the first shift parameter comprises adding to the bit depth value of the image data in the first layer the difference of an intermediate processing bit precision from a filtering bit precision.

### Claim 5 (depends on 4)

The apparatus of claim 4, wherein given an intermediate processing bit precision of 14 bits and a filtering bit precision of 6 bits:
nShift1=bitdepth+(6-14)=bitdepth-8,
where nShift1 denotes the first shift parameter, and bitdepth denotes the bit depth value of the image data in the first layer.

### Claim 6 (depends on 1)

The apparatus of claim 1, wherein the rounding parameter is zero.

### Claim 7 (depends on 1)

The apparatus of claim 1, wherein the first spatial direction is a horizontal direction and the second spatial direction is a vertical direction.

### Claim 8 (depends on 1)

The apparatus of claim 1, wherein the first spatial direction is a vertical direction and the second spatial direction is a horizontal direction.
