Method and apparatus for implementing 4:2:0 to 4:2:2 and 4:2:2 to 4:2:0 color space conversion
Abstract
A method and circuit are provided for color space conversion of Y (luminance) and UV (chrominance) components from a planar YUV 4:2:0 format to an interleaved, or packed YUV 4:2:2 format, and from an interleaved, or packed YUV 4:2:2 format to a planar YUV 4:2:0 format. The method for both conversions includes reading source data, interpolating the sampled YUV component values, and performing a pass to thereby write the converted YUV component values in three passes, one pass for all values of the respective YUV components.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 15 · Forward citations: 56.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method comprising: performing conversion of samples of YUV (luminance and chrominance) components from a planar YUV 4:2:0 format to a racked YUV 4:2:2 format with the same or different surface resolutions based on successive passes of the different YUV components, wherein a successive pass includes the following, scaling a respective one component of a YUV sample to a destination resolution, wherein the YUV sample is scaled and sampled by an interpolation formula {αμ 1 −(1−α)μ 0 }, wherein “α” indicates a pixel adjustment to align with the destination surface, μ 1 is the value of the lower
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