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 ? 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 > -- 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