Skip to content

feat: SG-27382: Add 12G SDI single-link support for the AJA Kona 5 card#1198

Open
eloisebrosseau wants to merge 9 commits intoAcademySoftwareFoundation:mainfrom
eloisebrosseau:aja-12g-sdi-single-link
Open

feat: SG-27382: Add 12G SDI single-link support for the AJA Kona 5 card#1198
eloisebrosseau wants to merge 9 commits intoAcademySoftwareFoundation:mainfrom
eloisebrosseau:aja-12g-sdi-single-link

Conversation

@eloisebrosseau
Copy link
Contributor

SG-27382: Add 12G SDI single-link support for the AJA Kona 5 card

Linked issues

Fixes #860

Summarize your change.

Note that this PR is based on #1192 that is updating the SDK version used to 17.6.0. The only relevant files to review are KonaVideoDevice.cpp and KonaVideoDevice.h.

This PR adds three new possible data formats if the device can support 12G SDI Single-link on its third port (i.e. SDI Out 3):

  • 10 Bit 12G Single-link YCrCb 4:2:2 (SDI Out 3)
  • 10 Bit 12G Single-link RGB (SDI Out 3)
  • 12 Bit 12G Single-link RGB (SDI Out 3)

Note that the first format enables 6G SDI single-link for low frame rates, and 12G for higher frame rates in YUV.

Since the retail firmware of the Kona 5 doesn't have a built-in TSI muxers, the only supported video formats are the quad ones. Therefore, we need to ensure that 12G statements are executed before quad statements. Moreover, the 4K/8K formats options are simply ignored for the 12G single-link case as TSI is the only possible option if we want to wire the frames to one SDI output.

To avoid refactoring too much code that would affect other AJA cards, the idea here is to only support the 12G SDI single-link workflow based on the Kona 5 retail firmware that only handle it on port 3. To do so, two new functions were added: route12GSingleLinkYUV() and route12GSingleLinkRGB where all the routing is directly handled to go from the frame buffers, to the TSI multiplexers, to the Color spaces converters (if the output format is YUV), to the Dual Link Out (if the output format is RGB), to the third port. To match the rest of the code, we are always using FB 1 and FB 2. The only difference is with the output port.

Describe the reason for the change.

This is a feature that was requested by multiple people in the last few years for the AJA Kona 5.

Describe what you have tested and on which operating system.

Tests were performed on macOS 26.3 using a Kona 5 with the retail firmware and a BMD Smartview 4K monitor.
Several YUV and RGB files were tested with the variety of 4K video formats (both UHD and DCI) supported by the card at different resolutions with the 10-bit YUV, 10-bit RGB, and 12-bit RGB data formats that were added specifically to perform 12G SDI Single-link on the third port. Note that the monitor used doesn't support 12G SDI RGB, so only the routing was validated using AJA ntv2watcher tool.

Signed-off-by: Éloïse Brosseau <eloise.brosseau@autodesk.com>
Signed-off-by: Éloïse Brosseau <eloise.brosseau@autodesk.com>
Signed-off-by: Éloïse Brosseau <eloise.brosseau@autodesk.com>
Signed-off-by: Éloïse Brosseau <eloise.brosseau@autodesk.com>
Signed-off-by: Éloïse Brosseau <eloise.brosseau@autodesk.com>
Signed-off-by: Éloïse Brosseau <eloise.brosseau@autodesk.com>
Signed-off-by: Éloïse Brosseau <eloise.brosseau@autodesk.com>
Signed-off-by: Éloïse Brosseau <eloise.brosseau@autodesk.com>
Signed-off-by: Éloïse Brosseau <eloise.brosseau@autodesk.com>
@eloisebrosseau eloisebrosseau changed the title SG-27382: Add 12G SDI single-link support for the AJA Kona 5 card feat: SG-27382: Add 12G SDI single-link support for the AJA Kona 5 card Mar 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

AJA 12G output over single link

1 participant