Show / Hide Table of Contents

Class fcAPI

Namespace: UTJ.FrameCapturer
Assembly: Assembly-CSharp.dll
Syntax
public static class fcAPI

Methods

CreateFullscreenQuad()

Declaration
public static Mesh CreateFullscreenQuad()
Returns
Type Description
UnityEngine.Mesh

fcAllocateDeferredCall()

Declaration
public static fcAPI.fcDeferredCall fcAllocateDeferredCall()
Returns
Type Description
fcAPI.fcDeferredCall

fcCreateFileStream(String)

Declaration
public static fcAPI.fcStream fcCreateFileStream(string path)
Parameters
Type Name Description
System.String path
Returns
Type Description
fcAPI.fcStream

fcCreateMemoryStream()

Declaration
public static fcAPI.fcStream fcCreateMemoryStream()
Returns
Type Description
fcAPI.fcStream

fcEnableAsyncReleaseContext(Bool)

Declaration
public static void fcEnableAsyncReleaseContext(Bool v)
Parameters
Type Name Description
Bool v

fcExrAddLayerPixels(fcAPI.fcExrContext, Byte[], fcAPI.fcPixelFormat, Int32, String)

Declaration
public static Bool fcExrAddLayerPixels(fcAPI.fcExrContext ctx, byte[] pixels, fcAPI.fcPixelFormat fmt, int ch, string name)
Parameters
Type Name Description
fcAPI.fcExrContext ctx
System.Byte[] pixels
fcAPI.fcPixelFormat fmt
System.Int32 ch
System.String name
Returns
Type Description
Bool

fcExrBeginImage(fcAPI.fcExrContext, String, Int32, Int32)

Declaration
public static Bool fcExrBeginImage(fcAPI.fcExrContext ctx, string path, int width, int height)
Parameters
Type Name Description
fcAPI.fcExrContext ctx
System.String path
System.Int32 width
System.Int32 height
Returns
Type Description
Bool

fcExrCreateContext(ref fcAPI.fcExrConfig)

Declaration
public static fcAPI.fcExrContext fcExrCreateContext(ref fcAPI.fcExrConfig conf)
Parameters
Type Name Description
fcAPI.fcExrConfig conf
Returns
Type Description
fcAPI.fcExrContext

fcExrEndImage(fcAPI.fcExrContext)

Declaration
public static Bool fcExrEndImage(fcAPI.fcExrContext ctx)
Parameters
Type Name Description
fcAPI.fcExrContext ctx
Returns
Type Description
Bool

fcExrIsSupported()

Declaration
public static Bool fcExrIsSupported()
Returns
Type Description
Bool

fcFlacAddAudioSamples(fcAPI.fcFlacContext, Single[], Int32)

Declaration
public static Bool fcFlacAddAudioSamples(fcAPI.fcFlacContext ctx, float[] samples, int num_samples)
Parameters
Type Name Description
fcAPI.fcFlacContext ctx
System.Single[] samples
System.Int32 num_samples
Returns
Type Description
Bool

fcFlacAddOutputStream(fcAPI.fcFlacContext, fcAPI.fcStream)

Declaration
public static void fcFlacAddOutputStream(fcAPI.fcFlacContext ctx, fcAPI.fcStream stream)
Parameters
Type Name Description
fcAPI.fcFlacContext ctx
fcAPI.fcStream stream

fcFlacCreateContext(ref fcAPI.fcFlacConfig)

Declaration
public static fcAPI.fcFlacContext fcFlacCreateContext(ref fcAPI.fcFlacConfig conf)
Parameters
Type Name Description
fcAPI.fcFlacConfig conf
Returns
Type Description
fcAPI.fcFlacContext

fcFlacIsSupported()

Declaration
public static Bool fcFlacIsSupported()
Returns
Type Description
Bool

fcGetNumAudioChannels()

Declaration
public static int fcGetNumAudioChannels()
Returns
Type Description
System.Int32

fcGetPixelFormat(RenderTextureFormat)

Declaration
public static fcAPI.fcPixelFormat fcGetPixelFormat(RenderTextureFormat v)
Parameters
Type Name Description
UnityEngine.RenderTextureFormat v
Returns
Type Description
fcAPI.fcPixelFormat

