lists.zerezo.com



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

Re: v4l2_pix_format doubts



Hi Daniel,

  Thank you for your quick response.


On Tue, Jun 17, 2008 at 2:54 PM, Daniel Glöckner <daniel-gl@xxxxxxx> wrote:
> On Tue, Jun 17, 2008 at 02:35:04PM +0530, Veda N wrote:
>>  My datasheet says the size of each pixel is 12 bits per color channel.
>>
>>  Hence for RGB will be 36bits.
>>
>>  I wanted to know if the same hold true for YUV data.
>
> Can you tell us for which hardware you want to write a driver?
>
> The values to fill in depend on the final layout of the data in memory.
> As you should not convert to YUV in software, it depends solely on the
> hardware.


  As i understand, my camera has a image processor inside it. what i
want to say is it is
  not a plain raw sensor.

  For every pixel clock a pixel is fetched from the device and is
placed in memory
  Once a entire frame is captured. it is returned to the application.
>From the application
   i can write this data into LCD or a file to be viewed by a YUV/RGB
viewer like YUVTOOLS.

  This is same for both RGB and YUV data.


  my only concern is i should fill proper values to v4l2_pix_format structure.

  Thank you.

Regards,
vedan

>
>  Daniel
>

--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list