Martin Pulec
396c445d2a
DeckLink cap/disp: added keep-defaults opt
...
- also make create bmdDeckLinkConfigFieldFlickerRemoval non-fatal
2022-05-12 11:48:18 +02:00
Martin Pulec
b19d8daea4
DeckLink disp.: removed old SDK compat
2022-05-12 11:48:18 +02:00
Martin Pulec
e16a010764
DeckLink disp.: set keep last frame
2022-05-12 11:48:18 +02:00
Martin Pulec
efd1ccdb96
DeckLink: share configuration helper in header
2022-05-12 11:48:17 +02:00
Martin Pulec
3c285e808b
DeckLink cap./disp.: help improvements
...
Improved help - hide rare options to "fullhelp" and let user know that
there is fullhelp more clearly.
+ [display] fixed audio_levels to be consistent with help ("mic", not
"false")
2022-05-10 14:23:15 +02:00
Martin Pulec
39785a6058
BMD: implement get_bmd_api_str_from_cstr abstraction
2022-03-22 14:40:56 +01:00
Martin Pulec
7bace13948
DeckLink disp.: timecode support for Win
2022-03-22 14:40:56 +01:00
Martin Pulec
e7c07129b9
DeckLink disp.: reindent display_decklink_getf
...
Just remove a block by checking the init condition first (+ in opposite
case return nullptr instead of empty envelope).
2022-03-22 14:40:46 +01:00
Martin Pulec
f4053fcec5
DeckLink disp.: small cleanup
...
+ use high_resolution_clock instead of timeval for printing 5-sec FPS stats
2022-03-22 14:40:46 +01:00
Martin Pulec
571813689f
audio under/overflows: be more verbose
...
Print actual numbers of underflow/underflow samples for better
diagnostics.
2022-03-14 11:33:34 +01:00
Martin Pulec
fff72f8f0a
DeckLink cap.: Windows compilation fix
...
BMDVideoOutputConversionMode is enum in Windows (compared to uint32_t in
Linux) and thus the compiler complains about the int->enum cast.
2022-02-25 08:40:33 +01:00
Martin Pulec
9f762fb102
DeckLink disp.: fix not supported conversion mode
...
refers to GitHub issue #215
2022-02-24 16:19:44 +01:00
Martin Pulec
eae4c79844
DeckLink disp.: set signal as progressive (not-PsF)
...
Set signal as progressive (not-PsF) by default - previously the value
was not touched which may be a bit misleading when DeckLink outputs
actually interlaced signal.
Issue warning that the option is set and keep user opt out from setting
this value.
2022-01-20 09:27:30 +01:00
Martin Pulec
c24b76a7b0
Fixed a typo
2021-11-23 10:53:16 +01:00
Thomas Menari
c2978c0031
[decklink] fix stereo 3D supportedFlags
2021-11-08 16:00:22 -08:00
Martin Pulec
1b3b27eb7c
Updated copyright dates for modified files
2021-11-08 15:43:14 +01:00
Martin Pulec
971dc3b2d0
DeckLink disp.: check for buffer underflow
...
+ fixed message for overflow
2021-10-01 08:13:35 +02:00
Martin Pulec
130ac934b4
DeckLink disp.: usage - missing closing ']' for HDR
2021-09-10 13:53:25 +02:00
Martin Pulec
8f557a97d6
Replaced audio/audio.h with audio/types.h includes
...
audio/audio.h should not be used as a catch-all header for audio.
2021-08-11 15:58:58 +02:00
Martin Pulec
3dd7a82a69
DeckLink disp.: use word "recognized" for pix fmts in help
...
There was "Supported pixel formats" which was a bit misleading since it
indicates that the pixel format is supported by UltraGrid but it doesn't
need to be supported by the card.
2021-06-17 17:04:45 +02:00
Martin Piatka
cbbc93340e
capabilities: Report which devices support embedded audio
2021-03-15 14:59:54 +01:00
Martin Piatka
2255a71d67
capabilities: Make video and audio devices consistent
...
The .id field previously contained the module name for audio devices,
while it only contained options for video devices. To make things more
consistent there are now two fields: "module" which contains the module
name and "device" which contains only the parameters.
2021-03-12 13:48:03 +01:00
Martin Pulec
4fd1726111
DeckLink disp.: cumulative dropped/late/flushed stats
...
Thanks Ben Roeder
2021-02-03 14:27:53 +01:00
Martin Pulec
0839bedc7e
DeckLink: fixed one Coverity warning
2020-09-21 14:34:03 +02:00
Martin Pulec
a76979ab80
DeckLink disp.: allow setting some HDR values
2020-08-17 10:08:24 +02:00
Martin Pulec
b3a954f130
DeckLink disp.: check color space metadata in HDR mode
...
Only display a warning if not supported
2020-08-14 11:37:08 +02:00
Martin Pulec
cdb462ae64
DeckLink disp.: HDR PQ typo
2020-08-14 10:10:32 +02:00
Martin Pulec
78304d0769
DeckLink disp.: fixed HDR check
2020-08-07 10:12:43 +02:00
Martin Pulec
710b1d7652
Revert to C++14
...
C++17 causes problems in Ubuntu 16.04 because increased C++ ABI version
(rather problem with GitHub runner compilers that were downloaded from
outside official repos - official clang-8 looked to work well).
2020-08-06 15:52:45 +02:00
Martin Pulec
1a6aa97339
DeckLink disp.: use vector for states
2020-08-05 14:03:37 +02:00
Martin Pulec
4cce89cf06
DeckLink disp.: debug print also other metadata
...
This is companion to fe1fa2c7 which printed only ints.
2020-08-05 14:03:37 +02:00
Martin Pulec
987ab568cc
DeckLink disp.: check if HDR is available if requested
2020-08-05 09:40:30 +02:00
Martin Pulec
fe1fa2c72b
DeckLink disp.: debug HDR metadata query
2020-08-05 09:23:41 +02:00
Martin Pulec
ba44dc5a35
DeckLink disp.: fixed parsing of "hdr=" option
2020-08-04 15:47:58 +02:00
Martin Pulec
302dcdd4ee
DeckLink disp.: mark interface impl as override
...
+ compare IIDs with ==
2020-08-03 09:41:16 +02:00
Martin Pulec
80651114af
DeckLink: fixes
...
- mac/Win compile fixes
- fixed freeze introduced by c1a1f83b when there is no signal
2020-07-30 23:05:48 +02:00
Martin Pulec
730d634631
DeckLink disp.: added HDR option
2020-07-30 14:57:52 +02:00
Martin Pulec
8aa948f01f
DeckLink: updated to API 11.6
2020-07-29 08:56:14 +02: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
85a150e69d
DeckLink: set PsF mode only if requested
2020-07-17 14:23:28 +02:00
Martin Pulec
afa278a8e9
DeckLink disp.: replace Use1080pNotPsF with Use1080PsF
...
To be consistent with DeckLink capture.
2020-07-14 13:01:40 +02:00
Martin Pulec
c62cc35de7
DeckLink disp.: print supported display formats
...
This knowledge may be sometimes useful for the user.
2020-06-08 10:29:13 +02:00
Martin Pulec
2cf40b59aa
DeckLink disp.: small cleanup
2020-05-13 13:22:24 +02:00
Martin Pulec
b8303b2f3e
DeckLink disp.: use rather BMD_OPT_DEFAULT
...
BMD_OPT_KEEP is intended rather for explicit keep.
2020-04-21 16:46:17 +02:00
Martin Pulec
a85c406b77
Decklink disp.: do not set conversion implicitly
...
Even setting to 'none' is reported to fail in some setup.
2020-04-21 10:39:01 +02:00
Martin Pulec
ca27b000cc
DeckLink disp.: accept multiple devices with positional parms (fix)
2020-04-17 10:11:07 +02:00
Thomas Menari
92539b8a60
[decklink] fix 3D warning logic
...
This is a re-implementation of commit 57f215b554 to support the case that you
have a single device but multiple tiles, using 3D mode, as well as the case
where you have multiple non-3D devices and multiple tiles.
2020-04-16 11:18:06 -07: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
9c692d8301
Fixed next couple of Coverity issues
2019-11-13 16:56:45 +01:00
Martin Pulec
4c71573a89
Fixed first series of Coverity bugs
2019-11-09 17:20:37 +01:00