Re: mediabus enums

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Manjunath,

On Friday 12 November 2010 17:00:36 Hadli, Manjunath wrote:
> On Thu, Nov 11, 2010 at 22:17:23, Laurent Pinchart wrote:
> > On Thursday 11 November 2010 16:32:02 Guennadi Liakhovetski wrote:
> > > On Wed, 10 Nov 2010, Hadli, Manjunath wrote:
> > > > Hello Guennadi,
> > > > 
> > > >    Your media-bus enumerations capture the formats quite well. I
> > > > 
> > > > needed
> > > > 
> > > > the following for support on Davinci SOCs and liked to check with
> > > > you if these are covered in some format in the list.
> > > > 1. Parallel RGB 666 (18 data lines+ 5 sync lines) 2. YUYV16 (16
> > > > lines) (16 data lines + 4 or 5 sync lines)
> > > 
> > > According to the subdev-formats.xml
> > > 
> > > http://git.linuxtv.org/pinchartl/media.git?a=blob;f=Documentation/DocB
> > > ook/v
> > > 4l/subdev-formats.xml;h=3688f27185f72ab109e3094c268e04f67cb8643e;hb=re
> > > fs/he
> > > ads/media-0003-subdev-pad
> > > 
> > > they should be called V4L2_MBUS_FMT_RGB666_1X18 (or BGR666...)
> > 
> > Agreed.
> > 
> > > and V4L2_MBUS_FMT_YUYV16_1X16.
> > 
> > Depending on what Manjunath meant, this should be either YUYV16_2X16 or >
> > > YUYV8_1X16. 16 bits per sample seems quite high to me, I suppose it
> > should > then be YUYV8_1X16.
> 
> Actually, the interface transfers 16 bits per sample (Y=8bits and C=8bits)
> For the YC16 and 18 data lines (parallel) for RGB666. probably
> V4L2_MBUS_FMT_RGB666_1X18 and V4L2_MBUS_FMT_YUYV16_1X16 fit the bill.

V4L2_MBUS_FMT_RGB666_1X18 is correct, but for YUYV I think it should be 
V4L2_MBUS_FMT_YUYV8_1X16. You can find a detailed description of the format at 
http://www.ideasonboard.org/media/media/subdev.html#V4L2-MBUS-FMT-YUYV8-1X16

-- 
Regards,

Laurent Pinchart
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux