# US 2022/0295075 A1 · Resource constrained video encoding

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

- Number: US 2022/0295075 A1
- Document ID: US20220295075A1
- Status: Published application
- Kind: A1
- Application number: 17/198,194
- Filed: 2021-03-10
- Published: 2022-09-15
- Earliest claimed: 2021-03-10
- Assignees: Lemon Inc.
- Applicants: Lemon Inc.
- Inventors: Jizheng XU; Weijia ZHU; Li ZHANG
- Web page: https://patentgrep.com/patent/US20220295075A1

## CPC

- H04N 19/156: Availability of hardware or computational resources, e.g. encoding based on power-saving criteria
- H04L 65/61: for supporting one-way streaming services, e.g. Internet radio
- H04L 65/70: Media network packetisation
- H04L 65/756: adapting media to device capabilities
- H04L 65/762: {at the source (reformatting of additional data in video distribution servers H04N21/2355)}
- H04L 65/80: Responding to QoS
- 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/109: among a plurality of temporal predictive coding modes
- H04N 19/117: Filters, e.g. for pre-processing or post-processing (sub-band filter banks H04N19/635)
- H04N 19/132: Sampling, masking or truncation of coding units, e.g. adaptive resampling, frame skipping, frame interpolation or high-frequency transform coefficient masking
- H04N 19/146: Data rate or code amount at the encoder output
- H04N 19/176: the region being a block, e.g. a macroblock
- H04N 19/186: the unit being a colour or a chrominance component
- H04N 19/513: Processing of motion vectors
- H04N 19/82: involving filtering within a prediction loop
- H04N 19/86: involving reduction of coding artifacts, e.g. of blockiness
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Example implementations include a method for video processing, comprising performing a conversion between a current video unit of a video and a bitstream of the video according to a rule, wherein the rule specifies performing the conversion based on a predefined bitstream.

## Claims

### Claim 1

A method for video processing, comprising:
performing a conversion between a current video unit of a video and a bitstream of the video according to a rule;
wherein the rule specifies performing the conversion based on a constrained resource context, and the constrained resource context includes restricting a plurality of samples within the current video unit to a same prediction mode;
wherein the constrained resource context further includes choosing a same merge candidate index for the plurality of samples except a first coding block and/or first prediction block in the current video unit, and setting a merge candidate of the first coding block and/or first prediction block of the current video unit to a fixed candidate index that does not equal 0.

### Claim 2 (depends on 1)

The method of claim 1, wherein the constrained resource context further includes a bitrate or an encoding time below a predefined threshold.

### Claim 3 (depends on 1)

The method of claim 1, wherein the constrained resource context further includes an available memory resource below a predefined threshold.

### Claim 4

(canceled)

### Claim 5 (depends on 1)

The method of claim 1, wherein the plurality of samples include all samples in the current video unit, or all inter-coded samples in the current video unit.

### Claim 6 (depends on 1)

The method of claim 1, wherein the prediction mode includes at least one of a inter prediction mode, a skip mode, or a merge mode.

### Claim 7 (depends on 1)

The method of claim 1, wherein the constrained resource context further includes restricting a plurality of coding units within the current video unit to a same size.

### Claim 8 (depends on 1)

The method of claim 1, wherein the constrained resource context further includes disabling application of a tool to a plurality of samples within the current video unit.

### Claim 9 (depends on 8)

The method of claim 8, wherein the tool includes at least one of a filtering method or a temporal motion vector prediction.

### Claim 10 (depends on 9)

The method of claim 9, wherein the filtering method includes at least one of a deblocking filter, a sample adaptive offset (SAO), an adaptive loop filter (ALF), a cross-component adaptive loop filter (CC-ALF), a luma mapping with chroma scaling (LMCS).

### Claim 11

(canceled)

### Claim 12 (depends on 1)

The method of claim 1, wherein in response to the current video unit being an inter video unit, the constrained resource context further includes using a zero motion vector for a plurality of regions of the current video unit.

### Claim 13 (depends on 12)

The method of claim 12, wherein all motion vectors in the current video unit point to one or more same reference pictures, and/or all coding units in the current video unit satisfy at least one of having no residue, having a deblocking disabled, having a sample adaptive offset disabled, having an adaptive loop filter disabled, having a cross-component adaptive loop filter disabled, having reference picture resampling disabled.

### Claim 14 (depends on 1)

The method of claim 1, wherein in response to the current video unit being an inter video unit, the constrained resource context further includes copying a collocated picture or a nearest picture for the current video unit.

### Claim 15 (depends on 1)

The method of claim 1, wherein the method further comprises before performing the conversion, determining the constrained resource context and determining a predefined bitstream in response to the constrained resource context;
wherein performing the conversion comprises performing the conversion based on the predefined bitstream.

### Claim 16 (depends on 15)

The method of claim 15, wherein the predefined bitstream is based on a fixed quantization parameter being equal to K, and wherein K is an integer.

### Claim 17 (depends on 15)

The method of claim 15, wherein the predefined bitstream is used based on a current resolution value and another predefined bitstream is used for another resolution value.

### Claim 18 (depends on 15)

The method of claim 15, wherein the predefined bitstream is used for a session and another predefined bitstream is used for another session, and wherein the session is defined as one or more continuous tiles, or one or more continuous slices, or one or more continuous pictures.

### Claim 19 (depends on 1)

The method of claim 1, wherein the conversion includes encoding the current video unit into the bitstream.

### Claim 20 (depends on 1)

The method of claim 1, wherein the conversion includes decoding the current video unit from the bitstream.

### Claim 21

An apparatus for processing video data comprising a processor and a non-transitory memory with instructions thereon, wherein the instructions upon execution by the processor, cause the processor to:
perform a conversion between a current video unit of a video and a bitstream of the video according to a rule;
wherein the rule specifies to performing the conversion based on a constrained resource context, and the constrained resource context includes restricting a plurality of samples within the current video unit to a same prediction mode;
wherein the constrained resource context further includes choosing a same merge candidate index for the plurality of samples except a first coding block and/or first prediction block in the current video unit, and setting a merge candidate of the a-first coding block and/or first prediction block of the current video unit to a fixed candidate index that does not equal 0.

### Claim 22

A non-transitory computer-readable storage medium storing instructions that cause a processor to:
perform a conversion between a current video unit of a video and a bitstream of the video according to a rule;
wherein the rule specifies to performing the conversion based on a constrained resource context, and the constrained resource context includes restricting a plurality of samples within the current video unit to a same prediction mode;
wherein the constrained resource context further includes choosing a same merge candidate index for the plurality of samples except a first coding block and/or first prediction block in the current video unit, and setting a merge candidate of the first coding block and/or first prediction block of the current video unit to a fixed candidate index that does not equal 0.

### Claim 23

A non-transitory computer-readable recording medium storing a bitstream of a video which is generated by a method performed by a video processing apparatus, wherein the method comprises:
generating the bitstream of the video based on a current video unit of the video according to a rule;
wherein the rule specifies to generating the bitstream based on a constrained resource context, and the constrained resource context includes restricting a plurality of samples within the current video unit to a same prediction mode;
wherein the constrained resource context further includes choosing a same merge candidate index for the plurality of samples except a first coding block and/or first prediction block in the current video unit, and setting a merge candidate of the first coding block and/or first prediction block of the current video unit to a fixed candidate index that does not equal0.
