Skip to content

qcom: vidc: default decoder output to linear NV12 - #600

Open
nascs wants to merge 1 commit into
radxa:Ubuntu-qcom-6.8.0-1066.67from
nascs:fix_default_decoder
Open

qcom: vidc: default decoder output to linear NV12#600
nascs wants to merge 1 commit into
radxa:Ubuntu-qcom-6.8.0-1066.67from
nascs:fix_default_decoder

Conversation

@nascs

@nascs nascs commented Sep 7, 2026

Copy link
Copy Markdown

The Qualcomm GStreamer stack cannot convert the UBWC "NV12_Q08C" decoder output, so Videos shows a blue/green screen. The DPB (decoded picture buffer) size is derived from the PIX_FMTS capability value; keeping it UBWC while forcing the output linear left the DPB at zero and stalled the decoder.

Default the decoder output to linear NV12 and split the PIX_FMTS capability into separate ENC/DEC entries so the decoder defaults to linear NV12 while the encoder keeps UBWC for camera input.

The Qualcomm GStreamer stack cannot convert the UBWC "NV12_Q08C"
decoder output, so Videos shows a blue/green screen.  The DPB
(decoded picture buffer) size is derived from the PIX_FMTS capability
value; keeping it UBWC while forcing the output linear left the DPB
at zero and stalled the decoder.

Default the decoder output to linear NV12 and split the PIX_FMTS
capability into separate ENC/DEC entries so the decoder defaults to
linear NV12 while the encoder keeps UBWC for camera input.

@RadxaYuntian RadxaYuntian left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

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.

3 participants