Skip to content

Enable JPEG Encoder (jpegenc) Plugin Support for prop image#2010

Open
JaiShiv05 wants to merge 2 commits intoqualcomm-linux:masterfrom
JaiShiv05:enable_jpeg_enc
Open

Enable JPEG Encoder (jpegenc) Plugin Support for prop image#2010
JaiShiv05 wants to merge 2 commits intoqualcomm-linux:masterfrom
JaiShiv05:enable_jpeg_enc

Conversation

@JaiShiv05
Copy link
Copy Markdown
Contributor

@JaiShiv05 JaiShiv05 commented Apr 21, 2026

Adds support for the GStreamer jpegenc plugin by enabling it through the unified camera PACKAGECONFIG in the imsdk common configuration. This introduces offline JPEG encoding alongside existing imsdk camera plugins, while keeping the camera-service dependency scoped to platform-specific dynamic layers.

@@ -1 +1 @@
PACKAGECONFIG:append = " camera-base qmmfsrc"
PACKAGECONFIG:append = " camera-base qmmfsrc jpegenc"
Copy link
Copy Markdown
Contributor

@quaresmajose quaresmajose Apr 21, 2026

Choose a reason for hiding this comment

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

Can you please add something on the commit explaining why this is done in dynamic-layers? To me it seems that it's because it depends on camera-service, could that be the reason?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Updated.

Copy link
Copy Markdown
Contributor

@lumag lumag left a comment

Choose a reason for hiding this comment

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

Why is this separate from qmmfsrc plugin? Can we have a single config for all CamX plugins?

@JaiShiv05
Copy link
Copy Markdown
Contributor Author

Why is this separate from qmmfsrc plugin? Can we have a single config for all CamX plugins?

Done.

@JaiShiv05 JaiShiv05 requested review from lumag and quaresmajose April 23, 2026 05:25
Renamed and unified camera-related PACKAGECONFIG from
camera-base/qmmfsrc into a single camera option.
Enabled the following features when camera is selected:
- Camera base
- Qmmfsrc plugin
- VHDR and EIS modes
- Offline IFE support
- JPEG encoder plugin

Ensured all related features are cleanly disabled when the
camera config is turned off.

Signed-off-by: Jai Shiv <jshiv@qti.qualcomm.com>
Update gst-plugins-imsdk-prop bbappend to use the unified
'camera' PACKAGECONFIG instead of seperate
'camera-base' and 'qmmfsrc' options.

This change is applied in the dynamic layer because the
'camera' PACKAGECONFIG depends on camera-service, which is
platform-specific and provided by the dynamic layers.
Keeping this enablement in dynamic-layers avoids introducing
camera-service dependencies into the generic recipe and
ensures correct feature enablement only when the camera
stack is available.

Signed-off-by: Jai Shiv <jshiv@qti.qualcomm.com>
@@ -1 +1 @@
PACKAGECONFIG:append = " camera-base qmmfsrc"
PACKAGECONFIG:append = " camera"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Camera support is broken between these two commits. PLease squash them.

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