# US 2026/0075258 A1 · Method of Error Handling for Video Bitstream and System Thereof

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

- Number: US 2026/0075258 A1
- Document ID: US20260075258A1
- Status: Published application
- Kind: A1
- Application number: 19/315,847
- Filed: 2025-09-01
- Published: 2026-03-12
- Earliest claimed: 2024-09-11
- Assignees: Mediatek Inc.
- Applicants: Mediatek Inc.
- Inventors: Yu-Hsuan Shih
- Web page: https://patentgrep.com/patent/US20260075258A1

## CPC

- H04N 19/895: in combination with error concealment
- H04N 19/166: concerning the amount of transmission errors, e.g. bit error rate [BER]
- H04N 19/172: the region being a picture, frame or field
- H04N 19/44: Decoders specially adapted therefor, e.g. video decoders which are asymmetric with respect to the encoder
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

A method and an apparatus of error handling for video bitstream decoding determines error types and frame types to select recovery techniques. The method receives a video bitstream, detects errors during decoding, and categorizes errors as syntax parsing errors, missing or corrupted reference picture data, or decoding errors. Frame types are classified as reference frames, non-reference frames, or keyframes. Based on these classifications, the method applies appropriate error handling: generating replacement reference data for partial corruption, dropping frames or frame groups for complete reference loss, performing row-level concealment for reference frames to limit error propagation, performing slice-level concealment for non-reference frames for visual quality, analyzing keyframe errors to ignore minor edge errors or drop frame groups for significant corruption, and dropping frames for unrecoverable syntax errors.

## Claims

### Claim 1

A method for error handling for a bitstream in a video decoder, comprising:
receiving a bitstream comprising data associated with a sequence of frames;
detecting an error during decoding of a frame in the sequence from the bitstream;
determining an error type associated with the error;
determining a frame type of the frame; and
applying an error handling method based on the error type and the frame type.

### Claim 2 (depends on 1)

The method of claim 1, wherein the error type comprises missing or corrupted reference picture data, and applying the error handling method comprises:
in response to determining that the reference picture data is partially corrupted, generating replacement reference picture data for a corrupted portion.

### Claim 3 (depends on 1)

The method of claim 1, wherein the error type comprises missing or corrupted reference picture data and applying the error handling method comprises:
in response to determining that the reference picture data is completely unavailable and the frame type comprises a non-reference frame, dropping the frame; or
in response to determining that the reference picture data is completely unavailable and the frame type comprises a reference frame, dropping a group of frames associated with the reference frame.

### Claim 4 (depends on 1)

The method of claim 1, wherein the error type comprises a decoding error and the frame type comprises a reference frame, and applying the error handling method comprises:
performing row-level concealment on one or more error regions within the reference frame.

### Claim 5 (depends on 1)

The method of claim 1, wherein the error type comprises a decoding error and the frame type comprises a non-reference frame, and applying the error handling method comprises:
performing slice-level concealment on one or more error regions within the non-reference frame.

### Claim 6 (depends on 1)

The method of claim 1, wherein the error type comprises a decoding error and the frame type comprises a keyframe, and applying the error handling method comprises:
in response to determining that an affected area size of the error within the keyframe is greater than a predetermined threshold or a location of the error within the keyframe is not at an edge of the frame, dropping a group of frames associated with the keyframe.

### Claim 7 (depends on 1)

The method of claim 1, wherein the error type comprises a decoding error and the frame type comprises a keyframe, and applying the error handling method comprises:
in response to determining an affected area size of the error within the keyframe is below a predetermined threshold and a location of the error is at an edge of the keyframe, ignoring the error.

### Claim 8 (depends on 1)

The method of claim 1, wherein the error type comprises a syntax parsing error, and applying the error handling method comprises:
in response to determining the syntax parsing error is unrecoverable, dropping the frame.

### Claim 9 (depends on 1)

The method of claim 1, further comprising outputting the decoded frame in response to applying the error handling method and determining that the frame is not to be dropped.

### Claim 10

An apparatus of error handling for a bitstream in a video decoder, comprising:
memory configured to store executable instructions; and
a processor coupled to the memory, and configured to execute the instructions to:
receive a bitstream comprising data associated with a sequence of frames;
detect an error during decoding of a frame in the sequence from the bitstream;
determine an error type associated with the error;
determine a frame type of the frame; and
apply an error handling method based on the error type and the frame type.

### Claim 11 (depends on 10)

The apparatus of claim 10, wherein the processor is further configured to:
in response to determining that the error type comprises missing or corrupted reference picture data and the reference picture data is partially corrupted, generate replacement reference picture data for a corrupted portion.

### Claim 12 (depends on 10)

The apparatus of claim 10, wherein the processor is further configured to:
in response to determining that the error type comprises missing or corrupted reference picture data and the reference picture data is completely unavailable:
if the frame type comprises a non-reference frame, drop the frame; or
if the frame type comprises a reference frame, drop a group of frames associated with the reference frame.

### Claim 13 (depends on 10)

The apparatus of claim 10, wherein the processor is further configured to:
in response to determining that the error type comprises a decoding error and the frame type comprises a reference frame, perform row-level concealment on one or more error regions.

### Claim 14 (depends on 10)

The apparatus of claim 10, wherein the processor is further configured to:
in response to determining that the error type comprises a decoding error and the frame type comprises a non-reference frame, perform slice-level concealment on one or more error regions.

### Claim 15 (depends on 10)

The apparatus of claim 10, wherein the processor is further configured to:
in response to determining that the error type comprises a decoding error and the frame type comprises a keyframe:
if an affected area size of the error within the keyframe is greater than a predetermined threshold or a location of the error within the keyframe is not at an edge of the frame, drop a group of frames associated with the keyframe.

### Claim 16 (depends on 10)

The apparatus of claim 10, wherein the processor is further configured to:
in response to determining that the error type comprises a decoding error and the frame type comprises a keyframe:
if an affected area size of the error within the keyframe is below a predetermined threshold and a location of the error is at an edge of the keyframe, ignore the error.

### Claim 17 (depends on 10)

The apparatus of claim 10, wherein the processor is further configured to:
in response to determining that the error type comprises a syntax parsing error and the syntax parsing error is unrecoverable, drop the frame.

### Claim 18 (depends on 10)

The apparatus of claim 10, wherein the processor is further configured to output the decoded frame if the frame is not dropped during error handling.
