Re: [PATCH 4/4] v4l2: add blackfin capture bridge driver

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

 



On Fri, 16 Sep 2011, Scott Jiang wrote:

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

There are also packed 12-bit formats, like yuv 4:1:1 (V4L2_PIX_FMT_Y41P).

Thanks
Guennadi
---
Guennadi Liakhovetski, Ph.D.
Freelance Open-Source Software Developer
http://www.open-technology.de/
--
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