# US 2022/0046254 A1 · Optimizing memory reads when computing video quality metrics

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

- Number: US 2022/0046254 A1
- Document ID: US20220046254A1
- Status: Published application
- Kind: A1
- Application number: 17/394,268
- Filed: 2021-08-04
- Published: 2022-02-10
- Earliest claimed: 2020-08-05
- Assignees: Meta Platforms, Inc.
- Applicants: Facebook, Inc.
- Inventors: Deepa Palamadai Sundar; Visalakshi Vaduganathan; Harikrishna Madadi Reddy
- Web page: https://patentgrep.com/patent/US20220046254A1

## CPC

- G06T 7/0002: {Inspection of images, e.g. flaw detection}
- H04N 19/423: characterised by memory arrangements (H04N19/433 takes precedence)
- G06F 12/0875: with dedicated cache, e.g. instruction or stack
- G06F 12/0897: with two or more cache hierarchy levels (with multilevel cache hierarchies G06F12/0811)
- G06F 17/17: Function evaluation by approximation methods, e.g. inter- or extrapolation, smoothing, least mean square method ({G06F17/18 takes precedence } ; interpolation for numerical control G05B19/18)
- H04N 19/103: Selection of coding mode or of prediction mode
- H04N 19/117: Filters, e.g. for pre-processing or post-processing (sub-band filter banks H04N19/635)
- H04N 19/147: according to rate distortion criteria (rate-distortion as a criterion for motion estimation H04N19/567)
- H04N 19/154: Measured or subjectively estimated visual quality after decoding, e.g. measurement of distortion (use of rate-distortion criteria H04N19/147)
- H04N 19/176: the region being a block, e.g. a macroblock
- H04N 19/182: the unit being a pixel
- H04N 19/36: Scalability techniques involving formatting the layers as a function of picture distortion after decoding, e.g. signal-to-noise [SNR] scalability
- H04N 19/40: using video transcoding, i.e. partial or full decoding of a coded input stream followed by re-encoding of the decoded output stream
- H04N 19/523: with sub-pixel accuracy
- H04N 21/44008: {involving operations for analysing video streams, e.g. detecting features or characteristics in the video stream (arrangements characterised by components specially adapted for monitoring, identification or recognition of video in broadcast systems H04H60/59)}
- G06T 2207/10016: Video; Image sequence
- G06T 2207/30168: Image quality inspection
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Techniques to optimize memory reads when computing a video quality metric are disclosed. In some embodiments, an application-specific integrated circuit for computing video quality metrics includes a set of caches configured to store neighbor pixel data for edge width searches of pixels comprising a frame of a video being analyzed for a video quality metric and a kernel configured to receive corresponding neighbor pixel data for pixels comprising a current processing block of the frame from a subset of the set of caches and simultaneously perform edge width searches for pixels comprising the current processing block to determine corresponding pixel edge width values used for computing the video quality metric.

## Claims

### Claim 1

A system, comprising:
a set of caches of an application-specific integrated circuit configured to store neighbor pixel data for edge width searches of pixels comprising a frame of a video being analyzed for a video quality metric; and
a kernel of the application-specific integrated circuit configured to receive corresponding neighbor pixel data for pixels comprising a current processing block of the frame from a subset of the set of caches and simultaneously perform edge width searches for pixels comprising the current processing block to determine corresponding pixel edge width values used for computing the video quality metric.

### Claim 2 (depends on 1)

The system of claim 1, wherein the set of caches comprises a first level cache and a plurality of second level directional caches associated with different search directions.

### Claim 3 (depends on 2)

The system of claim 2, wherein the first level cache is configured to store a plurality of rows of pixel data comprising future neighbors and future processing blocks.

### Claim 4 (depends on 2)

The system of claim 2, wherein the plurality of second level directional caches is configured to store corresponding neighbor pixel data for the current processing block for different search directions.

### Claim 5 (depends on 2)

The system of claim 2, wherein the plurality of second level directional caches comprises a first directional cache configured to store left neighbors, a second directional cache configured to store vertical neighbors, and a third directional cache configured to store right neighbors.

### Claim 6 (depends on 2)

The system of claim 2, wherein the plurality of second level directional caches is configured to at least in part be populated from the first level cache with pixel data comprising at least a subset of a search window of the current processing block.

### Claim 7 (depends on 2)

The system of claim 2, wherein the first level cache comprises a larger size relative to a smaller size of the plurality of second level directional caches.

### Claim 8 (depends on 2)

The system of claim 2, wherein the kernel is configured to receive corresponding neighbor pixel data simultaneously from two or more of the plurality of second level directional caches.

### Claim 9 (depends on 2)

The system of claim 2, wherein the subset comprises one or more of the plurality of second level directional caches.

### Claim 10 (depends on 1)

The system of claim 1, wherein the kernel is configured to perform edge width searches in any of a plurality of search directions.

### Claim 11 (depends on 10)

The system of claim 10, wherein the plurality of search directions comprises one or more diagonal search directions.

### Claim 12 (depends on 1)

The system of claim 1, wherein the kernel is configured to simultaneously perform edge width searches in a plurality of search directions.

### Claim 13 (depends on 1)

The system of claim 1, wherein the set of caches is populated with output from a filtering stage comprising the kernel that is configured to smoothen frame pixel data prior to edge width searches.

### Claim 14 (depends on 1)

The system of claim 1, wherein a filtering stage comprising the kernel is configured to determine edge width search directions.

### Claim 15

A method, comprising:
configuring a set of caches of an application-specific integrated circuit to store neighbor pixel data for edge width searches of pixels comprising a frame of a video being analyzed for a video quality metric; and
configuring a kernel of the application-specific integrated circuit to receive corresponding neighbor pixel data for pixels comprising a current processing block of the frame from a subset of the set of caches and simultaneously perform edge width searches for pixels comprising the current processing block to determine corresponding pixel edge width values used for computing the video quality metric.

### Claim 16 (depends on 15)

The method of claim 15, wherein the set of caches comprises a first level cache and a plurality of second level directional caches associated with different search directions.

### Claim 17 (depends on 15)

The method of claim 15, wherein the kernel is configured to simultaneously perform edge width searches in a plurality of search directions.

### Claim 18

A computer program product embodied in a non-transitory computer readable medium and comprising computer instructions for:
configuring a set of caches of an application-specific integrated circuit to store neighbor pixel data for edge width searches of pixels comprising a frame of a video being analyzed for a video quality metric; and
configuring a kernel of the application-specific integrated circuit to receive corresponding neighbor pixel data for pixels comprising a current processing block of the frame from a subset of the set of caches and simultaneously perform edge width searches for pixels comprising the current processing block to determine corresponding pixel edge width values used for computing the video quality metric.

### Claim 19 (depends on 18)

The computer program product of claim 18, wherein the set of caches comprises a first level cache and a plurality of second level directional caches associated with different search directions.

### Claim 20 (depends on 18)

The computer program product of claim 18, wherein the kernel is configured to simultaneously perform edge width searches in a plurality of search directions.
