Example #1
0
        public unsafe IntPtr DeviceGetHandle(mfxHandleType type)
        {
            mfxStatus sts;
            IntPtr    handle;

            sts = VideoAccelerationSupportPInvoke.VideoAccelerationSupport_DeviceGetHandle(acceleratorHandle, type, &handle);
            QuickSyncStatic.ThrowOnBadStatus(sts, "VideoAccelerationSupport_DeviceGetHandle");
            return(handle);
        }
Example #2
0
 public static unsafe extern mfxStatus VideoAccelerationSupport_DeviceGetHandle(IntPtr handle, mfxHandleType type, IntPtr *hdlhandle);
 public static extern mfxStatus MFXVideoCORE_SetHandle(mfxSession session, mfxHandleType type, IntPtr hdl);