* aja: Initial commit of AJA capture/output plugin * aja: Fix clang-format on aja-output-ui code * aja: Remove script used during dev/testing * aja: Address pull request feedback from @RytoEX * aja: Remove the SDK sources and update CMakeLists to point to new headers-only/static libs dependency distribution. * aja: Only build AJA plugin on x64 on macOS for now * aja: Remove the non-English placeholder locale files. The english strings/files will be produced via crowdin, according to @ddrboxman. * aja: Add FindLibAJANTV2.cmake script to locate the ajantv2 headers and static libs in the OBS external deps package(s). Tested on Windows x64. macOS and Linux x64 TBD. * aja: Add ajantv2/includes to FindLibAJANTV2 include search paths * aja: Remove commented code from aja CMakeLists * aja: Remove debug code and comments that are no longer needed. * aja: Fix indentation * aja: Remove disablement of clang-format in routing table and SDIWireFormat map * aja: Use spaces for all indentation in widget crosspoint arrays where we disable clang-format * aja: Address code style comments made by @RytoEX * aja: Fix uneven indentation * aja: More fixes to if/else placement and remove superfluous comments. * aja: Rename 'dwns' to 'deactivateWhileNotShowing' for clarity. The DeckLink plugin still uses the variable name 'dwns' and should be changed, if desired, in a separate PR. * aja: Remove X11Extras dependency from AJA Output frontend plugin * aja: Add patch from Jim to find AJA release/debug libs * aja: Improve AV sync of queued video/audio sent to the AJA card in the AJA Output plugin.
92 lines
1.9 KiB
C++
92 lines
1.9 KiB
C++
#pragma once
|
|
|
|
#include <obs-module.h>
|
|
|
|
static const char *kProgramOutputID = "aja_output";
|
|
static const char *kPreviewOutputID = "aja_preview_output";
|
|
|
|
struct UIProperty {
|
|
const char *id;
|
|
const char *text;
|
|
const char *tooltip;
|
|
};
|
|
|
|
static const UIProperty kUIPropCaptureModule = {
|
|
"aja_source",
|
|
obs_module_text("AJACapture.Device"),
|
|
"",
|
|
};
|
|
|
|
static const UIProperty kUIPropOutputModule = {
|
|
"aja_output",
|
|
obs_module_text("AJAOutput.Device"),
|
|
"",
|
|
};
|
|
|
|
// This is used as an "invisible" property to give the program and preview
|
|
// plugin instances an identifier before the output has been created/started.
|
|
// This ID is then used by the CardManager class for tracking device channel
|
|
// usage across the capture and output plugin instances.
|
|
static const UIProperty kUIPropAJAOutputID = {
|
|
"aja_output_id",
|
|
"",
|
|
"",
|
|
};
|
|
|
|
static const UIProperty kUIPropDevice = {
|
|
"ui_prop_device",
|
|
obs_module_text("Device"),
|
|
"",
|
|
};
|
|
|
|
static const UIProperty kUIPropOutput = {
|
|
"ui_prop_output",
|
|
obs_module_text("Output"),
|
|
"",
|
|
};
|
|
|
|
static const UIProperty kUIPropInput = {
|
|
"ui_prop_input",
|
|
obs_module_text("Input"),
|
|
"",
|
|
};
|
|
|
|
static const UIProperty kUIPropIOSelect = {"ui_prop_select_input",
|
|
obs_module_text("IOSelect"), ""};
|
|
|
|
static const UIProperty kUIPropSDI4KTransport = {
|
|
"ui_prop_sdi_transport",
|
|
obs_module_text("SDI4KTransport"),
|
|
"",
|
|
};
|
|
|
|
static const UIProperty kUIPropVideoFormatSelect = {
|
|
"ui_prop_vid_fmt",
|
|
obs_module_text("VideoFormat"),
|
|
"",
|
|
};
|
|
|
|
static const UIProperty kUIPropPixelFormatSelect = {
|
|
"ui_prop_pix_fmt",
|
|
obs_module_text("PixelFormat"),
|
|
"",
|
|
};
|
|
|
|
static const UIProperty kUIPropAutoStartOutput = {
|
|
"ui_prop_auto_start_output",
|
|
obs_module_text("AutoStart"),
|
|
"",
|
|
};
|
|
|
|
static const UIProperty kUIPropDeactivateWhenNotShowing = {
|
|
"ui_prop_deactivate_when_not_showing",
|
|
obs_module_text("DeactivateWhenNotShowing"),
|
|
"",
|
|
};
|
|
|
|
static const UIProperty kUIPropBuffering = {
|
|
"ui_prop_buffering",
|
|
obs_module_text("Buffering"),
|
|
"",
|
|
};
|