[Bug 793707] msdk: Add dmabuf support in msdk plugins

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Mar 29 08:24:01 UTC 2018


https://bugzilla.gnome.org/show_bug.cgi?id=793707

--- Comment #23 from Hyunjun Ko <zzoon at igalia.com> ---
(In reply to sreerenj from comment #17)
> (In reply to Hyunjun Ko from comment #14)
> > (In reply to sreerenj from comment #11)
> > > This one adding only "dmabuf-export" right? Please change the bug report
> > > title then.
> > > We need the "dmabuf-import"(in msdk plugin) for v4l2 use case, better file a
> > > separate bug for that.
> > 
> > I'm not sure how to implement dmabuf-import in msdk elements.
> > Because it should create a VA surface when it gets dmabuf handle from
> > upstream but, by design, allocation should be done at initialization time in
> > msdk.
> > 
> > Any idea to handle this?
> 
> Currently, the decoder is doing in Init() in decide_allocation(), we should
> do the same in encoder. Delay the Initialization until propose_allocation()
> so that you will get a handle of v4l2src proposed pool. 

Just curious. Is it possible to get upstream's pool in propose_allocation?
If possible, yeah, we can implement like the way what you said.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list