From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from smtp-vbr9.xs4all.nl ([194.109.24.29]:2115 "EHLO smtp-vbr9.xs4all.nl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751327AbaAaIFf (ORCPT ); Fri, 31 Jan 2014 03:05:35 -0500 Message-ID: <52EB5943.90100@xs4all.nl> Date: Fri, 31 Jan 2014 09:05:23 +0100 From: Hans Verkuil MIME-Version: 1.0 To: Antti Palosaari CC: linux-media@vger.kernel.org Subject: Re: [PATCH 2/2] DocBook: V4L: add V4L2_SDR_FMT_CU16LE - 'CU16' References: <1391139409-11737-1-git-send-email-crope@iki.fi> <1391139409-11737-2-git-send-email-crope@iki.fi> In-Reply-To: <1391139409-11737-2-git-send-email-crope@iki.fi> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-media-owner@vger.kernel.org List-ID: Acked-by: Hans Verkuil Regards, Hans On 01/31/2014 04:36 AM, Antti Palosaari wrote: > Document V4L2_SDR_FMT_CU16LE format. > It is complex unsigned 16-bit little endian IQ sample. Used by > software defined radio devices. > > Cc: Hans Verkuil > Signed-off-by: Antti Palosaari > --- > .../DocBook/media/v4l/pixfmt-sdr-cu16le.xml | 46 ++++++++++++++++++++++ > Documentation/DocBook/media/v4l/pixfmt.xml | 1 + > 2 files changed, 47 insertions(+) > create mode 100644 Documentation/DocBook/media/v4l/pixfmt-sdr-cu16le.xml > > diff --git a/Documentation/DocBook/media/v4l/pixfmt-sdr-cu16le.xml b/Documentation/DocBook/media/v4l/pixfmt-sdr-cu16le.xml > new file mode 100644 > index 0000000..26288ff > --- /dev/null > +++ b/Documentation/DocBook/media/v4l/pixfmt-sdr-cu16le.xml > @@ -0,0 +1,46 @@ > + > + > + V4L2_SDR_FMT_CU16LE ('CU16') > + &manvol; > + > + > + > + V4L2_SDR_FMT_CU16LE > + > + Complex unsigned 16-bit little endian IQ sample > + > + > + Description > + > +This format contains sequence of complex number samples. Each complex number > +consist two parts, called In-phase and Quadrature (IQ). Both I and Q are > +represented as a 16 bit unsigned little endian number. I value comes first > +and Q value after that. > + > + > + <constant>V4L2_SDR_FMT_CU16LE</constant> 1 sample > + > + Byte Order. > + Each cell is one byte. > + > + > + > + > + > + start + 0: > + I'0[7:0] > + I'0[15:8] > + > + > + start + 2: > + Q'0[7:0] > + Q'0[15:8] > + > + > + > + > + > + > + > + > + > diff --git a/Documentation/DocBook/media/v4l/pixfmt.xml b/Documentation/DocBook/media/v4l/pixfmt.xml > index 40adcb8..f535d9b 100644 > --- a/Documentation/DocBook/media/v4l/pixfmt.xml > +++ b/Documentation/DocBook/media/v4l/pixfmt.xml > @@ -818,6 +818,7 @@ extended control V4L2_CID_MPEG_STREAM_TYPE, see > interface only. > > &sub-sdr-cu08; > + &sub-sdr-cu16le; > > > >