Skip to content

utils: test_convert: Fix GStreamer pipeline colorimetry and byte orde…#68

Merged
naushir merged 2 commits intomainfrom
test
Apr 2, 2026
Merged

utils: test_convert: Fix GStreamer pipeline colorimetry and byte orde…#68
naushir merged 2 commits intomainfrom
test

Conversation

@naushir
Copy link
Copy Markdown
Collaborator

@naushir naushir commented Apr 2, 2026

…ring

Set explicit JPEG colorimetry (1:4:0:0) on input and output caps to ensure the correct BT601 full-range matrix is used for YUV conversions, matching the convert binary behaviour.

Use videoconvert to output BGR for RGB test cases, accounting for pispconvert's R/B channel swap on RGB output.

naushir added 2 commits April 2, 2026 10:51
…ring

Set explicit JPEG colorimetry (1:4:0:0) on input and output caps to
ensure the correct BT601 full-range matrix is used for YUV conversions,
matching the convert binary behaviour.

Use videoconvert to output BGR for RGB test cases, accounting for
pispconvert's R/B channel swap on RGB output.

Also run ruff check --fix and ruff format across all Python utility
scripts to fix lint warnings and standardise formatting.

Signed-off-by: Naushir Patuck <naush@raspberrypi.com>
Replace the Pep8Checker with a RuffChecker in checkstyle.py and add
a RuffFormatter for Python files. Add ruff check and ruff format
steps to the CI style checker workflow.

Signed-off-by: Naushir Patuck <naush@raspberrypi.com>
@naushir naushir merged commit 9940d72 into main Apr 2, 2026
2 checks passed
@naushir naushir deleted the test branch April 2, 2026 10:30
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.

1 participant