# US 2022/0279204 A1 · Efficient video encoder architecture

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

- Number: US 2022/0279204 A1
- Document ID: US20220279204A1
- Status: Published application
- Kind: A1
- Application number: 17/187,132
- Filed: 2021-02-26
- Published: 2022-09-01
- Earliest claimed: 2021-02-26
- Assignees: QUALCOMM Incorporated
- Applicants: QUALCOMM Incorporated
- Inventors: Narendranath MALAYATH; Kai WANG; Xue FANG
- Web page: https://patentgrep.com/patent/US20220279204A1

## CPC

- H04N 19/513: Processing of motion vectors
- H04N 19/52: by predictive encoding
- H04N 19/436: using parallelised computational arrangements
- H04N 19/547: Motion estimation performed in a transform domain
- H04N 19/587: involving temporal sub-sampling or interpolation, e.g. decimation or subsequent interpolation of pictures in a video sequence
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

Systems, methods, and computer-readable media are provided for efficient video coding. An method can include determining, during a first coding stage implemented at a first frame rate, first motion vectors for a first subset of frames in a sequence of frames; determining, during a second coding stage, second motion vectors for a second subset of frames in the sequence of frames, wherein a portion of the second motion vectors is calculated based on one or more of the first motion vectors; and reconstruct, during the second coding stage, the first subset of frames using the first motion vectors; and reconstruct, during the second video coding stage, the second subset of frames using the second motion vectors, the first coding stage and the second coding stage being implemented in parallel, and the second coding stage being implemented at a second frame rate that is higher than the first frame rate.

## Claims

### Claim 1

An apparatus for processing video data, the apparatus comprising:
memory; and
one or more processors coupled to the memory, the one or more processors being configured to:
determine, during a first video coding stage implemented at a first frame rate, first motion vectors for a first subset of frames in a sequence of frames;
determine, during a second video coding stage implemented at a second frame rate that is higher than the first frame rate, second motion vectors for a second subset of frames in the sequence of frames, wherein at least a portion of the second motion vectors is calculated based on one or more motion vectors from the first motion vectors;
reconstruct, during the second video coding stage, the first subset of frames using the first motion vectors; and
reconstruct, during the second video coding stage, the second subset of frames using the second motion vectors, wherein the first video coding stage and the second video coding stage are implemented at least partly in parallel.

### Claim 2 (depends on 1)

The apparatus of claim 1, wherein each motion vector from at least the portion of the second motion vectors is calculated based on a separate motion vector of a selected frame from the first subset of frames and a temporal distance between the selected frame and a particular frame associated with each motion vector.

### Claim 3 (depends on 1)

The apparatus of claim 1, wherein, to estimate the first motion vectors, the one or more processors are configured to:
for a frame in the first subset of frames, compare one or more blocks of the frame with a plurality of blocks in a reference frame from the sequence of frames;
determine a predictive block from the plurality of blocks based on respective pixel differences between the one or more blocks of the frame and each of the plurality of blocks in the reference frame; and
compare a first position of the one or more blocks of the frame with a second position of the predictive block associated with the reference frame.

### Claim 4 (depends on 1)

The apparatus of claim 1, wherein one or more motion vectors of the second motion vectors are calculated based on one or more additional motion vectors of the second motion vectors, and a temporal distance between one or more frames associated with the one or more motion vectors and one or more reference frames associated with the one or more additional motion vectors.

### Claim 5 (depends on 1)

The apparatus of claim 1, wherein the one or more processors are configured to:
determine a coding pattern for reconstructing the first subset of frames and the second subset of frames, the coding pattern defining an order for reconstructing frames and a respective reference frame for determining each of the first motion vectors and each of the second motion vectors; and
reconstruct the first subset of frames and the second subset of frames according to the coding pattern.

### Claim 6 (depends on 5)

The apparatus of claim 5, wherein the coding pattern is based on at least one of frame dependencies and a temporal distance between each frame in the sequence of frames.

### Claim 7 (depends on 6)

The apparatus of claim 6, wherein the frame dependencies comprise a requirement that, for each frame in the sequence of frames, a reference frame used to reconstruct each frame has completed being reconstructed.

### Claim 8 (depends on 1)

The apparatus of claim 1, wherein the one or more processors are configured to:
at each interval associated with the first frame rate, determine a motion vector of a frame from the first subset of frames, determine respective motion vectors of a number of different frames from the second subset of frames, and reconstruct the number of different frames from the second subset of frames.

### Claim 9 (depends on 8)

The apparatus of claim 8, wherein the motion vector of the frame comprises at least one of the first motion vectors, and wherein the number of different frames is based on the second frame rate associated with the second video coding stage.

### Claim 10 (depends on 1)

The apparatus of claim 1, wherein, to reconstruct the first subset of frames and the second subset of frames, the one or more processors are configured to apply to the first subset of frames and the second subset of frames at least one of motion compensation, one or more transforms and coefficient quantizations, and one or more deblocking filters.

### Claim 11 (depends on 1)

The apparatus of claim 1, wherein the first video coding stage and the second video coding stage are implemented via a dedicated hardware processing pipe of the apparatus, wherein the dedicated hardware processing pipe comprises the one or more processors.

### Claim 12 (depends on 11)

The apparatus of claim 11, further comprising one or more additional dedicated hardware processing pipes, wherein each of the one or more additional dedicated hardware processing pipes is configured to separately implement the first video coding stage and the second video coding stage to one or more respective sequences of frames.

### Claim 13 (depends on 1)

The apparatus of claim 1, wherein the first motion vectors are determined using a motion estimation algorithm and the second motion vectors are determined using an interpolation algorithm, the motion estimation algorithm being different than the interpolation algorithm.

