# US 2026/0101032 A1 · Cross-component sample offset edge direction derivations

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

- Number: US 2026/0101032 A1
- Document ID: US20260101032A1
- Status: Published application
- Kind: A1
- Application number: 19/352,316
- Filed: 2025-10-07
- Published: 2026-04-09
- Earliest claimed: 2024-10-07
- Assignees: Tencent America LLC
- Applicants: Tencent America LLC
- Inventors: Tianqi LIU; Liang ZHAO; Madhu PERINGASSERY KRISHNAN; Ting-Lan LIN; Shan LIU
- Web page: https://patentgrep.com/patent/US20260101032A1

## CPC

- H04N 19/117: Filters, e.g. for pre-processing or post-processing (sub-band filter banks H04N19/635)
- G06T 7/13: Edge detection
- H04N 19/14: Coding unit complexity, e.g. amount of activity or edge presence estimation (H04N19/146 takes precedence)
- H04N 19/159: Prediction type, e.g. intra-frame, inter-frame or bidirectional frame prediction
- H04N 19/176: the region being a block, e.g. a macroblock
- H04N 19/80: Details of filtering operations specially adapted for video compression, e.g. for pixel interpolation (H04N19/635, H04N19/86 take precedence)
- H04N 19/82: involving filtering within a prediction loop
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

An example method of video coding includes receiving a video bitstream comprising a plurality of frames, including a current frame comprising a current block. The method also includes determining an edge direction by performing edge detection for the current block, and determining a difference between a current sample of the current block and a neighboring sample based on the edge direction. The method further includes applying a filter to the current block based on the determined difference.

## Claims

### Claim 1

A method of video decoding performed at a computing system having memory and one or more processors, the method comprising:
receiving a video bitstream comprising a plurality of frames, including a current frame comprising a current block;
determining an edge direction by performing edge detection for the current block;
determining a difference between a current sample of the current block and a neighboring sample based on the edge direction; and
applying a filter to the current block based on the determined difference.

### Claim 2 (depends on 1)

The method of claim 1, wherein the edge detection is performed using a constrained directional enhancement filter (CDEF) edge detection technique.

### Claim 3 (depends on 2)

The method of claim 2, wherein determining the edge direction comprises mapping a CDEF edge direction to a filter index.

### Claim 4 (depends on 1)

The method of claim 1, wherein the edge detection is preformed using one or more of:
a Canny edge detector, a Sobel operator, and a Laplacian of Gaussian (LoG) operator.

### Claim 5 (depends on 1)

The method of claim 1, wherein the edge detection is preformed using an intra prediction direction of the current block.

### Claim 6 (depends on 5)

The method of claim 5, wherein the intra prediction direction is mapped to a filter index.

### Claim 7 (depends on 1)

The method of claim 1, further comprising, for each frame in the plurality of frames, determining a respective unit size for the filter.

### Claim 8 (depends on 7)

The method of claim 7, wherein the respective unit size for the current frame is determined based on a superblock size for the current frame.

### Claim 9 (depends on 1)

The method of claim 1, wherein the filter comprises a cross-component sample offset (CCSO) filter.

### Claim 10 (depends on 1)

The method of claim 1, wherein the filter comprises a CDEF filter.

### Claim 11 (depends on 1)

The method of claim 1, further comprising determining a filter shape for the filter by parsing an indicator from the video bitstream.

### Claim 12

A method of video encoding performed at a computing system having memory and one or more processors, the method comprising:
receiving video data comprising a plurality of frames, including a current frame comprising a current block;
determining an edge direction by performing edge detection for the current block;
determining a difference between a current sample of the current block and a neighboring sample based on the edge direction; and
applying a filter to the current block based on the determined difference.

### Claim 13 (depends on 12)

The method of claim 12, wherein the filter comprises at least one of: a CDEF filter, and a CCSO filter.

### Claim 14 (depends on 12)

The method of claim 12, wherein the edge detection is preformed using a CDEF edge detection technique.

### Claim 15 (depends on 14)

The method of claim 14, wherein determining the edge direction comprises mapping a CDEF edge direction to a filter index.

### Claim 16 (depends on 12)

The method of claim 12, wherein the edge detection is preformed using one or more of:
a Canny edge detector, a Sobel operator, and an LoG operator.

### Claim 17 (depends on 12)

The method of claim 12, wherein the edge detection is preformed using an intra prediction direction of the current block.

### Claim 18

A non-transitory computer-readable storage medium storing a video bitstream that is generated by a video encoding method, the video bitstream comprising:
coded information for a plurality of blocks of video data, including a current block; and
wherein the video encoding method comprises:
determining an edge direction by performing edge detection for the current block;
determining a difference between a current sample of the current block and a neighboring sample based on the edge direction; and
applying a filter to the current block based on the determined difference.

### Claim 19 (depends on 18)

The non-transitory computer-readable storage medium of claim 18, wherein the filter comprises at least one of: a CDEF filter, and a CCSO filter.

### Claim 20 (depends on 18)

The non-transitory computer-readable storage medium of claim 18, wherein the edge detection is preformed using a CDEF edge detection technique.