fcGetPixelFormat(TextureFormat)

Declaration
public static fcAPI.fcPixelFormat fcGetPixelFormat(TextureFormat v)
Parameters
Type Name Description
UnityEngine.TextureFormat v
Returns
Type Description
fcAPI.fcPixelFormat

fcGetRenderEventFunc()

Declaration
public static IntPtr fcGetRenderEventFunc()
Returns
Type Description
System.IntPtr

fcGetTime()

Declaration
public static double fcGetTime()
Returns
Type Description
System.Double

fcGifAddFramePixels(fcAPI.fcGifContext, Byte[], fcAPI.fcPixelFormat, Double)

Declaration
public static Bool fcGifAddFramePixels(fcAPI.fcGifContext ctx, byte[] pixels, fcAPI.fcPixelFormat fmt, double timestamp = -1)
Parameters
Type Name Description
fcAPI.fcGifContext ctx
System.Byte[] pixels
fcAPI.fcPixelFormat fmt
System.Double timestamp
Returns
Type Description
Bool

fcGifAddOutputStream(fcAPI.fcGifContext, fcAPI.fcStream)

Declaration
public static void fcGifAddOutputStream(fcAPI.fcGifContext ctx, fcAPI.fcStream stream)
Parameters
Type Name Description
fcAPI.fcGifContext ctx
fcAPI.fcStream stream

fcGifCreateContext(ref fcAPI.fcGifConfig)

Declaration
public static fcAPI.fcGifContext fcGifCreateContext(ref fcAPI.fcGifConfig conf)
Parameters
Type Name Description
fcAPI.fcGifConfig conf
Returns
Type Description
fcAPI.fcGifContext

fcGifIsSupported()

Declaration
public static Bool fcGifIsSupported()
Returns
Type Description
Bool

fcGuard(Action)

Declaration
public static void fcGuard(Action body)
Parameters
Type Name Description
System.Action body

fcGuardBegin()

Declaration
public static void fcGuardBegin()

fcGuardEnd()

Declaration
public static void fcGuardEnd()

fcLock(RenderTexture, Action<Byte[], fcAPI.fcPixelFormat>)

Declaration
public static void fcLock(RenderTexture src, Action<byte[], fcAPI.fcPixelFormat> body)
Parameters
Type Name Description
UnityEngine.RenderTexture src
System.Action<System.Byte[], fcAPI.fcPixelFormat> body

fcLock(RenderTexture, TextureFormat, Action<Byte[], fcAPI.fcPixelFormat>)

Declaration
public static void fcLock(RenderTexture src, TextureFormat dstfmt, Action<byte[], fcAPI.fcPixelFormat> body)
Parameters
Type Name Description
UnityEngine.RenderTexture src
UnityEngine.TextureFormat dstfmt
System.Action<System.Byte[], fcAPI.fcPixelFormat> body

fcMP4AddAudioSamples(fcAPI.fcMP4Context, Single[], Int32)

Declaration
public static Bool fcMP4AddAudioSamples(fcAPI.fcMP4Context ctx, float[] samples, int num_samples)
Parameters
Type Name Description
fcAPI.fcMP4Context ctx
System.Single[] samples
System.Int32 num_samples
Returns
Type Description
Bool

fcMP4AddOutputStream(fcAPI.fcMP4Context, fcAPI.fcStream)

Declaration
public static void fcMP4AddOutputStream(fcAPI.fcMP4Context ctx, fcAPI.fcStream s)
Parameters
Type Name Description
fcAPI.fcMP4Context ctx
fcAPI.fcStream s

fcMP4AddVideoFramePixels(fcAPI.fcMP4Context, Byte[], fcAPI.fcPixelFormat, Double)

Declaration
public static Bool fcMP4AddVideoFramePixels(fcAPI.fcMP4Context ctx, byte[] pixels, fcAPI.fcPixelFormat fmt, double timestamp = -1)
Parameters
Type Name Description
fcAPI.fcMP4Context ctx
System.Byte[] pixels
fcAPI.fcPixelFormat fmt
System.Double timestamp
Returns
Type Description
Bool

