All of lore.kernel.org
 help / color / mirror / Atom feed
From: Oleksandr Andrushchenko <andr2000@gmail.com>
To: Juergen Gross <jgross@suse.com>,
	xen-devel@lists.xenproject.org, konrad.wilk@oracle.com,
	boris.ostrovsky@oracle.com, mchehab@kernel.org,
	linux-media@vger.kernel.org, sakari.ailus@linux.intel.com,
	koji.matsuoka.xm@renesas.com
Cc: Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com>
Subject: Re: [PATCH 1/1] cameraif: add ABI for para-virtual camera
Date: Mon, 3 Sep 2018 13:16:36 +0300	[thread overview]
Message-ID: <345d7ec3-3ca3-e8fe-28a0-ba299196b5e4@gmail.com> (raw)
In-Reply-To: <5505e5af-5b64-b317-a0d8-09c11317926f@gmail.com>

On 08/21/2018 08:54 AM, Oleksandr Andrushchenko wrote:
> On 08/14/2018 11:30 AM, Juergen Gross wrote:
>> On 31/07/18 11:31, Oleksandr Andrushchenko wrote:
>>> From: Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com>
>>>
>>> This is the ABI for the two halves of a para-virtualized
>>> camera driver which extends Xen's reach multimedia capabilities even
>>> farther enabling it for video conferencing, In-Vehicle Infotainment,
>>> high definition maps etc.
>>>
>>> The initial goal is to support most needed functionality with the
>>> final idea to make it possible to extend the protocol if need be:
>>>
>>> 1. Provide means for base virtual device configuration:
>>>   - pixel formats
>>>   - resolutions
>>>   - frame rates
>>> 2. Support basic camera controls:
>>>   - contrast
>>>   - brightness
>>>   - hue
>>>   - saturation
>>> 3. Support streaming control
>>> 4. Support zero-copying use-cases
>>>
>>> Signed-off-by: Oleksandr Andrushchenko 
>>> <oleksandr_andrushchenko@epam.com>
>> Some style issues below...
> Will fix all the below, thank you!
>
> I would like to draw some attention of the Linux/V4L community to this
> protocol as the plan is that once it is accepted for Xen we plan to
> upstream a Linux camera front-end kernel driver which will be based
> on this work and will be a V4L2 device driver (this is why I have sent
> this patch not only to Xen, but to the corresponding Linux mailing list
> as well)
ping
>
>>> ---
>>>   xen/include/public/io/cameraif.h | 981 
>>> +++++++++++++++++++++++++++++++
>>>   1 file changed, 981 insertions(+)
>>>   create mode 100644 xen/include/public/io/cameraif.h
>>>
>>> diff --git a/xen/include/public/io/cameraif.h 
>>> b/xen/include/public/io/cameraif.h
>>> new file mode 100644
>>> index 000000000000..bdc6a1262fcf
>>> --- /dev/null
>>> +++ b/xen/include/public/io/cameraif.h
>>> +struct xencamera_config {
>>> +    uint32_t pixel_format;
>>> +    uint32_t width;
>>> +    uint32_t height;
>>> +    uint32_t frame_rate_nom;
>>> +    uint32_t frame_rate_denom;
>>> +    uint8_t num_bufs;
>> Add explicit padding?
>>
>>> +};
>>> +struct xencamera_req {
>>> +    uint16_t id;
>>> +    uint8_t operation;
>>> +    uint8_t reserved[5];
>>> +    union {
>>> +        struct xencamera_config config;
>>> +        struct xencamera_buf_create_req buf_create;
>>> +    struct xencamera_buf_destroy_req buf_destroy;
>>> +    struct xencamera_set_ctrl_req set_ctrl;
>> No tabs, please.
>>
>>> +        uint8_t reserved[56];
>>> +    } req;
>>> +};
>>> +
>>> +struct xencamera_resp {
>>> +    uint16_t id;
>>> +    uint8_t operation;
>>> +    uint8_t reserved;
>>> +    int32_t status;
>>> +    union {
>>> +        struct xencamera_config config;
>>> +        struct xencamera_buf_details_resp buf_details;
>>> +    struct xencamera_get_ctrl_details_resp ctrl_details;
>> Tab again.
>>
>>> +        uint8_t reserved1[56];
>>> +    } resp;
>>> +};
>>
>> Juergen
> Thank you,
> Oleksandr


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

WARNING: multiple messages have this Message-ID (diff)
From: Oleksandr Andrushchenko <andr2000@gmail.com>
To: Juergen Gross <jgross@suse.com>,
	xen-devel@lists.xenproject.org, konrad.wilk@oracle.com,
	boris.ostrovsky@oracle.com, mchehab@kernel.org,
	linux-media@vger.kernel.org, sakari.ailus@linux.intel.com,
	koji.matsuoka.xm@renesas.com
