From: Dmitry Sepp <dmitry.sepp@opensynergy.com>
To: Alexandre Courbot <acourbot@chromium.org>,
Keiichi Watanabe <keiichiw@chromium.org>
Cc: "Gerd Hoffmann" <kraxel@redhat.com>,
virtio-dev@lists.oasis-open.org,
"Linux Media Mailing List" <linux-media@vger.kernel.org>,
"Alex Lau" <alexlau@chromium.org>,
"Daniel Vetter" <daniel@ffwll.ch>,
"Dylan Reid" <dgreid@chromium.org>,
"David Staessens" <dstaessens@chromium.org>,
"Enrico Granata" <egranata@google.com>,
"Frediano Ziglio" <fziglio@redhat.com>,
"Hans Verkuil" <hverkuil@xs4all.nl>,
"Stéphane Marchesin" <marcheu@chromium.org>,
"Pawel Osciak" <posciak@chromium.org>,
spice-devel@lists.freedesktop.org,
"David Stevens" <stevensd@chromium.org>,
"Tomasz Figa" <tfiga@chromium.org>,
uril@redhat.com,
"Samiullah Khawaja" <samiullah.khawaja@opensynergy.com>,
"Kiran Pawar" <kiran.pawar@opensynergy.com>
Subject: Re: [PATCH v3 1/2] virtio-video: Add virtio video device specification
Date: Mon, 23 Mar 2020 14:28:08 +0100 [thread overview]
Message-ID: <8121654.T7Z3S40VBb@os-lin-dmo> (raw)
In-Reply-To: <CAD90VcaYi2KawNOewRaL1QihUjgja6nLyzU+0R7nsHPN3voXDA@mail.gmail.com>
Hi Keiichi,
On Montag, 23. März 2020 13:07:54 CET Keiichi Watanabe wrote:
> Hi everyone,
>
> I have implemented a virtio-video device following my v3 spec in
> crosvm, which worked well together with Dmitry's driver [1]. I've
> started preparing v4 proposal to address problems found while
> implementing the driver and the devices.
Great news!
>
> Regarding v3 protocol, I'm thinking about how we can differentiate
> 'parameters' and 'controls' in the virtio-video spec?
> In the previous discussion, we decided to have a profile, level and
> bitrate as controls because we want to query supported values for each
> field.
> But, I don't think it's a good criteria because it'd be possible to
> query other values in params.
Could you elaborate on this? Do you now how the design could look like or it
is just an idea? AFAIR during the discussion of OpenSynergy's original v1 spec
your point was to separate something that we call 'controls' now to reduce the
command data size and make command handling less error prone.
On one hand if don't really see any difference in params vs controls it would
for sure make sense to remove one of the two. On the other hand I'd of course
like to avoid moving back in forth, especially when it comes to such a major
driver rework.
>
> So, I'm thinking about what should be the difference between params
> and controls. If no difference, we should deprecate
> virtio_video_params and have every field there as a control value
> instead.
I deem we should then deprecate controls instead. Params seem to be more
abstract. Width and height don't sound like a control for me.
> If we add a new command to get and set multiple controls at once, this
> change won't cause overhead.
>
How would we do this? Provide a flexible array member where each entry has a
type field first?
What can also make sense is to potentially join set and get calls (probably
provide 'get' stuff automatically within a response to 'set'). Anyway set and
get are currently used in conjunction all the time.
Best regards,
Dmitry.
> What do you think? Is there anything I missed?
> If it sounds fine, I'll remove virtio_video_params from the v4 spec
> proposal.
>
> Best regards,
> Keiichi
>
> [1]: https://patchwork.linuxtv.org/patch/61717/
next prev parent reply other threads:[~2020-03-23 13:28 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-06 10:20 [PATCH v3 0/2] Virtio video device specification Keiichi Watanabe
2020-02-06 10:20 ` [PATCH v3 1/2] virtio-video: Add virtio " Keiichi Watanabe
2020-02-25 9:59 ` Gerd Hoffmann
2020-02-27 7:24 ` Keiichi Watanabe
2020-02-27 9:28 ` Gerd Hoffmann
2020-03-04 4:31 ` Alexandre Courbot
2020-03-04 6:42 ` Gerd Hoffmann
2020-03-04 10:07 ` Alexandre Courbot
2020-03-23 12:07 ` Keiichi Watanabe
2020-03-23 13:28 ` Dmitry Sepp [this message]
2020-03-23 15:48 ` Keiichi Watanabe
2020-03-25 9:47 ` Dmitry Sepp
2020-03-27 3:35 ` Keiichi Watanabe
2020-03-30 9:53 ` Dmitry Sepp
2020-04-06 9:32 ` Alexandre Courbot
2020-04-06 11:46 ` Keiichi Watanabe
2020-04-07 9:21 ` Dmitry Sepp
2020-04-09 10:46 ` Keiichi Watanabe
2020-04-17 8:08 ` Dmitry Sepp
2020-04-20 9:57 ` Keiichi Watanabe
2020-04-21 8:38 ` Dmitry Sepp
2020-04-24 11:42 ` Keiichi Watanabe
2020-04-27 14:28 ` Dmitry Sepp
2020-04-07 14:49 ` Dmitry Sepp
2020-04-09 10:46 ` Keiichi Watanabe
2020-04-09 13:13 ` Dmitry Sepp
2020-04-24 11:45 ` Keiichi Watanabe
2020-04-27 9:33 ` Dmitry Sepp
2020-05-18 5:17 ` Keiichi Watanabe
2020-05-27 12:12 ` Dmitry Sepp
2020-05-29 14:21 ` Keiichi Watanabe
2020-06-01 7:19 ` Alexandre Courbot
2020-02-06 10:20 ` [PATCH v3 2/2] virtio-video: Define a feature for exported objects from different virtio devices Keiichi Watanabe
2020-02-25 10:01 ` Gerd Hoffmann
2020-02-27 7:24 ` Keiichi Watanabe
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8121654.T7Z3S40VBb@os-lin-dmo \
--to=dmitry.sepp@opensynergy.com \
--cc=acourbot@chromium.org \
--cc=alexlau@chromium.org \
--cc=daniel@ffwll.ch \
--cc=dgreid@chromium.org \
--cc=dstaessens@chromium.org \
--cc=egranata@google.com \
--cc=fziglio@redhat.com \
--cc=hverkuil@xs4all.nl \
--cc=keiichiw@chromium.org \
--cc=kiran.pawar@opensynergy.com \
--cc=kraxel@redhat.com \
--cc=linux-media@vger.kernel.org \
--cc=marcheu@chromium.org \
--cc=posciak@chromium.org \
--cc=samiullah.khawaja@opensynergy.com \
--cc=spice-devel@lists.freedesktop.org \
--cc=stevensd@chromium.org \
--cc=tfiga@chromium.org \
--cc=uril@redhat.com \
--cc=virtio-dev@lists.oasis-open.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).