Esempio n. 1
0
 // timestamp=-1 is treated as current time.
 [DllImport("fccore")] public static extern Bool fcWebMAddVideoFramePixels(fcWebMContext ctx, byte[] pixels, fcPixelFormat fmt, double timestamp = -1.0);
Esempio n. 2
0
 // timestamp=-1 is treated as current time.
 [DllImport("fccore")] public static extern Bool fcWebMAddAudioSamples(fcWebMContext ctx, float[] samples, int num_samples);
Esempio n. 3
0
 [DllImport("fccore")] public static extern void fcWebMAddOutputStream(fcWebMContext ctx, fcStream stream);
Esempio n. 4
0
 // timestamp=-1 is treated as current time.
 [DllImport("fccore")] public static extern Bool fcWebMAddAudioFrame(fcWebMContext ctx, float[] samples, int num_samples, double timestamp = -1.0);
Esempio n. 5
0
 [DllImport("fccore")] private static extern void fcWebMDestroyContext(fcWebMContext ctx);
Esempio n. 6
0
 public static fcDeferredCall fcWebMAddVideoFrameTexture(fcWebMContext ctx, RenderTexture tex, double time, fcDeferredCall id)
 {
     return(fcWebMAddVideoFrameTexture(ctx, tex.GetNativeTexturePtr(), fcGetPixelFormat(tex.format), time, id));
 }
Esempio n. 7
0
 [DllImport("fccore")] private static extern fcDeferredCall fcWebMAddVideoFrameTexture(fcWebMContext ctx, IntPtr tex, fcPixelFormat fmt, double timestamp, fcDeferredCall id);