Commit Graph

6152 Commits

Author SHA1 Message Date
Martin Piatka
af7d6ae7d6 Add unix_sock display for ipc 2022-06-24 13:39:35 +02:00
Martin Piatka
8291fc64f5 tools/ipc_frame_ug: Add target scale computation helper 2022-06-24 13:38:55 +02:00
Martin Piatka
637e5a317f tools/ipc_frame_unix: platform tmpdir macro 2022-06-24 13:38:54 +02:00
Martin Piatka
061aed4636 tools/ipc_frame: Windows socket compatibilitiy 2022-06-24 13:38:54 +02:00
Martin Piatka
c3acb76399 tools/ipc_frame_unix: Add frame writer 2022-06-24 13:38:52 +02:00
Martin Piatka
12ff07b919 tools: Add ipc frame utils 2022-06-24 13:38:20 +02:00
Martin Pulec
e52277c172 GL: log fullscreen + fix paused msg 2022-06-23 17:50:22 +02:00
Martin Pulec
2f43ec3d76 GL disp.: small fixes
- try-catch state_gl constructor (now it can throw)
- added a explaining comment
2022-06-23 17:05:23 +02:00
Martin Pulec
319beb357f GL: avoided GLFW double termination 2022-06-23 16:56:32 +02:00
Martin Pulec
f7630930d6 GL: hot-fixed parsing of fs display index 2022-06-23 16:44:20 +02:00
Martin Pulec
c25a362c70 main.cpp: even if not sending use non-zero ports
The send/recv port equality is then used to determine if it is safe to
use Jumbo frames over localhost.
2022-06-22 12:40:07 +02:00
Martin Pulec
a2d8d607d2 color: opt for full-scale YCbCr (compile-time) 2022-06-21 15:11:19 +02:00
Martin Pulec
7f8819c2e5 fixed CID 54098 2022-06-21 10:37:09 +02:00
Martin Pulec
cfc7f8ff51 dismiss CID 729970 2022-06-21 10:29:57 +02:00
Martin Pulec
46a7a31b9a fixed wrong condition in commit 21374830
Fixed copy&paste error.

Fixes CID 395236.
2022-06-21 10:21:33 +02:00
Martin Pulec
98a62d1d45 V4L2 disp.: allow call without command-line args
Unintentionally "device=" specification was always required.

fixes CID 395234
2022-06-21 10:21:32 +02:00
Martin Pulec
afaccbb3e4 capture_filter/display: fixed a leak
fixes CID 395233
2022-06-21 10:21:32 +02:00
Martin Pulec
a84d0a67d9 get_pf_block_pixels/bytes: ensure >0 ret val
Ensure that the above function return value >0 (CID 395232).
2022-06-21 10:21:32 +02:00
Martin Piatka
4e0e35d3de GUI: Set default surface format before creating window
This fixes "OpenGL 3.3 needed" error on MacOS introduced in
33219c3687
2022-06-20 13:29:09 +02:00
Martin Piatka
7ac17735c0 GUI: Fix assert condition 2022-06-20 10:28:09 +02:00
Martin Pulec
213748300c main.cpp: use dynamic ports for UDP loopback
Use dynammic ports if using both send and receive and sending over
loopback.
2022-06-16 14:40:31 +02:00
Martin Pulec
053e469c8b Revert "GitHub CI C/C++ Lin. FFmpeg: disable SVT HEVC/VP9"
This reverts commit 9fbd18b53d.
2022-06-16 11:34:21 +02:00
Martin Piatka
060f31aa2f GUI: Fix preview not updating on input change on win32 2022-06-15 12:58:02 +02:00
Martin Pulec
4089f2e3ef CI: AJA cleanup 2022-06-14 14:12:57 +02:00
Martin Pulec
00c177d6f2 CI: use AJA from GitHub [Win] 2022-06-14 14:11:50 +02:00
Martin Pulec
47d8fd5143 CI: use AJA from GitHub [mac] 2022-06-14 11:36:58 +02:00
Martin Pulec
64562d5d55 CI: use AJA from GitHub [Linux]
NTV2 SDK is now open source and hosted on GitHub.
2022-06-14 11:36:58 +02:00
Martin Pulec
e9c255d0e1 V4L2 cap.: make libv4lconvert soft depenendency
libv4l2 is actually not needed at all (we do not use v4l2_ wrappers
like v4l2_open).

