Struct PrSDKSequenceInfoSuite

Source
#[repr(C, packed(1))]
pub struct PrSDKSequenceInfoSuite { pub GetFrameRect: Option<unsafe extern "C" fn(inTimelineID: PrTimelineID, outFrameRect: *mut prRect) -> prSuiteError>, pub GetPixelAspectRatio: Option<unsafe extern "C" fn(inTimelineID: PrTimelineID, outNumerator: *mut csSDK_uint32, outDenominator: *mut csSDK_uint32) -> prSuiteError>, pub GetFrameRate: Option<unsafe extern "C" fn(inTimelineID: PrTimelineID, outTicksPerFrame: *mut PrTime) -> prSuiteError>, pub GetFieldType: Option<unsafe extern "C" fn(inTimelineID: PrTimelineID, outFieldType: *mut prFieldType) -> prSuiteError>, pub GetZeroPoint: Option<unsafe extern "C" fn(inTimelineID: PrTimelineID, outTime: *mut PrTime) -> prSuiteError>, pub GetTimecodeDropFrame: Option<unsafe extern "C" fn(inTimelineID: PrTimelineID, outDropFrame: *mut prBool) -> prSuiteError>, pub GetProxyFlag: Option<unsafe extern "C" fn(inTimelineID: PrTimelineID, outDropFrame: *mut prBool) -> prSuiteError>, pub GetImmersiveVideoVRConfiguration: Option<unsafe extern "C" fn(inTimelineID: PrTimelineID, outProjectionType: *mut PrIVProjectionType, outFrameLayout: *mut PrIVFrameLayout, outHorizontalCapturedView: *mut csSDK_uint32, outVerticalCapturedView: *mut csSDK_uint32) -> prSuiteError>, pub GetWorkingColorSpace: Option<unsafe extern "C" fn(inTimelineID: PrTimelineID, outPrWorkingColorSpaceID: *mut PrSDKColorSpaceID) -> prSuiteError>, pub GetGraphicsWhiteLuminance: Option<unsafe extern "C" fn(inTimelineID: PrTimelineID, outGraphicsWhiteLuminance: *mut csSDK_uint32) -> prSuiteError>, }

Fields§

§GetFrameRect: Option<unsafe extern "C" fn(inTimelineID: PrTimelineID, outFrameRect: *mut prRect) -> prSuiteError>

Get the video frame size of the sequence.

@param inTimelineID the timeline instance data @param outFrameRect on return, the size of the sequence video frame.

§GetPixelAspectRatio: Option<unsafe extern "C" fn(inTimelineID: PrTimelineID, outNumerator: *mut csSDK_uint32, outDenominator: *mut csSDK_uint32) -> prSuiteError>

Get the aspect ratio of the sequence.

@param inTimelineID the timeline instance data @param outNumerator on return, the aspect ratio numerator. @param outDenominator on return, the aspect ratio denominator.

§GetFrameRate: Option<unsafe extern "C" fn(inTimelineID: PrTimelineID, outTicksPerFrame: *mut PrTime) -> prSuiteError>

Get the framerate of the sequence.

@param inTimelineID the timeline instance data @param outTicksPerFrame the framerate in ticks.

§GetFieldType: Option<unsafe extern "C" fn(inTimelineID: PrTimelineID, outFieldType: *mut prFieldType) -> prSuiteError>

Get the field type of the sequence.

@param inTimelineID the timeline instance data @param outFieldType the field type.

§GetZeroPoint: Option<unsafe extern "C" fn(inTimelineID: PrTimelineID, outTime: *mut PrTime) -> prSuiteError>

Get the zero point of the sequence.

@param inTimelineID the timeline instance data @param outTicksPerFrame start time of the sequence.

§GetTimecodeDropFrame: Option<unsafe extern "C" fn(inTimelineID: PrTimelineID, outDropFrame: *mut prBool) -> prSuiteError>

Returns if the sequence timecode is drop or non drop.

@param inTimelineID the timeline instance data @param outDropFrame if the sequence timecode is dropframe

§GetProxyFlag: Option<unsafe extern "C" fn(inTimelineID: PrTimelineID, outDropFrame: *mut prBool) -> prSuiteError>

Returns if the sequence has the proxy flag set.

@param inTimelineID the timeline instance data @param outProxyFlag if the sequence is in proxy mode

§GetImmersiveVideoVRConfiguration: Option<unsafe extern "C" fn(inTimelineID: PrTimelineID, outProjectionType: *mut PrIVProjectionType, outFrameLayout: *mut PrIVFrameLayout, outHorizontalCapturedView: *mut csSDK_uint32, outVerticalCapturedView: *mut csSDK_uint32) -> prSuiteError>

Returns the VR Video settings of the specified sequence.

@param inTimelineID The timeline instance data. @param outProjectionType The type of projection the specified sequence is using. @param outFrameLayout The type of frame layout the specified sequence is using. @param outHorizontalCapturedView How many degrees of horizontal view is captured in the video stream (up to 360). @param outVerticalCapturedView How many degrees of vertical view is captured in the video stream (up to 180).

§GetWorkingColorSpace: Option<unsafe extern "C" fn(inTimelineID: PrTimelineID, outPrWorkingColorSpaceID: *mut PrSDKColorSpaceID) -> prSuiteError>

Returns the identifier of the sequence working color space

@param inTimelineID The timeline instance data. @param outPrWorkingColorSpaceID PrSDKColorSpaceID with working color space identifier

§GetGraphicsWhiteLuminance: Option<unsafe extern "C" fn(inTimelineID: PrTimelineID, outGraphicsWhiteLuminance: *mut csSDK_uint32) -> prSuiteError>

Get the HDR graphics white luminance value of the sequence in nits.

@param inTimelineID the timeline instance data @param outGraphicsWhiteLuminance on return, HDR graphics white luminance value of the sequence in nits.

Trait Implementations§

Source§

impl Clone for PrSDKSequenceInfoSuite

Source§

fn clone(&self) -> PrSDKSequenceInfoSuite

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 PrSDKSequenceInfoSuite

Source§

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

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

impl Copy for PrSDKSequenceInfoSuite

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.