fcMP4CreateContext(ref fcAPI.fcMP4Config)

Declaration
public static fcAPI.fcMP4Context fcMP4CreateContext(ref fcAPI.fcMP4Config conf)
Parameters
Type Name Description
fcAPI.fcMP4Config conf
Returns
Type Description
fcAPI.fcMP4Context

fcMP4GetAudioEncoderInfo(fcAPI.fcMP4Context)

Declaration
static IntPtr fcMP4GetAudioEncoderInfo(fcAPI.fcMP4Context ctx)
Parameters
Type Name Description
fcAPI.fcMP4Context ctx
Returns
Type Description
System.IntPtr

fcMP4GetAudioEncoderInfoS(fcAPI.fcMP4Context)

Declaration
public static string fcMP4GetAudioEncoderInfoS(fcAPI.fcMP4Context ctx)
Parameters
Type Name Description
fcAPI.fcMP4Context ctx
Returns
Type Description
System.String

fcMP4GetVideoEncoderInfo(fcAPI.fcMP4Context)

Declaration
static IntPtr fcMP4GetVideoEncoderInfo(fcAPI.fcMP4Context ctx)
Parameters
Type Name Description
fcAPI.fcMP4Context ctx
Returns
Type Description
System.IntPtr

fcMP4GetVideoEncoderInfoS(fcAPI.fcMP4Context)

Declaration
public static string fcMP4GetVideoEncoderInfoS(fcAPI.fcMP4Context ctx)
Parameters
Type Name Description
fcAPI.fcMP4Context ctx
Returns
Type Description
System.String

fcMP4IsSupported()

Declaration
public static Bool fcMP4IsSupported()
Returns
Type Description
Bool

fcMP4OSCreateContext(ref fcAPI.fcMP4Config, String)

Declaration
public static fcAPI.fcMP4Context fcMP4OSCreateContext(ref fcAPI.fcMP4Config conf, string path)
Parameters
Type Name Description
fcAPI.fcMP4Config conf
System.String path
Returns
Type Description
fcAPI.fcMP4Context

fcMP4OSIsSupported()

Declaration
public static Bool fcMP4OSIsSupported()
Returns
Type Description
Bool

fcOggAddAudioSamples(fcAPI.fcOggContext, Single[], Int32)

Declaration
public static Bool fcOggAddAudioSamples(fcAPI.fcOggContext ctx, float[] samples, int num_samples)
Parameters
Type Name Description
fcAPI.fcOggContext ctx
System.Single[] samples
System.Int32 num_samples
Returns
Type Description
Bool

fcOggAddOutputStream(fcAPI.fcOggContext, fcAPI.fcStream)

Declaration
public static void fcOggAddOutputStream(fcAPI.fcOggContext ctx, fcAPI.fcStream stream)
Parameters
Type Name Description
fcAPI.fcOggContext ctx
fcAPI.fcStream stream

fcOggCreateContext(ref fcAPI.fcOggConfig)

Declaration
public static fcAPI.fcOggContext fcOggCreateContext(ref fcAPI.fcOggConfig conf)
Parameters
Type Name Description
fcAPI.fcOggConfig conf
Returns
Type Description
fcAPI.fcOggContext

fcOggIsSupported()

Declaration
public static Bool fcOggIsSupported()
Returns
Type Description
Bool

fcPngCreateContext(ref fcAPI.fcPngConfig)

Declaration
public static fcAPI.fcPngContext fcPngCreateContext(ref fcAPI.fcPngConfig conf)
Parameters
Type Name Description
fcAPI.fcPngConfig conf
Returns
Type Description
fcAPI.fcPngContext

fcPngExportPixels(fcAPI.fcPngContext, String, Byte[], Int32, Int32, fcAPI.fcPixelFormat, Int32)

Declaration
public static Bool fcPngExportPixels(fcAPI.fcPngContext ctx, string path, byte[] pixels, int width, int height, fcAPI.fcPixelFormat fmt, int num_channels)
Parameters
Type Name Description
fcAPI.fcPngContext ctx
System.String path
System.Byte[] pixels
System.Int32 width
System.Int32 height
fcAPI.fcPixelFormat fmt
System.Int32 num_channels
Returns
Type Description
Bool

