Commit Graph

56 Commits (0a218e06b7601c0e561db518b1b5878557cd1ebc)

Author SHA1 Message Date
tytan652 79480c98d9 aja: Remove unused parameters 2022-07-20 08:22:08 +02:00
Norihiro Kamae 317780ca1b aja: Remove unnecessary .keepme files
Since the directory contains some files, .keepme, which is intended to
keep an empty directory on a git repository, is unnecessary.
2022-07-19 14:40:32 -04:00
Norihiro Kamae 7e3656ab33 plugins: Cleanup unused-parameters
- Remove unnecessary UNUSED_PARAMETER
- Add OBS_UNUSED attribute to unused parameters
- Also removes unused variables
2022-07-19 11:01:00 -04:00
jpark37 f85d71abe8 aja: Suppress C4996
NTV2TestPatternGen::DrawTestPattern overloads are deprecated.
2022-07-18 03:52:04 -07:00
Norihiro Kamae d7b363a7c4 aja: Increment aja-source version for buffering setting
Add aja-source version 2 to differentiate buffering settings, which is
implemented in a255b0f74.
To register two versions, remove to return obs_source_info and register
the source inside aja-source.cpp.
Also revise aja-output.cpp to register aja-output to keep consistency of
function type.
2022-07-16 16:47:19 -07:00
jpark37 df96e68ca6 cmake: Disable LNK4099 warning
We are very unlikely to ship PDBs for deps.
2022-07-11 22:07:10 -07:00
jpark37 1c58d4402d aja: Fix warnings about type usage 2022-07-11 22:07:10 -07:00
Norihiro Kamae c1d1526b24 aja: Split audio part in CaptureThread to function
To improve readability of the capture thread function
`AJASource::CaptureThread`, audio part is split into two functions.
Behavior is not changed.
Also fixed one of warnings.
2022-07-10 10:01:58 +10:00
Norihiro Kamae 08a071d7a5 aja: Fix memory overrun on aja-source
When too many audio frames are captured and at the same time the ring
buffer on the card is wrapped, memory overrun was not captured before
DMA transfer, which resulted in corruption of memory contents. This
commit moves the overrun check before the DMA transfer.
2022-07-10 10:01:58 +10:00
PatTheMav ed9cc5c0dd aja: Explicitly mark variables as unused 2022-07-10 09:59:55 +10:00
Paul Hindt e390252540 aja: Fix audio capture sometimes offset by a channel 2022-07-09 16:20:23 -07:00
Norihiro Kamae a255b0f742 aja: Implement buffering property
Buffering inside libobs is enabled by default and it causes latency of
video. This commit provides a property to switch the buffering.
Since the latency of the buffering changes every startup, set the
default to unbuffered mode, though the previous implementation was
enabled buffering.
2022-06-18 16:12:20 -07:00
Paul Hindt 61dc1d7bcf aja: Fix UHD/4K HDMI output on Kona5-8K firmware 2022-04-30 16:29:56 -07:00
Norihiro Kamae 34e570c5bc Fix indent on multiline comments 2022-04-30 16:06:23 -07:00
Norihiro Kamae c5154cc317 aja: Subtract packet time from audio timestamp
When calling `obs_source_output_audio`, timestamp should be the starting
time of the audio packet.
2022-04-23 07:04:59 -07:00
jpark37 848e128435 libobs,plugins: Replace video matrix function
video_format_get_parameters_for_format provides a more accurate matrix
than video_format_get_parameters.
2022-04-07 19:28:51 -07:00
Paul Hindt 743f540fa1 aja: Use correct colorspace for SD or HD/UHD
Set video range to VIDEO_RANGE_PARTIAL
2022-04-02 16:23:21 -07:00
PatTheMav aae3a6a466 cmake: Fix diverging prefix padding for OBS status outputs
Status output related to OBS configuration is prefixed with the string
"OBS" and added padding for enabled and disabled features. This padding
was not aligned between platforms.

