VAAPI-JDA: Re-extract lower level decode code.
This CL effectively reverts the refactoring in https://chromium-review.googlesource.com/c/chromium/src/+/1185218/. It extracts the lower level decode code so that it can be used (later) to implement a gpu::ImageDecodeAcceleratorWorker that decodes JPEGs using the VAAPI. A VaapiJpegDecoder class is created to contain this lower level code. In a follow-up CL, this class is expanded to be responsible for dealing with the VaapiWrapper and surface creation. This opportunity is used to fix some includes and build dependencies. Additionally, some code health fixes are done, the most significant being getting rid of memset in the Fill*() methods. Bug: 924310 Test: the VaapiJpegDecoderTest unit tests pass on a nocturne. Change-Id: Idf207e9f81385611e84069e229a0e59eec2479ec Reviewed-on: https://chromium-review.googlesource.com/c/1424401Reviewed-by:Dan Sanders <sandersd@chromium.org> Reviewed-by:
Miguel Casas <mcasas@chromium.org> Commit-Queue: Andres Calderon Jaramillo <andrescj@chromium.org> Cr-Commit-Position: refs/heads/master@{#626162}
Showing
This diff is collapsed.
This diff is collapsed.
Please register or sign in to comment