fcPngIsSupported()

Declaration
public static Bool fcPngIsSupported()
Returns
Type Description
Bool

fcReleaseContext(IntPtr)

Declaration
public static void fcReleaseContext(IntPtr ctx)
Parameters
Type Name Description
System.IntPtr ctx

fcReleaseDeferredCall(fcAPI.fcDeferredCall)

Declaration
static void fcReleaseDeferredCall(fcAPI.fcDeferredCall dc)
Parameters
Type Name Description
fcAPI.fcDeferredCall dc

fcReleaseStream(fcAPI.fcStream)

Declaration
static void fcReleaseStream(fcAPI.fcStream s)
Parameters
Type Name Description
fcAPI.fcStream s

fcSetModulePath(String)

Declaration
public static void fcSetModulePath(string path)
Parameters
Type Name Description
System.String path

fcStreamGetWrittenSize(fcAPI.fcStream)

Declaration
public static ulong fcStreamGetWrittenSize(fcAPI.fcStream s)
Parameters
Type Name Description
fcAPI.fcStream s
Returns
Type Description
System.UInt64

fcWaitAsyncDelete()

Declaration
public static void fcWaitAsyncDelete()

fcWaveAddAudioSamples(fcAPI.fcWaveContext, Single[], Int32)

Declaration
public static Bool fcWaveAddAudioSamples(fcAPI.fcWaveContext ctx, float[] samples, int num_samples)
Parameters
Type Name Description
fcAPI.fcWaveContext ctx
System.Single[] samples
System.Int32 num_samples
Returns
Type Description
Bool

fcWaveAddOutputStream(fcAPI.fcWaveContext, fcAPI.fcStream)

Declaration
public static void fcWaveAddOutputStream(fcAPI.fcWaveContext ctx, fcAPI.fcStream stream)
Parameters
Type Name Description
fcAPI.fcWaveContext ctx
fcAPI.fcStream stream

fcWaveCreateContext(ref fcAPI.fcWaveConfig)

Declaration
public static fcAPI.fcWaveContext fcWaveCreateContext(ref fcAPI.fcWaveConfig conf)
Parameters
Type Name Description
fcAPI.fcWaveConfig conf
Returns
Type Description
fcAPI.fcWaveContext

fcWaveIsSupported()

Declaration
public static Bool fcWaveIsSupported()
Returns
Type Description
Bool

fcWebMAddAudioSamples(fcAPI.fcWebMContext, Single[], Int32)

Declaration
public static Bool fcWebMAddAudioSamples(fcAPI.fcWebMContext ctx, float[] samples, int num_samples)
Parameters
Type Name Description
fcAPI.fcWebMContext ctx
System.Single[] samples
System.Int32 num_samples
Returns
Type Description
Bool

fcWebMAddOutputStream(fcAPI.fcWebMContext, fcAPI.fcStream)

Declaration
public static void fcWebMAddOutputStream(fcAPI.fcWebMContext ctx, fcAPI.fcStream stream)
Parameters
Type Name Description
fcAPI.fcWebMContext ctx
fcAPI.fcStream stream

fcWebMAddVideoFramePixels(fcAPI.fcWebMContext, Byte[], fcAPI.fcPixelFormat, Double)

Declaration
public static Bool fcWebMAddVideoFramePixels(fcAPI.fcWebMContext ctx, byte[] pixels, fcAPI.fcPixelFormat fmt, double timestamp = -1)
Parameters
Type Name Description
fcAPI.fcWebMContext ctx
System.Byte[] pixels
fcAPI.fcPixelFormat fmt
System.Double timestamp
Returns
Type Description
Bool

fcWebMCreateContext(ref fcAPI.fcWebMConfig)

Declaration
public static fcAPI.fcWebMContext fcWebMCreateContext(ref fcAPI.fcWebMConfig conf)
Parameters
Type Name Description
fcAPI.fcWebMConfig conf
Returns
Type Description
fcAPI.fcWebMContext

fcWebMIsSupported()

Declaration
public static Bool fcWebMIsSupported()
Returns
Type Description
Bool
Back to top