VSAPI

Struct VSAPI 

Source
#[repr(C)]
pub struct VSAPI {
Show 106 fields pub createVideoFilter: Option<unsafe extern "C" fn(out: *mut VSMap, name: *const c_char, vi: *const VSVideoInfo, getFrame: VSFilterGetFrame, free: VSFilterFree, filterMode: c_int, dependencies: *const VSFilterDependency, numDeps: c_int, instanceData: *mut c_void, core: *mut VSCore)>, pub createVideoFilter2: Option<unsafe extern "C" fn(name: *const c_char, vi: *const VSVideoInfo, getFrame: VSFilterGetFrame, free: VSFilterFree, filterMode: c_int, dependencies: *const VSFilterDependency, numDeps: c_int, instanceData: *mut c_void, core: *mut VSCore) -> *mut VSNode>, pub createAudioFilter: Option<unsafe extern "C" fn(out: *mut VSMap, name: *const c_char, ai: *const VSAudioInfo, getFrame: VSFilterGetFrame, free: VSFilterFree, filterMode: c_int, dependencies: *const VSFilterDependency, numDeps: c_int, instanceData: *mut c_void, core: *mut VSCore)>, pub createAudioFilter2: Option<unsafe extern "C" fn(name: *const c_char, ai: *const VSAudioInfo, getFrame: VSFilterGetFrame, free: VSFilterFree, filterMode: c_int, dependencies: *const VSFilterDependency, numDeps: c_int, instanceData: *mut c_void, core: *mut VSCore) -> *mut VSNode>, pub setLinearFilter: Option<unsafe extern "C" fn(node: *mut VSNode) -> c_int>, pub setCacheMode: Option<unsafe extern "C" fn(node: *mut VSNode, mode: c_int)>, pub setCacheOptions: Option<unsafe extern "C" fn(node: *mut VSNode, fixedSize: c_int, maxSize: c_int, maxHistorySize: c_int)>, pub freeNode: Option<unsafe extern "C" fn(node: *mut VSNode)>, pub addNodeRef: Option<unsafe extern "C" fn(node: *mut VSNode) -> *mut VSNode>, pub getNodeType: Option<unsafe extern "C" fn(node: *mut VSNode) -> c_int>, pub getVideoInfo: Option<unsafe extern "C" fn(node: *mut VSNode) -> *const VSVideoInfo>, pub getAudioInfo: Option<unsafe extern "C" fn(node: *mut VSNode) -> *const VSAudioInfo>, pub newVideoFrame: Option<unsafe extern "C" fn(format: *const VSVideoFormat, width: c_int, height: c_int, propSrc: *const VSFrame, core: *mut VSCore) -> *mut VSFrame>, pub newVideoFrame2: Option<unsafe extern "C" fn(format: *const VSVideoFormat, width: c_int, height: c_int, planeSrc: *mut *const VSFrame, planes: *const c_int, propSrc: *const VSFrame, core: *mut VSCore) -> *mut VSFrame>, pub newAudioFrame: Option<unsafe extern "C" fn(format: *const VSAudioFormat, numSamples: c_int, propSrc: *const VSFrame, core: *mut VSCore) -> *mut VSFrame>, pub newAudioFrame2: Option<unsafe extern "C" fn(format: *const VSAudioFormat, numSamples: c_int, channelSrc: *mut *const VSFrame, channels: *const c_int, propSrc: *const VSFrame, core: *mut VSCore) -> *mut VSFrame>, pub freeFrame: Option<unsafe extern "C" fn(f: *const VSFrame)>, pub addFrameRef: Option<unsafe extern "C" fn(f: *const VSFrame) -> *const VSFrame>, pub copyFrame: Option<unsafe extern "C" fn(f: *const VSFrame, core: *mut VSCore) -> *mut VSFrame>, pub getFramePropertiesRO: Option<unsafe extern "C" fn(f: *const VSFrame) -> *const VSMap>, pub getFramePropertiesRW: Option<unsafe extern "C" fn(f: *mut VSFrame) -> *mut VSMap>, pub getStride: Option<unsafe extern "C" fn(f: *const VSFrame, plane: c_int) -> isize>, pub getReadPtr: Option<unsafe extern "C" fn(f: *const VSFrame, plane: c_int) -> *const u8>, pub getWritePtr: Option<unsafe extern "C" fn(f: *mut VSFrame, plane: c_int) -> *mut u8>, pub getVideoFrameFormat: Option<unsafe extern "C" fn(f: *const VSFrame) -> *const VSVideoFormat>, pub getAudioFrameFormat: Option<unsafe extern "C" fn(f: *const VSFrame) -> *const VSAudioFormat>, pub getFrameType: Option<unsafe extern "C" fn(f: *const VSFrame) -> c_int>, pub getFrameWidth: Option<unsafe extern "C" fn(f: *const VSFrame, plane: c_int) -> c_int>, pub getFrameHeight: Option<unsafe extern "C" fn(f: *const VSFrame, plane: c_int) -> c_int>, pub getFrameLength: Option<unsafe extern "C" fn(f: *const VSFrame) -> c_int>, pub getVideoFormatName: Option<unsafe extern "C" fn(format: *const VSVideoFormat, buffer: *mut c_char) -> c_int>, pub getAudioFormatName: Option<unsafe extern "C" fn(format: *const VSAudioFormat, buffer: *mut c_char) -> c_int>, pub queryVideoFormat: Option<unsafe extern "C" fn(format: *mut VSVideoFormat, colorFamily: c_int, sampleType: c_int, bitsPerSample: c_int, subSamplingW: c_int, subSamplingH: c_int, core: *mut VSCore) -> c_int>, pub queryAudioFormat: Option<unsafe extern "C" fn(format: *mut VSAudioFormat, sampleType: c_int, bitsPerSample: c_int, channelLayout: u64, core: *mut VSCore) -> c_int>, pub queryVideoFormatID: Option<unsafe extern "C" fn(colorFamily: c_int, sampleType: c_int, bitsPerSample: c_int, subSamplingW: c_int, subSamplingH: c_int, core: *mut VSCore) -> u32>, pub getVideoFormatByID: Option<unsafe extern "C" fn(format: *mut VSVideoFormat, id: u32, core: *mut VSCore) -> c_int>, pub getFrame: Option<unsafe extern "C" fn(n: c_int, node: *mut VSNode, errorMsg: *mut c_char, bufSize: c_int) -> *const VSFrame>, pub getFrameAsync: Option<unsafe extern "C" fn(n: c_int, node: *mut VSNode, callback: VSFrameDoneCallback, userData: *mut c_void)>, pub getFrameFilter: Option<unsafe extern "C" fn(n: c_int, node: *mut VSNode, frameCtx: *mut VSFrameContext) -> *const VSFrame>, pub requestFrameFilter: Option<unsafe extern "C" fn(n: c_int, node: *mut VSNode, frameCtx: *mut VSFrameContext)>, pub releaseFrameEarly: Option<unsafe extern "C" fn(node: *mut VSNode, n: c_int, frameCtx: *mut VSFrameContext)>, pub cacheFrame: Option<unsafe extern "C" fn(frame: *const VSFrame, n: c_int, frameCtx: *mut VSFrameContext)>, pub setFilterError: Option<unsafe extern "C" fn(errorMessage: *const c_char, frameCtx: *mut VSFrameContext)>, pub createFunction: Option<unsafe extern "C" fn(func: VSPublicFunction, userData: *mut c_void, free: VSFreeFunctionData, core: *mut VSCore) -> *mut VSFunction>, pub freeFunction: Option<unsafe extern "C" fn(f: *mut VSFunction)>, pub addFunctionRef: Option<unsafe extern "C" fn(f: *mut VSFunction) -> *mut VSFunction>, pub callFunction: Option<unsafe extern "C" fn(func: *mut VSFunction, in_: *const VSMap, out: *mut VSMap)>, pub createMap: Option<unsafe extern "C" fn() -> *mut VSMap>, pub freeMap: Option<unsafe extern "C" fn(map: *mut VSMap)>, pub clearMap: Option<unsafe extern "C" fn(map: *mut VSMap)>, pub copyMap: Option<unsafe extern "C" fn(src: *const VSMap, dst: *mut VSMap)>, pub mapSetError: Option<unsafe extern "C" fn(map: *mut VSMap, errorMessage: *const c_char)>, pub mapGetError: Option<unsafe extern "C" fn(map: *const VSMap) -> *const c_char>, pub mapNumKeys: Option<unsafe extern "C" fn(map: *const VSMap) -> c_int>, pub mapGetKey: Option<unsafe extern "C" fn(map: *const VSMap, index: c_int) -> *const c_char>, pub mapDeleteKey: Option<unsafe extern "C" fn(map: *mut VSMap, key: *const c_char) -> c_int>, pub mapNumElements: Option<unsafe extern "C" fn(map: *const VSMap, key: *const c_char) -> c_int>, pub mapGetType: Option<unsafe extern "C" fn(map: *const VSMap, key: *const c_char) -> c_int>, pub mapSetEmpty: Option<unsafe extern "C" fn(map: *mut VSMap, key: *const c_char, type_: c_int) -> c_int>, pub mapGetInt: Option<unsafe extern "C" fn(map: *const VSMap, key: *const c_char, index: c_int, error: *mut c_int) -> i64>, pub mapGetIntSaturated: Option<unsafe extern "C" fn(map: *const VSMap, key: *const c_char, index: c_int, error: *mut c_int) -> c_int>, pub mapGetIntArray: Option<unsafe extern "C" fn(map: *const VSMap, key: *const c_char, error: *mut c_int) -> *const i64>, pub mapSetInt: Option<unsafe extern "C" fn(map: *mut VSMap, key: *const c_char, i: i64, append: c_int) -> c_int>, pub mapSetIntArray: Option<unsafe extern "C" fn(map: *mut VSMap, key: *const c_char, i: *const i64, size: c_int) -> c_int>, pub mapGetFloat: Option<unsafe extern "C" fn(map: *const VSMap, key: *const c_char, index: c_int, error: *mut c_int) -> f64>, pub mapGetFloatSaturated: Option<unsafe extern "C" fn(map: *const VSMap, key: *const c_char, index: c_int, error: *mut c_int) -> f32>, pub mapGetFloatArray: Option<unsafe extern "C" fn(map: *const VSMap, key: *const c_char, error: *mut c_int) -> *const f64>, pub mapSetFloat: Option<unsafe extern "C" fn(map: *mut VSMap, key: *const c_char, d: f64, append: c_int) -> c_int>, pub mapSetFloatArray: Option<unsafe extern "C" fn(map: *mut VSMap, key: *const c_char, d: *const f64, size: c_int) -> c_int>, pub mapGetData: Option<unsafe extern "C" fn(map: *const VSMap, key: *const c_char, index: c_int, error: *mut c_int) -> *const c_char>, pub mapGetDataSize: Option<unsafe extern "C" fn(map: *const VSMap, key: *const c_char, index: c_int, error: *mut c_int) -> c_int>, pub mapGetDataTypeHint: Option<unsafe extern "C" fn(map: *const VSMap, key: *const c_char, index: c_int, error: *mut c_int) -> c_int>, pub mapSetData: Option<unsafe extern "C" fn(map: *mut VSMap, key: *const c_char, data: *const c_char, size: c_int, type_: c_int, append: c_int) -> c_int>, pub mapGetNode: Option<unsafe extern "C" fn(map: *const VSMap, key: *const c_char, index: c_int, error: *mut c_int) -> *mut VSNode>, pub mapSetNode: Option<unsafe extern "C" fn(map: *mut VSMap, key: *const c_char, node: *mut VSNode, append: c_int) -> c_int>, pub mapConsumeNode: Option<unsafe extern "C" fn(map: *mut VSMap, key: *const c_char, node: *mut VSNode, append: c_int) -> c_int>, pub mapGetFrame: Option<unsafe extern "C" fn(map: *const VSMap, key: *const c_char, index: c_int, error: *mut c_int) -> *const VSFrame>, pub mapSetFrame: Option<unsafe extern "C" fn(map: *mut VSMap, key: *const c_char, f: *const VSFrame, append: c_int) -> c_int>, pub mapConsumeFrame: Option<unsafe extern "C" fn(map: *mut VSMap, key: *const c_char, f: *const VSFrame, append: c_int) -> c_int>, pub mapGetFunction: Option<unsafe extern "C" fn(map: *const VSMap, key: *const c_char, index: c_int, error: *mut c_int) -> *mut VSFunction>, pub mapSetFunction: Option<unsafe extern "C" fn(map: *mut VSMap, key: *const c_char, func: *mut VSFunction, append: c_int) -> c_int>, pub mapConsumeFunction: Option<unsafe extern "C" fn(map: *mut VSMap, key: *const c_char, func: *mut VSFunction, append: c_int) -> c_int>, pub registerFunction: Option<unsafe extern "C" fn(name: *const c_char, args: *const c_char, returnType: *const c_char, argsFunc: VSPublicFunction, functionData: *mut c_void, plugin: *mut VSPlugin) -> c_int>, pub getPluginByID: Option<unsafe extern "C" fn(identifier: *const c_char, core: *mut VSCore) -> *mut VSPlugin>, pub getPluginByNamespace: Option<unsafe extern "C" fn(ns: *const c_char, core: *mut VSCore) -> *mut VSPlugin>, pub getNextPlugin: Option<unsafe extern "C" fn(plugin: *mut VSPlugin, core: *mut VSCore) -> *mut VSPlugin>, pub getPluginName: Option<unsafe extern "C" fn(plugin: *mut VSPlugin) -> *const c_char>, pub getPluginID: Option<unsafe extern "C" fn(plugin: *mut VSPlugin) -> *const c_char>, pub getPluginNamespace: Option<unsafe extern "C" fn(plugin: *mut VSPlugin) -> *const c_char>, pub getNextPluginFunction: Option<unsafe extern "C" fn(func: *mut VSPluginFunction, plugin: *mut VSPlugin) -> *mut VSPluginFunction>, pub getPluginFunctionByName: Option<unsafe extern "C" fn(name: *const c_char, plugin: *mut VSPlugin) -> *mut VSPluginFunction>, pub getPluginFunctionName: Option<unsafe extern "C" fn(func: *mut VSPluginFunction) -> *const c_char>, pub getPluginFunctionArguments: Option<unsafe extern "C" fn(func: *mut VSPluginFunction) -> *const c_char>, pub getPluginFunctionReturnType: Option<unsafe extern "C" fn(func: *mut VSPluginFunction) -> *const c_char>, pub getPluginPath: Option<unsafe extern "C" fn(plugin: *const VSPlugin) -> *const c_char>, pub getPluginVersion: Option<unsafe extern "C" fn(plugin: *const VSPlugin) -> c_int>, pub invoke: Option<unsafe extern "C" fn(plugin: *mut VSPlugin, name: *const c_char, args: *const VSMap) -> *mut VSMap>, pub createCore: Option<unsafe extern "C" fn(flags: c_int) -> *mut VSCore>, pub freeCore: Option<unsafe extern "C" fn(core: *mut VSCore)>, pub setMaxCacheSize: Option<unsafe extern "C" fn(bytes: i64, core: *mut VSCore) -> i64>, pub setThreadCount: Option<unsafe extern "C" fn(threads: c_int, core: *mut VSCore) -> c_int>, pub getCoreInfo: Option<unsafe extern "C" fn(core: *mut VSCore, info: *mut VSCoreInfo)>, pub getAPIVersion: Option<unsafe extern "C" fn() -> c_int>, pub logMessage: Option<unsafe extern "C" fn(msgType: c_int, msg: *const c_char, core: *mut VSCore)>, pub addLogHandler: Option<unsafe extern "C" fn(handler: VSLogHandler, free: VSLogHandlerFree, userData: *mut c_void, core: *mut VSCore) -> *mut VSLogHandle>, pub removeLogHandler: Option<unsafe extern "C" fn(handle: *mut VSLogHandle, core: *mut VSCore) -> c_int>,
}

