Trait windows::Win32::Graphics::Direct3D11::ID3D11VideoContext1_Impl
pub trait ID3D11VideoContext1_Impl: Sized + ID3D11VideoContext_Impl {
Show 14 methods
// Required methods
fn SubmitDecoderBuffers1(
&self,
pdecoder: Option<&ID3D11VideoDecoder>,
numbuffers: u32,
pbufferdesc: *const D3D11_VIDEO_DECODER_BUFFER_DESC1,
) -> Result<()>;
fn GetDataForNewHardwareKey(
&self,
pcryptosession: Option<&ID3D11CryptoSession>,
privateinputsize: u32,
pprivatinputdata: *const c_void,
) -> Result<u64>;
fn CheckCryptoSessionStatus(
&self,
pcryptosession: Option<&ID3D11CryptoSession>,
) -> Result<D3D11_CRYPTO_SESSION_STATUS>;
fn DecoderEnableDownsampling(
&self,
pdecoder: Option<&ID3D11VideoDecoder>,
inputcolorspace: DXGI_COLOR_SPACE_TYPE,
poutputdesc: *const D3D11_VIDEO_SAMPLE_DESC,
referenceframecount: u32,
) -> Result<()>;
fn DecoderUpdateDownsampling(
&self,
pdecoder: Option<&ID3D11VideoDecoder>,
poutputdesc: *const D3D11_VIDEO_SAMPLE_DESC,
) -> Result<()>;
fn VideoProcessorSetOutputColorSpace1(
&self,
pvideoprocessor: Option<&ID3D11VideoProcessor>,
colorspace: DXGI_COLOR_SPACE_TYPE,
);
fn VideoProcessorSetOutputShaderUsage(
&self,
pvideoprocessor: Option<&ID3D11VideoProcessor>,
shaderusage: BOOL,
);
fn VideoProcessorGetOutputColorSpace1(
&self,
pvideoprocessor: Option<&ID3D11VideoProcessor>,
pcolorspace: *mut DXGI_COLOR_SPACE_TYPE,
);
fn VideoProcessorGetOutputShaderUsage(
&self,
pvideoprocessor: Option<&ID3D11VideoProcessor>,
pshaderusage: *mut BOOL,
);
fn VideoProcessorSetStreamColorSpace1(
&self,
pvideoprocessor: Option<&ID3D11VideoProcessor>,
streamindex: u32,
colorspace: DXGI_COLOR_SPACE_TYPE,
);
fn VideoProcessorSetStreamMirror(
&self,
pvideoprocessor: Option<&ID3D11VideoProcessor>,
streamindex: u32,
enable: BOOL,
fliphorizontal: BOOL,
flipvertical: BOOL,
);
fn VideoProcessorGetStreamColorSpace1(
&self,
pvideoprocessor: Option<&ID3D11VideoProcessor>,
streamindex: u32,
pcolorspace: *mut DXGI_COLOR_SPACE_TYPE,
);
fn VideoProcessorGetStreamMirror(
&self,
pvideoprocessor: Option<&ID3D11VideoProcessor>,
streamindex: u32,
penable: *mut BOOL,
pfliphorizontal: *mut BOOL,
pflipvertical: *mut BOOL,
);
fn VideoProcessorGetBehaviorHints(
&self,
pvideoprocessor: Option<&ID3D11VideoProcessor>,
outputwidth: u32,
outputheight: u32,
outputformat: DXGI_FORMAT,
streamcount: u32,
pstreams: *const D3D11_VIDEO_PROCESSOR_STREAM_BEHAVIOR_HINT,
) -> Result<u32>;
}
Required Methods§
fn SubmitDecoderBuffers1( &self, pdecoder: Option<&ID3D11VideoDecoder>, numbuffers: u32, pbufferdesc: *const D3D11_VIDEO_DECODER_BUFFER_DESC1, ) -> Result<()>
fn GetDataForNewHardwareKey( &self, pcryptosession: Option<&ID3D11CryptoSession>, privateinputsize: u32, pprivatinputdata: *const c_void, ) -> Result<u64>
fn CheckCryptoSessionStatus( &self, pcryptosession: Option<&ID3D11CryptoSession>, ) -> Result<D3D11_CRYPTO_SESSION_STATUS>
fn DecoderEnableDownsampling( &self, pdecoder: Option<&ID3D11VideoDecoder>, inputcolorspace: DXGI_COLOR_SPACE_TYPE, poutputdesc: *const D3D11_VIDEO_SAMPLE_DESC, referenceframecount: u32, ) -> Result<()>
fn DecoderUpdateDownsampling( &self, pdecoder: Option<&ID3D11VideoDecoder>, poutputdesc: *const D3D11_VIDEO_SAMPLE_DESC, ) -> Result<()>
fn VideoProcessorSetOutputColorSpace1( &self, pvideoprocessor: Option<&ID3D11VideoProcessor>, colorspace: DXGI_COLOR_SPACE_TYPE, )
fn VideoProcessorSetOutputShaderUsage( &self, pvideoprocessor: Option<&ID3D11VideoProcessor>, shaderusage: BOOL, )
fn VideoProcessorGetOutputColorSpace1( &self, pvideoprocessor: Option<&ID3D11VideoProcessor>, pcolorspace: *mut DXGI_COLOR_SPACE_TYPE, )
fn VideoProcessorGetOutputShaderUsage( &self, pvideoprocessor: Option<&ID3D11VideoProcessor>, pshaderusage: *mut BOOL, )
fn VideoProcessorSetStreamColorSpace1( &self, pvideoprocessor: Option<&ID3D11VideoProcessor>, streamindex: u32, colorspace: DXGI_COLOR_SPACE_TYPE, )
fn VideoProcessorSetStreamMirror( &self, pvideoprocessor: Option<&ID3D11VideoProcessor>, streamindex: u32, enable: BOOL, fliphorizontal: BOOL, flipvertical: BOOL, )
fn VideoProcessorGetStreamColorSpace1( &self, pvideoprocessor: Option<&ID3D11VideoProcessor>, streamindex: u32, pcolorspace: *mut DXGI_COLOR_SPACE_TYPE, )
fn VideoProcessorGetStreamMirror( &self, pvideoprocessor: Option<&ID3D11VideoProcessor>, streamindex: u32, penable: *mut BOOL, pfliphorizontal: *mut BOOL, pflipvertical: *mut BOOL, )
fn VideoProcessorGetBehaviorHints( &self, pvideoprocessor: Option<&ID3D11VideoProcessor>, outputwidth: u32, outputheight: u32, outputformat: DXGI_FORMAT, streamcount: u32, pstreams: *const D3D11_VIDEO_PROCESSOR_STREAM_BEHAVIOR_HINT, ) -> Result<u32>
Object Safety§
This trait is not object safe.