[Bug 747216] applemedia: implement GstAppleCoreVideoMemory

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Jan 18 21:16:20 PST 2016


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

--- Comment #47 from Alessandro Decina <alessandro.d at gmail.com> ---
I have started merging this. I haven't merged the tests yet since they don't
seem to run properly (lots of CF warnings, i'll look into it tomorrow)

commit 8577224c74fde67884113c3b06b31ceadc11732c
Author: Ilya Konstantinov <ilya.konstantinov at gmail.com>
Date:   Sun Apr 19 00:30:48 2015 +0300

    applemedia: implement copying of meta

    Before this, buffers would lose their Core Video / Core Media meta
    over intervideo* boundary.

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

commit 936b2fdfbc71dfda8c3f51caba84daa20d56732f
Author: Ilya Konstantinov <ilya.konstantinov at gmail.com>
Date:   Thu Apr 2 20:04:18 2015 +0300

    applemedia: implement GstAppleCoreVideoMemory

    Implement a new memory type wrapping CVPixelBuffer.

    There are two immediate advantages:
     a) Make the GstMemory itself retain the CVPixelBuffer. Previously,
        the containing GstBuffer was solely responsible for the lifetime of
        the backing CVPixelBuffer.

        With this change, we remove the GST_MEMORY_FLAG_NO_SHARE so that
        GstMemory objects be referenced by multiple GstBuffers (doing away
        with the need to copy.)

      b) Delay locking CVPixelBuffer into CPU memory until it's actually
         mapped -- possibly never.

    The CVPixelBuffer object is shared among references, shares and
    (in planar formats) planes, so a wrapper GstAppleCoreVideoPixelBuffer
    structure was introduced to manage locking.

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

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


More information about the gstreamer-bugs mailing list