Cc: Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com>
Subject: Re: [Xen-devel][PATCH 1/1] cameraif: add ABI for para-virtual camera
Date: Mon, 3 Sep 2018 13:16:36 +0300	[thread overview]
Message-ID: <345d7ec3-3ca3-e8fe-28a0-ba299196b5e4@gmail.com> (raw)
In-Reply-To: <5505e5af-5b64-b317-a0d8-09c11317926f@gmail.com>

On 08/21/2018 08:54 AM, Oleksandr Andrushchenko wrote:
> On 08/14/2018 11:30 AM, Juergen Gross wrote:
>> On 31/07/18 11:31, Oleksandr Andrushchenko wrote:
>>> From: Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com>
>>>
>>> This is the ABI for the two halves of a para-virtualized
>>> camera driver which extends Xen's reach multimedia capabilities even
>>> farther enabling it for video conferencing, In-Vehicle Infotainment,
>>> high definition maps etc.
>>>
>>> The initial goal is to support most needed functionality with the
>>> final idea to make it possible to extend the protocol if need be:
>>>
>>> 1. Provide means for base virtual device configuration:
>>>   - pixel formats
>>>   - resolutions
>>>   - frame rates
>>> 2. Support basic camera controls:
>>>   - contrast
>>>   - brightness
>>>   - hue
>>>   - saturation
>>> 3. Support streaming control
>>> 4. Support zero-copying use-cases
>>>
>>> Signed-off-by: Oleksandr Andrushchenko 
>>> <oleksandr_andrushchenko@epam.com>
>> Some style issues below...
> Will fix all the below, thank you!
>
> I would like to draw some attention of the Linux/V4L community to this
> protocol as the plan is that once it is accepted for Xen we plan to
> upstream a Linux camera front-end kernel driver which will be based
> on this work and will be a V4L2 device driver (this is why I have sent
> this patch not only to Xen, but to the corresponding Linux mailing list
> as well)
ping
>
>>> ---
>>>   xen/include/public/io/cameraif.h | 981 
>>> +++++++++++++++++++++++++++++++
>>>   1 file changed, 981 insertions(+)
>>>   create mode 100644 xen/include/public/io/cameraif.h
>>>
>>> diff --git a/xen/include/public/io/cameraif.h 
>>> b/xen/include/public/io/cameraif.h
>>> new file mode 100644
>>> index 000000000000..bdc6a1262fcf
>>> --- /dev/null
>>> +++ b/xen/include/public/io/cameraif.h
>>> +struct xencamera_config {
>>> +    uint32_t pixel_format;
>>> +    uint32_t width;
>>> +    uint32_t height;
>>> +    uint32_t frame_rate_nom;
>>> +    uint32_t frame_rate_denom;
>>> +    uint8_t num_bufs;
>> Add explicit padding?
>>
>>> +};
>>> +struct xencamera_req {
>>> +    uint16_t id;
>>> +    uint8_t operation;
>>> +    uint8_t reserved[5];
>>> +    union {
>>> +        struct xencamera_config config;
>>> +        struct xencamera_buf_create_req buf_create;
>>> +    struct xencamera_buf_destroy_req buf_destroy;
>>> +    struct xencamera_set_ctrl_req set_ctrl;
>> No tabs, please.
>>
>>> +        uint8_t reserved[56];
>>> +    } req;
>>> +};
>>> +
>>> +struct xencamera_resp {
>>> +    uint16_t id;
>>> +    uint8_t operation;
>>> +    uint8_t reserved;
>>> +    int32_t status;
>>> +    union {
>>> +        struct xencamera_config config;
>>> +        struct xencamera_buf_details_resp buf_details;
>>> +    struct xencamera_get_ctrl_details_resp ctrl_details;
>> Tab again.
>>
>>> +        uint8_t reserved1[56];
>>> +    } resp;
>>> +};
>>
>> Juergen
> Thank you,
> Oleksandr

  reply	other threads:[~2018-09-03 10:16 UTC|newest]

