# d3d11deinterlace

Deinterlacing interlaced video frames to progressive video frames by using ID3D11VideoProcessor API.

## Example launch line

    gst-launch-1.0 filesrc location=/path/to/h264/file ! parsebin ! d3d11h264dec ! d3d11deinterlace ! d3d11videosink

## Hierarchy

    GObject
        ╰──GInitiallyUnowned
            ╰──GstObject
                ╰──GstElement
                    ╰──GstBin
                        ╰──d3d11deinterlace

## Implemented interfaces

    GstChildProxy

## Factory details

Authors: – Seungha Yang

Classification: – `Filter/Effect/Video/Deinterlace/Hardware`

Rank – marginal

Plugin – d3d11

Package – GStreamer Bad Plug-ins

## Pad Templates

### `sink`

    video/x-raw(memory:D3D11Memory):
             format: { BGRA, RGBA, RGB10A2_LE, BGRx, RGBx, VUYA, NV12, NV21, P010_10LE, P012_LE, P016_LE, I420, YV12, I420_10LE, I420_12LE, Y42B, I422_10LE, I422_12LE, Y444, Y444_10LE, Y444_12LE, Y444_16LE, GRAY8, GRAY16_LE, Y410 }
              width: [ 64, 8192 ]
             height: [ 64, 8192 ]

    video/x-raw(memory:D3D11Memory, meta:GstVideoOverlayComposition):
             format: { BGRA, RGBA, RGB10A2_LE, BGRx, RGBx, VUYA, NV12, NV21, P010_10LE, P012_LE, P016_LE, I420, YV12, I420_10LE, I420_12LE, Y42B, I422_10LE, I422_12LE, Y444, Y444_10LE, Y444_12LE, Y444_16LE, GRAY8, GRAY16_LE, Y410 }
              width: [ 64, 8192 ]
             height: [ 64, 8192 ]
    video/x-raw:
             format: { BGRA, RGBA, RGB10A2_LE, BGRx, RGBx, VUYA, NV12, NV21, P010_10LE, P012_LE, P016_LE, I420, YV12, I420_10LE, I420_12LE, Y42B, I422_10LE, I422_12LE, Y444, Y444_10LE, Y444_12LE, Y444_16LE, GRAY8, GRAY16_LE, Y410 }
              width: [ 64, 8192 ]
             height: [ 64, 8192 ]

    video/x-raw(memory:SystemMemory, meta:GstVideoOverlayComposition):
             format: { BGRA, RGBA, RGB10A2_LE, BGRx, RGBx, VUYA, NV12, NV21, P010_10LE, P012_LE, P016_LE, I420, YV12, I420_10LE, I420_12LE, Y42B, I422_10LE, I422_12LE, Y444, Y444_10LE, Y444_12LE, Y444_16LE, GRAY8, GRAY16_LE, Y410 }
              width: [ 64, 8192 ]
             height: [ 64, 8192 ]

Presence – always

Direction – sink

Object type – GstPad

### `src`

    video/x-raw(memory:D3D11Memory):
             format: { BGRA, RGBA, RGB10A2_LE, BGRx, RGBx, VUYA, NV12, NV21, P010_10LE, P012_LE, P016_LE, I420, YV12, I420_10LE, I420_12LE, Y42B, I422_10LE, I422_12LE, Y444, Y444_10LE, Y444_12LE, Y444_16LE, GRAY8, GRAY16_LE }
              width: [ 64, 8192 ]
             height: [ 64, 8192 ]

    video/x-raw(memory:D3D11Memory, meta:GstVideoOverlayComposition):
             format: { BGRA, RGBA, RGB10A2_LE, BGRx, RGBx, VUYA, NV12, NV21, P010_10LE, P012_LE, P016_LE, I420, YV12, I420_10LE, I420_12LE, Y42B, I422_10LE, I422_12LE, Y444, Y444_10LE, Y444_12LE, Y444_16LE, GRAY8, GRAY16_LE }
              width: [ 64, 8192 ]
             height: [ 64, 8192 ]
    video/x-raw:
             format: { BGRA, RGBA, RGB10A2_LE, BGRx, RGBx, VUYA, NV12, NV21, P010_10LE, P012_LE, P016_LE, I420, YV12, I420_10LE, I420_12LE, Y42B, I422_10LE, I422_12LE, Y444, Y444_10LE, Y444_12LE, Y444_16LE, GRAY8, GRAY16_LE }
              width: [ 64, 8192 ]
             height: [ 64, 8192 ]

    video/x-raw(memory:SystemMemory, meta:GstVideoOverlayComposition):
             format: { BGRA, RGBA, RGB10A2_LE, BGRx, RGBx, VUYA, NV12, NV21, P010_10LE, P012_LE, P016_LE, I420, YV12, I420_10LE, I420_12LE, Y42B, I422_10LE, I422_12LE, Y444, Y444_10LE, Y444_12LE, Y444_16LE, GRAY8, GRAY16_LE }
              width: [ 64, 8192 ]
             height: [ 64, 8192 ]

Presence – always

Direction – src

Object type – GstPad

## Properties

### adapter

    “adapter” guint

DXGI Adapter index for creating device

Flags : Read

Default value : 0

### device-id

    “device-id” guint

DXGI Device ID

Flags : Read

Default value : 35410

### method

    “method” GstD3D11DeinterlaceMethod *

Deinterlace Method. Use can set multiple methods as a flagset and element will select one of method automatically. If deinterlacing device failed to deinterlace with given mode, fallback might happen by the device

Flags : Read / Write

Default value : bob

### qos

    “qos” gboolean

Handle Quality-of-Service events

Flags : Read / Write

Default value : false

### supported-methods

    “supported-methods” GstD3D11DeinterlaceMethod *

Set of supported deinterlace methods by device

Flags : Read

Default value : mocomp+adaptive+bob+blend

### vendor-id

    “vendor-id” guint

DXGI Vendor ID

Flags : Read

Default value : 32902

The results of the search are