From patchwork Tue Jul 31 09:31:41 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Oleksandr Andrushchenko X-Patchwork-Id: 10550533 Return-Path: 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 7658E13BF for ; Tue, 31 Jul 2018 09:31:53 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6BAF729420 for ; Tue, 31 Jul 2018 09:31:53 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5DE5529507; Tue, 31 Jul 2018 09:31:53 +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 E404E29420 for ; Tue, 31 Jul 2018 09:31:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730070AbeGaLLR (ORCPT ); Tue, 31 Jul 2018 07:11:17 -0400 Received: from mail-lj1-f193.google.com ([209.85.208.193]:44569 "EHLO mail-lj1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729875AbeGaLLR (ORCPT ); Tue, 31 Jul 2018 07:11:17 -0400 Received: by mail-lj1-f193.google.com with SMTP id q127-v6so13077249ljq.11 for ; Tue, 31 Jul 2018 02:31:50 -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=bhC1XzvgtlYzjJpLOPlAXpjnhgtN4CS5ooS8SzwMG7k=; b=up4swA5O5T8zwayj60js+kS6UUaTuAcIBItsSrGq2wik+Ez8Pqou0iOYqOjWxYE0WO /r+5po7rhBUHVERvrREZczBAIREkyx7x3NpyUyjQN3m23MdrDRjeuGry+pY0foP6/KdP KQjiZnZDbqKou3V+xTO407Ub3NMCzlmFVf6AIUzSB/0xXrGLEYv4XqI41RoX9GV0stLE FOczHyHOCGKe2sLcIVIYWr6N5SrOnThZ5P5CKcREQcZKBK6J+CKCugzmGr3ViSz5s4YS Nat34Q5u3FTu1P0PBC8P49A8y6oO3W9oRkGf/Gm5XtOY8hn1chyy7Va7bUOsF+yjqt6p Hlug== 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=bhC1XzvgtlYzjJpLOPlAXpjnhgtN4CS5ooS8SzwMG7k=; b=IaS29C/1tM1FS9gtrWq7wb2N8vW1rlo0jxrLe6b0NhknC9pwC3eL/trYMf3TCprQQG vzcACIC2DU9bWtfTwzQR0NGF4rDUF2WqgKPaWXtDfdKjzR4I/ndnRUBa+5i4StG/eCj2 /3NzwTvsDnCRjtsIuOUSKEKrGVc2C6pMH3BOusXbRfMa+rBwpZn54/cmGt6tiWlSORMl hpkulkmFeFZ2SatNvrFBg0RLkWbfAWxJ4cSzydghj6M66gwp20clik1mrNQzu0SXHo0M JehlQkzT/4ffJGXTWm9WpARvM2+DTN5V+Tuv0tsmGhIcflUEArfcznGzW5cnLW7uUQ3b +maA== X-Gm-Message-State: AOUpUlHmmdtFrihjk6EbodL7meol8XGqTsyweJukpl/zbJ/MpDBkyzjL ue8xDX4cGrvvCZBvT1boOh8= X-Google-Smtp-Source: AAOMgpcaQJ7vsXDnmQGjbd+e0qQY02K5rVeHImW4RwuNBIUbFy6bn/7eWI7SECMhwFOixSmW9LzlVg== X-Received: by 2002:a2e:4e02:: with SMTP id c2-v6mr14847040ljb.108.1533029509372; Tue, 31 Jul 2018 02:31:49 -0700 (PDT) Received: from a2k-HP-ProDesk-600-G2-SFF.kyiv.epam.com (ll-74.141.223.85.sovam.net.ua. [85.223.141.74]) by smtp.gmail.com with ESMTPSA id m66-v6sm1890852lfi.17.2018.07.31.02.31.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 31 Jul 2018 02:31:48 -0700 (PDT) From: Oleksandr Andrushchenko 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 Cc: Oleksandr Andrushchenko Subject: [Xen-devel][PATCH 0/1] cameraif: Add ABI for para-virtualized Date: Tue, 31 Jul 2018 12:31:41 +0300 Message-Id: <20180731093142.3828-1-andr2000@gmail.com> X-Mailer: git-send-email 2.18.0 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Oleksandr Andrushchenko 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. Thank you, Oleksandr Andrushchenko [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 | 981 +++++++++++++++++++++++++++++++ 1 file changed, 981 insertions(+) create mode 100644 xen/include/public/io/cameraif.h