Commit Graph

4221 Commits

Author SHA1 Message Date
Martin Pulec
26bfee02ba Lavd: added/enabled conversions to RGBA 2020-05-19 13:28:42 +02:00
Martin Pulec
d9a3a65868 Lavd: enable software YUV->RGB conversion 2020-05-19 10:38:29 +02:00
Martin Pulec
a7a59639eb GPUJPEG dec.: fixed preferences when RGBA is not handled natively
There was a penalty of 50 when using old GPUJPEG that didn't support
RGBA directly. However it was incorrectly added when there actually
was the support.
2020-05-18 08:20:40 +02:00
Martin Pulec
02820d2761 GPUJPEG: enable decoding JPEGs encoded by FFmpeg
Recent GPUJPEG supports JPEG encoded by FFmpeg so enable it. It,
however, has usually quite small amount of segments (1 per MCU row) so
assign lesser priority than lavd.
2020-05-15 16:09:25 +02:00
Martin Pulec
d1dbbb5071 GPUJPEG dec.: updated includes 2020-05-15 15:59:35 +02:00
Martin Pulec
bdf8fafe2f GPUJPEG dec.: if no colorspace, assume YCbCr
If no explicit color space was detected, assume that this is YCbCr. This
fixes a problem with FFmpeg generated JPEGs that don't contain any APP
marker.
2020-05-15 15:22:43 +02:00
Martin Pulec
3bae0c8f16 JPEG reader: updated hint text 2020-05-15 15:21:23 +02:00
Martin Pulec
23fdedfedd GPUJPEG probe: return success if unable to detect
Return success if codec was not able to detect. Returning
DECODER_NO_FRAME here doesn't make sense because we are either able to
detect from any frame or not at all. That would result in infinite
probing for internal codec.
2020-05-15 15:08:42 +02:00
Martin Pulec
746e39dc07 PAM: updates 2020-05-15 09:17:39 +02:00
Martin Pulec
c6dfaf0fa2 Makefile: small fix 2020-05-13 14:17:40 +02:00
Martin Pulec
2cf40b59aa DeckLink disp.: small cleanup 2020-05-13 13:22:24 +02:00
Martin Pulec
2260ab20de Coverity: disable scheduled run
It is perhaps better to run Coverity on demand than forcing every-day
run.
2020-05-13 13:22:24 +02:00
Martin Pulec
948d22bfa8 Logo cap. f.: separate PAM reading to header
+ added simple writer that may be useful
2020-05-13 13:22:21 +02:00
Martin Piatka
292541410a GUI: Add --config to help 2020-05-06 15:35:26 +02:00
Martin Piatka
e4a597c589 Alsa play.: fix logging incorrenct buf_len when set manually 2020-05-06 15:23:27 +02:00
Martin Pulec
3e7779ad32 Configure: check dylibbundler only on Mac 2020-05-06 09:55:38 +02:00
Martin Pulec
4124790f54 CoreAudio: differentiate input and output 2020-05-05 13:13:17 +02:00
Martin Pulec
5fd677dbe6 Screen cap mac: use video frame pool
Allocating/deallocating frames had a performance penalty so we replace
it with a pool. This also leaves a space for adding a capture thread in
future.
2020-05-05 11:19:31 +02:00
Martin Pulec
1a5b40b2e5 Video frame pool: added C API 2020-05-05 11:19:31 +02:00
Martin Pulec
319661fdbb Video frame pool: added helper function + default parm 2020-05-05 11:19:25 +02:00
Martin Pulec
2e079ceab9 Configure: dylibbundler check
Do the check in configure, not Makefile.

+ allow DYLIBBUNDLER_FLAGS to contain additional search paths (with the
  '-s' parameter). This should replace the EXTRA_LIB_PATH variable not
  supported by dylib bundler v2 (and removed with commit 8315507e).
2020-05-05 10:22:28 +02:00
Martin Pulec
5fc43b6f6c autogen.sh: show errors 2020-05-05 10:16:26 +02:00
Martin Pulec
3422997a41 SDL2: support for I420 2020-05-05 10:16:26 +02:00
Martin Pulec
315503122c Revert "GitHub CI: Pass dylibbundler - /usr/local/lib"
This reverts commit 252b91adbc.

This is no longer needed with dylib bundler v2.
2020-05-05 10:16:26 +02:00
Martin Pulec
8315507eb8 Dylibbundler v2 updates 2020-05-05 10:16:26 +02:00
Martin Pulec
f3d608dd2d GitHub CI: use dylibbundler v2
Use a dylibbundler fork because it has much better execution time and
perhaps also other improvements.
2020-05-05 10:16:18 +02:00
Martin Pulec
1d4a350159 Bump to new Cineform
Use version v10.0.2a.

