/// <inheritdoc cref="LibCuVideo.DestroyVideoParser(CuVideoParser)"/> public void Dispose() { var handle = Interlocked.Exchange(ref Handle, IntPtr.Zero); if (handle == IntPtr.Zero) return; var obj = new CuVideoParser { Handle = handle }; CheckResult(DestroyVideoParser(obj)); }
public static extern CuResult ParseVideoData(CuVideoParser obj, ref CuVideoSourceDataPacket packet);
public static extern CuResult DestroyVideoParser(CuVideoParser obj);
public static extern CuResult CreateVideoParser(out CuVideoParser parser, ref CuVideoParserParams @params);