By moving the padding and prefix decoration into its own function,
both elements are controlled in a single place. CMake scripts were
changed to use this new function `obs_status` instead of using CMake's
`message` function directly.
2022-03-26 09:44:23 -04:00
PatTheMav 49e9d49943
plugins: Update CMakeLists.txt for included plugins 2022-03-16 23:11:08 +01:00
Translation Updater 25b58f0417 Update translations from Crowdin 2022-02-11 00:34:08 +00:00
Translation Updater ac8dbf67be Update translations from Crowdin 2022-02-06 02:24:08 +00:00
Paul Hindt 95020dd629 aja: Fix off-by-one output frame index calculation 2022-02-02 11:20:05 -06:00
Paul Hindt 29b835b20f aja: Disable Analog In/Out selections in the UI
Analog capture/display for supported cards will be added in the future.
2022-01-28 23:58:53 -06:00
Paul Hindt ba875377d0 aja: Fix Kona1 simultaneous capture/output 2022-01-28 20:23:40 -06:00
Paul Hindt 3fbd5d9179 aja: Adjust whitespace for consistency 2022-01-28 20:23:40 -06:00
Paul Hindt 8d051c6a1c aja: Use SDI Transport selection to engage Auto detection
Otherwise use Video and Pixel format selections to engage Auto detection for HDMI
2022-01-28 20:23:40 -06:00
Paul Hindt 0ef3b29cad aja: Show/Hide SDI Transport/4K lists and options
Only show SDI Transport options if IOSelection is SDI and

only show 12G selection in Capture plugin
2022-01-28 20:23:40 -06:00
Paul Hindt f559287723 aja: Fix 2xSDI UHD/4K YCbCr 2SI VPID lookup 2022-01-28 20:23:40 -06:00
Paul Hindt 0d15bb0b94 aja: Hide duplicate HDMI IN entry for Kona HDMI 2022-01-28 20:23:40 -06:00
Paul Hindt a4c0996d59 aja: Filter 6G/12G SDI Transport depending device/plugin type 2022-01-28 20:23:40 -06:00
Paul Hindt d2515170e1 aja: Disable UHD/4K high-framerate for Output
A fix for UHD/4K HFR modes will be added in a future plugin release.
2022-01-28 20:23:40 -06:00
Paul Hindt 5f81d4117f aja: Clear previous crosspoints when signal changes
Fix for a bug where stale crosspoint connections could result in

video glitches upon next connection.
2022-01-28 20:23:40 -06:00
Paul Hindt d18b805aee aja: Remove unfinished 2x4K Squares support
Support for 2x4K Square Division will be added in a future update
2022-01-28 20:23:40 -06:00
Paul Hindt eafe588bd3 aja: Re-work HDMI routing and add missing presets 2022-01-28 20:23:40 -06:00
Paul Hindt 4650cf4574 aja: Fix HDMI RGB crosspoint indices 2022-01-28 20:23:40 -06:00
Paul Hindt 71e3fcc5de aja: Add framestore index helpers to Source/OutputProps 2022-01-28 20:23:40 -06:00
Colin Edwards 99fe09e706 aja: Remove inter-plugin debug logging 2022-01-24 22:00:02 -06:00
Paul Hindt 57d1619c8d aja: Fix UHD/4K YCbCr 3G Level-B 2SI preset 2022-01-21 11:58:29 -06:00
Paul Hindt a59f6c4e50 aja: Fix crash when capture thread is reset 2022-01-19 11:18:26 -06:00
Paul Hindt 04bf12f130 aja: Workaround for SDI5 output not working on io4K+ 2022-01-18 20:50:37 -06:00
Paul Hindt 9728345bf4 aja: Fix signal routing for 4xSDI UHD/4K RGB 3Gb
Crosspoint indices were wrong for the UHD4K_ST425_Quad_3Gb_Squares_RGB_Capture preset and VPID was not being set for the selected 3G-Level B transport mode.
2022-01-15 15:30:58 -06:00
Paul Hindt 9c9efcd04d aja: Fix erroneous HDMI input selection for certain cards 2022-01-15 15:29:39 -06:00
Paul Hindt 3e07c29ec3 aja: Rename IOSelection strings for HDMI and Analog 2022-01-15 15:29:39 -06:00
Paul Hindt 87ce26cfca aja: Fix Kona1 not auto-detecting capture pixel format 2022-01-15 15:28:16 -06:00
Paul Hindt cb51c974f4 aja: Fix Kona5/io4K+ 6G/12G-SDI routing and RGB HD-DualLink routing 2022-01-13 13:12:47 -06:00
Paul Hindt 8f8b522ca7 aja: Fix for invalid default settings and empty cardID string 2022-01-13 13:11:51 -06:00
Paul Hindt 1cbf9421d4 aja-output-ui: Add the Multi View UI options for new device. 2022-01-11 17:28:05 -06:00
tytan652 9d02ca0fef aja: Fix format-security warning
On some Linux distributions -Werror=format-security is set when
building package keeping OBS Studio from being built with AJA
plugins.
2022-01-11 20:40:03 +11:00
Paul Hindt f09137a2e0 aja: Refactor, clean-up and fix bugs in the signal routing system, and add SDITransport UI option to assist signal routing. 2022-01-08 14:05:10 -06:00
Translation Updater 062de2c998 Update translations from Crowdin 2021-12-17 08:01:29 +00:00