예제 #1
0
 public void VideoProcessorSetStreamRotation([NativeTypeName("ID3D11VideoProcessor *")] ID3D11VideoProcessor *pVideoProcessor, [NativeTypeName("UINT")] uint StreamIndex, [NativeTypeName("BOOL")] int Enable, D3D11_VIDEO_PROCESSOR_ROTATION Rotation)
 {
     ((delegate * unmanaged <ID3D11VideoContext2 *, ID3D11VideoProcessor *, uint, int, D3D11_VIDEO_PROCESSOR_ROTATION, void>)(lpVtbl[63]))((ID3D11VideoContext2 *)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Rotation);
 }
예제 #2
0
 public void VideoProcessorGetStreamRotation(IntPtr pVideoProcessor, uint StreamIndex, ref int pEnable, ref D3D11_VIDEO_PROCESSOR_ROTATION pRotation)
 {
     if (m_VideoProcessorGetStreamRotationFunc == null)
     {
         var fp = GetFunctionPointer(64);
         m_VideoProcessorGetStreamRotationFunc = (VideoProcessorGetStreamRotationFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(VideoProcessorGetStreamRotationFunc));
     }
     m_VideoProcessorGetStreamRotationFunc(m_ptr, pVideoProcessor, StreamIndex, ref pEnable, ref pRotation);
 }