Message ID | 20180911082952.23322-1-andr2000@gmail.com (mailing list archive) |
---|---|
Headers | show
Return-Path: <linux-media-owner@kernel.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 4C4D314BD for <patchwork-linux-media@patchwork.kernel.org>; Tue, 11 Sep 2018 08:30:03 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3CB0329141 for <patchwork-linux-media@patchwork.kernel.org>; Tue, 11 Sep 2018 08:30:03 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 30F142914C; Tue, 11 Sep 2018 08:30:03 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BBC8A29141 for <patchwork-linux-media@patchwork.kernel.org>; Tue, 11 Sep 2018 08:30:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726569AbeIKN2O (ORCPT <rfc822;patchwork-linux-media@patchwork.kernel.org>); Tue, 11 Sep 2018 09:28:14 -0400 Received: from mail-wm0-f68.google.com ([74.125.82.68]:40265 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726563AbeIKN2O (ORCPT <rfc822;linux-media@vger.kernel.org>); Tue, 11 Sep 2018 09:28:14 -0400 Received: by mail-wm0-f68.google.com with SMTP id 207-v6so407076wme.5 for <linux-media@vger.kernel.org>; Tue, 11 Sep 2018 01:30:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=RvlPwyj4iWTEVXkaOFabUppQwuMGvbuL9ztL4/8DPw0=; b=rUElMRix1/hpKn1EAJ9fi2eIus5moqqpRSr+qSYBGn5eC++QmujTLAihAR3EXE3if+ UxFj+vpZHhQbB4Chhjw+jSCQrKTU9JbOpzXUPiOP8NVIeBlWjHZ53NMZaHwR+j7V5k2y QIKEtEHGTA3SS1mX5P34zoHa8CokNpU1fkJpwDXryG/ZTt4uvrvO+Ig3V4M0z2CxV+er quSpNHTIBiTShQWeQyTLGgcTuAJt6sIY84rT4RC6ZGMhYy1LpzpHOrVH8P7neLluWgId P/nHMPDkQrwEU7bAkUvdLD7TZX0GACb+dOHjBvA+5XbFE1glUIs8f07yr0z8vnpdBIH4 Cnrw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=RvlPwyj4iWTEVXkaOFabUppQwuMGvbuL9ztL4/8DPw0=; b=nXbMBC/fCxjOiDmWe6nBQ93nW548BXd8dcNH01uZvwuTZiDZ/Y4haPHTQ89QuzFqId BoshFlcjErvD0vXSxH9kBDcH+q4WeukBOKeb2tVdGm004gnMqXQdvV/pcDw96osTQ53E Ffg7+dj+3qAwffDL48zeJ8iq4GODhx2jRO+tGqqf2LrZKLjKSgITqkUdIcTnokDh3VQ6 N0CL8U9U8TrNDpuLl7lmDhI2n9XNJpROKCoO/iHKsypBKno47B2Oycy3Qap9+LOHl27I bnUL10fSV+21TP3Mi8fVMpuXeojvUKSH4XPgA1C3lt43TaR+y47Ah73G12x8wXuw2MGg PlMA== X-Gm-Message-State: APzg51CBoiewMAQDT4/dBPu3rEoHugSyDnCfUJIJvpj6oNHKa3X/zhJW R08qHN6VQEpvHUp8vk6DH2Y= X-Google-Smtp-Source: ANB0VdaQh1hS/NKM5Rgo7h/Hj4N8r0g1ProN2vfSslss2K8v2wMzOneRh6MwYZSmcFQ35BjMbmsZfw== X-Received: by 2002:a1c:8b13:: with SMTP id n19-v6mr575342wmd.118.1536654599820; Tue, 11 Sep 2018 01:29:59 -0700 (PDT) Received: from a2k-HP-ProDesk-600-G2-SFF.kyiv.epam.com (ll-56.209.223.85.sovam.net.ua. [85.223.209.56]) by smtp.gmail.com with ESMTPSA id b144-v6sm422382wmd.23.2018.09.11.01.29.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 11 Sep 2018 01:29:59 -0700 (PDT) From: Oleksandr Andrushchenko <andr2000@gmail.com> To: xen-devel@lists.xenproject.org, konrad.wilk@oracle.com, jgross@suse.com, boris.ostrovsky@oracle.com, mchehab@kernel.org, linux-media@vger.kernel.org, sakari.ailus@linux.intel.com, koji.matsuoka.xm@renesas.com, hverkuil@xs4all.nl Cc: Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com> Subject: [Xen-devel][PATCH v2 0/1] cameraif: add ABI for para-virtual camera Date: Tue, 11 Sep 2018 11:29:51 +0300 Message-Id: <20180911082952.23322-1-andr2000@gmail.com> X-Mailer: git-send-email 2.18.0 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: <linux-media.vger.kernel.org> X-Mailing-List: linux-media@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
cameraif: add ABI for para-virtual camera
|
expand
|
From: Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com> Hello! At the moment Xen [1] already supports some virtual multimedia features [2] such as virtual display, sound. It supports keyboards, pointers and multi-touch devices all allowing Xen to be used in automotive appliances, In-Vehicle Infotainment (IVI) systems and many more. This work adds a new Xen para-virtualized protocol for a virtual camera device which extends multimedia capabilities of Xen even farther: video conferencing, IVI, 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 I hope that Xen and V4L and other communities could give their valuable feedback on this work, so I can update the protocol to better fit any additional requirements I might have missed. I would like to thank Hans Verkuil <hverkuil@xs4all.nl> for valuable comments and help. Thank you, Oleksandr Andrushchenko Changes since v1: ================= 1. Added XenStore entries: - frame-rates 2. Do not require the FOURCC code in XenStore to be upper case only 3. Added/changed command set: - configuration get/set - buffer queue/dequeue - control get 4. Added control flags, e.g. read-only etc. 5. Added colorspace configuration support, relevant constants 6. Added events: - configuration change - control change 7. Changed control values to 64-bit 8. Added sequence number to frame avail event 9. Coding style cleanup [1] https://www.xenproject.org/ [2] https://xenbits.xen.org/gitweb/?p=xen.git;a=tree;f=xen/include/public/io Oleksandr Andrushchenko (1): cameraif: add ABI for para-virtual camera xen/include/public/io/cameraif.h | 1263 ++++++++++++++++++++++++++++++ 1 file changed, 1263 insertions(+) create mode 100644 xen/include/public/io/cameraif.h