#[repr(C, packed(1))]pub struct PrSDKSequenceRenderSuite {Show 24 fields
pub MakeVideoRenderer: Option<unsafe extern "C" fn(pluginID: csSDK_uint32, outVideoRenderID: *mut csSDK_uint32, inFrameRate: PrTime) -> prSuiteError>,
pub ReleaseVideoRenderer: Option<unsafe extern "C" fn(pluginID: csSDK_uint32, inVideoRenderID: csSDK_uint32) -> prSuiteError>,
pub RenderVideoFrame: Option<unsafe extern "C" fn(inVideoRenderID: csSDK_uint32, inTime: PrTime, inRenderParams: *mut SequenceRender_ParamsRec, inCacheFlags: PrRenderCacheType, getFrameReturn: *mut SequenceRender_GetFrameReturnRec) -> prSuiteError>,
pub QueueAsyncVideoFrameRender: Option<unsafe extern "C" fn(inVideoRenderID: csSDK_uint32, inTime: PrTime, outRequestID: *mut csSDK_uint32, inRenderParams: *mut SequenceRender_ParamsRec, inCacheFlags: PrRenderCacheType, inAsyncCompletionData: *mut c_void) -> prSuiteError>,
pub SetAsyncRenderCompletionProc: Option<unsafe extern "C" fn(inVideoRenderID: csSDK_uint32, asyncGetFrameCallback: PrSDKSequenceAsyncRenderCompletionProc, callbackRef: *mut c_void) -> prSuiteError>,
pub GetFrameInfo: Option<unsafe extern "C" fn(inVideoRenderID: csSDK_uint32, inTime: PrTime, outFrameInfo: *mut SequenceRender_FrameInfoRec) -> prSuiteError>,
pub PrefetchMedia: Option<unsafe extern "C" fn(inVideoRenderID: csSDK_uint32, inFrame: PrTime) -> prSuiteError>,
pub PrefetchMediaWithRenderParameters: Option<unsafe extern "C" fn(inVideoRenderID: csSDK_uint32, inTime: PrTime, inRenderParams: *mut SequenceRender_ParamsRec) -> prSuiteError>,
pub CancelAllOutstandingMediaPrefetches: Option<unsafe extern "C" fn(inVideoRenderID: csSDK_uint32) -> prSuiteError>,
pub IsPrefetchedMediaReady: Option<unsafe extern "C" fn(inVideoRenderID: csSDK_uint32, inTime: PrTime, outMediaReady: *mut prBool) -> prSuiteError>,
pub MakeVideoRendererForTimeline: Option<unsafe extern "C" fn(inTimeline: PrTimelineID, outVideoRendererID: *mut csSDK_uint32) -> prSuiteError>,
pub MakeVideoRendererForTimelineWithFrameRate: Option<unsafe extern "C" fn(inTimeline: PrTimelineID, inFrameRate: PrTime, outVideoRendererID: *mut csSDK_uint32) -> prSuiteError>,
pub ReleaseVideoRendererForTimeline: Option<unsafe extern "C" fn(inVideoRendererID: csSDK_uint32) -> prSuiteError>,
pub RenderVideoFrameAndConformToPixelFormat: Option<unsafe extern "C" fn(inVideoRenderID: csSDK_uint32, inTime: PrTime, inRenderParams: *mut SequenceRender_ParamsRec, inCacheFlags: PrRenderCacheType, inConformToFormat: PrPixelFormat, getFrameReturn: *mut SequenceRender_GetFrameReturnRec) -> prSuiteError>,
pub MakeVideoRendererForTimelineWithStreamLabel: Option<unsafe extern "C" fn(inTimeline: PrTimelineID, inStreamLabel: PrSDKStreamLabel, outVideoRendererID: *mut csSDK_uint32) -> prSuiteError>,
pub RenderColorManagedVideoFrame: Option<unsafe extern "C" fn(inVideoRenderID: csSDK_uint32, inTime: PrTime, inRenderParamsExt: *mut SequenceRender_ParamsRecExt, inCacheFlags: PrRenderCacheType, getFrameReturn: *mut SequenceRender_GetFrameReturnRec) -> prSuiteError>,
pub QueueAsyncColorManagedVideoFrameRender: Option<unsafe extern "C" fn(inVideoRenderID: csSDK_uint32, inTime: PrTime, outRequestID: *mut csSDK_uint32, inRenderParamsExt: *mut SequenceRender_ParamsRecExt, inCacheFlags: PrRenderCacheType, inAsyncCompletionData: *mut c_void) -> prSuiteError>,
pub PrefetchColorManagedMedia: Option<unsafe extern "C" fn(inVideoRenderID: csSDK_uint32, inFrame: PrTime, inPrSDKColorSpaceID: PrSDKColorSpaceID) -> prSuiteError>,
pub PrefetchColorManagedMediaWithRenderParameters: Option<unsafe extern "C" fn(inVideoRenderID: csSDK_uint32, inTime: PrTime, inRenderParamsExt: *mut SequenceRender_ParamsRecExt) -> prSuiteError>,
pub RenderColorManagedVideoFrameAndConformToPixelFormat: Option<unsafe extern "C" fn(inVideoRenderID: csSDK_uint32, inTime: PrTime, inRenderParamsExt: *mut SequenceRender_ParamsRecExt, inCacheFlags: PrRenderCacheType, inConformToFormat: PrPixelFormat, getFrameReturn: *mut SequenceRender_GetFrameReturnRec) -> prSuiteError>,
pub RenderColorManagedVideoFrame2: Option<unsafe extern "C" fn(inVideoRenderID: csSDK_uint32, inTime: PrTime, inRenderParamsExt2: *mut SequenceRender_ParamsRecExt2, inCacheFlags: PrRenderCacheType, outGetFrameReturn: *mut SequenceRender_GetFrameReturnRec) -> prSuiteError>,
pub QueueAsyncColorManagedVideoFrameRender2: Option<unsafe extern "C" fn(inVideoRenderID: csSDK_uint32, inTime: PrTime, outRequestID: *mut csSDK_uint32, inRenderParamsExt2: *mut SequenceRender_ParamsRecExt2, inCacheFlags: PrRenderCacheType, inAsyncCompletionData: *mut c_void) -> prSuiteError>,
pub PrefetchColorManagedMediaWithRenderParameters2: Option<unsafe extern "C" fn(inVideoRenderID: csSDK_uint32, inTime: PrTime, inRenderParamsExt2: *mut SequenceRender_ParamsRecExt2) -> prSuiteError>,
pub RenderColorManagedVideoFrameAndConformToPixelFormat2: Option<unsafe extern "C" fn(inVideoRenderID: csSDK_uint32, inTime: PrTime, inRenderParamsExt2: *mut SequenceRender_ParamsRecExt2, inCacheFlags: PrRenderCacheType, inConformToFormat: PrPixelFormat, outGetFrameReturn: *mut SequenceRender_GetFrameReturnRec) -> prSuiteError>,
}Fields§
§MakeVideoRenderer: Option<unsafe extern "C" fn(pluginID: csSDK_uint32, outVideoRenderID: *mut csSDK_uint32, inFrameRate: PrTime) -> prSuiteError>§ReleaseVideoRenderer: Option<unsafe extern "C" fn(pluginID: csSDK_uint32, inVideoRenderID: csSDK_uint32) -> prSuiteError>§RenderVideoFrame: Option<unsafe extern "C" fn(inVideoRenderID: csSDK_uint32, inTime: PrTime, inRenderParams: *mut SequenceRender_ParamsRec, inCacheFlags: PrRenderCacheType, getFrameReturn: *mut SequenceRender_GetFrameReturnRec) -> prSuiteError>§QueueAsyncVideoFrameRender: Option<unsafe extern "C" fn(inVideoRenderID: csSDK_uint32, inTime: PrTime, outRequestID: *mut csSDK_uint32, inRenderParams: *mut SequenceRender_ParamsRec, inCacheFlags: PrRenderCacheType, inAsyncCompletionData: *mut c_void) -> prSuiteError>§SetAsyncRenderCompletionProc: Option<unsafe extern "C" fn(inVideoRenderID: csSDK_uint32, asyncGetFrameCallback: PrSDKSequenceAsyncRenderCompletionProc, callbackRef: *mut c_void) -> prSuiteError>§GetFrameInfo: Option<unsafe extern "C" fn(inVideoRenderID: csSDK_uint32, inTime: PrTime, outFrameInfo: *mut SequenceRender_FrameInfoRec) -> prSuiteError>§PrefetchMedia: Option<unsafe extern "C" fn(inVideoRenderID: csSDK_uint32, inFrame: PrTime) -> prSuiteError>Pre-fetches the media needed to render this frame. This is a hint to the importers to begin reading media needed to render this video frame.
@param inFrame The video frame number.
PrefetchMediaWithRenderParameters: Option<unsafe extern "C" fn(inVideoRenderID: csSDK_uint32, inTime: PrTime, inRenderParams: *mut SequenceRender_ParamsRec) -> prSuiteError>Pre-fetches the media needed to render this frame, using all of the parameters used to render the frame. This is a hint to the importers to begin reading media needed to render this video frame.
@param inFrameTime The time of the video frame number.
@param inRequestedPixelFormatArray An array of PrPixelFormats that list your format preferences in order. This list must end with PrPixelFormat_BGRA_4444_8u. @param inRequestedPixelFormatArrayCount Number of formats in the format array @param inFrameRect Video frame size @param inPixelAspectRatioNumerator The numerator for the pixel aspect ratio. @param inPixelAspectRatioDenominator The denominator for the pixel aspect ratio. @param inRenderQuality The render quality of this frame.
CancelAllOutstandingMediaPrefetches: Option<unsafe extern "C" fn(inVideoRenderID: csSDK_uint32) -> prSuiteError>This will cancel all media pre-fetches that are still outstanding.
IsPrefetchedMediaReady: Option<unsafe extern "C" fn(inVideoRenderID: csSDK_uint32, inTime: PrTime, outMediaReady: *mut prBool) -> prSuiteError>Is all the prefetched media ready?
MakeVideoRendererForTimeline: Option<unsafe extern "C" fn(inTimeline: PrTimelineID, outVideoRendererID: *mut csSDK_uint32) -> prSuiteError>§MakeVideoRendererForTimelineWithFrameRate: Option<unsafe extern "C" fn(inTimeline: PrTimelineID, inFrameRate: PrTime, outVideoRendererID: *mut csSDK_uint32) -> prSuiteError>§ReleaseVideoRendererForTimeline: Option<unsafe extern "C" fn(inVideoRendererID: csSDK_uint32) -> prSuiteError>§RenderVideoFrameAndConformToPixelFormat: Option<unsafe extern "C" fn(inVideoRenderID: csSDK_uint32, inTime: PrTime, inRenderParams: *mut SequenceRender_ParamsRec, inCacheFlags: PrRenderCacheType, inConformToFormat: PrPixelFormat, getFrameReturn: *mut SequenceRender_GetFrameReturnRec) -> prSuiteError>§MakeVideoRendererForTimelineWithStreamLabel: Option<unsafe extern "C" fn(inTimeline: PrTimelineID, inStreamLabel: PrSDKStreamLabel, outVideoRendererID: *mut csSDK_uint32) -> prSuiteError>§RenderColorManagedVideoFrame: Option<unsafe extern "C" fn(inVideoRenderID: csSDK_uint32, inTime: PrTime, inRenderParamsExt: *mut SequenceRender_ParamsRecExt, inCacheFlags: PrRenderCacheType, getFrameReturn: *mut SequenceRender_GetFrameReturnRec) -> prSuiteError>§QueueAsyncColorManagedVideoFrameRender: Option<unsafe extern "C" fn(inVideoRenderID: csSDK_uint32, inTime: PrTime, outRequestID: *mut csSDK_uint32, inRenderParamsExt: *mut SequenceRender_ParamsRecExt, inCacheFlags: PrRenderCacheType, inAsyncCompletionData: *mut c_void) -> prSuiteError>§PrefetchColorManagedMedia: Option<unsafe extern "C" fn(inVideoRenderID: csSDK_uint32, inFrame: PrTime, inPrSDKColorSpaceID: PrSDKColorSpaceID) -> prSuiteError>§PrefetchColorManagedMediaWithRenderParameters: Option<unsafe extern "C" fn(inVideoRenderID: csSDK_uint32, inTime: PrTime, inRenderParamsExt: *mut SequenceRender_ParamsRecExt) -> prSuiteError>§RenderColorManagedVideoFrameAndConformToPixelFormat: Option<unsafe extern "C" fn(inVideoRenderID: csSDK_uint32, inTime: PrTime, inRenderParamsExt: *mut SequenceRender_ParamsRecExt, inCacheFlags: PrRenderCacheType, inConformToFormat: PrPixelFormat, getFrameReturn: *mut SequenceRender_GetFrameReturnRec) -> prSuiteError>§RenderColorManagedVideoFrame2: Option<unsafe extern "C" fn(inVideoRenderID: csSDK_uint32, inTime: PrTime, inRenderParamsExt2: *mut SequenceRender_ParamsRecExt2, inCacheFlags: PrRenderCacheType, outGetFrameReturn: *mut SequenceRender_GetFrameReturnRec) -> prSuiteError>§QueueAsyncColorManagedVideoFrameRender2: Option<unsafe extern "C" fn(inVideoRenderID: csSDK_uint32, inTime: PrTime, outRequestID: *mut csSDK_uint32, inRenderParamsExt2: *mut SequenceRender_ParamsRecExt2, inCacheFlags: PrRenderCacheType, inAsyncCompletionData: *mut c_void) -> prSuiteError>§PrefetchColorManagedMediaWithRenderParameters2: Option<unsafe extern "C" fn(inVideoRenderID: csSDK_uint32, inTime: PrTime, inRenderParamsExt2: *mut SequenceRender_ParamsRecExt2) -> prSuiteError>§RenderColorManagedVideoFrameAndConformToPixelFormat2: Option<unsafe extern "C" fn(inVideoRenderID: csSDK_uint32, inTime: PrTime, inRenderParamsExt2: *mut SequenceRender_ParamsRecExt2, inCacheFlags: PrRenderCacheType, inConformToFormat: PrPixelFormat, outGetFrameReturn: *mut SequenceRender_GetFrameReturnRec) -> prSuiteError>Trait Implementations§
Source§impl Clone for PrSDKSequenceRenderSuite
impl Clone for PrSDKSequenceRenderSuite
Source§fn clone(&self) -> PrSDKSequenceRenderSuite
fn clone(&self) -> PrSDKSequenceRenderSuite
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more