internal void Encode(IntPtr track) { renderFunction = renderFunction == IntPtr.Zero ? GetRenderEventFunc() : renderFunction; VideoEncoderMethods.Encode(renderFunction, track); }
internal void ReleaseBuffers() { releaseBuffersFunction = releaseBuffersFunction == IntPtr.Zero ? GetReleaseBufferFunc() : releaseBuffersFunction; VideoEncoderMethods.ReleaseBuffers(releaseBuffersFunction); }
internal void InitializeEncoder(IntPtr track) { renderFunction = renderFunction == IntPtr.Zero ? GetRenderEventFunc() : renderFunction; VideoEncoderMethods.InitializeEncoder(renderFunction, track); }
internal void FinalizeEncoder() { renderFunction = renderFunction == IntPtr.Zero ? GetRenderEventFunc() : renderFunction; VideoEncoderMethods.FinalizeEncoder(renderFunction); }