• Sreerenj Balachandran's avatar
    msdk: vpp: Allocation query fixes · 5184f85d
    Sreerenj Balachandran authored
    prpose_allocation:
    -- always instantiate a pool for for upstream
    -- use async_depth + 1 as min buffer count
    
    decide_allocation:
    -- always create a new bufferpool for source pad.
    Each of the msdk element has to create it's own mfxsurfacepool
    which is an msdk contraint. For eg: Each Msdk component (vpp, dec and
    enc)
    will invoke the external Frame allocator for video-memory usage
    So sharing the pool between gst-msdk elements might not be a good idea.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=793705
    5184f85d
gstmsdkvpp.c 42 KB