#[repr(transparent)]pub struct VTFrameProcessorError(pub NSInteger);VTFrameProcessorErrors and objc2 only.Expand description
VTFrameProcessor error codes.
These error codes are returned in the NSError object in the event a method fails.
Returned if the processor failed for unknown reason.
Returned if the processor failed due to an unsupported resolution.
Returned if the session is used to process frames without being started.
Returned if a startSessionWithConfiguration call is made on a session which has already been started.
Returned if a fatal error is encoutnered during processing.
Returned if processing failed and current session should be stopped.
Returned if the session failed to initialize the processing pipeline.
Returned to indicate that one or more frames is in a format which is not supproted by the processor.
Returned if the session or processor is unable to allocate required memory.
Returned if the specifed revision is not supported by the configured processor.
Returned if the processor encountered an issue preventing it from processing the provided frame.
Returned if one of the provided parameters is not valid.
Returned if one of the provided VTFrameProcessorFrame objects has a PTS which is not supported by the processor, either invalid or out-of-order.
See also Apple’s documentation
Tuple Fields§
§0: NSIntegerImplementations§
Source§impl VTFrameProcessorError
impl VTFrameProcessorError
pub const UnknownError: Self
pub const UnsupportedResolution: Self
pub const SessionNotStarted: Self
pub const SessionAlreadyActive: Self
pub const FatalError: Self
pub const SessionLevelError: Self
pub const InitializationFailed: Self
pub const UnsupportedInput: Self
pub const MemoryAllocationFailure: Self
pub const RevisionNotSupported: Self
pub const ProcessingError: Self
pub const InvalidParameterError: Self
pub const InvalidFrameTiming: Self
Trait Implementations§
Source§impl Clone for VTFrameProcessorError
impl Clone for VTFrameProcessorError
Source§fn clone(&self) -> VTFrameProcessorError
fn clone(&self) -> VTFrameProcessorError
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more