### Claim 14 (depends on 1)

The apparatus of claim 1, wherein the one or more processors are configured to:
generate an encoded video bitstream, the encoded video bitstream including the sequence of frames.

### Claim 15 (depends on 14)

The apparatus of claim 14, wherein the one or more processors are configured to:
transmit the encoded video bitstream.

### Claim 16 (depends on 1)

The apparatus of claim 1, wherein the apparatus is a mobile device.

### Claim 17 (depends on 1)

The apparatus of claim 1, further comprising a hardware video encoding engine.

### Claim 18 (depends on 1)

The apparatus of claim 1, wherein the second subset of frames includes more frames than the first subset of frames.

### Claim 19 (depends on 1)

The apparatus of claim 1, wherein the first subset of frames and the second subset of frames are reconstructed at the second frame rate.

### Claim 20

A method for processing video data, the method comprising:
determining, during a first video coding stage implemented at a first frame rate, first motion vectors for a first subset of frames in a sequence of frames;
determining, during a second video coding stage implemented at a second frame rate that is higher than the first frame rate, second motion vectors for a second subset of frames in the sequence of frames, wherein at least a portion of the second motion vectors is calculated based on one or more motion vectors from the first motion vectors;
reconstructing, during the second video coding stage, the first subset of frames using the first motion vectors; and
reconstructing, during the second video coding stage, the second subset of frames using the second motion vectors, wherein the first video coding stage and the second video coding stage are implemented at least partly in parallel.

### Claim 21 (depends on 20)

The method of claim 20, wherein each motion vector from at least the portion of the second motion vectors is calculated based on a separate motion vector of a selected frame from the first subset of frames and a temporal distance between the selected frame and a particular frame associated with each motion vector.

### Claim 22 (depends on 20)

The method of claim 20, wherein estimating the first motion vectors comprises:
for a frame in the first subset of frames, comparing one or more blocks of the frame with a plurality of blocks in a reference frame from the sequence of frames;
determining a predictive block from the plurality of blocks based on respective pixel differences between the one or more blocks of the frame and each of the plurality of blocks in the reference frame; and
comparing a first position of the one or more blocks of the frame with a second position of the predictive block associated with the reference frame.

### Claim 23 (depends on 20)

The method of claim 20, wherein one or more motion vectors of the second motion vectors are calculated based on one or more additional motion vectors of the second motion vectors, and a temporal distance between one or more frames associated with the one or more motion vectors and one or more reference frames associated with the one or more additional motion vectors.

### Claim 24 (depends on 20)

The method of claim 20, further comprising:
determining a coding pattern for reconstructing the first subset of frames and the second subset of frames, the coding pattern defining an order for reconstructing frames and a respective reference frame for determining each of the first motion vectors and each of the second motion vectors; and
reconstructing the first subset of frames and the second subset of frames according to the coding pattern.

### Claim 25 (depends on 24)

The method of claim 24, wherein the coding pattern is based on at least one of frame dependencies and a temporal distance between each frame in the sequence of frames.

### Claim 26 (depends on 25)

The method of claim 25, wherein the frame dependencies comprise a requirement that, for each frame in the sequence of frames, a reference frame used to reconstruct each frame has completed being reconstructed.

### Claim 27 (depends on 20)

The method of claim 20, further comprising:
at each interval associated with the first frame rate, determining a motion vector of a frame from the first subset of frames, determining respective motion vectors of a number of different frames from the second subset of frames, and reconstructing the number of different frames from the second subset of frames, wherein the motion vector of the frame comprises at least one of the first motion vectors, and wherein the number of different frames is based on the second frame rate associated with the second video coding stage.

### Claim 28 (depends on 20)

The method of claim 20, wherein reconstructing the first subset of frames and the second subset of frames comprises applying to the first subset of frames and the second subset of frames at least one of motion compensation, one or more transforms and coefficient quantizations, and one or more deblocking filters.

### Claim 29 (depends on 20)

The method of claim 20, wherein the first video coding stage and the second video coding stage are implemented via a dedicated hardware processing pipe, wherein the dedicated hardware processing pipe comprises the one or more processors.

### Claim 30 (depends on 29)

The method of claim 29, further comprising: separately implementing, via one or more additional dedicated hardware processing pipes, the first video coding stage and the second video coding stage to one or more respective sequences of frames.

### Claim 31 (depends on 20)

The method of claim 20, wherein the first motion vectors are determined using a motion estimation algorithm and the second motion vectors are determined using an interpolation algorithm, the motion estimation algorithm being different than the interpolation algorithm.

### Claim 32 (depends on 20)

The method of claim 20, further comprising:
generating an encoded video bitstream, the encoded video bitstream including the sequence of frames; and
transmitting the encoded video bitstream.

### Claim 33 (depends on 20)

The method of claim 20, wherein the second subset of frames includes more frames than the first subset of frames.

### Claim 34 (depends on 20)

The method of claim 20, wherein the first subset of frames and the second subset of frames are reconstructed at the second frame rate.

### Claim 35

A non-transitory computer-readable medium having stored thereon instructions which, when executed by one or more processors, cause the one or more processors to:
determine, during a first video coding stage implemented at a first frame rate, first motion vectors for a first subset of frames in a sequence of frames;
determine, during a second video coding stage implemented at a second frame rate that is higher than the first frame rate, second motion vectors for a second subset of frames in the sequence of frames, wherein at least a portion of the second motion vectors is calculated based on one or more motion vectors from the first motion vectors;
reconstruct, during the second video coding stage, the first subset of frames using the first motion vectors; and
reconstruct, during the second video coding stage, the second subset of frames using the second motion vectors, wherein the first video coding stage and the second video coding stage are implemented at least partly in parallel.
