Open Bug 1906717 Opened 2 years ago Updated 2 years ago

Optimize YUV-to-RGBA conversion with specified color space

Categories

(Core :: Audio/Video: Web Codecs, enhancement, P5)

enhancement

Tracking

()

People

(Reporter: chunmin, Assigned: chunmin)

References

(Blocks 2 open bugs)

Details

Bug 1902115 and Bug 1904471 will implement a YUV-to-RGB data format and color conversion, respectively. However, the conversions are done individually. These two conversions could probably be optimized by the

  1. Replacing a two-step conversion with a one-pass conversion that can directly convert the YUV data into the required RGB format within specified color space.
  2. Using GPU to accelerate the process
  3. Using multiple threads for each R, G, B, and A channels to speed the process
Blocks: 1909373
You need to log in before you can comment on or make changes to this bug.