PF_UtilitySuite

Struct PF_UtilitySuite 

Source
#[repr(C)]
pub struct PF_UtilitySuite {
Show 47 fields pub GetFilterInstanceID: Option<unsafe extern "C" fn(effect_ref: PF_ProgPtr, outFilterInstanceID: *mut A_long) -> PF_Err>, pub GetMediaTimecode: Option<unsafe extern "C" fn(effect_ref: PF_ProgPtr, outCurrentFrame: *mut A_long, outTimeDisplay: *mut PF_TimeDisplay) -> PF_Err>, pub GetClipSpeed: Option<unsafe extern "C" fn(effect_ref: PF_ProgPtr, speed: *mut f64) -> PF_Err>, pub GetClipDuration: Option<unsafe extern "C" fn(effect_ref: PF_ProgPtr, frameDuration: *mut A_long) -> PF_Err>, pub GetClipStart: Option<unsafe extern "C" fn(effect_ref: PF_ProgPtr, frameDuration: *mut A_long) -> PF_Err>, pub GetUnscaledClipDuration: Option<unsafe extern "C" fn(effect_ref: PF_ProgPtr, frameDuration: *mut A_long) -> PF_Err>, pub GetUnscaledClipStart: Option<unsafe extern "C" fn(effect_ref: PF_ProgPtr, frameDuration: *mut A_long) -> PF_Err>, pub GetTrackItemStart: Option<unsafe extern "C" fn(effect_ref: PF_ProgPtr, frameDuration: *mut A_long) -> PF_Err>, pub GetMediaFieldType: Option<unsafe extern "C" fn(effect_ref: PF_ProgPtr, outFieldType: *mut prFieldType) -> PF_Err>, pub GetMediaFrameRate: Option<unsafe extern "C" fn(effect_ref: PF_ProgPtr, outTicksPerFrame: *mut PrTime) -> PF_Err>, pub GetContainingTimelineID: Option<unsafe extern "C" fn(effect_ref: PF_ProgPtr, outTimelineID: *mut PrTimelineID) -> PF_Err>, pub GetClipName: Option<unsafe extern "C" fn(effect_ref: PF_ProgPtr, inGetMasterClipName: A_Boolean, outSDKString: *mut PrSDKString) -> PF_Err>, pub EffectWantsCheckedOutFramesToMatchRenderPixelFormat: Option<unsafe extern "C" fn(effect_ref: PF_ProgPtr) -> PF_Err>, pub EffectDependsOnClipName: Option<unsafe extern "C" fn(effect_ref: PF_ProgPtr, inDependsOnClipName: A_Boolean) -> PF_Err>, pub SetEffectInstanceName: Option<unsafe extern "C" fn(effect_ref: PF_ProgPtr, inSDKString: *const PrSDKString) -> PF_Err>, pub GetFileName: Option<unsafe extern "C" fn(effect_ref: PF_ProgPtr, outSDKString: *mut PrSDKString) -> PF_Err>, pub GetOriginalClipFrameRate: Option<unsafe extern "C" fn(effect_ref: PF_ProgPtr, outTicksPerFrame: *mut PrTime) -> PF_Err>, pub GetSourceTrackMediaTimecode: Option<unsafe extern "C" fn(effect_ref: PF_ProgPtr, inLayerParamIndex: csSDK_uint32, inApplyTransform: bool, inAddStartTimeOffset: bool, outCurrentFrame: *mut A_long) -> PF_Err>, pub GetSourceTrackClipName: Option<unsafe extern "C" fn(effect_ref: PF_ProgPtr, inLayerParamIndex: csSDK_uint32, inGetMasterClipName: A_Boolean, outSDKString: *mut PrSDKString) -> PF_Err>, pub GetSourceTrackFileName: Option<unsafe extern "C" fn(effect_ref: PF_ProgPtr, inLayerParamIndex: csSDK_uint32, outSDKString: *mut PrSDKString) -> PF_Err>, pub EffectDependsOnClipName2: Option<unsafe extern "C" fn(effect_ref: PF_ProgPtr, inDependsOnClipName: A_Boolean, inLayerParamIndex: csSDK_uint32) -> PF_Err>, pub GetMediaTimecode2: Option<unsafe extern "C" fn(effect_ref: PF_ProgPtr, inApplyTrim: bool, outCurrentFrame: *mut A_long, outTimeDisplay: *mut PF_TimeDisplay) -> PF_Err>, pub GetSourceTrackMediaTimecode2: Option<unsafe extern "C" fn(effect_ref: PF_ProgPtr, inLayerParamIndex: csSDK_uint32, inApplyTransform: bool, inAddStartTimeOffset: bool, inSequenceTime: PrTime, outCurrentFrame: *mut A_long) -> PF_Err>, pub GetSourceTrackClipName2: Option<unsafe extern "C" fn(effect_ref: PF_ProgPtr, inLayerParamIndex: csSDK_uint32, inGetMasterClipName: A_Boolean, outSDKString: *mut PrSDKString, inSequenceTime: PrTime) -> PF_Err>, pub GetSourceTrackFileName2: Option<unsafe extern "C" fn(effect_ref: PF_ProgPtr, inLayerParamIndex: csSDK_uint32, outSDKString: *mut PrSDKString, inSequenceTime: PrTime) -> PF_Err>, pub GetCommentString: Option<unsafe extern "C" fn(inEffectRef: PF_ProgPtr, inSourceTrack: i32, inSequenceTime: PrTime, outSDKString: *mut PrSDKString) -> PF_Err>, pub GetLogNoteString: Option<unsafe extern "C" fn(inEffectRef: PF_ProgPtr, inSourceTrack: i32, inSequenceTime: PrTime, outSDKString: *mut PrSDKString) -> PF_Err>, pub GetCameraRollString: Option<unsafe extern "C" fn(inEffectRef: PF_ProgPtr, inSourceTrack: i32, inSequenceTime: PrTime, outSDKString: *mut PrSDKString) -> PF_Err>, pub GetClientMetadataString: Option<unsafe extern "C" fn(inEffectRef: PF_ProgPtr, inSourceTrack: i32, inSequenceTime: PrTime, outSDKString: *mut PrSDKString) -> PF_Err>, pub GetDailyRollString: Option<unsafe extern "C" fn(inEffectRef: PF_ProgPtr, inSourceTrack: i32, inSequenceTime: PrTime, outSDKString: *mut PrSDKString) -> PF_Err>, pub GetDescriptionString: Option<unsafe extern "C" fn(inEffectRef: PF_ProgPtr, inSourceTrack: i32, inSequenceTime: PrTime, outSDKString: *mut PrSDKString) -> PF_Err>, pub GetLabRollString: Option<unsafe extern "C" fn(inEffectRef: PF_ProgPtr, inSourceTrack: i32, inSequenceTime: PrTime, outSDKString: *mut PrSDKString) -> PF_Err>, pub GetSceneString: Option<unsafe extern "C" fn(inEffectRef: PF_ProgPtr, inSourceTrack: i32, inSequenceTime: PrTime, outSDKString: *mut PrSDKString) -> PF_Err>, pub GetShotString: Option<unsafe extern "C" fn(inEffectRef: PF_ProgPtr, inSourceTrack: i32, inSequenceTime: PrTime, outSDKString: *mut PrSDKString) -> PF_Err>, pub GetTapeNameString: Option<unsafe extern "C" fn(inEffectRef: PF_ProgPtr, inSourceTrack: i32, inSequenceTime: PrTime, outSDKString: *mut PrSDKString) -> PF_Err>, pub GetVideoCodecString: Option<unsafe extern "C" fn(inEffectRef: PF_ProgPtr, inSourceTrack: i32, inSequenceTime: PrTime, outSDKString: *mut PrSDKString) -> PF_Err>, pub GetGoodMetadataString: Option<unsafe extern "C" fn(inEffectRef: PF_ProgPtr, inSourceTrack: i32, inSequenceTime: PrTime, outSDKString: *mut PrSDKString) -> PF_Err>, pub GetSoundRollString: Option<unsafe extern "C" fn(inEffectRef: PF_ProgPtr, inSourceTrack: i32, inSequenceTime: PrTime, outSDKString: *mut PrSDKString) -> PF_Err>, pub GetSequenceTime: Option<unsafe extern "C" fn(inEffectRef: PF_ProgPtr, outSequenceTime: *mut PrTime) -> PF_Err>, pub GetSoundTimecode: Option<unsafe extern "C" fn(inEffectRef: PF_ProgPtr, inSourceTrack: i32, inSequenceTime: PrTime, outCurrentFrame: *mut A_long) -> PF_Err>, pub GetOriginalClipFrameRateForSourceTrack: Option<unsafe extern "C" fn(inEffectRef: PF_ProgPtr, inSourceTrack: i32, outTicksPerFrame: *mut PrTime) -> PF_Err>, pub GetMediaFrameRateForSourceTrack: Option<unsafe extern "C" fn(inEffectRef: PF_ProgPtr, inSourceTrack: i32, inSequenceTime: PrTime, outTicksPerFrame: *mut PrTime) -> PF_Err>, pub GetSourceTrackMediaActualStartTime: Option<unsafe extern "C" fn(inEffectRef: PF_ProgPtr, inLayerParamIndex: csSDK_uint32, inSequenceTime: PrTime, outClipActualStartTime: *mut PrTime) -> PF_Err>, pub IsSourceTrackMediaTrimmed: Option<unsafe extern "C" fn(inEffectRef: PF_ProgPtr, inLayerParamIndex: csSDK_uint32, inSequenceTime: PrTime, outTrimApplied: *mut bool) -> PF_Err>, pub IsMediaTrimmed: Option<unsafe extern "C" fn(inEffectRef: PF_ProgPtr, inSequenceTime: PrTime, outTrimApplied: *mut bool) -> PF_Err>, pub IsTrackEmpty: Option<unsafe extern "C" fn(inEffectRef: PF_ProgPtr, inLayerParamIndex: csSDK_uint32, inSequenceTime: PrTime, outIsTrackEmpty: *mut bool) -> PF_Err>, pub IsTrackItemEffectAppliedToSynthetic: Option<unsafe extern "C" fn(inEffectRef: PF_ProgPtr, outIsTrackItemEffectAppliedToSynthetic: *mut bool) -> PF_Err>,
}

