예제 #1
0
파일: fcAPI.cs 프로젝트: ubisoft/vrtist
 // timestamp=-1 is treated as current time.
 [DllImport("fccore")] public static extern Bool fcWebMAddVideoFramePixels(fcWebMContext ctx, byte[] pixels, fcPixelFormat fmt, double timestamp = -1.0);
예제 #2
0
파일: fcAPI.cs 프로젝트: ubisoft/vrtist
 // timestamp=-1 is treated as current time.
 [DllImport("fccore")] public static extern Bool fcWebMAddAudioSamples(fcWebMContext ctx, float[] samples, int num_samples);
예제 #3
0
파일: fcAPI.cs 프로젝트: ubisoft/vrtist
 [DllImport("fccore")] public static extern void fcWebMAddOutputStream(fcWebMContext ctx, fcStream stream);
예제 #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);
예제 #5
0
 [DllImport("fccore")] private static extern void fcWebMDestroyContext(fcWebMContext ctx);
예제 #6
0
 public static fcDeferredCall fcWebMAddVideoFrameTexture(fcWebMContext ctx, RenderTexture tex, double time, fcDeferredCall id)
 {
     return(fcWebMAddVideoFrameTexture(ctx, tex.GetNativeTexturePtr(), fcGetPixelFormat(tex.format), time, id));
 }
예제 #7
0
 [DllImport("fccore")] private static extern fcDeferredCall fcWebMAddVideoFrameTexture(fcWebMContext ctx, IntPtr tex, fcPixelFormat fmt, double timestamp, fcDeferredCall id);