# US 2020/0404291 A1 · Video encoding apparatus and video encoding method

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

- Number: US 2020/0404291 A1
- Document ID: US20200404291A1
- Status: Published application
- Kind: A1
- Application number: 17/009,739
- Filed: 2020-09-01
- Published: 2020-12-24
- Earliest claimed: 2017-09-05
- Assignees: Novatek Microelectronics Corp.
- Applicants: Novatek Microelectronics Corp.
- Inventors: Xin Huang; Fan-Di Jou
- Web page: https://patentgrep.com/patent/US20200404291A1

## CPC

- H04N 19/167: Position within a video image, e.g. region of interest [ROI]
- H04N 19/124: Quantisation
- H04N 19/139: Analysis of motion vectors, e.g. their magnitude, direction, variance or reliability
- H04N 19/172: the region being a picture, frame or field
- H04N 19/52: by predictive encoding
- H04N 19/61: in combination with predictive coding
- H04N 19/91: Entropy coding, e.g. variable length coding [VLC] or arithmetic coding
- H04N 19/119: Adaptive subdivision aspects, e.g. subdivision of a picture into rectangular or non-rectangular coding blocks
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

A video encoding apparatus and a video encoding method are provided. The video encoding apparatus comprises an encoding circuit and a region of interest (ROI) determination circuit. The encoding circuit performs a video encoding operation on an original video frame to generate an encoded video frame. The encoding information is generated by the video encoding operation during an encoding process. The ROI determination circuit reuses the encoding information generated by the video encoding operation to identify one or more ROI objects according to the initial ROI and generates one or more dynamic ROIs for tracking the one or more ROI objects within a current video frame for any one of a plurality of sequential video frames following the original video frame.

## Claims

### Claim 1

A video encoding apparatus, comprising:
an encoding circuit, configured to perform a video encoding operation on an original video frame to generate an encoded video frame, wherein at least one encoding information is generated by the video encoding operation during an encoding process; and
a region of interest (ROI) determination circuit, coupled to the encoding circuit to receive the encoding information, and configured to obtain an initial ROI within the original video frame and reuse the encoding information generated by the video encoding operation to identify one or more ROI objects according to the initial ROI and generate one or more dynamic ROIs for tracking the one or more ROI objects within a current video frame for any one of a plurality of sequential video frames following the original video frame,
wherein in the operation of reusing the encoding information generated by the video encoding operation to generate the one or more dynamic ROIs for tracking the ROI objects, the ROI determination circuit generates mark information for marking respective positions of the one or more dynamic ROIs based on the encoding information.

### Claim 2 (depends on 1)

The video encoding apparatus according to claim 1, wherein the reused encoding information comprises one or a plurality of texture information of largest coding unit, coding unit depth information, prediction unit size information, and transform unit size information.

### Claim 3 (depends on 1)

The video encoding apparatus according to claim 1, wherein the reused encoding information comprises one or a plurality of motion vector information and advanced motion vector prediction information.

### Claim 4 (depends on 1)

The video encoding apparatus according to claim 1, wherein the ROI determination circuit comprises:
a marking circuit, configured to mark a coding unit (CU) of the one or more dynamic ROIs according to the encoding information, so as to generate mark information for marking respective positions of the one or more dynamic ROIs for the ROI objects based on the encoding information.

### Claim 5 (depends on 4)

The video encoding apparatus according to claim 4, wherein the encoding circuit comprises:
a partition circuit, configured to perform a video partition operation on the original video frame to generate the at least one encoding information to the marking circuit; and
a coding circuit, coupled to the marking circuit to receive the mark information, and configured to adjust at least one parameter according to the mark information and perform a coding operation according to the at least one parameter to generate the encoded video frame.

### Claim 6 (depends on 5)

The video encoding apparatus according to claim 5, wherein the partition circuit comprises:
a CU partition circuit, configured to perform a CU partition operation on the original video frame to generate CU depth information;
a motion estimation circuit, coupled to the CU partition circuit to receive the CU depth information, and configured to perform a prediction unit (PU) partition operation and a motion estimation operation on the original video frame according to the CU depth information to generate PU size information and motion vector information; and
a transformation circuit, coupled to the CU partition circuit to receive the CU depth information, coupled to the motion estimation circuit to receive the PU size information and the motion vector information, and configured to perform a transform unit (TU) partition operation on the original video frame according to the CU depth information, the PU size information and the motion vector information to generate TU size information, wherein the reused encoding information further comprises at least one of the CU depth information, the PU size information, the TU size information and the motion vector information.

### Claim 7 (depends on 5)

The video encoding apparatus according to claim 5, wherein the coding circuit comprises:
a quantization circuit, coupled to the marking circuit to receive the mark information, and configured to adjust the at least one parameter according to the mark information and perform a quantization operation on the CU according to the at least one parameter to generate a quantized frame; and
an entropy coding circuit, coupled to the quantization circuit to receive the quantized frame, and configured to perform an entropy coding operation on the quantized frame to generate the encoded video frame.

### Claim 8 (depends on 7)

The video encoding apparatus according to claim 7, wherein the at least one parameter adjusted by the quantization circuit comprises one or a plurality of a quantization step size and a rounding offset.

### Claim 9

