Repository navigation
Give the example MXL video/v210a Flow an alpha component - #552
Merged
Merged
Conversation
The example MXL video Flow took its components from the color_sampling and component_depth settings, so a video/v210a Flow had no A component, and a different color_sampling setting gave a video/v210 Flow the wrong components. The example MXL video Receiver constrained color_sampling and component_depth from the same settings. The MXL video media types determine the components, so the Flow now always has YCbCr-4:2:2 10-bit components, plus a full-size 10-bit A component for video/v210a, and the Receiver no longer constrains color_sampling or component_depth. Signed-off-by: Gareth Sylvester-Bradley <garethsb@nvidia.com>
garethsb
force-pushed
the
feature/mxl-v210a-components
branch
from
November 19, 2026 17:39
9ad68c3 to
3f8fd4c
Compare
garethsb
marked this pull request as draft
November 19, 2026 18:07
garethsb
marked this pull request as ready for review
November 19, 2026 18:12
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
In the nmos-cpp-node example, the MXL video Flow took its components from the
color_samplingandcomponent_depthsettings. So withmxl_video_typeset tovideo/v210a, the Flow had only Y, Cb and Cr components, with no A (alpha) component. A differentcolor_samplingorcomponent_depthsetting also gave avideo/v210Flow components that don't match that media type. The MXL video Receiver's caps constrainedcolor_samplingandcomponent_depthfrom the same settings.The MXL video media types determine the components, so this PR:
Acomponent forvideo/v210acolor_samplingorcomponent_depth, which are not needed alongsidemedia_typemxl_video_typesetting, in the code and inconfig.json, thatcolor_samplingandcomponent_depthdo not applyIf MXL introduces support for other media types in the future, we would revisit this code.
I checked it by running nmos-cpp-node with MXL video Sender and Receiver ports,
mxl_video_type: "video/v210a",color_sampling: "RGB"andcomponent_depth: 12. The Flow had Y 1920x1080, Cb and Cr 960x1080, and A 1920x1080 components, all 10-bit. The Receiver's caps constrainedmedia_typetovideo/v210a, with nocolor_samplingorcomponent_depthconstraint.Co-authored-by: Gareth's 🤖 buddy