Skip to content

Add: 12-bit and UYVY pix_fmts to mtl_st20p ffmpeg plugin#1612

Merged
Sakoram merged 2 commits into
mainfrom
add_formats_to_ffmpeg_plugin
Jul 23, 2026
Merged

Add: 12-bit and UYVY pix_fmts to mtl_st20p ffmpeg plugin#1612
Sakoram merged 2 commits into
mainfrom
add_formats_to_ffmpeg_plugin

Conversation

@Sakoram

@Sakoram Sakoram commented Jun 15, 2026

Copy link
Copy Markdown
Collaborator

Extend the st20p ffmpeg muxer/demuxer pixel-format mapping with the remaining transport formats that have a direct AVPixelFormat: yuv422p12le, yuv444p12le, gbrp12le, and uyvy422. Both TX input_fmt and RX output_fmt switch tables are kept symmetric.

Cover the new formats in the st20p pix_fmt loopback test and teach the video integrity frame-size helper their per-pixel byte sizes.

@Sakoram
Sakoram force-pushed the add_formats_to_ffmpeg_plugin branch 2 times, most recently from cda3a14 to 5ec6537 Compare July 20, 2026 13:25
@Sakoram
Sakoram marked this pull request as ready for review July 20, 2026 13:25
@Sakoram
Sakoram requested a review from awilczyns as a code owner July 20, 2026 13:25

@DawidWesierski4 DawidWesierski4 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please update
ecosystem/ffmpeg_plugin/README.md

Comment thread tests/validation/tests/single/st20p/test_pix_fmt.py
Extend the st20p ffmpeg muxer/demuxer pixel-format mapping with the
remaining transport formats that have a direct AVPixelFormat:
yuv422p12le, yuv444p12le, gbrp12le, and uyvy422. Both TX input_fmt and
RX output_fmt switch tables are kept symmetric.

Cover the new formats in the st20p pix_fmt loopback test and teach the
video integrity frame-size helper their per-pixel byte sizes.

Signed-off-by: Kasiewicz, Marek <marek.kasiewicz@intel.com>
@Sakoram
Sakoram force-pushed the add_formats_to_ffmpeg_plugin branch from 5ec6537 to 34d6a03 Compare July 21, 2026 14:55
@Sakoram

Sakoram commented Jul 21, 2026

Copy link
Copy Markdown
Collaborator Author

Please update ecosystem/ffmpeg_plugin/README.md

docs updated

@DawidWesierski4 DawidWesierski4 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

TODO: refactor this whole thing later
but for now just point it to the right place

Fixes: c9f2fd4

@soopel soopel left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@moleksy moleksy left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Sakoram
Sakoram merged commit 2e6a21b into main Jul 23, 2026
31 of 32 checks passed
@Sakoram
Sakoram deleted the add_formats_to_ffmpeg_plugin branch July 23, 2026 08:44
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.

4 participants