Martin Pulec
319cfdeef6
decklink: deprecate PsF in/out options
...
Since now the options can be specified generically by FourCC 'cfpr' (capture) and 'pfpr'
(display), there is no need to have this explicitly.
Also it doesn't seem to be much useful (at least with the PsF stream from
XDCAM, the stream is detected to be interlaced, not progressive, even
though decklink reports BMDDeckLinkSupportsAutoSwitchingPPsFOnInput=yes).
2025-05-06 12:28:30 +02:00
Martin Pulec
26031495f4
macos_bundle_libs.sh: skip scripts for dylibbundle
...
do not run dylibbundler on shell scripts
2025-05-06 12:27:58 +02:00
Martin Pulec
0bc1215c7f
acap/coreaudio: fix outputting empty frames
...
a race condition
Prior to e511f898 (2024-11-14) and still in the stable branch, it
produces:
[Audio decompress] 2 empty channel(s) returned!
2025-05-05 13:54:00 +02:00
Martin Pulec
19f19c300a
from_lavc_vid_conv: fix -Wcast-align (clang)
2025-05-05 12:59:36 +02:00
Martin Pulec
a044f90793
fix some warnings (gcc 15.1.1)
...
(the problem with color_printf was passing unsigned char literal as the
char* parameter of color_printf)
2025-05-05 12:37:07 +02:00
Martin Pulec
c712a3b356
blackmagic_common: remove cstdbool
...
unnneeded as bool has been a fundamental type in C++ always, triggers
a warning
2025-05-05 12:24:33 +02:00
Martin Pulec
33b222c34c
from_lavc_vid_conv: CS warn only once
2025-04-30 16:08:23 +02:00
Martin Pulec
9b31e8c6af
-l help - proper regex
...
While the pattern is specified as a regex, use correct syntax for
the numbers.
2025-04-30 15:38:10 +02:00
Martin Pulec
d9cd9aedaa
vo_postprocess: IWYU
2025-04-30 13:29:38 +02:00
Martin Pulec
d5a42c5d0c
vcap,vdisp/deltacast: add ch_layout option
...
For cards with bidirectional channels, it allow setting RX/TX layout
(actually the ratio of RX/TX channel count, not arbitrary selection).
2025-04-30 10:52:04 +02:00
Martin Pulec
b80facecd2
deltacast_common: print bidir ch support
2025-04-30 10:50:13 +02:00
Martin Pulec
858453d765
vcap/deltacast_dvi: accept fullhelp
...
+ improved cfg handling
2025-04-30 10:50:12 +02:00
Martin Pulec
f423d75b4a
vcap,vdisp/deltacast: print option help
2025-04-30 10:50:10 +02:00
Martin Pulec
5343f81935
deltacast (all): print avail devs more reasonably
...
Print separate seaction with deveices in :help as it is common in other
modules (eg. decklink). Previously, this was written as a part of the
option describing "device:", but it doesn't seem appropriate.
+ 2 tab indent for (optional) device channel listing (parent 1 tab)
2025-04-30 10:49:29 +02:00
Martin Pulec
579f94d394
vdisp/deltacast: initial support for channel spec
2025-04-30 10:49:27 +02:00
Martin Pulec
c44d3030ae
vcap,vdisp/deltacast: VHD_OpenStreamHandle once
...
in multiple branches, the call of VHD_OpenStreamHandle differs only by
the ProcessingMode function parameter -> simplify
2025-04-30 10:45:49 +02:00
Martin Pulec
db93394a09
vdisp/deltacast: reconfigure: avoid goto
2025-04-30 10:45:49 +02:00
Martin Pulec
96084447b5
vcap/deltacast: request channel idx + 1 RX channels
...
For bidirectional cards (eg. deltacast hd elp-d 80), the channels can be
configured in a layout that lower indices are assigned to RX and higher
to TX (so 0-8 lower-indexed pins are RX and the rest is TX).
So if using RX channel=2 (zero-indexed), at least 3 RX channels need
to be taken in order for the 3rd channel to be RX.
2025-04-30 10:45:49 +02:00
Martin Pulec
96e0ae2ef1
vcap/deltacast: attempt to fix/improve quad-chan
...
- if quad channel not enabled, do not disable bypass relay on channel
other than selected
- assume that quad-channel starts from channel=0 (== channel is not
explicitly specified)
- delta_set_nb_channels called with 4 rx channels, not one (as in
Sample_RX4K.cpp)
2025-04-30 10:45:48 +02:00
Martin Pulec
222fdbd608
vdisp/deltacast: avoid gotos
2025-04-30 10:45:46 +02:00
Martin Pulec
7235cac197
vdisp/deltacast: destroy only what initalized
...
do not rely to much on state_deltacast::initialized
+ do not leak pthread_mutex_t
2025-04-30 10:44:51 +02:00
Martin Pulec
8d2dcf7831
vdisp/deltacast: add fullhelp (print channels)
2025-04-30 10:44:46 +02:00
Martin Pulec
c6494f43f6
vdisp/deltacast: parse_fmt: prefix+accept empty
...
- accept options by prefix (currently just one - "device")
- accept `-d deltacast` - it used to work in original code but since
some time ago, the empty option string is passed, not NULL (which
originally worked)
2025-04-30 10:39:27 +02:00
Martin Pulec
105270aaac
vdisp/deltacast: opt parsing to parse_fmt
2025-04-30 10:39:27 +02:00
Martin Pulec
2ba741b232
vcap/deltacast: if parse_fmt fails, call _done
...
s->frame needs to be also deallocated
2025-04-30 10:39:27 +02:00
Martin Pulec
4381d382ae
vdisp/deltacast: IWYU
2025-04-30 10:39:27 +02:00
Martin Pulec
8c81a3687b
vcap,vdisp/deltacast: add SDK reference
2025-04-30 10:39:27 +02:00
Martin Pulec
eed4f25ed8
vcap/deltacast: support also different channel than the 1st
2025-04-30 10:39:25 +02:00
Martin Pulec
1e2d092d62
vcap/deltacast: avoid goto
2025-04-30 10:27:43 +02:00
Martin Pulec
e03fa9f815
vcap/deltacast: parse_fmt: small updates
...
- use MSG()
- print incorrect codec entered
- print usage if unknown opt passed
2025-04-30 10:27:38 +02:00
Martin Pulec
3f57f9feea
vcap/deltacast: move opt parsing to parse_fmt
2025-04-30 09:52:05 +02:00
Martin Pulec
54ddd869af
vcap/deltacast_dvi: move ch to stream t to fn
...
moved to common function to be used otherwise
Also increase the maximal index from 3 to 7.
2025-04-30 09:52:05 +02:00
Martin Pulec
59aefbc78d
vcap/deltacast: accept option prefixes
2025-04-30 09:52:05 +02:00
Martin Pulec
181cd8db33
vcap/deltacast: add fullhelp to print avail channels
2025-04-30 09:52:04 +02:00
Martin Pulec
950d819359
delta_set_nb_channels: small updates
...
- if unsufficient number of channels, do not print Result (irrelevant - success)
- print the actual configuration of bidir channels if succeeded (as in SDK
example); increase verbosity to INFO (may be userful/important for user)
- redundant "bidirectional" if not succeeded
2025-04-30 09:51:20 +02:00
Martin Pulec
206cbea7f6
delta_get_error_description: reformat
...
apply early return to simplify the code flow
Mostly only the refactor with these changes:
- log_msg -> MSG
- if IsBiDir and there is sufficient number of channels - print that we
don't have the mapping instead of the first message that was (incorrectly)
printed before
2025-04-30 09:24:39 +02:00
Martin Pulec
6bb9091736
deltacast_common: move functions to .cpp file
...
instead of having those in .hpp
+ autoindented
except the move+indent (and includes), no other change in code
2025-04-25 14:17:15 +02:00
Martin Pulec
20707b3d23
vcap/deltacast: IWYU
2025-04-25 12:37:25 +02:00
Martin Pulec
02841a2ba7
wasapi: show IDs only in fullhelp
...
the IDs shlighlyt mess up the output and may not be necessary needed to
use (name is also an option now if user wants stable identifier)
2025-04-17 15:50:35 +02:00
Martin Pulec
264292415a
acap/wasapi: take FriendlyName UUID from header
2025-04-17 15:50:35 +02:00
Martin Pulec
d33d923c98
aplay/wasapi: use get_name from acap
...
+ rename the fn
2025-04-17 15:50:35 +02:00
Martin Pulec
adf39939fe
acap,aplay/wasapi: prefer dev name with d=
2025-04-17 15:50:35 +02:00
Martin Pulec
ce140867ed
aplay/wasapi: move parsing to sep fn
2025-04-17 15:50:35 +02:00
Martin Pulec
a2c4afc8bd
acap/wasapi: move parsing to sep fn
2025-04-17 15:50:33 +02:00
Martin Pulec
fb3e152c2c
aplay/wasapi: allow specification by name
2025-04-17 15:50:10 +02:00
Martin Pulec
6e32acc6c3
acap/wasapi: allow dev selection by name
2025-04-17 15:50:09 +02:00
Martin Pulec
2c577ace15
configure.ac: small fix
...
Set sdl_version=0 - later in testcard_extras it is numerically compared
so if set to "" it produced a warning.
2025-04-16 14:31:54 +02:00
Martin Pulec
5b2f2fe48a
CI: libajantv2 build workaround
...
workaround for aja-video/libajantv2 commit e760d416 (merged 2024-04-15)
The NL in VERSION.txt causes cmake fail (obviously the NL) is expanded
in cmake where it shouldn't:
```
$ cmake --build libajantv2/build --config Release -j 4
ajantv2/CMakeFiles/ajantv2.dir/build.make:1746: *** missing separator. Stop.
gmake[1]: *** [CMakeFiles/Makefile2:174: ajantv2/CMakeFiles/ajantv2.dir/all] Error 2
gmake: *** [Makefile:136: all] Error 2
````
2025-04-16 12:47:22 +02:00
Martin Pulec
730e047b6c
vcap,vdisp/aggregate: fix a leak
...
subissue of CID 472157, 472127
2025-04-16 12:47:22 +02:00
Martin Pulec
34668eb6ee
acap/jack: fix CID 480385
...
an overflow
2025-04-16 12:47:22 +02:00