Skip to content

video: convertframe: Add D3D11 specific conversion path

Seungha Yang requested to merge seungha.yang/gstreamer:d3d11-convert-sample into main
    video: convertframe: Add D3D11 specific conversion path

    Add d3d11 conversion path to make gst_video_convert_sample() work
    for GstD3D11Memory.

    Note that just adding "d3d11download" to the exisitng code is
    suboptimal from GstD3D11 point of view because:
    * d3d11convert element can support crop/colorspace-conversion/scale
      all at once while existing software pipeline needs intermediate steps
      for the conversion
    * "Process everything on GPU then download it to CPU memory" would be likely
      faster than "download GPU memory to CPU then processing it on CPU"
    video: convertframe: Remove pointless const qualifier

    const keyword for refcounted object does not very make sense
    and unnecessary in this case

Merge request reports