Separate device object initialisation and opening

Signed-off-by: Sakari Ailus <sakari.ailus@iki.fi>
Provide functions for setting the buffer type and checking its validity

Signed-off-by: Sakari Ailus <sakari.ailus@iki.fi>
Separate querying capabilities and determining buffer queue type

Signed-off-by: Sakari Ailus <sakari.ailus@iki.fi>
Make struct for buffer type and name mapping usable elsewhere

Signed-off-by: Sakari Ailus <sakari.ailus@iki.fi>
Provide -B option for setting the buffer type

Instead of guessing the buffer type, allow setting it explicitly.

Signed-off-by: Sakari Ailus <sakari.ailus@iki.fi>
Allow passing file descriptors to yavta

Signed-off-by: Sakari Ailus <sakari.ailus@iki.fi>
Timestamp source for output buffers

Signed-off-by: Sakari Ailus <sakari.ailus@iki.fi>
Print timestamp type and source for dequeued buffers

Signed-off-by: Sakari Ailus <sakari.ailus@iki.fi>
Shorten dequeued buffer info print

Signed-off-by: Sakari Ailus <sakari.ailus@iki.fi>
Support copy timestamps

Signed-off-by: Sakari Ailus <sakari.ailus@iki.fi>
Set timestamp for output buffers if the timestamp type is copy

Copy timestamp type will mean the timestamp is be copied from the source to
the destination buffer on mem-to-mem devices.

Signed-off-by: Sakari Ailus <sakari.ailus@iki.fi>