Re: size of raw bayer data

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

 



On Sat, Aug 13, 2011 at 11:56 PM, Paulo Assis <pj.assis@xxxxxxxxx> wrote:
> Hi,
>
> 2011/8/13 Veda N <veda74@xxxxxxxxx>:
>> what should be the size of a raw bayer data from the driver.
>>
>> for 640x480 = i get 640x480x2.
>
> Is this in bytes?
>
>>
>> Shouldnt i get more? It shoule be more than yuv422/rgb565
>>
>
> No, that depends on the pixel size, so for 8 bit pixel you should get
> 640x480 bytes, for 12 bit you should get 640x480x3/2 and so on.
>
> 640x480x2 is equivalent to a 16 bit pixel, this is a bit unusual I
> think, the most common is 8 bit pixel, what device/driver are you
> using ?

If it is V4L2_PIX_FMT_SGRBG10 - it is 10 bits/color.
If it is V4L2_PIX_FMT_SGRBG8 -   it is 8 bits/color

Shouldnt it be more? raw data is supposed to be large in size when
compared to processed data pixel size.


>
>
> Regards,
> Paulo
>
>> --
>> Regards,
>> S. N. Veda
>> --
>> 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
>>
>



-- 
Regards,
S. N. Veda
--
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