+ do not build Cineform tools - not needed and current Cineform master
  (not this one checked) fails to compile the tools in MSW
2020-05-02 13:32:27 +02:00
Martin Pulec
f30614f19a Screen cap mac: set dispose 2020-05-01 11:47:04 +02:00
Martin Pulec
e806432fe0 Resize: clear unused margins
Clear unused margins if input and output aspect ratio doesn't match.
2020-05-01 11:31:49 +02:00
Martin Pulec
b50df5fd54 Capture filter resize: use dispose
+ updated copyright
2020-05-01 11:08:49 +02:00
Martin Pulec
9db54fc08b Video codec: clarification in documentation
Clarification that shift semantic is different for
vc_copylineRGBAtoRGBwithShift and vc_copylineRGBA.
2020-04-30 16:09:18 +02:00
Martin Pulec
e1cddfbef9 Screen cap mac: option to specify RGB or RGBA 2020-04-30 16:09:13 +02:00
Martin Pulec
9931bbd24d GitHub CI Mac: use SSE4.2
This looks like to be least supported set (earliest yet supported model
is Mac Pro Mid 2010).
2020-04-30 08:52:33 +02:00
Martin Pulec
da795dd7b2 Screen cap mac: slight cleanup 2020-04-30 08:52:29 +02:00
Martin Pulec
73266910a0 Screen cap. mac: fixed indention 2020-04-30 08:28:56 +02:00
Martin Pulec
b88e650431 Configure: use rather SSE4.1 as a default
This subset is more conservative than SSE4. Currently compiler doesn't
look to emit neither non-SSE4.1 instructions except used builtins in
pbuf.cpp (POPCOUNT, CLZ). This adds compatibility with eg. Xeon
Harpertown series.
2020-04-30 08:24:03 +02:00
Martin Pulec
a2bf12741e Screen cap. mac: capture RGB 2020-04-29 22:26:14 +02:00
Martin Pulec
2ead18c4ec GitHub workflow nightly removed 2020-04-29 11:53:18 +02:00
Martin Pulec
a93e32c290 Resize: print unsupported codec rather than exiting 2020-04-29 11:53:06 +02:00
Martin Pulec
5d3908e881 Added output operator for codec_t 2020-04-29 09:34:09 +02:00
Martin Pulec
ba9a60ddaf Resize: support for RGBA 2020-04-29 09:21:26 +02:00
Martin Pulec
bc606ed09e AJA cap.: check return vals of NTV2 funcs 2020-04-28 16:37:08 +02:00
Martin Pulec
de858a7ccb GitHub CI: remove macOS 10.14 SDK
Actually this is not sufficient to make a build compatible with High
Sierra (10.13 - N-1th relase that is supported with 10.14 SDK). Homebrew
perhaps doesn't support using older SDKs so we get incompatible
dependencies from there.
2020-04-28 14:04:56 +02:00
Martin Pulec
b5d39d7ba7 AJA: amend 'failed' to error msg 2020-04-28 14:04:53 +02:00
Lukas Rucka
020cc636c2 FIX: Include MTU setting in full help 2020-04-28 13:30:08 +02:00
Martin Pulec
fe03e7776b Configure: set min macOS version to 10.14 only on Mojave and newer 2020-04-28 10:00:56 +02:00
Martin Pulec
979921e2ec Configure: added CUDA to rpath for Mac
This allows dylibbundler to find the CUDA library.
2020-04-27 20:07:33 +02:00
Martin Pulec
b688d0d41a macOS: init glut only when needed
Call macGlutInit just when GL context is requested. This slightly
improves a commit 887da0882. This causes that when macOS is headless
(eg. no logged user), glutInit (that will unconditionally fail) is
called no only if needed, not always.
2020-04-27 15:25:45 +02:00
Martin Pulec
252b91adbc GitHub CI: Pass dylibbundler - /usr/local/lib
Fixes a problem when dylibbundler cannot find @loader_path/libamd.2.dylib.
2020-04-27 14:28:10 +02:00
Martin Pulec
08acd4164d Makefile: put 'quit' to stdin of dylibbundler
This prevents infinite loop when some library was not found by the
dylibbundler.

+ exit if dylibbunder fails ('set -eu')
2020-04-27 10:33:23 +02:00