/// <summary> /// Get an internalized <see cref="Demuxer"/>. /// </summary> /// <param name="ARef">The <see cref="Unsafe.AVInputFormat"/>.</param> /// <returns>The internalized <see cref="Demuxer"/> instance.</returns> internal static Demuxer Of(Ref <Unsafe.AVInputFormat> ARef) { return(Internalized <Unsafe.AVInputFormat, Demuxer> .Of(ARef, X => new Demuxer(X))); }
/// <summary> /// Get an internalized <see cref="Codec"/>. /// </summary> /// <param name="ARef">The <see cref="Unsafe.AVCodec"/>.</param> /// <returns>The internalized <see cref="Codec"/> instance.</returns> internal static Codec Of(Ref <Unsafe.AVCodec> ARef) { return(Internalized <Unsafe.AVCodec, Codec> .Of(ARef, X => new Codec(X))); }
/// <summary> /// Get an internalized <see cref="Muxer"/>. /// </summary> /// <param name="ARef">The <see cref="Unsafe.AVOutputFormat"/>.</param> /// <returns>The internalized <see cref="Muxer"/> instance.</returns> internal static Muxer Of(Ref <Unsafe.AVOutputFormat> ARef) { return(Internalized <Unsafe.AVOutputFormat, Muxer> .Of(ARef, X => new Muxer(X))); }