Skip to content

d3d11: Various update related to conversion

Seungha Yang requested to merge seungha.yang/gstreamer:d3d11-objectify into main

This is the first step for moving GstD3D11Converter to public lib and preparation for compute shader support.

    d3d11convert: Add border-color property

    Use user specified border-color instead of black color
    d3d11convert: Use single GstD3D11Converter object

    ... and don't use GstD3D11VideoProcessor. Now GstD3D11Converter will
    be able to convert using videoprocessor, and texture upload is also supported by
    GstD3D11Converter. All the noisy code can be removed therefore.
    d3d11converter: Add support conversion using videoprocessor

    * Add videoprocessor feature to d3d11converter, in order to unifiy
      conversion flow.
    * Add convert_buffer() method to support automatic shader/videoprocessor
      selection. The method also supports texture upload if input memory
      cannot be used for conversion (e.g., system memory or so)
    d3d11overlaycompositor: Objectify overlay render implementation

    Be consistent with other implementations
    d3d11: Don't use const pointer to GstDxgiColorSpace

    Instead, fill values of passed GstDxgiColorSpace struct

Merge request reports