Commit Graph

5085 Commits

Author SHA1 Message Date
Martin Pulec
c032cbd6fc Libug: fixed a compiler warning 2021-03-16 16:29:14 +01:00
Martin Pulec
f1e6143411 VRG: allocate UM for all codecs 2021-03-16 16:17:54 +01:00
Martin Pulec
3eef761f6d Merge branch 'master' into vr-devel 2021-03-16 16:16:53 +01:00
Martin Pulec
3b1028742c GPUJPEG dec.: added support for CUDA_I420 2021-03-16 15:53:54 +01:00
Martin Pulec
7eef4f8b66 Libug receiver: added support for CUDA_I420 2021-03-16 15:53:53 +01:00
Martin Pulec
42028dce61 VRG: support for CUDA_I420 2021-03-16 15:53:53 +01:00
Martin Pulec
bd129f957b Merge branch 'master' into vr 2021-03-16 15:53:23 +01:00
Martin Piatka
4758ab33c0 cuda_dxt: Fix windows build 2021-03-16 14:47:41 +01:00
Martin Piatka
34048f37b6 Openxr_gl: Don't exit in probe() on uncaught exception 2021-03-16 13:10:27 +01:00
Martin Piatka
41775b81d4 GUI: Move the "Advanced" menu item to settings with better name
Probably all of the useful devices are now reported by capabilities, so
it's likely to be not even needed, so to avoid confusion it's moved into
the settings window and given a more descriptive name
2021-03-15 14:59:55 +01:00
Martin Piatka
cf357e516c GUI: Fix inconsistent formatting 2021-03-15 14:59:54 +01:00
Martin Piatka
152f8d95b0 GUI: Parse embedded audio support 2021-03-15 14:59:54 +01:00
Martin Piatka
cbbc93340e capabilities: Report which devices support embedded audio 2021-03-15 14:59:54 +01:00
Martin Piatka
cdf77ffe87 capabilities: Allow reporting an extra json object 2021-03-15 14:59:54 +01:00
Martin Pulec
78e4948b80 test_yuv444p16le_from_to_rg48 updates
- init input buffer with 2^16 (16-bit RGB headroom in UG) for the
  comparison work even if some values are not initialized
- fix printing also negative difference in a debug mode
2021-03-12 16:31:59 +01:00
Martin Piatka
15f5234b5f GUI: Remove unneeded video codec array 2021-03-12 13:48:04 +01:00
Martin Piatka
859a819cdb Revert "GUI: Fix embedded audio playback devices not appearing"
This was a dirty fix for #106. Video display devices were reported with
the module name and device option (e.g. "decklink:device=0"). The
display devices are now reported as separate module name and device
option strings, which means that we can test for exact match.

This reverts commit dc9ede91f1.
2021-03-12 13:48:04 +01:00
Martin Piatka
bc3946af0d GUI: move settings generation into settings class 2021-03-12 13:48:04 +01:00
Martin Piatka
2101b6234f GUI: Remove the need to specify device option for each module
All device configuration is now reported from capabilities in the same
way. Therefore it is now possible to generate the .device settings keys
during runtime for all reported modules
2021-03-12 13:48:03 +01:00
Martin Piatka
c2fb0b15f8 GUI: Allow adding only unique suboptions 2021-03-12 13:48:03 +01:00
Martin Piatka
ee4a2f3b11 GUI: Parse the new capabilities version 2021-03-12 13:48:03 +01:00
Martin Piatka
2b7f6006c3 GUI: Make sure modes are only displayed for associated device 2021-03-12 13:48:03 +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
a094ad0c58 CUnit: option to run only one test
Can be used eg. to debug tests that produce a lot of terminal output.
2021-03-12 10:32:17 +01:00
Martin Pulec
9cb0b3ffad ff_codec_conversions_test::test_yuv444p16le_from_to_rg48: print signed value of difference in debug 2021-03-12 10:17:45 +01:00
Martin Pulec
5888f52df3 Added tests for yuv444p16le<->RG48 2021-03-11 16:47:40 +01:00
Martin Pulec
a5d8b79309 run_tests: added usage 2021-03-11 16:39:43 +01:00
Martin Pulec
81867c5748 Lavcd: conversions AV_PIX_FMT_GBRP12LE<->RG48 2021-03-11 16:39:43 +01:00
Martin Pulec
3b1fecc4c8 Lavc: added conversions for/to 16-bit FF YUV and RG48
AJA for eg. Kona 4 doesn't support 12-bit RGB natively.
2021-03-11 16:39:40 +01:00
Martin Pulec
f5c19e12c4 Dummy: support also RG48 2021-03-11 10:48:00 +01:00
Martin Pulec
2ba15aae12 Dummy: dump_to_file - option to skip N first frames 2021-03-11 10:06:59 +01:00
Martin Pulec
c37a8b0207 Testcard gradient2: optional maxval 2021-03-11 09:23:20 +01:00
Martin Pulec
84a3d8fafa Testcard: full range also for R12L 2021-03-10 14:56:44 +01:00
Martin Pulec
6c31299ee0 Testcard: gradient2+noise - generate full 16-bits 2021-03-10 14:56:44 +01:00
Martin Pulec
6597c6ba20 Testcard: allow 16-bit capture
Allow 16-bit capture if pattern generator supports that (currently
none).
2021-03-10 14:56:44 +01:00
Martin Pulec
110e20f064 Updated MAX_BPS+MAX_PADDING 2021-03-10 14:56:44 +01:00
Martin Pulec
1846416f4e Fixed pixel length for RG48 2021-03-10 14:56:43 +01:00
Martin Pulec
3b16f12f36 Dummy: delimit hexdump on pixel boundaries
Delimit hexdump on pixel boundaries with space (readability)
2021-03-10 14:56:43 +01:00
Martin Pulec
f11e809c2e Dummy: use codec-specific extension + write msg 2021-03-10 14:56:43 +01:00
Martin Pulec
12e04efbc1 Dummy disp.: separate values by space
more readable + to be clear that dumping individual bytes
2021-03-10 14:56:43 +01:00
Martin Pulec
adac3a7970 NDI cap.: print explicitly that no sources were found 2021-03-10 14:56:16 +01:00
Martin Pulec
c6ce2c0aa2 NDI cap.: added extra_ips option
passed to NDIlib_find_create_v2
2021-03-10 14:56:15 +01:00
Martin Pulec
f066fc88a3 AJA cap.: set pool to mVideoBufferSize explicitly
This should be actually the same value as the former.
2021-03-09 16:05:36 +01:00
Martin Pulec
c36faddfb4 AJA: use aligned allocator (regression)
Removed with dcdd7d1a by mistake. Caused DMAReadFrame fail for eg. 1080p
with UYVY.
2021-03-09 16:05:36 +01:00
Martin Pulec
ee4bdbf34a Make zfec optional 2021-03-09 16:05:36 +01:00
Martin Pulec
4712b4aecb Show usage for -f help 2021-03-09 16:05:36 +01:00
Martin Pulec
947a794e27 Fec: fixed error handling
handle exeptions only in fec.cpp
2021-03-09 16:05:33 +01:00
Martin Piatka
47692ed051 capabilities: std::quoted for codecs 2021-03-09 14:39:44 +01:00
Martin Piatka
9938384929 GUI: Check if capabilities are complete and have correct version 2021-03-09 14:39:44 +01:00
Martin Piatka
1777866a65 GUI: simplify device parsing 2021-03-09 14:39:43 +01:00