TSRInitStatusCode Constants Reference

Declared in TSRPass.h

TSRInitStatusCode

Enum representing various initialization errors for TSRPass.

Definition

typedef NS_ENUM(NSInteger, TSRInitStatusCode ) {
   TSRInitStatusCodeSuccess = 0,
   TSRInitStatusCodeMetalInitFailed = -10001,
   TSRInitStatusCodeSDKLicenseStatusNotAvailable = -10002,
   TSRInitStatusCodeAlgorithmTypeInvalid = -10003,
   TSRInitStatusCodeMLModelInitFailed = -10004,
   TSRInitStatusCodeInputResolutionInvalid = -10005,
};

Constants

TSRInitStatusCodeSuccess

Initialization was successful.

Declared In TSRPass.h.

TSRInitStatusCodeMetalInitFailed

Metal initialization failed, fallback to normal playback.

Declared In TSRPass.h.

TSRInitStatusCodeSDKLicenseStatusNotAvailable

SDK license verification failed or was not verified, fallback to normal playback.

Declared In TSRPass.h.

TSRInitStatusCodeAlgorithmTypeInvalid

The initialization parameter TSRAlgorithmType is invalid, fallback to normal playback.

Declared In TSRPass.h.

TSRInitStatusCodeMLModelInitFailed

Machine learning model module initialization failed, fallback to TSRAlgorithmType.STANDARD.

Declared In TSRPass.h.

TSRInitStatusCodeInputResolutionInvalid

The input resolution is invalid; it must be between 1 to 4096.

Declared In TSRPass.h.

Declared In

TSRPass.h