[PATCH/RFC 0/3] soc-camera: convert to videobuf2

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

 



Hi all

This is the first early draft of the soc-camera conversion to the 
videobuf2 API. For this RFC I've trivially split the conversion into core 
and driver, which, actually, we shouldn't do, because after the core is 
converted all the soc-camera host drivers are broken. Ideally, we should 
be adding videobuf2 support in parallel to the existing videobuf1 support, 
then converting each driver individually, and then removing videobuf1, but 
I'm not sure, how easy this is going to be... Although, I think, some 
drivers will be more difficult, than sh-ceu, e.g., pxa270 and omap1 with 
their support for dma-sg. Also, at least sh.ceu and pxa270 support planar 
formats, so far I've just put all three buffers in one vb2 plane on 
sh-ceu, not sure, which disadvantages this has. So far 
sh_mobile_camera_ceu.c is the only driver I've converted and tested, but 
it too might need more care, e.g., to properly support the multi-planar 
configurations.

I'mm CC-ing individual driver maintainers / authors with a request to try 
to comvert their respective drivers to vb2 too. I will be attempting that 
myself too, as the time permits, but at least someone will have to test 
that - I don't have all the hardware.

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