public unsafe void UnlockFrame(IntPtr memid, mfxFrameData *ptr = null) { if (ptr == null) { ptr = &(((mfxFrameSurface1 *)memid)->Data); } mfxStatus sts; // fixed (mfxFrameData* p = &ptr) sts = VideoAccelerationSupportPInvoke.VideoAccelerationSupport_UnlockFrame(acceleratorHandle, memid, ptr); QuickSyncStatic.ThrowOnBadStatus(sts, "VideoAccelerationSupport_UnlockFrame"); }
public static unsafe extern mfxStatus VideoAccelerationSupport_UnlockFrame(IntPtr handle, IntPtr memid, mfxFrameData *ptr);