# US 2022/0295079 A1 · Methods and systems for masking multimedia data

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

- Number: US 2022/0295079 A1
- Document ID: US20220295079A1
- Status: Published application
- Kind: A1
- Application number: 17/827,988
- Filed: 2022-05-30
- Published: 2022-09-15
- Earliest claimed: 2011-03-18
- Assignees: Texas Instruments Incorporated
- Applicants: Texas Instruments Incorporated
- Inventors: Yashwant Dutt; Kumar Desappan; Piyali Goswami
- Web page: https://patentgrep.com/patent/US20220295079A1

## CPC

- H04N 19/167: Position within a video image, e.g. region of interest [ROI]
- H04N 19/103: Selection of coding mode or of prediction mode
- H04N 19/124: Quantisation
- H04N 19/157: Assigned coding mode, i.e. the coding mode being predefined or preselected to be further used for selection of another element or parameter
- H04N 19/176: the region being a block, e.g. a macroblock
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

Several methods and systems for masking multimedia data are disclosed. In an embodiment, a method for masking includes performing a prediction for at least one multimedia data block based on a prediction mode of a plurality of prediction modes. The at least one multimedia data block is associated with a region of interest (ROI). A residual multimedia data associated with the at least one multimedia data block is generated based on the prediction. A quantization of the residual multimedia data is performed based on a quantization parameter (QP) value. The QP value is variable such that varying the QP value controls a degree of masking of the ROI.

## Claims

### Claim 1

A method comprising:
receiving, by a processor, a first frame of a video stream;
receiving, by the processor, a second frame of the video stream, wherein the second frame includes a region of interest;
determining, by the processor, a motion vector between the region of interest and the first frame;
determining, by the processor, a selected prediction mode for the region of interest from a plurality of prediction modes, wherein:
the selected prediction mode is based on the motion vector; and
the selected prediction mode is a worst prediction mode of the plurality of prediction modes; and
determining, by the processor, a prediction of the region of interest of the second frame based on the selected prediction mode.

### Claim 2 (depends on 1)

The method of claim 1, wherein:
the first frame includes a set of boundaries; and
the first frame includes padding outside the set of boundaries.

### Claim 3 (depends on 2)

The method of claim 2, wherein:
the first frame includes a set of corners located with the padding outside the set of boundaries.

### Claim 4 (depends on 3)

The method of claim 3, wherein:
each of the set of corners is gray.

### Claim 5 (depends on 3)

The method of claim 3, wherein:
the motion vector points to one of the set of corners.

### Claim 6 (depends on 1)

The method of claim 1, further comprising:
generating, by the processor, residual data associated with the region of interest based on the prediction.

### Claim 7 (depends on 6)

The method of claim 6, further comprising:
quantizing, by the processor, the residual data based on a quantization parameter value, the quantization parameter value being variable such that varying the quantization parameter value controls a degree of masking of the region of interest.

### Claim 8

A device comprising:
one or more processors; and
a non-transitory computer readable storage medium storing a program for execution by the one or more processors, the program including instructions causing the one or more processors to:
receive a first frame of a video stream;
receive a second frame of the video stream, wherein the second frame includes a region of interest;
determine a motion vector between the region of interest and the first frame;
determine a selected prediction mode for the region of interest from a plurality of prediction modes, wherein:
the selected prediction mode is based on the motion vector; and
the selected prediction mode is a worst prediction mode of the plurality of prediction modes; and
determine a prediction of the region of interest of the second frame based on the selected prediction mode.

### Claim 9 (depends on 8)

The device of claim 8, wherein:
the first frame includes a set of boundaries; and
the first frame includes padding outside the set of boundaries.

### Claim 10 (depends on 9)

The device of claim 9, wherein:
the first frame includes a set of corners located with the padding outside the set of boundaries.

### Claim 11 (depends on 10)

The device of claim 10, wherein:
each of the set of corners is gray.

### Claim 12 (depends on 10)

The device of claim 10, wherein:
the motion vector points to one of the set of corners.

### Claim 13 (depends on 8)

The device of claim 8, wherein the instructions further comprise instructions to:
generate residual data associated with the region of interest based on the prediction.

### Claim 14 (depends on 13)

The device of claim 13, wherein the instructions further comprise instructions to:
quantize the residual data based on a quantization parameter value, the quantization parameter value being variable such that varying the quantization parameter value controls a degree of masking of the region of interest.

### Claim 15

A system comprising:
a prediction module configured to:
receive a first frame of a video stream and a second frame of the video stream, wherein the second frame includes a region of interest; and
determine a motion vector between the region of interest and the first frame; and
a prediction mode determination module configured to:
determine a selected prediction mode for the region of interest from a plurality of prediction modes, wherein:
the selected prediction mode is based on the motion vector; and
the selected prediction mode is a worst prediction mode of the plurality of prediction modes;
determine a prediction of the region of interest of the second frame based on the selected prediction mode; and
output residual data based on the prediction.

### Claim 16 (depends on 15)

The system of claim 15, wherein:
the first frame includes a set of boundaries; and
the first frame includes padding outside the set of boundaries.

### Claim 17 (depends on 16)

The system of claim 16, wherein:
the first frame includes a set of corners located with the padding outside the set of boundaries.

### Claim 18 (depends on 17)

The system of claim 17, wherein:
each of the set of corners is gray.

### Claim 19 (depends on 17)

The system of claim 17, wherein:
the motion vector points to one of the set of corners.

### Claim 20 (depends on 15)

The system of claim 15, further comprising:
a quantization module configured to receive the residual data and quantize the residual data, wherein:
the residual data is associated with the region of interest; and
the residual data is quantized based on a quantization parameter value.
