Commit Graph

4932 Commits

Author SHA1 Message Date
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
Martin Piatka
45d8002f66 GUI: iterate over the --capabilities lines only once 2021-03-09 14:39:43 +01:00
Martin Piatka
e534c32fb1 GUI: Parse codec priority and sort codecs according to it 2021-03-09 14:39:43 +01:00
Martin Piatka
57bf1ab13e GUI: codec options tab 2021-03-09 14:39:43 +01:00
Martin Piatka
41f180bde8 GUI: Video compression quality lineedit now using parsed labels 2021-03-09 14:39:42 +01:00
Martin Piatka
029f16fe61 GUI: codec selection using reported codecs 2021-03-09 14:39:42 +01:00
Martin Piatka
cafcc6e457 GUI: parse video compress capabilities 2021-03-09 14:39:42 +01:00
Martin Piatka
6b00f7ac9c GUI: video encoder structures + sample data 2021-03-09 14:39:42 +01:00
Martin Piatka
2554714c40 video_compress: gpujpeg: report options 2021-03-09 14:39:42 +01:00
Martin Piatka
356bd85d7e capabilities: report codec priority 2021-03-09 14:39:42 +01:00
Martin Piatka
b5c58d8125 video_compress: cineform: Report codec and options 2021-03-09 14:39:41 +01:00
Martin Piatka
31b2bf7e81 video_compress: libavcodec: report options 2021-03-09 14:39:41 +01:00