TSRAlgorithmType Constants Reference

Declared in TSRPass.h

TSRAlgorithmType

The TSRAlgorithmType enum value representing the algorithm running mode to be used.

Definition

typedef NS_ENUM(NSInteger, TSRAlgorithmType ) {
   TSRAlgorithmTypeStandard,
   TSRAlgorithmTypeProfessional,
   TSRAlgorithmTypeProfessionalHighQuality,
   TSRAlgorithmTypeProfessionalFast,
};

Constants

TSRAlgorithmTypeStandard

The TSRAlgorithmTypeStandard mode provides fast super-resolution processing speed, suitable for scenarios with high real-time requirements. It can achieve significant image quality improvements while prioritizing performance.

Declared In TSRPass.h.

TSRAlgorithmTypeProfessional

Deprecated. Currently equivalent to TSRAlgorithmTypeProfessionalHighQuality. Only available on iOS 15.0 or newer.

Declared In TSRPass.h.

TSRAlgorithmTypeProfessionalHighQuality

The TSRAlgorithmTypeProfessionalHighQuality mode ensures high image quality while requiring higher device performance. It is suitable for scenarios with high image quality requirements and is recommended for use on mid-to-high-end smartphones. Only available on iOS 16.0 or newer.

Declared In TSRPass.h.

TSRAlgorithmTypeProfessionalFast

The TSRAlgorithmTypeProfessionalFast mode ensures faster processing speed while sacrificing some image quality. It is suitable for scenarios with high real-time requirements and is recommended for use on mid-range smartphones. Only available on iOS 15.0 or newer.

Declared In TSRPass.h.

Declared In

TSRPass.h