From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hans Verkuil Date: Fri, 27 Jun 2014 09:34:20 +0000 Subject: Re: [PATCH v2 02/23] DocBook: media: Document ALPHA_COMPONENT control usage on output devices Message-Id: <53AD3A9C.3070404@xs4all.nl> List-Id: References: <1403567669-18539-1-git-send-email-laurent.pinchart+renesas@ideasonboard.com> <1403567669-18539-3-git-send-email-laurent.pinchart+renesas@ideasonboard.com> In-Reply-To: <1403567669-18539-3-git-send-email-laurent.pinchart+renesas@ideasonboard.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Laurent Pinchart , linux-media@vger.kernel.org Cc: linux-sh@vger.kernel.org Acked-by: Hans Verkuil Regards, Hans On 06/24/2014 01:54 AM, Laurent Pinchart wrote: > Extend the V4L2_CID_ALPHA_COMPONENT control for use on output devices, > to set the alpha component value when the output format doesn't have an > alpha channel. > > Signed-off-by: Laurent Pinchart > --- > Documentation/DocBook/media/v4l/controls.xml | 17 ++++++++++------- > 1 file changed, 10 insertions(+), 7 deletions(-) > > diff --git a/Documentation/DocBook/media/v4l/controls.xml b/Documentation/DocBook/media/v4l/controls.xml > index 47198ee..4dfea27 100644 > --- a/Documentation/DocBook/media/v4l/controls.xml > +++ b/Documentation/DocBook/media/v4l/controls.xml > @@ -398,14 +398,17 @@ to work. > > V4L2_CID_ALPHA_COMPONENT > integer > - Sets the alpha color component on the capture device or on > - the capture buffer queue of a mem-to-mem device. When a mem-to-mem > - device produces frame format that includes an alpha component > + Sets the alpha color component. When a capture device (or > + capture queue of a mem-to-mem device) produces a frame format that > + includes an alpha component > (e.g. packed RGB image formats) > - and the alpha value is not defined by the mem-to-mem input data > - this control lets you select the alpha component value of all > - pixels. It is applicable to any pixel format that contains an alpha > - component. > + and the alpha value is not defined by the device or the mem-to-mem > + input data this control lets you select the alpha component value of > + all pixels. When an output device (or output queue of a mem-to-mem > + device) consumes a frame format that doesn't include an alpha > + component and the device supports alpha channel processing this > + control lets you set the alpha component value of all pixels for > + further processing in the device. > > > > From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from smtp-vbr6.xs4all.nl ([194.109.24.26]:3437 "EHLO smtp-vbr6.xs4all.nl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752603AbaF0Je2 (ORCPT ); Fri, 27 Jun 2014 05:34:28 -0400 Message-ID: <53AD3A9C.3070404@xs4all.nl> Date: Fri, 27 Jun 2014 11:34:20 +0200 From: Hans Verkuil MIME-Version: 1.0 To: Laurent Pinchart , linux-media@vger.kernel.org CC: linux-sh@vger.kernel.org Subject: Re: [PATCH v2 02/23] DocBook: media: Document ALPHA_COMPONENT control usage on output devices References: <1403567669-18539-1-git-send-email-laurent.pinchart+renesas@ideasonboard.com> <1403567669-18539-3-git-send-email-laurent.pinchart+renesas@ideasonboard.com> In-Reply-To: <1403567669-18539-3-git-send-email-laurent.pinchart+renesas@ideasonboard.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-media-owner@vger.kernel.org List-ID: Acked-by: Hans Verkuil Regards, Hans On 06/24/2014 01:54 AM, Laurent Pinchart wrote: > Extend the V4L2_CID_ALPHA_COMPONENT control for use on output devices, > to set the alpha component value when the output format doesn't have an > alpha channel. > > Signed-off-by: Laurent Pinchart > --- > Documentation/DocBook/media/v4l/controls.xml | 17 ++++++++++------- > 1 file changed, 10 insertions(+), 7 deletions(-) > > diff --git a/Documentation/DocBook/media/v4l/controls.xml b/Documentation/DocBook/media/v4l/controls.xml > index 47198ee..4dfea27 100644 > --- a/Documentation/DocBook/media/v4l/controls.xml > +++ b/Documentation/DocBook/media/v4l/controls.xml > @@ -398,14 +398,17 @@ to work. > > V4L2_CID_ALPHA_COMPONENT > integer > - Sets the alpha color component on the capture device or on > - the capture buffer queue of a mem-to-mem device. When a mem-to-mem > - device produces frame format that includes an alpha component > + Sets the alpha color component. When a capture device (or > + capture queue of a mem-to-mem device) produces a frame format that > + includes an alpha component > (e.g. packed RGB image formats) > - and the alpha value is not defined by the mem-to-mem input data > - this control lets you select the alpha component value of all > - pixels. It is applicable to any pixel format that contains an alpha > - component. > + and the alpha value is not defined by the device or the mem-to-mem > + input data this control lets you select the alpha component value of > + all pixels. When an output device (or output queue of a mem-to-mem > + device) consumes a frame format that doesn't include an alpha > + component and the device supports alpha channel processing this > + control lets you set the alpha component value of all pixels for > + further processing in the device. > > > >