ArcBridge: Add VideoEncodeAccelerator interface

Desktop / Chromium - owenlin [chromium.org] - 14 June 2017 06:42 EDT

The interface is going to be used for the video encoding IPC between Chromium and ARC.

TEST=Build on Caroline BUG=b:32692654

Review-Url: https://codereview.chromium.org/2833953002 Cr-Commit-Position: refs/heads/master@{#479345}

8037a88 ArcBridge: Add VideoEncodeAccelerator interface.
.../arc/video/gpu_arc_video_service_host.cc | 5 +
chrome/gpu/arc_video_decode_accelerator.h | 3 +-
chrome/gpu/chrome_arc_video_decode_accelerator.cc | 17 +-
chrome/gpu/chrome_arc_video_decode_accelerator.h | 10 +-
chrome/gpu/gpu_arc_video_decode_accelerator.cc | 4 +-
chrome/gpu/gpu_arc_video_decode_accelerator.h | 3 +-
components/arc/BUILD.gn | 2 +
components/arc/DEPS | 2 +-
components/arc/common/typemaps.gni | 2 +-
components/arc/common/video.mojom | 8 +
components/arc/common/video_common.mojom | 21 +++
...eo_accelerator.typemap => video_common.typemap} | 12 +-
.../arc/common/video_decode_accelerator.mojom | 9 +-
.../arc/common/video_encode_accelerator.mojom | 196 +++++++++++++++++++++
.../arc/video_accelerator/video_accelerator.h | 2 +-
.../video_accelerator_struct_traits.cc | 19 +-
.../video_accelerator_struct_traits.h | 26 ++-
17 files changed, 296 insertions(+), 45 deletions(-)

Upstream: git.chromium.org


  • Share