A video encoding method comprising:
performing a video encoding operation on an original video frame by an encoding circuit to generate an encoded video frame, wherein at least one encoding information is generated by the video encoding operation during an encoding process;
obtaining an initial ROI within the original video frame; and
reusing the encoding information generated by the video encoding operation to identify one or more ROI objects according to the initial ROI and generate one or more dynamic ROIs for tracking the one or more ROI objects within a current video frame for any one of a plurality of sequential video frames following the original video frame,
wherein the step of reusing the encoding information generated by the video encoding operation to generate the one or more dynamic ROIs for tracking the ROI objects comprise:
generating mark information for marking respective positions of the one or more dynamic ROIs based on the encoding information by the ROI determination circuit.

### Claim 10 (depends on 9)

The video encoding method according to claim 9, wherein the encoding information comprises one or a plurality of texture information of largest coding unit, coding unit depth information, prediction unit size information, and transform unit size information.

### Claim 11 (depends on 9)

The video encoding method according to claim 9, wherein the encoding information comprises one or a plurality of texture information of largest coding unit, coding unit depth information, prediction unit size information, and transform unit size information.

### Claim 12 (depends on 9)

The video encoding method according to claim 9, wherein the step of generating the one or more dynamic ROIs comprises:
marking a coding unit (CU) of the one or more dynamic ROIs according to the encoding information, so as to generate mark information for marking respective positions of the one or more dynamic ROIs for the ROI objects based on the encoding information.

### Claim 13 (depends on 12)

The video encoding method according to claim 12, wherein the step of performing the video encoding operation comprises:
performing a video partition operation on the original video frame to generate the at least one encoding information; and
adjusting at least one parameter according to the mark information and performing a coding operation according to the at least one parameter to generate the encoded video frame.

### Claim 14 (depends on 13)

The video encoding method according to claim 13, wherein the step of performing the video partition operation comprises:
performing a CU partition operation on the original video frame by a CU partition circuit to generate CU depth information;
performing a prediction unit (PU) partition operation and a motion estimation operation on the original video frame according to the CU depth information by a motion estimation circuit to generate PU size information and motion vector information; and
performing a transform unit (TU) partition operation on the original video frame according to the CU depth information, the PU size information and the motion vector information by a transformation circuit to generate TU size information, wherein the encoding information comprises one or a plurality of the CU information, the PU size information, the TU size information and the motion vector information.

### Claim 15 (depends on 13)

The video encoding method according to claim 13, wherein the step of adjusting the at least one parameter comprises:
adjusting the at least one parameter according to the mark information by a quantization circuit;
performing a quantization operation on the CU according to the at least one parameter by the quantization circuit to generate a quantized frame; and
performing an entropy coding operation on the quantized frame by an entropy coding circuit to generate the encoded video frame.

### Claim 16 (depends on 15)

The video encoding method according to claim 15, wherein the at least one parameter adjusted by the quantization circuit comprises one or a plurality of a quantization step size and a rounding offset.

### Claim 17

A video encoding method, comprising:
generating an initial ROI within an original video frame;
identifying one or more ROI objects according to the initial ROI; and
generating one or more dynamic ROIs for tracking the one or more ROI objects within a current video frame for any one of a plurality of sequential video frames following the original video frame,
wherein the step of generating the one or more dynamic ROIs for tracking the one or more ROI objects comprises:
generating, by an ROI determination circuit, mark information for marking respective positions of the one or more dynamic ROIs based on encoding information generated by a video encoding operation.

### Claim 18 (depends on 17)

The video encoding method according to claim 17, wherein the step of generating the one or more dynamic ROIs comprises:
marking a coding unit (CU) of the one or more dynamic ROIs according to at least one encoding information generated by a video encoding operation, so as to generate mark information for marking respective positions of the one or more dynamic ROIs for the ROI objects based on the encoding information.

### Claim 19 (depends on 18)

The video encoding method according to claim 18, further comprising:
performing a video partition operation on the original video frame to generate the at least one encoding information; and
adjusting at least one parameter according to the mark information and performing a coding operation according to the at least one parameter to generate an encoded video frame.

### Claim 20 (depends on 19)

The video encoding method according to claim 19, wherein the step of performing the video partition operation comprises:
performing a CU partition operation on the original video frame by a CU partition circuit to generate CU depth information;
performing a prediction unit (PU) partition operation and a motion estimation operation on the original video frame according to the CU depth information by a motion estimation circuit to generate PU size information and motion vector information; and
performing a transform unit (TU) partition operation on the original video frame according to the CU depth information, the PU size information and the motion vector information by a transformation circuit to generate TU size information, wherein the encoding information comprises one or a plurality of the CU depth information, the PU size information, the TU size information and the motion vector information.

### Claim 21 (depends on 19)

The video encoding method according to claim 19, wherein the step of adjusting the at least one parameter comprises:
adjusting the at least one parameter according to the mark information by a quantization circuit;
performing a quantization operation on the CU according to the at least one parameter by the quantization circuit to generate a quantized frame; and
performing an entropy coding operation on the quantized frame by an entropy coding circuit to generate the encoded video frame.

### Claim 22 (depends on 21)

The video encoding method according to claim 21, wherein the at least one parameter adjusted by the quantization circuit comprises one or a plurality of a quantization step size and a rounding offset.
