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
Martin Pulec
3fa1a0d718
DeckLink disp.: fixed 2 leaks
2019-11-05 17:35:46 +01:00
Martin Pulec
33ffea4b53
DeckLink disp.: fixed leaks
...
On UltraStudio Pro (for USB 3) it caused that
IDeckLinkOutput::DoesSupportVideoMode failed starting the playback.
2019-11-05 11:14:14 +01:00
Martin Pulec
e76b832e7b
DeckLink: small fix
2019-09-19 11:22:49 +02:00
Martin Pulec
5235027134
DeckLink disp.: moved opt parsing to settings_init
...
+ modernized a bit
2019-09-16 11:58:44 +02:00
Martin Pulec
738ac7ae23
DeckLink disp.: show usage if no drivers
...
Shows basic usage even if the drivers are not installed.
+ removed one level of indention in display_decklink_init() in the
part of parsing options
2019-09-16 11:39:34 +02:00
Martin Pulec
1c8e70e93e
DeckLink disp.: improved help
2019-06-14 08:55:07 +02:00
Martin Pulec
9438d20181
DeckLink: multiple changes
...
* replaced the duplex option with the profile
* half-duplex remains to allow user to use a profile with the maximal
number of independent IOs
* prefixed DEFAULT and KEEP macros with BMD_OPT_ + moved to common hearder
* added bmd_read_fourcc() and use wherever possible (some of previous
implementations had incorrectly used max instead of min for memcpy and
didn't zero-initialized the union)
2019-06-14 08:55:07 +02:00
Martin Pulec
f625f8529f
DeckLink: correctly set duplex mode for quad-link
...
Correctly set the duplex mode for quad-link (implies
bmdProfileOneSubDevicesHalfDuplex).
* changed the duplex options
+ slightly modified usage
2019-06-14 08:55:07 +02:00
Martin Pulec
4151df3d90
DeckLink disp.: print used device
...
+ moved the common code for querying name to a common file
2019-06-14 08:55:07 +02:00
Martin Pulec
47c0d66393
DeckLink disp.: query mode support after changes
...
Query if display mode is supported after applying changes that may
influence the availability of modes (link-mode, duplexness,
subsampling).
2019-06-13 14:01:50 +02:00
Martin Pulec
ecab2ea98e
DeckLink disp.: correct duplex mode for quad-link
2019-06-13 14:01:50 +02:00
Martin Pulec
37981b1154
Various fixes
2019-05-30 11:38:17 +02:00
Martin Pulec
1828d44da5
DeckLink disp.: only report supported codecs
...
Only report an output codec if a device supports it.
2019-05-22 10:33:42 +02:00
Martin Pulec
bf729f32e2
DeckLink: fixes
2019-04-24 14:49:16 +02:00
Martin Pulec
d09d91d965
DeckLink: compat with API 11.0
2019-04-24 14:49:12 +02:00
Martin Pulec
84db815331
DeckLink disp.: set square split only if supported
...
Set bmdDeckLinkConfigQuadLinkSDIVideoOutputSquareDivisionSplit only on
device supporting quad-link SDI.
2019-03-22 10:19:16 +01:00
Martin Piatka
25e6f31662
video_display_info: probe: pass function ptr to deleter func
2019-03-15 13:00:59 +01:00
Martin Piatka
b18115d54e
Decklink: Fix codec prefercence
2019-03-01 14:08:00 +01:00
Martin Pulec
3aa85b5869
DeckLink: try deduce implicit parameters
...
Try to select reasonable default parameters if user didn't select
any:
* quad-link for 8K
* single-link otherwise
* half-duplex for quad-link
2019-03-01 14:04:05 +01:00
Martin Pulec
83aa3c1b88
DeckLink disp.: use Quad-link SDI Square Division
...
Use Quad-link SDI Square Division by default which causes the output is
normally tiled (1st left-upper, 2nd right-upper etc.). In absence of
this setting, the picture will be spatially split to 2x2 blocks - each
pixel goes to its own tile.
2019-03-01 14:04:05 +01:00