I came across this bug in the source code. Being new to Mojo (have been using IPCs all this while), I saw this as an opportunity to get some hands on experience of Mojo.
I shall do a quick code analysis w.r.t this and put forward my understanding (on what has to be done) here. Thank you.
I think we need to do the following:
[1] Define media::BitstreamBuffer and AcceleratedJpegDecoderMsg_Decode_Params for mojo.
[2] Add interfaces for GpuJpegDecodeAcceleratorHost and GpuJpegDecodeAccelerator.
[3] Register these interfaces.
[4] Set up a connection between the two.
Created https://codereview.chromium.org/2905823002/ for [1] and [2].
Hello,
https://chromium-review.googlesource.com/c/525672 is blocked and looks like it needs some time.
We want to use Jpeg HW decoder from camera HAL process by mojo,
so I want to create media/gpu/ipc/service/gpu_jpeg_decode_accelerator_mojo.[cc|h] files
which use mojo interfaces based on this CL https://chromium-review.googlesource.com/c/525672 for our purpose now.
We can remove them later after the CL merged.
Comment 1 by mcasas@chromium.org
, Mar 7 2017Labels: -Pri-3 OS-Android OS-Chrome OS-Mac OS-Windows Pri-2