Fields§

§createVideoFilter: Option<unsafe extern "C" fn(out: *mut VSMap, name: *const c_char, vi: *const VSVideoInfo, getFrame: VSFilterGetFrame, free: VSFilterFree, filterMode: c_int, dependencies: *const VSFilterDependency, numDeps: c_int, instanceData: *mut c_void, core: *mut VSCore)>§createVideoFilter2: Option<unsafe extern "C" fn(name: *const c_char, vi: *const VSVideoInfo, getFrame: VSFilterGetFrame, free: VSFilterFree, filterMode: c_int, dependencies: *const VSFilterDependency, numDeps: c_int, instanceData: *mut c_void, core: *mut VSCore) -> *mut VSNode>§createAudioFilter: Option<unsafe extern "C" fn(out: *mut VSMap, name: *const c_char, ai: *const VSAudioInfo, getFrame: VSFilterGetFrame, free: VSFilterFree, filterMode: c_int, dependencies: *const VSFilterDependency, numDeps: c_int, instanceData: *mut c_void, core: *mut VSCore)>§createAudioFilter2: Option<unsafe extern "C" fn(name: *const c_char, ai: *const VSAudioInfo, getFrame: VSFilterGetFrame, free: VSFilterFree, filterMode: c_int, dependencies: *const VSFilterDependency, numDeps: c_int, instanceData: *mut c_void, core: *mut VSCore) -> *mut VSNode>§setLinearFilter: Option<unsafe extern "C" fn(node: *mut VSNode) -> c_int>§setCacheMode: Option<unsafe extern "C" fn(node: *mut VSNode, mode: c_int)>§setCacheOptions: Option<unsafe extern "C" fn(node: *mut VSNode, fixedSize: c_int, maxSize: c_int, maxHistorySize: c_int)>§freeNode: Option<unsafe extern "C" fn(node: *mut VSNode)>§addNodeRef: Option<unsafe extern "C" fn(node: *mut VSNode) -> *mut VSNode>§getNodeType: Option<unsafe extern "C" fn(node: *mut VSNode) -> c_int>§getVideoInfo: Option<unsafe extern "C" fn(node: *mut VSNode) -> *const VSVideoInfo>§getAudioInfo: Option<unsafe extern "C" fn(node: *mut VSNode) -> *const VSAudioInfo>§newVideoFrame: Option<unsafe extern "C" fn(format: *const VSVideoFormat, width: c_int, height: c_int, propSrc: *const VSFrame, core: *mut VSCore) -> *mut VSFrame>§newVideoFrame2: Option<unsafe extern "C" fn(format: *const VSVideoFormat, width: c_int, height: c_int, planeSrc: *mut *const VSFrame, planes: *const c_int, propSrc: *const VSFrame, core: *mut VSCore) -> *mut VSFrame>§newAudioFrame: Option<unsafe extern "C" fn(format: *const VSAudioFormat, numSamples: c_int, propSrc: *const VSFrame, core: *mut VSCore) -> *mut VSFrame>§newAudioFrame2: Option<unsafe extern "C" fn(format: *const VSAudioFormat, numSamples: c_int, channelSrc: *mut *const VSFrame, channels: *const c_int, propSrc: *const VSFrame, core: *mut VSCore) -> *mut VSFrame>§freeFrame: Option<unsafe extern "C" fn(f: *const VSFrame)>§addFrameRef: Option<unsafe extern "C" fn(f: *const VSFrame) -> *const VSFrame>§copyFrame: Option<unsafe extern "C" fn(f: *const VSFrame, core: *mut VSCore) -> *mut VSFrame>§getFramePropertiesRO: Option<unsafe extern "C" fn(f: *const VSFrame) -> *const VSMap>§getFramePropertiesRW: Option<unsafe extern "C" fn(f: *mut VSFrame) -> *mut VSMap>§getStride: Option<unsafe extern "C" fn(f: *const VSFrame, plane: c_int) -> isize>§getReadPtr: Option<unsafe extern "C" fn(f: *const VSFrame, plane: c_int) -> *const u8>§getWritePtr: Option<unsafe extern "C" fn(f: *mut VSFrame, plane: c_int) -> *mut u8>§getVideoFrameFormat: Option<unsafe extern "C" fn(f: *const VSFrame) -> *const VSVideoFormat>§getAudioFrameFormat: Option<unsafe extern "C" fn(f: *const VSFrame) -> *const VSAudioFormat>§getFrameType: Option<unsafe extern "C" fn(f: *const VSFrame) -> c_int>§getFrameWidth: Option<unsafe extern "C" fn(f: *const VSFrame, plane: c_int) -> c_int>§getFrameHeight: Option<unsafe extern "C" fn(f: *const VSFrame, plane: c_int) -> c_int>§getFrameLength: Option<unsafe extern "C" fn(f: *const VSFrame) -> c_int>§getVideoFormatName: Option<unsafe extern "C" fn(format: *const VSVideoFormat, buffer: *mut c_char) -> c_int>§getAudioFormatName: Option<unsafe extern "C" fn(format: *const VSAudioFormat, buffer: *mut c_char) -> c_int>§queryVideoFormat: Option<unsafe extern "C" fn(format: *mut VSVideoFormat, colorFamily: c_int, sampleType: c_int, bitsPerSample: c_int, subSamplingW: c_int, subSamplingH: c_int, core: *mut VSCore) -> c_int>§queryAudioFormat: Option<unsafe extern "C" fn(format: *mut VSAudioFormat, sampleType: c_int, bitsPerSample: c_int, channelLayout: u64, core: *mut VSCore) -> c_int>§queryVideoFormatID: Option<unsafe extern "C" fn(colorFamily: c_int, sampleType: c_int, bitsPerSample: c_int, subSamplingW: c_int, subSamplingH: c_int, core: *mut VSCore) -> u32>§getVideoFormatByID: Option<unsafe extern "C" fn(format: *mut VSVideoFormat, id: u32, core: *mut VSCore) -> c_int>§getFrame: Option<unsafe extern "C" fn(n: c_int, node: *mut VSNode, errorMsg: *mut c_char, bufSize: c_int) -> *const VSFrame>§getFrameAsync: Option<unsafe extern "C" fn(n: c_int, node: *mut VSNode, callback: VSFrameDoneCallback, userData: *mut c_void)>§getFrameFilter: Option<unsafe extern "C" fn(n: c_int, node: *mut VSNode, frameCtx: *mut VSFrameContext) -> *const VSFrame>§requestFrameFilter: Option<unsafe extern "C" fn(n: c_int, node: *mut VSNode, frameCtx: *mut VSFrameContext)>§releaseFrameEarly: Option<unsafe extern "C" fn(node: *mut VSNode, n: c_int, frameCtx: *mut VSFrameContext)>§cacheFrame: Option<unsafe extern "C" fn(frame: *const VSFrame, n: c_int, frameCtx: *mut VSFrameContext)>§setFilterError: Option<unsafe extern "C" fn(errorMessage: *const c_char, frameCtx: *mut VSFrameContext)>§createFunction: Option<unsafe extern "C" fn(func: VSPublicFunction, userData: *mut c_void, free: VSFreeFunctionData, core: *mut VSCore) -> *mut VSFunction>§freeFunction: Option<unsafe extern "C" fn(f: *mut VSFunction)>§addFunctionRef: Option<unsafe extern "C" fn(f: *mut VSFunction) -> *mut VSFunction>§callFunction: Option<unsafe extern "C" fn(func: *mut VSFunction, in_: *const VSMap, out: *mut VSMap)>§createMap: Option<unsafe extern "C" fn() -> *mut VSMap>§freeMap: Option<unsafe extern "C" fn(map: *mut VSMap)>§clearMap: Option<unsafe extern "C" fn(map: *mut VSMap)>§copyMap: Option<unsafe extern "C" fn(src: *const VSMap, dst: *mut VSMap)>§mapSetError: Option<unsafe extern "C" fn(map: *mut VSMap, errorMessage: *const c_char)>§mapGetError: Option<unsafe extern "C" fn(map: *const VSMap) -> *const c_char>§mapNumKeys: Option<unsafe extern "C" fn(map: *const VSMap) -> c_int>§mapGetKey: Option<unsafe extern "C" fn(map: *const VSMap, index: c_int) -> *const c_char>§mapDeleteKey: Option<unsafe extern "C" fn(map: *mut VSMap, key: *const c_char) -> c_int>§mapNumElements: Option<unsafe extern "C" fn(map: *const VSMap, key: *const c_char) -> c_int>§mapGetType: Option<unsafe extern "C" fn(map: *const VSMap, key: *const c_char) -> c_int>§mapSetEmpty: Option<unsafe extern "C" fn(map: *mut VSMap, key: *const c_char, type_: c_int) -> c_int>§mapGetInt: Option<unsafe extern "C" fn(map: *const VSMap, key: *const c_char, index: c_int, error: *mut c_int) -> i64>§mapGetIntSaturated: Option<unsafe extern "C" fn(map: *const VSMap, key: *const c_char, index: c_int, error: *mut c_int) -> c_int>§mapGetIntArray: Option<unsafe extern "C" fn(map: *const VSMap, key: *const c_char, error: *mut c_int) -> *const i64>§mapSetInt: Option<unsafe extern "C" fn(map: *mut VSMap, key: *const c_char, i: i64, append: c_int) -> c_int>§mapSetIntArray: Option<unsafe extern "C" fn(map: *mut VSMap, key: *const c_char, i: *const i64, size: c_int) -> c_int>§mapGetFloat: Option<unsafe extern "C" fn(map: *const VSMap, key: *const c_char, index: c_int, error: *mut c_int) -> f64>§mapGetFloatSaturated: Option<unsafe extern "C" fn(map: *const VSMap, key: *const c_char, index: c_int, error: *mut c_int) -> f32>§mapGetFloatArray: Option<unsafe extern "C" fn(map: *const VSMap, key: *const c_char, error: *mut c_int) -> *const f64>§mapSetFloat: Option<unsafe extern "C" fn(map: *mut VSMap, key: *const c_char, d: f64, append: c_int) -> c_int>§mapSetFloatArray: Option<unsafe extern "C" fn(map: *mut VSMap, key: *const c_char, d: *const f64, size: c_int) -> c_int>§mapGetData: Option<unsafe extern "C" fn(map: *const VSMap, key: *const c_char, index: c_int, error: *mut c_int) -> *const c_char>§mapGetDataSize: Option<unsafe extern "C" fn(map: *const VSMap, key: *const c_char, index: c_int, error: *mut c_int) -> c_int>§mapGetDataTypeHint: Option<unsafe extern "C" fn(map: *const VSMap, key: *const c_char, index: c_int, error: *mut c_int) -> c_int>§mapSetData: Option<unsafe extern "C" fn(map: *mut VSMap, key: *const c_char, data: *const c_char, size: c_int, type_: c_int, append: c_int) -> c_int>§mapGetNode: Option<unsafe extern "C" fn(map: *const VSMap, key: *const c_char, index: c_int, error: *mut c_int) -> *mut VSNode>§mapSetNode: Option<unsafe extern "C" fn(map: *mut VSMap, key: *const c_char, node: *mut VSNode, append: c_int) -> c_int>§mapConsumeNode: Option<unsafe extern "C" fn(map: *mut VSMap, key: *const c_char, node: *mut VSNode, append: c_int) -> c_int>§mapGetFrame: Option<unsafe extern "C" fn(map: *const VSMap, key: *const c_char, index: c_int, error: *mut c_int) -> *const VSFrame>§mapSetFrame: Option<unsafe extern "C" fn(map: *mut VSMap, key: *const c_char, f: *const VSFrame, append: c_int) -> c_int>§mapConsumeFrame: Option<unsafe extern "C" fn(map: *mut VSMap, key: *const c_char, f: *const VSFrame, append: c_int) -> c_int>§mapGetFunction: Option<unsafe extern "C" fn(map: *const VSMap, key: *const c_char, index: c_int, error: *mut c_int) -> *mut VSFunction>§mapSetFunction: Option<unsafe extern "C" fn(map: *mut VSMap, key: *const c_char, func: *mut VSFunction, append: c_int) -> c_int>§mapConsumeFunction: Option<unsafe extern "C" fn(map: *mut VSMap, key: *const c_char, func: *mut VSFunction, append: c_int) -> c_int>§registerFunction: Option<unsafe extern "C" fn(name: *const c_char, args: *const c_char, returnType: *const c_char, argsFunc: VSPublicFunction, functionData: *mut c_void, plugin: *mut VSPlugin) -> c_int>§getPluginByID: Option<unsafe extern "C" fn(identifier: *const c_char, core: *mut VSCore) -> *mut VSPlugin>§getPluginByNamespace: Option<unsafe extern "C" fn(ns: *const c_char, core: *mut VSCore) -> *mut VSPlugin>§getNextPlugin: Option<unsafe extern "C" fn(plugin: *mut VSPlugin, core: *mut VSCore) -> *mut VSPlugin>§getPluginName: Option<unsafe extern "C" fn(plugin: *mut VSPlugin) -> *const c_char>§getPluginID: Option<unsafe extern "C" fn(plugin: *mut VSPlugin) -> *const c_char>§getPluginNamespace: Option<unsafe extern "C" fn(plugin: *mut VSPlugin) -> *const c_char>§getNextPluginFunction: Option<unsafe extern "C" fn(func: *mut VSPluginFunction, plugin: *mut VSPlugin) -> *mut VSPluginFunction>§getPluginFunctionByName: Option<unsafe extern "C" fn(name: *const c_char, plugin: *mut VSPlugin) -> *mut VSPluginFunction>§getPluginFunctionName: Option<unsafe extern "C" fn(func: *mut VSPluginFunction) -> *const c_char>§getPluginFunctionArguments: Option<unsafe extern "C" fn(func: *mut VSPluginFunction) -> *const c_char>§getPluginFunctionReturnType: Option<unsafe extern "C" fn(func: *mut VSPluginFunction) -> *const c_char>§getPluginPath: Option<unsafe extern "C" fn(plugin: *const VSPlugin) -> *const c_char>§getPluginVersion: Option<unsafe extern "C" fn(plugin: *const VSPlugin) -> c_int>§invoke: Option<unsafe extern "C" fn(plugin: *mut VSPlugin, name: *const c_char, args: *const VSMap) -> *mut VSMap>§createCore: Option<unsafe extern "C" fn(flags: c_int) -> *mut VSCore>§freeCore: Option<unsafe extern "C" fn(core: *mut VSCore)>§setMaxCacheSize: Option<unsafe extern "C" fn(bytes: i64, core: *mut VSCore) -> i64>§setThreadCount: Option<unsafe extern "C" fn(threads: c_int, core: *mut VSCore) -> c_int>§getCoreInfo: Option<unsafe extern "C" fn(core: *mut VSCore, info: *mut VSCoreInfo)>§getAPIVersion: Option<unsafe extern "C" fn() -> c_int>§logMessage: Option<unsafe extern "C" fn(msgType: c_int, msg: *const c_char, core: *mut VSCore)>§addLogHandler: Option<unsafe extern "C" fn(handler: VSLogHandler, free: VSLogHandlerFree, userData: *mut c_void, core: *mut VSCore) -> *mut VSLogHandle>§removeLogHandler: Option<unsafe extern "C" fn(handle: *mut VSLogHandle, core: *mut VSCore) -> c_int>

Trait Implementations§

Source§

impl Clone for VSAPI

Source§

fn clone(&self) -> VSAPI

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for VSAPI

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for VSAPI

Source§

fn default() -> VSAPI

Returns the “default value” for a type. Read more
Source§

impl Hash for VSAPI

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl Copy for VSAPI

Auto Trait Implementations§

§

impl Freeze for VSAPI

§

impl RefUnwindSafe for VSAPI

§

impl Send for VSAPI

§

impl Sync for VSAPI

§

impl Unpin for VSAPI

§

impl UnwindSafe for VSAPI

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.