Constant rsmpeg::ffi::AVPixelFormat_AV_PIX_FMT_D3D11[][src]

pub const AVPixelFormat_AV_PIX_FMT_D3D11: i32 = 174;
Expand description

Hardware surfaces for Direct3D11.

This is preferred over the legacy AV_PIX_FMT_D3D11VA_VLD. The new D3D11 hwaccel API and filtering support AV_PIX_FMT_D3D11 only.

data[0] contains a ID3D11Texture2D pointer, and data[1] contains the texture array index of the frame as intptr_t if the ID3D11Texture2D is an array texture (or always 0 if it’s a normal texture).