public unsafe void AllocFrames(mfxFrameAllocRequest *req, mfxFrameAllocResponse *resp) { // if ( req->Type) var sts = VideoAccelerationSupportPInvoke.VideoAccelerationSupport_Alloc(acceleratorHandle, req, resp); QuickSyncStatic.ThrowOnBadStatus(sts, "VideoAccelerationSupport_Alloc"); }
public static unsafe extern mfxStatus VideoAccelerationSupport_Alloc(IntPtr handle, mfxFrameAllocRequest *req, mfxFrameAllocResponse *resp);
public static extern mfxStatus MFXVideoVPP_QueryIOSurf(mfxSession session, mfxVideoParam *par, mfxFrameAllocRequest *request);