Skip to content

Add build-time option for UBWC video formats - #34

Open
Ali Erdinc Koroglu (aekoroglu) wants to merge 1 commit into
qualcomm:mainfrom
aekoroglu:ubwc_video_formats
Open

Ali Erdinc Koroglu (aekoroglu) wants to merge 1 commit into
qualcomm:mainfrom
aekoroglu:ubwc_video_formats

Conversation

@aekoroglu

Copy link
Copy Markdown

The NV12_Q08C and NV12_Q10LE32C formats are not part of upstream GStreamer, they come from the Qualcomm patch set. Referencing them unconditionally breaks the build against an unpatched GStreamer.

Add the ENABLE_GST_UBWC_VIDEO_FORMATS CMake option, defaulting to ON to keep the existing behaviour. When it is on, the HAVE_GST_VIDEO_FORMAT_* compile definitions are set and the UBWC formats are advertised in the vcomposer and vsplit caps; when off, they are compiled out.

The NV12_Q08C and NV12_Q10LE32C formats are not part of upstream
GStreamer, they come from the Qualcomm patch set. Referencing them
unconditionally breaks the build against an unpatched GStreamer.

Add the ENABLE_GST_UBWC_VIDEO_FORMATS CMake option, defaulting to ON to
keep the existing behaviour. When it is on, the HAVE_GST_VIDEO_FORMAT_*
compile definitions are set and the UBWC formats are advertised in the
vcomposer and vsplit caps; when off, they are compiled out.

Signed-off-by: Ali Erdinc Koroglu <ali.koroglu@oss.qualcomm.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