Fields§

§GetFilterInstanceID: Option<unsafe extern "C" fn(effect_ref: PF_ProgPtr, outFilterInstanceID: *mut A_long) -> PF_Err>§GetMediaTimecode: Option<unsafe extern "C" fn(effect_ref: PF_ProgPtr, outCurrentFrame: *mut A_long, outTimeDisplay: *mut PF_TimeDisplay) -> PF_Err>§GetClipSpeed: Option<unsafe extern "C" fn(effect_ref: PF_ProgPtr, speed: *mut f64) -> PF_Err>§GetClipDuration: Option<unsafe extern "C" fn(effect_ref: PF_ProgPtr, frameDuration: *mut A_long) -> PF_Err>§GetClipStart: Option<unsafe extern "C" fn(effect_ref: PF_ProgPtr, frameDuration: *mut A_long) -> PF_Err>§GetUnscaledClipDuration: Option<unsafe extern "C" fn(effect_ref: PF_ProgPtr, frameDuration: *mut A_long) -> PF_Err>§GetUnscaledClipStart: Option<unsafe extern "C" fn(effect_ref: PF_ProgPtr, frameDuration: *mut A_long) -> PF_Err>§GetTrackItemStart: Option<unsafe extern "C" fn(effect_ref: PF_ProgPtr, frameDuration: *mut A_long) -> PF_Err>§GetMediaFieldType: Option<unsafe extern "C" fn(effect_ref: PF_ProgPtr, outFieldType: *mut prFieldType) -> PF_Err>§GetMediaFrameRate: Option<unsafe extern "C" fn(effect_ref: PF_ProgPtr, outTicksPerFrame: *mut PrTime) -> PF_Err>§GetContainingTimelineID: Option<unsafe extern "C" fn(effect_ref: PF_ProgPtr, outTimelineID: *mut PrTimelineID) -> PF_Err>§GetClipName: Option<unsafe extern "C" fn(effect_ref: PF_ProgPtr, inGetMasterClipName: A_Boolean, outSDKString: *mut PrSDKString) -> PF_Err>§EffectWantsCheckedOutFramesToMatchRenderPixelFormat: Option<unsafe extern "C" fn(effect_ref: PF_ProgPtr) -> PF_Err>§EffectDependsOnClipName: Option<unsafe extern "C" fn(effect_ref: PF_ProgPtr, inDependsOnClipName: A_Boolean) -> PF_Err>§SetEffectInstanceName: Option<unsafe extern "C" fn(effect_ref: PF_ProgPtr, inSDKString: *const PrSDKString) -> PF_Err>§GetFileName: Option<unsafe extern "C" fn(effect_ref: PF_ProgPtr, outSDKString: *mut PrSDKString) -> PF_Err>§GetOriginalClipFrameRate: Option<unsafe extern "C" fn(effect_ref: PF_ProgPtr, outTicksPerFrame: *mut PrTime) -> PF_Err>§GetSourceTrackMediaTimecode: Option<unsafe extern "C" fn(effect_ref: PF_ProgPtr, inLayerParamIndex: csSDK_uint32, inApplyTransform: bool, inAddStartTimeOffset: bool, outCurrentFrame: *mut A_long) -> PF_Err>§GetSourceTrackClipName: Option<unsafe extern "C" fn(effect_ref: PF_ProgPtr, inLayerParamIndex: csSDK_uint32, inGetMasterClipName: A_Boolean, outSDKString: *mut PrSDKString) -> PF_Err>§GetSourceTrackFileName: Option<unsafe extern "C" fn(effect_ref: PF_ProgPtr, inLayerParamIndex: csSDK_uint32, outSDKString: *mut PrSDKString) -> PF_Err>§EffectDependsOnClipName2: Option<unsafe extern "C" fn(effect_ref: PF_ProgPtr, inDependsOnClipName: A_Boolean, inLayerParamIndex: csSDK_uint32) -> PF_Err>§GetMediaTimecode2: Option<unsafe extern "C" fn(effect_ref: PF_ProgPtr, inApplyTrim: bool, outCurrentFrame: *mut A_long, outTimeDisplay: *mut PF_TimeDisplay) -> PF_Err>§GetSourceTrackMediaTimecode2: Option<unsafe extern "C" fn(effect_ref: PF_ProgPtr, inLayerParamIndex: csSDK_uint32, inApplyTransform: bool, inAddStartTimeOffset: bool, inSequenceTime: PrTime, outCurrentFrame: *mut A_long) -> PF_Err>§GetSourceTrackClipName2: Option<unsafe extern "C" fn(effect_ref: PF_ProgPtr, inLayerParamIndex: csSDK_uint32, inGetMasterClipName: A_Boolean, outSDKString: *mut PrSDKString, inSequenceTime: PrTime) -> PF_Err>§GetSourceTrackFileName2: Option<unsafe extern "C" fn(effect_ref: PF_ProgPtr, inLayerParamIndex: csSDK_uint32, outSDKString: *mut PrSDKString, inSequenceTime: PrTime) -> PF_Err>§GetCommentString: Option<unsafe extern "C" fn(inEffectRef: PF_ProgPtr, inSourceTrack: i32, inSequenceTime: PrTime, outSDKString: *mut PrSDKString) -> PF_Err>§GetLogNoteString: Option<unsafe extern "C" fn(inEffectRef: PF_ProgPtr, inSourceTrack: i32, inSequenceTime: PrTime, outSDKString: *mut PrSDKString) -> PF_Err>§GetCameraRollString: Option<unsafe extern "C" fn(inEffectRef: PF_ProgPtr, inSourceTrack: i32, inSequenceTime: PrTime, outSDKString: *mut PrSDKString) -> PF_Err>§GetClientMetadataString: Option<unsafe extern "C" fn(inEffectRef: PF_ProgPtr, inSourceTrack: i32, inSequenceTime: PrTime, outSDKString: *mut PrSDKString) -> PF_Err>§GetDailyRollString: Option<unsafe extern "C" fn(inEffectRef: PF_ProgPtr, inSourceTrack: i32, inSequenceTime: PrTime, outSDKString: *mut PrSDKString) -> PF_Err>§GetDescriptionString: Option<unsafe extern "C" fn(inEffectRef: PF_ProgPtr, inSourceTrack: i32, inSequenceTime: PrTime, outSDKString: *mut PrSDKString) -> PF_Err>§GetLabRollString: Option<unsafe extern "C" fn(inEffectRef: PF_ProgPtr, inSourceTrack: i32, inSequenceTime: PrTime, outSDKString: *mut PrSDKString) -> PF_Err>§GetSceneString: Option<unsafe extern "C" fn(inEffectRef: PF_ProgPtr, inSourceTrack: i32, inSequenceTime: PrTime, outSDKString: *mut PrSDKString) -> PF_Err>§GetShotString: Option<unsafe extern "C" fn(inEffectRef: PF_ProgPtr, inSourceTrack: i32, inSequenceTime: PrTime, outSDKString: *mut PrSDKString) -> PF_Err>§GetTapeNameString: Option<unsafe extern "C" fn(inEffectRef: PF_ProgPtr, inSourceTrack: i32, inSequenceTime: PrTime, outSDKString: *mut PrSDKString) -> PF_Err>§GetVideoCodecString: Option<unsafe extern "C" fn(inEffectRef: PF_ProgPtr, inSourceTrack: i32, inSequenceTime: PrTime, outSDKString: *mut PrSDKString) -> PF_Err>§GetGoodMetadataString: Option<unsafe extern "C" fn(inEffectRef: PF_ProgPtr, inSourceTrack: i32, inSequenceTime: PrTime, outSDKString: *mut PrSDKString) -> PF_Err>§GetSoundRollString: Option<unsafe extern "C" fn(inEffectRef: PF_ProgPtr, inSourceTrack: i32, inSequenceTime: PrTime, outSDKString: *mut PrSDKString) -> PF_Err>§GetSequenceTime: Option<unsafe extern "C" fn(inEffectRef: PF_ProgPtr, outSequenceTime: *mut PrTime) -> PF_Err>§GetSoundTimecode: Option<unsafe extern "C" fn(inEffectRef: PF_ProgPtr, inSourceTrack: i32, inSequenceTime: PrTime, outCurrentFrame: *mut A_long) -> PF_Err>§GetOriginalClipFrameRateForSourceTrack: Option<unsafe extern "C" fn(inEffectRef: PF_ProgPtr, inSourceTrack: i32, outTicksPerFrame: *mut PrTime) -> PF_Err>§GetMediaFrameRateForSourceTrack: Option<unsafe extern "C" fn(inEffectRef: PF_ProgPtr, inSourceTrack: i32, inSequenceTime: PrTime, outTicksPerFrame: *mut PrTime) -> PF_Err>§GetSourceTrackMediaActualStartTime: Option<unsafe extern "C" fn(inEffectRef: PF_ProgPtr, inLayerParamIndex: csSDK_uint32, inSequenceTime: PrTime, outClipActualStartTime: *mut PrTime) -> PF_Err>§IsSourceTrackMediaTrimmed: Option<unsafe extern "C" fn(inEffectRef: PF_ProgPtr, inLayerParamIndex: csSDK_uint32, inSequenceTime: PrTime, outTrimApplied: *mut bool) -> PF_Err>§IsMediaTrimmed: Option<unsafe extern "C" fn(inEffectRef: PF_ProgPtr, inSequenceTime: PrTime, outTrimApplied: *mut bool) -> PF_Err>§IsTrackEmpty: Option<unsafe extern "C" fn(inEffectRef: PF_ProgPtr, inLayerParamIndex: csSDK_uint32, inSequenceTime: PrTime, outIsTrackEmpty: *mut bool) -> PF_Err>§IsTrackItemEffectAppliedToSynthetic: Option<unsafe extern "C" fn(inEffectRef: PF_ProgPtr, outIsTrackItemEffectAppliedToSynthetic: *mut bool) -> PF_Err>

Trait Implementations§

Source§

impl Clone for PF_UtilitySuite

Source§

fn clone(&self) -> PF_UtilitySuite

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 PF_UtilitySuite

Source§

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

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

impl Copy for PF_UtilitySuite

Auto Trait Implementations§

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.