Reland "media/gpu: Add ImageProcessorWithPool class."
This CL adds ImageProcessorWithPool class, which is a simple client of ImageProcessor. By injecting a DmabufVideoFramePool for allocating output frames and a callback for receiving processed frames, the caller could process input frames by Process() without managing output buffer. BUG=chromium:1004727 TEST=ninja image_processor_test Change-Id: I472366e4bf9460a304fcc8c4d43277c21e16c2c0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1918917Reviewed-by:Hirokazu Honda <hiroh@chromium.org> Commit-Queue: Chih-Yu Huang <akahuang@chromium.org> Cr-Commit-Position: refs/heads/master@{#716086}
Showing
Please register or sign in to comment