aboutsummaryrefslogtreecommitdiffstats
path: root/images/video-buffer-lifecycle.dot
diff options
context:
space:
mode:
authorDmitry Sepp <dmitry.sepp@opensynergy.com>2020-02-06 19:20:57 +0900
committerGerd Hoffmann <kraxel@redhat.com>2020-02-25 09:57:10 +0100
commitfd6bde9c6ec64b6723fd89815bc2fa62a2f945d0 (patch)
treef66e94cfba92c5762b631ae180d6a98ee0cdda18 /images/video-buffer-lifecycle.dot
parentda60923ce1645f6afdbcb41dbe765a46780af49d (diff)
downloadvirtio-spec-fd6bde9c6ec64b6723fd89815bc2fa62a2f945d0.tar.gz
virtio-video: Add virtio video device specification
The virtio video encoder device and decoder device provide functionalities to encode and decode video stream respectively. Though video encoder and decoder are provided as different devices, they use a same protocol. Signed-off-by: Dmitry Sepp <dmitry.sepp@opensynergy.com> Signed-off-by: Keiichi Watanabe <keiichiw@chromium.org> Message-Id: <20200206102058.247258-2-keiichiw@chromium.org>
Diffstat (limited to 'images/video-buffer-lifecycle.dot')
-rw-r--r--images/video-buffer-lifecycle.dot18
1 files changed, 18 insertions, 0 deletions
diff --git a/images/video-buffer-lifecycle.dot b/images/video-buffer-lifecycle.dot
new file mode 100644
index 0000000..98f379b
--- /dev/null
+++ b/images/video-buffer-lifecycle.dot
@@ -0,0 +1,18 @@
+digraph {
+ graph [ rankdir = LR, layout = dot ];
+
+ init [style = invis]
+ destroyed [style = invis]
+ created [label="Created", shape=circle]
+ dequeued [label="Dequeued", shape=circle]
+ queued [label="Queued", shape=circle]
+
+ init -> created [label="RESOURCE_CREATE"]
+
+ created -> queued [label="RESOURCE_QUEUE is sent"]
+ dequeued -> queued [label="RESOURCE_QUEUE\n is sent"]
+ queued -> dequeued [label="RESOURCE_QUEUE\n has returned"]
+
+ created -> destroyed [label="RESOURCE_DESTROY_ALL"]
+ dequeued -> destroyed [label="RESOURCE_DESTROY_ALL"]
+}