Skip to content

Add GBM memory support for zero-copy Qualcomm pipelines#48

Open
ferjm wants to merge 1 commit into
mainfrom
gbm-memory
Open

Add GBM memory support for zero-copy Qualcomm pipelines#48
ferjm wants to merge 1 commit into
mainfrom
gbm-memory

Conversation

@ferjm
Copy link
Copy Markdown
Member

@ferjm ferjm commented Mar 15, 2026

Enable edgeimpulsevideoinfer and edgeimpulseoverlay to accept video/x-raw(memory:GBM),format=NV12 buffers from qtiqmmfsrc, eliminating buffer copies in the inference pipeline.

Key changes:

  • Switch video inference element from NeverInPlace to AlwaysInPlace mode (no more input→output buffer copy)
  • Add NV12→RGB conversion for inference feature extraction
  • Accept memory:GBM caps on both video inference and overlay elements
  • Add gstreamer-allocators dependency for FdAllocator support
  • Add GBM/DRM dev packages to cross-compilation Dockerfile
  • Include RB3 benchmark script, and integration tests

Enable edgeimpulsevideoinfer and edgeimpulseoverlay to accept
video/x-raw(memory:GBM),format=NV12 buffers from qtiqmmfsrc,
eliminating buffer copies in the inference pipeline.

Key changes:
- Switch video inference element from NeverInPlace to AlwaysInPlace
  mode (no more input→output buffer copy)
- Add NV12→RGB conversion for inference feature extraction
- Accept memory:GBM caps on both video inference and overlay elements
- Add gstreamer-allocators dependency for FdAllocator support
- Add GBM/DRM dev packages to cross-compilation Dockerfile
- Include RB3 benchmark script, and integration tests
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