Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752472AbdGaQHZ (ORCPT ); Mon, 31 Jul 2017 12:07:25 -0400 Received: from lb3-smtp-cloud8.xs4all.net ([194.109.24.29]:52301 "EHLO lb3-smtp-cloud8.xs4all.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751046AbdGaQHX (ORCPT ); Mon, 31 Jul 2017 12:07:23 -0400 Subject: Re: [PATCH v4 2/6] [media] extended-controls.rst: add PorterDuff mode control To: Jacob Chen , linux-rockchip@lists.infradead.org Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, heiko@sntech.de, robh+dt@kernel.org, mchehab@kernel.org, linux-media@vger.kernel.org, laurent.pinchart+renesas@ideasonboard.com, hans.verkuil@cisco.com, tfiga@chromium.org, nicolas@ndufresne.ca References: <1501515182-26705-1-git-send-email-jacob-chen@iotwrt.com> <1501515182-26705-3-git-send-email-jacob-chen@iotwrt.com> From: Hans Verkuil Message-ID: Date: Mon, 31 Jul 2017 18:07:17 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <1501515182-26705-3-git-send-email-jacob-chen@iotwrt.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-CMAE-Envelope: MS4wfFB7svLi/TceEWBCwRLJR7l/+SHO/UIhPtUyY7MM25RWu9GHbqWLvW27dDAnY6d3O8PVNBhbbGxbVW4Wei0AUQyt3SfZOjkgZ5X0/eT0wEQt6JiRiCfs bAXCqRqtiZ9wsYQySUw8msnQ1IvEpEEV3f1xvoEUeXFZ3osxJEzcuUBfg+0r2sMZk1oGKQC8kXq6QpvmcvkGQokXwV1zy6wtDc7SpYQ9VhJMGA0Xnx/JCk8c gloO5sRkb6Re2rp1r210t6OPaz1hW1vMM5XvU8dTatN9CUGatfWBRvLVgCgKdwmZ8974p3RKvcw3o3lr4kUnDd1AvNCnctwk71ViSoZqDNjNe0smtep2LE3t xEir42Rk7ZicuDoHLjsqYJZfksUs6uqJoIyzvbbocqQMYft0VY0GW07hsSCp2ruBhtnUGIDhBbbMDnnSTp+IsITElLLfdl3JMWP+Ui4n1S7wA4KuNpKOz+Yr +5vQboMLngXdY8WDKMwJTP5S9s7zyUSWjo7N07QrPO/if9Lb6FohlS4I8tBGhWxIrQxckP+1I5UJkVYYZZI72mvCQdU83V1FY2erbQ== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1341 Lines: 38 On 07/31/2017 05:32 PM, Jacob Chen wrote: > PorterDuff mode control are used to determine > how two images are combined. > > Signed-off-by: Jacob Chen > --- > Documentation/media/uapi/v4l/extended-controls.rst | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/Documentation/media/uapi/v4l/extended-controls.rst b/Documentation/media/uapi/v4l/extended-controls.rst > index abb1057..f9c93bb 100644 > --- a/Documentation/media/uapi/v4l/extended-controls.rst > +++ b/Documentation/media/uapi/v4l/extended-controls.rst > @@ -3021,6 +3021,10 @@ Image Process Control IDs > The video deinterlacing mode (such as Bob, Weave, ...). The menu items are > driver specific and are documented in :ref:`v4l-drivers`. > > +``V4L2_CID_PORTER_DUFF_MODE (menu)`` > + The PorterDuff blend modes. PorterDuff is way to overlay, combine and > + trim images as if they were pieces of cardboard, device could use to > + determine how two images are combined. A little rewrite: The PorterDuff blend modes. PorterDuff is a method to overlay, combine and trim images as if they were pieces of cardboard. The device uses this to determine how two images are combined. Also add a link to the same android article that you pointed to in the header. Regards, Hans > > .. _dv-controls: > >