示例#1
0
        /// <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));
        }
示例#2
0
 public static extern CuResult ParseVideoData(CuVideoParser obj, ref CuVideoSourceDataPacket packet);
示例#3
0
 public static extern CuResult DestroyVideoParser(CuVideoParser obj);
示例#4
0
 public static extern CuResult CreateVideoParser(out CuVideoParser parser, ref CuVideoParserParams @params);