Пример #1
0
 public static extern int fcMP4WriteMemory(fcMP4Context ctx, IntPtr dst, int begin_frame, int end_frame);
Пример #2
0
 [DllImport("fccore")] public static extern Bool             fcMP4AddAudioFrame(fcMP4Context ctx, float[] samples, int num_samples, double timestamp = -1.0);
Пример #3
0
 public static extern int fcMP4GetExpectedDataSize(fcMP4Context ctx, int begin_frame, int end_frame);
Пример #4
0
 public static extern void fcMP4GetFrameData(fcMP4Context ctx, IntPtr tex, int frame);
Пример #5
0
 [DllImport("fccore")] public static extern Bool fcMP4AddAudioSamples(fcMP4Context ctx, float[] samples, int num_samples);
Пример #6
0
 public static extern void fcMP4DestroyContext(fcMP4Context ctx);
Пример #7
0
 [DllImport("FrameCapturer")] public static extern bool         fcMP4AddVideoFrameTexture(fcMP4Context ctx, IntPtr tex);
Пример #8
0
 public static int fcMP4AddVideoFrameTexture(fcMP4Context ctx, RenderTexture tex, double time, int id)
 {
     return(fcMP4AddVideoFrameTextureDeferred(ctx, tex.GetNativeTexturePtr(), fcGetPixelFormat(tex.format), time, id));
 }
Пример #9
0
 private static extern int fcMP4AddVideoFrameTextureDeferred(fcMP4Context ctx, IntPtr tex, fcPixelFormat fmt, double time, int id);
Пример #10
0
 private static extern IntPtr fcMP4GetVideoEncoderInfo(fcMP4Context ctx);
Пример #11
0
 public static string fcMP4GetVideoEncoderInfoS(fcMP4Context ctx)
 {
     return Marshal.PtrToStringAnsi(fcMP4GetVideoEncoderInfo(ctx));
 }
Пример #12
0
 public static int fcMP4AddVideoFrameTexture(fcMP4Context ctx, RenderTexture tex, double time, int id)
 {
     return fcMP4AddVideoFrameTextureDeferred(ctx, tex.GetNativeTexturePtr(), fcGetPixelFormat(tex.format), time, id);
 }
Пример #13
0
 public static extern void fcMP4AddOutputStream(fcMP4Context ctx, fcStream s);
Пример #14
0
 [DllImport("FrameCapturer")] public static extern void             fcMP4AddOutputStream(fcMP4Context ctx, fcStream s);
Пример #15
0
 [DllImport("FrameCapturer")] public static extern bool         fcMP4AddVideoFramePixels(fcMP4Context ctx, IntPtr pixels, fcEColorSpace cs = fcEColorSpace.RGBA);
Пример #16
0
 [DllImport("FrameCapturer")] private static extern int             fcMP4AddVideoFrameTextureDeferred(fcMP4Context ctx, IntPtr tex, fcPixelFormat fmt, double time, int id);
Пример #17
0
 [DllImport("FrameCapturer")] public static extern bool         fcMP4AddAudioSamples(fcMP4Context ctx, float[] samples, int num_samples);
Пример #18
0
 [DllImport("fccore")] private static extern IntPtr fcMP4GetVideoEncoderInfo(fcMP4Context ctx);
Пример #19
0
 [DllImport("FrameCapturer")] public static extern void         fcMP4ClearFrame(fcMP4Context ctx);
Пример #20
0
 public static extern Bool fcMP4AddAudioFrame(fcMP4Context ctx, float[] samples, int num_samples, double time = -1.0);
Пример #21
0
 [DllImport("FrameCapturer")] public static extern bool         fcMP4WriteFile(fcMP4Context ctx, string path, int begin_frame, int end_frame);
Пример #22
0
 public static extern void fcMP4EraseFrame(fcMP4Context ctx, int begin_frame, int end_frame);
Пример #23
0
 [DllImport("FrameCapturer")] public static extern int          fcMP4WriteMemory(fcMP4Context ctx, IntPtr dst, int begin_frame, int end_frame);
Пример #24
0
 public static extern int fcMP4GetFrameCount(fcMP4Context ctx);
Пример #25
0
 [DllImport("FrameCapturer")] public static extern int          fcMP4GetFrameCount(fcMP4Context ctx);
Пример #26
0
 public static extern bool fcMP4WriteFile(fcMP4Context ctx, string path, int begin_frame, int end_frame);
Пример #27
0
 [DllImport("FrameCapturer")] public static extern void         fcMP4GetFrameData(fcMP4Context ctx, IntPtr tex, int frame);
Пример #28
0
 [DllImport("fccore")] private static extern void            fcMP4DestroyContext(fcMP4Context ctx);
Пример #29
0
 [DllImport("FrameCapturer")] public static extern int          fcMP4GetExpectedDataSize(fcMP4Context ctx, int begin_frame, int end_frame);
Пример #30
0
 [DllImport("FrameCapturer")] public static extern void             fcMP4DestroyContext(fcMP4Context ctx);
Пример #31
0
 [DllImport("FrameCapturer")] public static extern void         fcMP4EraseFrame(fcMP4Context ctx, int begin_frame, int end_frame);
Пример #32
0
 [DllImport("FrameCapturer")] private static extern IntPtr          fcMP4GetVideoEncoderInfo(fcMP4Context ctx);
Пример #33
0
 public static extern bool fcMP4AddAudioSamples(fcMP4Context ctx, float[] samples, int num_samples);
Пример #34
0
 [DllImport("FrameCapturer")] public static extern Bool             fcMP4AddAudioFrame(fcMP4Context ctx, float[] samples, int num_samples, double time = -1.0);
Пример #35
0
 public static extern bool fcMP4AddVideoFramePixels(fcMP4Context ctx, IntPtr pixels, fcEColorSpace cs=fcEColorSpace.RGBA);
Пример #36
0
 [DllImport("fccore")] public static extern void fcMP4AddOutputStream(fcMP4Context ctx, fcStream s);
Пример #37
0
 public static extern bool fcMP4AddVideoFrameTexture(fcMP4Context ctx, IntPtr tex);
Пример #38
0
 [DllImport("fccore")] public static extern Bool fcMP4AddVideoFramePixels(fcMP4Context ctx, byte[] pixels, fcPixelFormat fmt, double timestamp = -1.0);
Пример #39
0
 public static extern void fcMP4ClearFrame(fcMP4Context ctx);
Пример #40
0
 public static string fcMP4GetVideoEncoderInfoS(fcMP4Context ctx)
 {
     return(Marshal.PtrToStringAnsi(fcMP4GetVideoEncoderInfo(ctx)));
 }
Пример #41
0
 [DllImport("fccore")] private static extern fcDeferredCall fcMP4AddVideoFrameTextureDeferred(fcMP4Context ctx, IntPtr tex, fcPixelFormat fmt, double time, fcDeferredCall id);