[Bug 790752] msdk: supports bufferpool
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Thu Nov 30 11:03:52 UTC 2017
https://bugzilla.gnome.org/show_bug.cgi?id=790752
Hyunjun Ko <zzoon at igalia.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #364260|0 |1
is obsolete| |
--- Comment #6 from Hyunjun Ko <zzoon at igalia.com> ---
Created attachment 364661
--> https://bugzilla.gnome.org/attachment.cgi?id=364661&action=edit
msdkenc: use msdkbufferpool
Adjust to use GstMsdkBufferPool.
1. Propose a GstMsdkBufferPool to upstream.
2. If upstream has accepted the proposed msdk bufferpool (eg. videotestsrc):
This is the usual case that upstream could do map via GstMsdkMemory.
3. If upstream hasn't accepted the proposed msdk bufferpool (eg. filesrc,
appsrc),
3.1. If upstream buffer is aligned to 32:
Map directly from the pointer of user space to a surface.
Doesn't create msdk bufferpool.
3.2. If upstream buffer is not aligned to 32:
Creates new msdk bufferpool and acquire a buffer from the pool.
Has to copy from upstream buffer to new buffer.
--
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