From 57df6a0ab23c3b2ba233b9aa5886ecf47ba3f91f Mon Sep 17 00:00:00 2001 From: Keiichi Watanabe Date: Fri, 6 Dec 2019 22:24:40 +0900 Subject: devices: virtio: Initial implementation of virtio-video device This CL adds a fundamental part of the virtio video device, which will be shared between the encoder and the decoder. Both devices uses the virtio-video protocol proposed as RFC v3 [1,2]. The corresponding driver code is at CL:2060327 and its children CLs. The actual decoding and encoding logic will be implemented in different CLs. [1]: mail: https://markmail.org/thread/wxdne5re7aaugbjg [2]: PDF: https://drive.google.com/file/d/1jOsS2WdVhL4PpcWLO8Zukq5J0fXDiWn-/view BUG=b:147465619, b:140082257 TEST=cargo check --features=video-decoder,video-encoder TEST=ARCVM started with --video-decoder --video-encoder Cq-Depend: chromium:2203997 Change-Id: I01999eea218ba0f3aaed1558ca2311a57d0c6819 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/1973973 Reviewed-by: Keiichi Watanabe Tested-by: Keiichi Watanabe Tested-by: kokoro Commit-Queue: Keiichi Watanabe --- Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index 3fdad6b..55f7df0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -35,6 +35,8 @@ default-no-sandbox = [] gpu = ["devices/gpu"] plugin = ["protos/plugin", "crosvm_plugin", "protobuf"] tpm = ["devices/tpm"] +video-decoder = ["devices/video-decoder"] +video-encoder = ["devices/video-encoder"] wl-dmabuf = ["devices/wl-dmabuf", "gpu_buffer", "resources/wl-dmabuf"] x = ["devices/x"] virtio-gpu-next = ["gpu_renderer/virtio-gpu-next"] @@ -89,6 +91,7 @@ assertions = { path = "assertions" } audio_streams = { path = "../../third_party/adhd/audio_streams" } # ignored by ebuild data_model = { path = "data_model" } libcras = { path = "../../third_party/adhd/cras/client/libcras" } # ignored by ebuild +libvda = { path = "../../platform2/arc/vm/libvda/rust" } # ignored by ebuild minijail-sys = { path = "../../aosp/external/minijail" } # ignored by ebuild poll_token_derive = { path = "sys_util/poll_token_derive" } sync = { path = "sync" } -- cgit 1.4.1