Wim Taymans
96df59274c
Add flags to set_format
...
Use flags to control the behaviour of set_format
Move poll into separate file
2016-07-25 10:50:46 +02:00
Wim Taymans
b9320c67c2
inspect: improve output
...
Keep state variable to enumerate things. This allows us to remove the
expectation that the same index will give the same item.
Use a new rectangle type for video size. When enumerating sizes, this
allows us to specify relations between width and height more easily.
Remove the struct and bytes type, they are like pointer.
Add filter to enum_formats to speed up enumerations.
2016-07-25 10:50:46 +02:00
Wim Taymans
77bc2a1793
v4l2: work on format enumeration
...
Start work on format enumeration
fix fd leak in v4l2-source
Improve spa-inspect output
2016-07-25 10:50:46 +02:00
Wim Taymans
61caf0e19c
buffer: add ptr_type to the data
...
We can give more info about the memory or fd that way and we can also
pass other structures as data later if we need to.
2016-07-25 10:50:46 +02:00
Wim Taymans
16d2a3a69c
v4l2: add support for DMABUF
...
Export dmafd on buffers and use those directly to send to the client.
Do some v4l2 cleanup.
2016-07-25 10:50:46 +02:00
Wim Taymans
6ab8af91e0
More hacking
...
Add spa based v4l2 pinos module
Add allocation params to port_alloc_buffers
Let the app do allocation for handles.
2016-07-25 10:50:46 +02:00
Wim Taymans
4c7cee6b28
improve buffer import
...
Add generic pointer metadata type that is copied on import
Pass array of pointers to SpaBuffers in use_buffers.
Make sure we use the same data and metadata as the imported buffer.
2016-07-25 10:50:05 +02:00
Wim Taymans
c5a31acf8c
v4l2: add support for buffer import
...
Add support for buffer import
Rename some methods
2016-07-25 10:50:05 +02:00
Wim Taymans
5fa334a89b
poll: remove threads from alsa-sink
...
Remove the thread from alsa sink and use the pollfd event.
Make it possible to pass multiple fds in one pollfd event
Add 3 callbacks to the pollfd event and add support for timeouts
2016-07-25 10:50:05 +02:00
Wim Taymans
ac59fa9371
test: pass device as parameter
2016-07-25 10:50:05 +02:00
Wim Taymans
81bde64550
v4l2: remove poll and send event instead
...
Don't start a thread for polling in the node itself but let this be
handled by the app.
2016-07-25 10:50:05 +02:00
Wim Taymans
cbde76f500
v4l2: show v4l captured output in SDL window
2016-07-25 10:50:05 +02:00
Wim Taymans
a31eb56663
More hacking
...
Add beginnings of Xv plugin
Add Poll event
Clean up props handling
V4l2 add beginnings of poll event
2016-07-25 10:50:05 +02:00
Wim Taymans
a1a27328e2
v4l2: continue work on the capture device
...
Remove activate and deactivate commands.
Add STEP property range type for v4l2 frame sizes later
v4l2: implement negotiation and data capture
2016-07-25 10:50:05 +02:00
Wim Taymans
beedb65f00
video: add video format
...
start working on v4l2 source
2016-07-25 10:50:05 +02:00
Wim Taymans
3c029cba53
more hacking
...
Move plugin API to separate directory for now
Add ringbuffer and way to get ringbuffer from a port
2016-07-25 10:50:05 +02:00