2011/9/13 Guennadi Liakhovetski <g.liakhovetski@xxxxxx>: > On Tue, 13 Sep 2011, Scott Jiang wrote: > >> >> + >> >> +struct bcap_format { >> >> + u8 *desc; >> >> + u32 pixelformat; >> >> + enum v4l2_mbus_pixelcode mbus_code; >> >> + int bpp; /* bytes per pixel */ >> > >> > Don't you think you might have to process 12 bpp formats at some point, >> > like YUV 4:2:0, or NV12? Maybe better calculate in bits from the beginning? >> > ppi only stores raw format into memory. I wonder if there is sensor transmit data in planar format? If planar format only exists in memory, I think I don't need to modify this. -- 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