[Bug 790752] msdk: supports bufferpool

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Nov 23 08:33:28 UTC 2017


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

--- Comment #2 from Hyunjun Ko <zzoon at igalia.com> ---
Created attachment 364260
  --> https://bugzilla.gnome.org/attachment.cgi?id=364260&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