Convolution filtering in a graphics processor
Abstract
Techniques for performing convolution filtering using hardware normally available in a graphics processor are described. Convolution filtering of an arbitrary H×W grid of pixels is achieved by partitioning the grid into smaller sections, performing computation for each section, and combining the intermediate results for all sections to obtain a final result. In one design, a command to perform convolution filtering on a grid of pixels with a kernel of coefficients is received, e.g., from a graphics application. The grid is partitioned into multiple sections, where each section may be 2×2 or smaller. Multiple instructions are generated for the multiple sections, with each instruction performing convolution computation on at least one pixel in one section. Each instruction may include pixel position information and applicable kernel coefficients. Instructions to combine the intermediate results from the multiple instructions are also generated.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 50 · Forward citations: 10.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A method comprising: receiving, at a first processor, a command to perform convolution filtering on a grid of pixels; partitioning the grid into multiple sections; generating multiple instructions for the multiple sections, each instruction for performing a convolution computation on at least one pixel in one section; dispatching at least one of the multiple instructions to a second processor, the second processor multiplying the at least one pixel with at least one coefficient received in the at least one instruction, and accumulating at least one result of the multiply to generate an interme
- Claim 2Depends on #1
The method of claim 1 , further comprising: determining position of each pixel in the grid; and
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