Thread overview: 56+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-31  9:31 [PATCH 0/1] cameraif: Add ABI for para-virtualized Oleksandr Andrushchenko
2018-07-31  9:31 ` [Xen-devel][PATCH " Oleksandr Andrushchenko
2018-07-31  9:31 ` [PATCH 1/1] cameraif: add ABI for para-virtual camera Oleksandr Andrushchenko
2018-07-31  9:31   ` [Xen-devel][PATCH " Oleksandr Andrushchenko
2018-08-14  8:30   ` [PATCH " Juergen Gross
2018-08-14  8:30     ` [Xen-devel][PATCH " Juergen Gross
2018-08-21  5:54     ` [PATCH " Oleksandr Andrushchenko
2018-08-21  5:54       ` [Xen-devel][PATCH " Oleksandr Andrushchenko
2018-09-03 10:16       ` Oleksandr Andrushchenko [this message]
2018-09-03 10:16         ` Oleksandr Andrushchenko
2018-09-03 15:25         ` [PATCH " Hans Verkuil
2018-09-03 15:25           ` [Xen-devel][PATCH " Hans Verkuil
2018-09-04  6:56           ` [PATCH " Oleksandr Andrushchenko
2018-09-04  6:56             ` [Xen-devel][PATCH " Oleksandr Andrushchenko
2018-09-09 10:42             ` [PATCH " Hans Verkuil
2018-09-09 10:42               ` [Xen-devel][PATCH " Hans Verkuil
2018-09-10  5:59               ` [PATCH " Oleksandr Andrushchenko
2018-09-10  5:59                 ` [Xen-devel][PATCH " Oleksandr Andrushchenko
2018-09-10  8:14                 ` [PATCH " Hans Verkuil
2018-09-10  8:14                   ` [Xen-devel][PATCH " Hans Verkuil
2018-09-10  8:34                   ` [PATCH " Oleksandr Andrushchenko
2018-09-10  8:34                     ` [Xen-devel][PATCH " Oleksandr Andrushchenko
2018-09-09 10:31   ` [PATCH " Hans Verkuil
2018-09-09 10:31     ` [Xen-devel][PATCH " Hans Verkuil
2018-09-10  7:16     ` [PATCH " Oleksandr Andrushchenko
2018-09-10  7:16       ` [Xen-devel][PATCH " Oleksandr Andrushchenko
2018-09-10  7:53       ` [PATCH " Hans Verkuil
2018-09-10  7:53         ` [Xen-devel][PATCH " Hans Verkuil
2018-09-10  8:24         ` [PATCH " Oleksandr Andrushchenko
2018-09-10  8:24           ` [Xen-devel][PATCH " Oleksandr Andrushchenko
2018-09-10  9:04           ` [PATCH " Hans Verkuil
2018-09-10  9:04             ` [Xen-devel][PATCH " Hans Verkuil
2018-09-10  9:52             ` [PATCH " Oleksandr Andrushchenko
2018-09-10  9:52               ` [Xen-devel][PATCH " Oleksandr Andrushchenko
2018-09-10 11:09               ` [PATCH " Hans Verkuil
2018-09-10 11:09                 ` [Xen-devel][PATCH " Hans Verkuil
2018-09-10 11:49                 ` [PATCH " Oleksandr Andrushchenko
2018-09-10 11:49                   ` [Xen-devel][PATCH " Oleksandr Andrushchenko
2018-09-10 12:26                   ` [PATCH " Hans Verkuil
2018-09-10 12:26                     ` [Xen-devel][PATCH " Hans Verkuil
2018-09-10 13:16                     ` [PATCH " Oleksandr Andrushchenko
2018-09-10 13:16                       ` [Xen-devel][PATCH " Oleksandr Andrushchenko
2018-09-11  6:52                     ` [PATCH " Oleksandr Andrushchenko
2018-09-11  6:52                       ` [Xen-devel][PATCH " Oleksandr Andrushchenko
2018-09-11  7:04                       ` [PATCH " Hans Verkuil
2018-09-11  7:04                         ` [Xen-devel][PATCH " Hans Verkuil
2018-09-11  7:14                         ` [PATCH " Oleksandr Andrushchenko
2018-09-11  7:14                           ` [Xen-devel][PATCH " Oleksandr Andrushchenko
2018-09-11  7:52                           ` [PATCH " Hans Verkuil
2018-09-11  7:52                             ` [Xen-devel][PATCH " Hans Verkuil
2018-09-11  8:09                             ` [PATCH " Oleksandr Andrushchenko
2018-09-11  8:09                               ` [Xen-devel][PATCH " Oleksandr Andrushchenko
2018-09-10 12:48 ` [PATCH 0/1] cameraif: Add ABI for para-virtualized Laurent Pinchart
2018-09-10 12:48   ` [Xen-devel][PATCH " Laurent Pinchart
2018-09-10 13:02   ` [PATCH " Oleksandr Andrushchenko
2018-09-10 13:02     ` [Xen-devel][PATCH " Oleksandr Andrushchenko

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=345d7ec3-3ca3-e8fe-28a0-ba299196b5e4@gmail.com \
    --to=andr2000@gmail.com \
    --cc=boris.ostrovsky@oracle.com \
    --cc=jgross@suse.com \
    --cc=koji.matsuoka.xm@renesas.com \
    --cc=konrad.wilk@oracle.com \
    --cc=linux-media@vger.kernel.org \
    --cc=mchehab@kernel.org \
    --cc=oleksandr_andrushchenko@epam.com \
    --cc=sakari.ailus@linux.intel.com \
    --cc=xen-devel@lists.xenproject.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.