v4l2: More work on bufferpools
authorWim Taymans <wim.taymans@collabora.co.uk>
Mon, 18 Jul 2011 16:54:49 +0000 (18:54 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Mon, 18 Jul 2011 16:54:49 +0000 (18:54 +0200)
commit55eb26f1e7db93868795cc6769cab27ea9f62b34
tree5bf25ce96a0062f7cdaff95258029ac12faad948
parent39716c02a7bc0c8f0c19cd606b671b70d610caae
v4l2: More work on bufferpools

Add different transport methods to the bufferpool (MMAP and READ/WRITE)
Do more parsing of the bufferpool config.
Start and stop streaming based on the bufferpool state.
Make separate methods for getting a buffer from the pool and filling it with
data. This allows us to fill buffers from other pools too. Either use copy or
read to fill up the target buffers.
Add property to force a transfer mode in v4l2src.
Increase default number of buffers to 4.
Negotiate bufferpool and its properties in v4l2src.
sys/v4l2/gstv4l2bufferpool.c
sys/v4l2/gstv4l2bufferpool.h
sys/v4l2/gstv4l2object.c
sys/v4l2/gstv4l2object.h
sys/v4l2/gstv4l2sink.c
sys/v4l2/gstv4l2src.c
sys/v4l2/gstv4l2src.h