- 08 May, 2014 40 commits
-
-
Nicolas Dufresne authored
-
Nicolas Dufresne authored
-
Nicolas Dufresne authored
parse_nth_allocation_pool() give a ref on the pool, we need to unref it when done.
-
Nicolas Dufresne authored
-
Nicolas Dufresne authored
This can be enabled sing io-mode=dmabuf. This will enabled mmap base drivers to export the buffers as dmabuf.
-
Nicolas Dufresne authored
Because of the buf in videobuf2, dqbuf may leave the DONE flag being, which would implied that the buffer is queued. As this has been broken for 4 years, simply guaranty the state flags integrity when doing qbuf/dqbuf. See https://patchwork.linuxtv.org/patch/23641/
-
Nicolas Dufresne authored
-
Nicolas Dufresne authored
-
Nicolas Dufresne authored
In set_caps, now checks if caps actually changed and succeed if they didn't change.
-
Nicolas Dufresne authored
-
Nicolas Dufresne authored
-
Nicolas Dufresne authored
Improve decide allocation so it properly configure both local and downstream buffer pools. Also read back the pool config if it was changed to to driver limitations.
-
Nicolas Dufresne authored
Pre-configuring the pool is error prone, since it may hide a configuration failure and endup with a pool that is not configured the way it should (e.g. no video meta, wrong queue size, etc.)
-
Nicolas Dufresne authored
-
Nicolas Dufresne authored
Turn crop meta into a custom option and make sure it's there is needed.
-
Nicolas Dufresne authored
Catch short allocation after saving the format. This is not a catch all, but should catch most of the miss-behaving drivers when doing S_FMT/G_FMT and avoid potential crash.
-
Nicolas Dufresne authored
-
Nicolas Dufresne authored
This goal of this allocator is mainly to allow tracking the memory. Currently, when a buffer memory has been modified, the buffer and it's memory is disposed and lost until the stream is restarted.
-
Nicolas Dufresne authored
Currently we advertise crop meta, but not element handle support this meta.
-
Nicolas Dufresne authored
-
Nicolas Dufresne authored
Some well known decoder wrongly set num_planes to 0 in their format instead of one. In this case we would endup with no size when deciding buffer allocation.
-
Nicolas Dufresne authored
-
Nicolas Dufresne authored
All the element requires at least two buffers. This is not used for RW mode.
-
Nicolas Dufresne authored
-
Nicolas Dufresne authored
-
Nicolas Dufresne authored
-
Nicolas Dufresne authored
-
Nicolas Dufresne authored
-
Nicolas Dufresne authored
This should remove 1 copy between the decoder and the transform.
-
Nicolas Dufresne authored
-
Nicolas Dufresne authored
-
Nicolas Dufresne authored
-
Nicolas Dufresne authored
-
Nicolas Dufresne authored
That pool may be different then the internal pool.
-
Nicolas Dufresne authored
-
Nicolas Dufresne authored
-
Nicolas Dufresne authored
-
Víctor Manuel Jáquez Leal authored
-
Nicolas Dufresne authored
Implement a v4l2 element that wraps HW video converters.
-
Nicolas Dufresne authored
In order to correctly set the pool min/max, we need to probe for CREATE_BUFS ioctl. This can be done as soon as the format has been negotiated using a count of 0.
-