• Nicolas Dufresne's avatar
    vpxdec: Use GstMemory to avoid copies · 189c2918
    Nicolas Dufresne authored
    With the VPX decoders it's not simple to use downstream buffer pool,
    because we don't know the image size and alignment when buffers get
    allocated. We can though use GstAllocator (for downstream, or the system
    allocator) to avoid a copy before pushing if downstream supports
    GstVideoMeta. This would still cause a copy for sink that requires
    specialized memory and does not have a GstAllocator for that, though
    it will greatly improve performance for sink like glimagesink and
    cluttersink. To avoid allocating for every buffer, we also use a
    internal buffer pool.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=745372
    189c2918
configure.ac 34.3 KB