예제 #1
0
 public static unsafe Video Load(BufferData *buffer_Data, byte[] headerData, int loopstart = -1, FfccMode ffccMode = FfccMode.PROCESS_ALL) =>
 Load <Video>(buffer_Data, headerData, loopstart = -1, ffccMode, AVMediaType.AVMEDIA_TYPE_VIDEO);
예제 #2
0
 /// <summary>
 /// Opens filename and init class.
 /// </summary>
 /// <remarks>
 /// Could be better, but theres alot of hoops to jump through.
 /// </remarks>
 /// <see cref="https://stackoverflow.com/questions/9604633/reading-a-file-located-in-memory-with-libavformat"/>
 /// <seealso cref="http://www.ffmpeg.org/doxygen/trunk/doc_2examples_2avio_reading_8c-example.html"/>
 /// <seealso cref="https://stackoverflow.com/questions/24758386/intptr-to-callback-function"/>
 public static unsafe Video Load(BufferData buffer_Data, byte[] headerData, int loopstart = -1, FfccMode ffccMode = FfccMode.PROCESS_ALL) =>
 Load(&buffer_Data, headerData, loopstart, ffccMode);
예제 #3
0
파일: Audio.cs 프로젝트: stantoxt/OpenVIII
        /// <summary>
        /// Opens filename and init class.
        /// </summary>
        /// <remarks>
        /// Could be better, but there are many hoops to jump through.
        /// </remarks>
        /// <see cref="https://stackoverflow.com/questions/9604633/reading-a-file-located-in-memory-with-libavformat"/>
        /// <seealso cref="http://www.ffmpeg.org/doxygen/trunk/doc_2examples_2avio_reading_8c-example.html"/>
        /// <seealso cref="https://stackoverflow.com/questions/24758386/intptr-to-callback-function"/>
        ///

        public static Audio Load(Sound.Entry entryData, int loopStart = -1, FfccMode ffccMode = FfccMode.ProcessAll) =>
        Load(entryData, entryData.HeaderData, loopStart, ffccMode);
예제 #4
0
파일: Audio.cs 프로젝트: stantoxt/OpenVIII
 public static unsafe Audio Load(BufferData *bufferData, byte[] headerData, int loopStart = -1, FfccMode ffccMode = FfccMode.ProcessAll) =>
 Load <Audio>(bufferData, headerData, loopStart, ffccMode, AVMediaType.AVMEDIA_TYPE_AUDIO);
예제 #5
0
 public static unsafe Video Load(BufferData *bufferData, byte[] headerData, FfccMode ffccMode = FfccMode.ProcessAll) =>
 Load <Video>(bufferData, headerData, -1, ffccMode, AVMediaType.AVMEDIA_TYPE_VIDEO);