libv4lconvert can be make soft dependency
2022-06-14 11:35:58 +02:00
Martin Pulec
8a07498a3b added V4L2 display 2022-06-10 15:46:43 +02:00
Martin Pulec
667c6cae48 V4L2 cap.: unmap buffers 2022-06-10 15:46:43 +02:00
Martin Pulec
e8624717a7 video decoder: more descriptive msg if unable to decode 2022-06-10 15:46:43 +02:00
Martin Pulec
73e836e1f6 video_display: allow run callback to be NULL
It saves a bit of coding and it may be sometimes in future useful to
know that the display doesn't need a control.
2022-06-10 15:46:40 +02:00
Martin Piatka
14fdb7b395 GUI: processMngr: verify that process started 2022-06-10 14:33:34 +02:00
Martin Piatka
07c44d499a GUI: Add ASSERT_GUI macro with a QMessageBox 2022-06-10 14:33:33 +02:00
Martin Piatka
1c817b003c GUI: Do not treat ug exiting by itself as a crash 2022-06-10 14:33:33 +02:00
Martin Piatka
bb93f54614 GUI: Reduce preview launch timeout 2022-06-10 14:33:33 +02:00
Martin Piatka
6d6762c7e5 GUI: Add DEBUG_ASSERT 2022-06-10 14:33:32 +02:00
Martin Piatka
c987f17986 GUI: Stop ultragrid processes asynchronously
Blocking until the process is finished was not very robust - in some
cases it could cause a deadlock preventing graceful exit. For example,
if the ug process is communicating with GUI through a socket and uses
blocking send - ug will wait for GUI to receive the data and GUI will
block waiting for ug to terminate.

Using this approach also allows to ignore crashes on exit, which are not
really worth reporting.
2022-06-10 14:33:32 +02:00
Martin Piatka
cc3a28d095 GUI: When killing processes leave a message in log
When ug process doesn't respond to termination GUI needs to kill it.
This makes the return code equal to 9 and GUI complains about a crash.
Without a message in the log this could have been confusing.
2022-06-09 12:57:37 +02:00
Martin Pulec
86bb25b650 GL: use optionally Rec.2020 or P3 YUV->RGB coefs 2022-06-06 16:07:33 +02:00
Martin Pulec
c74ccf9cc7 color.h: excess semicolon in macro 2022-06-06 11:06:07 +02:00
Martin Pulec
d5c721a649 cppunit: fixed missing ifdef 2022-06-06 11:06:07 +02:00
Martin Pulec
7a8cc7e5cb GL: GLSL shaders - substitute col. spec vals on runtime 2022-06-06 11:06:07 +02:00
Martin Pulec
47d4db6ed9 Revert "GL: added some nasty workaround"
This reverts commit 8d48330f91.

Hopefully this is no longer need.
2022-06-06 11:06:06 +02:00
Martin Pulec
1a31999f1a utils/misc: split to misc and macros.h
Some macros are quite common so it is perhaps more wise to use a
separate header.

Also moved ref_count_init_once and ref_count_terminate last to misc.h.
2022-06-06 11:06:06 +02:00
Martin Pulec
e03c7eb207 use Kr,Kb also for forward conversions
+ changed semantics of {Y,CBCR}_SCALED to inverted value (it is also
  more intuitive meaning)
2022-06-06 11:06:06 +02:00
Martin Pulec
2481326a4a color.h: derive ->YCbCr coefs directly from Kr,Kb
This is more obvious and allows easily switching color space.
2022-06-06 11:06:06 +02:00
Martin Pulec
d7368b1a4a glsl compilation: print compiled shader if debug 2022-06-06 11:06:06 +02:00
Martin Pulec
9d57e57b6b from_lavc_vid_conv.c: fixed 8-bit YUV->RGB convs
Fixed nv12_to_rgb() and yuv8p_to_rgb() luma headroom not being
substracted.
2022-06-06 11:06:06 +02:00
Martin Pulec
89be4a70ef GL,NDI: experimental support for HDR 2022-06-06 11:06:01 +02:00