Martin Pulec
00801fa3d4
video display: updated putf api - use timeout
...
Replace blocking/nonblock/discard flags with numerical timeout for
fine-grainer control of latency.
The original flags are kept as convenience macros so the API changes is
only small as long as non-block (default) or blocking is used.
2022-10-05 16:24:24 +02:00
Martin Pulec
02e52afa7b
video display FPS ind.: provide name by module
...
Use name (MOD_NAME) provided by module rather than name given from
command-line. Those 2 may not match - in command-line it is
case-insensitive so ("gl" or even "gL" would be printed inestead of
expected "GL"). Also there may be input/output module of the same name
(eg. decklink) for which we may want to distinguish.
2022-09-27 15:52:28 +02:00
Martin Pulec
1ab53bacf4
dummy video display: simplify
...
- use generic FPS indicator
- default member intializer for video_frame instead of member
initializer list
2022-07-27 09:05:55 +02:00
Martin Pulec
e4f56be955
prevent dangling lambdas
...
Prevent dangling parameter-less lambdas. Although it may not be so dangerous
(operator() should be a plain function in the end), it is not correct.
2022-07-14 09:29:15 +02:00
Martin Pulec
ae9ac7da07
video_display: added optional generic indicator
2022-06-30 16:41:40 +02:00
Martin Pulec
6729a8a1ad
audio: use const audio_frame
2022-05-25 17:09:42 +02:00
Martin Pulec
0fd508cfb8
video_codec.c: rename get_pf_block_size->bytes
...
Renamed get_pf_block_size to get_pf_block_bytes.
2022-05-24 10:31:27 +02:00
Martin Piatka
b650e3a04d
display/dummy: Add missing <memory> include
2022-05-11 23:49:37 +02:00
Martin Pulec
f22d7cb859
Dummy: advertise R10k by default
2021-11-18 13:45:28 +01:00
Martin Pulec
1b3b27eb7c
Updated copyright dates for modified files
2021-11-08 15:43:14 +01:00
Martin Pulec
f2814cf3dd
Replaced some occurences of default {r,g,b}-shifts
...
Replaced only those occurences that are implicitly default.
2021-08-09 14:33:03 +02:00
Martin Pulec
993450067b
Dummy: missing ':' in usage
2021-03-22 11:39:22 +01:00
Martin Pulec
f5c19e12c4
Dummy: support also RG48
2021-03-11 10:48:00 +01:00
Martin Pulec
2ba15aae12
Dummy: dump_to_file - option to skip N first frames
2021-03-11 10:06:59 +01:00
Martin Pulec
3b16f12f36
Dummy: delimit hexdump on pixel boundaries
...
Delimit hexdump on pixel boundaries with space (readability)
2021-03-10 14:56:43 +01:00
Martin Pulec
f11e809c2e
Dummy: use codec-specific extension + write msg
2021-03-10 14:56:43 +01:00
Martin Pulec
12e04efbc1
Dummy disp.: separate values by space
...
more readable + to be clear that dumping individual bytes
2021-03-10 14:56:43 +01:00
Martin Pulec
340cd01481
Dummy: fixed dump_to_file not working
2021-02-25 16:37:48 +01:00
Martin Pulec
4aaec8f7f0
Fixed some Coverity warnings
2021-02-23 15:00:58 +01:00
Martin Pulec
2324514aca
Dummy: option to dump first frame to file
2021-01-27 12:50:23 +01:00
Martin Pulec
91833d3957
Dummy disp.: option to print frame content
2021-01-08 16:26:00 +01:00
Martin Pulec
8a6f86151f
Dummy display: audio reonfiguration succeeds
2020-12-07 18:03:28 +01:00
Martin Pulec
6651695c1e
Video display: added needs_mainloop callback
...
This allows more fine-grained evaluation if the display really needs to
be run in the main thread or not (eg. for multiplier)
2020-07-22 15:45:10 +02:00
Martin Pulec
c66ebcfbf0
Dummy disp.: fixed rgb_shift parsing
2020-06-29 10:14:29 +02:00
Martin Pulec
cea0bc4f36
Dummy display: added opts for codec and rgb-shifhs
2020-06-09 11:21:50 +02:00
Martin Pulec
31d80b34b9
Video display: run mainloop only if needed
...
Do not run the display worker in the main thread if not needed.
This would allow to run a custom mainloop (eg. from Syphon) while being able
to run a display that doesn't need to be run in the main thread.
2020-04-14 10:52:54 +02:00
Martin Pulec
e9e4db81ea
Addd I420
2020-02-10 08:15:04 +01:00
Martin Piatka
25e6f31662
video_display_info: probe: pass function ptr to deleter func
2019-03-15 13:00:59 +01:00
Martin Pulec
f343e9c3fe
Initial support for 12-bit
...
* added 12-bit packed RGB codec + conversion from 8-bit RGB
* support to testcard and dummy
* support to DeckLink capture and display
2019-01-30 13:02:51 +01:00
Martin Pulec
b21f4dd97f
Dummy display: do not count discarded frames
2016-10-12 16:41:18 +02:00
Martin Pulec
afdf24691e
Dummy display: reuse frame
2016-02-22 21:07:12 +01:00
Martin Pulec
a35a3b9d05
Use common type struct device_info
...
Use common structure to query AV devices.
2016-01-07 13:13:31 +01:00
Martin Pulec
a68f4e58bb
Capabilities: print available display devices
2015-12-10 14:42:29 +01:00
Martin Pulec
5c5e21ebab
Small changes
2015-09-21 14:38:30 +02:00
Martin Pulec
85684db8bc
Dummy display: print fps
2015-08-31 11:11:05 +02:00
Martin Pulec
072ea8cbb5
Register modules with macro
2015-08-31 11:11:05 +02:00
Martin Pulec
c1e4eb50e4
Video displays: switched to new mod loading API
2015-08-31 11:11:04 +02:00
Martin Pulec
3a34edbe4c
Added dummy video display
2015-05-18 10:17:06 +02:00