Skip to content

More GST RGB fixes - #78

Open
naushir wants to merge 3 commits into
mainfrom
rgb
Open

More GST RGB fixes#78
naushir wants to merge 3 commits into
mainfrom
rgb

Conversation

@naushir

@naushir naushir commented Jul 30, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

naushir added 3 commits July 30, 2026 14:09
Input strides were derived only from caps, so buffers with padded or
non-default plane layouts were misinterpreted. Use the per-buffer
GstVideoMeta strides and offsets on the memcpy path, programme the
producer's strides for zero-copy where the layout is suitable, and fix
the semi-planar copy path which assumed a planar U/V layout.

Signed-off-by: Naushir Patuck <naush@raspberrypi.com>
BGR maps to the PiSP RGB888 format with the R/B swap CSC applied, the
same memory layout as the existing DRM RG24 mapping. This allows the
swap path to be exercised by the conversion tests.

Signed-off-by: Naushir Patuck <naush@raspberrypi.com>
The harness can now rewrite an input asset with per-plane strides for
either GStreamer or convert mode. Add strided YUV420P, YUYV and RGB888
cases with a new packed-stride YUV444P reference, plus BGR output
variants that exercise the R/B swap CSC.

Signed-off-by: Naushir Patuck <naush@raspberrypi.com>
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