Skip to content

d3d11: Implement memory pool and refactor zero-copy decoding

    d3d11decoder: Resurrect zero-copy for fixed-size DPB pool

    Enable zero-copy if downstream proposed pool and therefore decoder
    can know the amount of buffer required by downstream.
    Otherwise decoder will copy when our DPB pool has no sufficient
    buffers for later decoding operation.
    d3d11decoder: Implement array-of-texture DPB again

    Re-implementation of array-of-texture based on d3d11 memory pool.
    d3d11: Implement memory pool

    * GstD3D11Allocator: This allocator is now device-independent object
      which can allocate GstD3D11Memory object for any GstD3D11Device.
      User can get this object via gst_allocator_find(GST_D3D11_MEMORY_NAME)
    * GstD3D11PoolAllocator: A new allocator implementation for texture pool.
      From now on GstD3D11BufferPool will make use of this memory pool allocator      
      to avoid frequent texture reallocation. That usually happens because
      of buffer copy (gst_buffer_make_writable for example)
    d3d11decoder: Temporarily remove zero-copy related code

    We will re-implement it based on memory pool
Edited by Seungha Yang

Merge request reports

Loading