# File DlEnums.h

↰ [Parent directory](https://docs.qualcomm.com/doc/80-63442-10/topic/c_api-rst_dir_DlSystem.html#dir-dlsystem) (`DlSystem`)

Contents

- [Definition (`DlSystem/DlEnums.h`)](https://docs.qualcomm.com/doc/80-63442-10/topic/c_api-rst_file_DlSystem_DlEnums_h.html#definition-dlsystem-dlenums-h)
- [Includes](https://docs.qualcomm.com/doc/80-63442-10/topic/c_api-rst_file_DlSystem_DlEnums_h.html#includes)
- [Included By](https://docs.qualcomm.com/doc/80-63442-10/topic/c_api-rst_file_DlSystem_DlEnums_h.html#included-by)
- [Enums](https://docs.qualcomm.com/doc/80-63442-10/topic/c_api-rst_file_DlSystem_DlEnums_h.html#enums)
- [Typedefs](https://docs.qualcomm.com/doc/80-63442-10/topic/c_api-rst_file_DlSystem_DlEnums_h.html#typedefs)
- [Full File Listing](https://docs.qualcomm.com/doc/80-63442-10/topic/c_api-rst_file_DlSystem_DlEnums_h.html#full-file-listing)

## Definition (`DlSystem/DlEnums.h`)

## Includes

- `DlSystem/SnpeApiExportDefine.h` ([File SnpeApiExportDefine.h](https://docs.qualcomm.com/doc/80-63442-10/topic/c_api-rst_file_DlSystem_SnpeApiExportDefine_h.html#file-dlsystem-snpeapiexportdefine-h))
- `stdint.h`

## Included By

- [File IOBufferDataTypeMap.h](https://docs.qualcomm.com/doc/80-63442-10/topic/c_api-rst_file_DlSystem_IOBufferDataTypeMap_h.html#file-dlsystem-iobufferdatatypemap-h)
- [File PlatformConfig.h](https://docs.qualcomm.com/doc/80-63442-10/topic/c_api-rst_file_DlSystem_PlatformConfig_h.html#file-dlsystem-platformconfig-h)
- [File RuntimeList.h](https://docs.qualcomm.com/doc/80-63442-10/topic/c_api-rst_file_DlSystem_RuntimeList_h.html#file-dlsystem-runtimelist-h)
- [File SNPEPerfProfile.h](https://docs.qualcomm.com/doc/80-63442-10/topic/c_api-rst_file_DlSystem_SNPEPerfProfile_h.html#file-dlsystem-snpeperfprofile-h)
- [File PlatformValidator.h](https://docs.qualcomm.com/doc/80-63442-10/topic/c_api-rst_file_PlatformValidator_PlatformValidator_h.html#file-platformvalidator-platformvalidator-h)
- [File RuntimeConfigList.h](https://docs.qualcomm.com/doc/80-63442-10/topic/c_api-rst_file_SNPE_RuntimeConfigList_h.html#file-snpe-runtimeconfiglist-h)
- [File SNPE.h](https://docs.qualcomm.com/doc/80-63442-10/topic/c_api-rst_file_SNPE_SNPE_h.html#file-snpe-snpe-h)
- [File SNPEBuilder.h](https://docs.qualcomm.com/doc/80-63442-10/topic/c_api-rst_file_SNPE_SNPEBuilder_h.html#file-snpe-snpebuilder-h)
- [File SNPEUtil.h](https://docs.qualcomm.com/doc/80-63442-10/topic/c_api-rst_file_SNPE_SNPEUtil_h.html#file-snpe-snpeutil-h)

## Enums

- [Enum Snpe\_CacheCompatibility\_t](https://docs.qualcomm.com/doc/80-63442-10/topic/enum_DlEnums_8h_1a13ae607b488079df75f899a0cbabe0dd.html#exhale-enum-dlenums-8h-1a13ae607b488079df75f899a0cbabe0dd)
- [Enum Snpe\_DspHmx\_ClkPerfMode\_t](https://docs.qualcomm.com/doc/80-63442-10/topic/enum_DlEnums_8h_1a12fed3911876384ecf88dbfa58f424d4.html#exhale-enum-dlenums-8h-1a12fed3911876384ecf88dbfa58f424d4)
- [Enum Snpe\_DspHmx\_ExpVoltageCorner\_t](https://docs.qualcomm.com/doc/80-63442-10/topic/enum_DlEnums_8h_1a42fd6cb39c0786f5c312faa36a3a4bf1.html#exhale-enum-dlenums-8h-1a42fd6cb39c0786f5c312faa36a3a4bf1)
- [Enum Snpe\_DspPerf\_PowerMode\_t](https://docs.qualcomm.com/doc/80-63442-10/topic/enum_DlEnums_8h_1a82b6ce404384a720c2cf00e4f63e6090.html#exhale-enum-dlenums-8h-1a82b6ce404384a720c2cf00e4f63e6090)
- [Enum Snpe\_DspPerf\_VoltageCorner\_t](https://docs.qualcomm.com/doc/80-63442-10/topic/enum_DlEnums_8h_1a72e511266d1a6e4a91b92385ecf1c1cc.html#exhale-enum-dlenums-8h-1a72e511266d1a6e4a91b92385ecf1c1cc)
- [Enum Snpe\_ExecutionPriorityHint\_t](https://docs.qualcomm.com/doc/80-63442-10/topic/enum_DlEnums_8h_1a5cdef49ab6a3d845d5da0089bda28fce.html#exhale-enum-dlenums-8h-1a5cdef49ab6a3d845d5da0089bda28fce)
- [Enum Snpe\_ImageEncoding\_t](https://docs.qualcomm.com/doc/80-63442-10/topic/enum_DlEnums_8h_1a7be6c70ddf7eb36043a75789554da047.html#exhale-enum-dlenums-8h-1a7be6c70ddf7eb36043a75789554da047)
- [Enum Snpe\_IOBufferDataType\_t](https://docs.qualcomm.com/doc/80-63442-10/topic/enum_DlEnums_8h_1acf0d8cb125f583245b27d62ae299f0a9.html#exhale-enum-dlenums-8h-1acf0d8cb125f583245b27d62ae299f0a9)
- [Enum Snpe\_LogLevel\_t](https://docs.qualcomm.com/doc/80-63442-10/topic/enum_DlEnums_8h_1a4f988c3d3afbaf6e886d9d853e9ea651.html#exhale-enum-dlenums-8h-1a4f988c3d3afbaf6e886d9d853e9ea651)
- [Enum Snpe\_PerformanceProfile\_t](https://docs.qualcomm.com/doc/80-63442-10/topic/enum_DlEnums_8h_1a2bbf863c52b6010323663938721ed29a.html#exhale-enum-dlenums-8h-1a2bbf863c52b6010323663938721ed29a)
- [Enum Snpe\_ProfilingLevel\_t](https://docs.qualcomm.com/doc/80-63442-10/topic/enum_DlEnums_8h_1a56dcaf62bd867a86649e4cab49a4aadd.html#exhale-enum-dlenums-8h-1a56dcaf62bd867a86649e4cab49a4aadd)
- [Enum Snpe\_Runtime\_t](https://docs.qualcomm.com/doc/80-63442-10/topic/enum_DlEnums_8h_1a851ce6c63b2bd5515681a906330f7d01.html#exhale-enum-dlenums-8h-1a851ce6c63b2bd5515681a906330f7d01)
- [Enum Snpe\_RuntimeCheckOption\_t](https://docs.qualcomm.com/doc/80-63442-10/topic/enum_DlEnums_8h_1acdec3885743492063797091205a08274.html#exhale-enum-dlenums-8h-1acdec3885743492063797091205a08274)

## Typedefs

- [Typedef Snpe\_DdrPerfModeEnabled\_t](https://docs.qualcomm.com/doc/80-63442-10/topic/typedef_DlEnums_8h_1a12281c1d4744eb6583d53c4f8778cb60.html#exhale-typedef-dlenums-8h-1a12281c1d4744eb6583d53c4f8778cb60)
- [Typedef Snpe\_DspPerf\_AdaptivePollingTime\_t](https://docs.qualcomm.com/doc/80-63442-10/topic/typedef_DlEnums_8h_1ab8f543a0c44ac65c9ab312255aa6b47f.html#exhale-typedef-dlenums-8h-1ab8f543a0c44ac65c9ab312255aa6b47f)
- [Typedef Snpe\_DspPerf\_AsyncVoteEnable\_t](https://docs.qualcomm.com/doc/80-63442-10/topic/typedef_DlEnums_8h_1a17349ca5cbea5ea47d4ed514ec6d5f6b.html#exhale-typedef-dlenums-8h-1a17349ca5cbea5ea47d4ed514ec6d5f6b)
- [Typedef Snpe\_DspPerf\_DcvsEnable\_t](https://docs.qualcomm.com/doc/80-63442-10/topic/typedef_DlEnums_8h_1a4d967475b8609737a33226da926aa1ee.html#exhale-typedef-dlenums-8h-1a4d967475b8609737a33226da926aa1ee)
- [Typedef Snpe\_DspPerf\_HmxTimeoutIntervalUs\_t](https://docs.qualcomm.com/doc/80-63442-10/topic/typedef_DlEnums_8h_1a99420503f5d886f57182775c839cca96.html#exhale-typedef-dlenums-8h-1a99420503f5d886f57182775c839cca96)
- [Typedef Snpe\_DspPerf\_HysteresisTime\_t](https://docs.qualcomm.com/doc/80-63442-10/topic/typedef_DlEnums_8h_1ae05ad1095272360c012d2e578a5aae76.html#exhale-typedef-dlenums-8h-1ae05ad1095272360c012d2e578a5aae76)
- [Typedef Snpe\_DspPerf\_RpcPollingTime\_t](https://docs.qualcomm.com/doc/80-63442-10/topic/typedef_DlEnums_8h_1abe23fdcd0efa53b12f2eca5178db59ec.html#exhale-typedef-dlenums-8h-1abe23fdcd0efa53b12f2eca5178db59ec)
- [Typedef Snpe\_DspPerf\_SleepDisable\_t](https://docs.qualcomm.com/doc/80-63442-10/topic/typedef_DlEnums_8h_1a5413631d5d4c42d8a81431fd292ab371.html#exhale-typedef-dlenums-8h-1a5413631d5d4c42d8a81431fd292ab371)
- [Typedef Snpe\_DspPerf\_SleepLatency\_t](https://docs.qualcomm.com/doc/80-63442-10/topic/typedef_DlEnums_8h_1a9ddef5e00f6662cbbdf1979fee9e6d09.html#exhale-typedef-dlenums-8h-1a9ddef5e00f6662cbbdf1979fee9e6d09)
- [Typedef Snpe\_FastInitModeEnabled\_t](https://docs.qualcomm.com/doc/80-63442-10/topic/typedef_DlEnums_8h_1abb0181961aa3352a33ea270249989e69.html#exhale-typedef-dlenums-8h-1abb0181961aa3352a33ea270249989e69)
- [Typedef Snpe\_HighPerformanceModeEnabled\_t](https://docs.qualcomm.com/doc/80-63442-10/topic/typedef_DlEnums_8h_1a9361cc4761b636681654444d5a7e211b.html#exhale-typedef-dlenums-8h-1a9361cc4761b636681654444d5a7e211b)

## Full File Listing

Typedefs

- typedef bool Snpe\_DspPerf\_DcvsEnable\_t

    - 

- typedef uint32\_t Snpe\_DspPerf\_SleepLatency\_t

    - 

- typedef uint32\_t Snpe\_DspPerf\_SleepDisable\_t

    - 

- typedef uint32\_t Snpe\_DspPerf\_RpcPollingTime\_t

    - 

- typedef uint32\_t Snpe\_DspPerf\_AdaptivePollingTime\_t

    - 

- typedef uint32\_t Snpe\_DspPerf\_HmxTimeoutIntervalUs\_t

    - 

- typedef uint32\_t Snpe\_DspPerf\_HysteresisTime\_t

    - 

- typedef bool Snpe\_DspPerf\_AsyncVoteEnable\_t

    - 

- typedef bool Snpe\_HighPerformanceModeEnabled\_t

    - 

- typedef bool Snpe\_FastInitModeEnabled\_t

    - 

- typedef uint32\_t Snpe\_DdrPerfModeEnabled\_t

    -

Enums

- enum Snpe\_Runtime\_t

    - Enumeration of supported target runtimes.

*Values:*

- enumerator SNPE\_RUNTIME\_UNSET = -1

    - Special value indicating the property is unset.

- enumerator SNPE\_RUNTIME\_CPU\_FLOAT32 = 0

    - Run the processing on Snapdragon CPU. Data: float 32bit Math: float 32bit

- enumerator SNPE\_RUNTIME\_CPU = [SNPE\_RUNTIME\_CPU\_FLOAT32](https://docs.qualcomm.com/doc/80-63442-10/topic/enum_DlEnums_8h_1a851ce6c63b2bd5515681a906330f7d01.html#_CPPv4N14Snpe_Runtime_t24SNPE_RUNTIME_CPU_FLOAT32E)

    - Default legacy enum to retain backward compatibility. CPU = CPU\_FLOAT32

- enumerator SNPE\_RUNTIME\_GPU\_FLOAT32\_16\_HYBRID = 1

    - Run the processing on the Adreno GPU. Data: float 16bit Math: float 32bit

- enumerator SNPE\_RUNTIME\_GPU = [SNPE\_RUNTIME\_GPU\_FLOAT32\_16\_HYBRID](https://docs.qualcomm.com/doc/80-63442-10/topic/enum_DlEnums_8h_1a851ce6c63b2bd5515681a906330f7d01.html#_CPPv4N14Snpe_Runtime_t34SNPE_RUNTIME_GPU_FLOAT32_16_HYBRIDE)

    - Default legacy enum to retain backward compatibility. GPU = GPU\_FLOAT32\_16\_HYBRID

- enumerator SNPE\_RUNTIME\_DSP\_FIXED8\_TF = 2

    - Run the processing on the Hexagon DSP. Data: 8bit fixed point Tensorflow style format Math: 8bit fixed point Tensorflow style format

- enumerator SNPE\_RUNTIME\_DSP = [SNPE\_RUNTIME\_DSP\_FIXED8\_TF](https://docs.qualcomm.com/doc/80-63442-10/topic/enum_DlEnums_8h_1a851ce6c63b2bd5515681a906330f7d01.html#_CPPv4N14Snpe_Runtime_t26SNPE_RUNTIME_DSP_FIXED8_TFE)

    - Default legacy enum to retain backward compatibility. DSP = DSP\_FIXED8\_TF

- enumerator SNPE\_RUNTIME\_GPU\_FLOAT16 = 3

    - Run the processing on the Adreno GPU. Data: float 16bit Math: float 16bit

- enumerator SNPE\_RUNTIME\_AIP\_FIXED8\_TF = 5

    - Run the processing on Snapdragon AIX+HVX. Data: 8bit fixed point Tensorflow style format Math: 8bit fixed point Tensorflow style format

- enumerator SNPE\_RUNTIME\_AIP\_FIXED\_TF = [SNPE\_RUNTIME\_AIP\_FIXED8\_TF](https://docs.qualcomm.com/doc/80-63442-10/topic/enum_DlEnums_8h_1a851ce6c63b2bd5515681a906330f7d01.html#_CPPv4N14Snpe_Runtime_t26SNPE_RUNTIME_AIP_FIXED8_TFE)

    -

- enum Snpe\_RuntimeCheckOption\_t

    - Enumeration of runtime available check options.

*Values:*

- enumerator SNPE\_RUNTIME\_CHECK\_OPTION\_DEFAULT = 2

    - Perform standard runtime available check.

- enumerator SNPE\_RUNTIME\_CHECK\_OPTION\_NORMAL\_CHECK = 0

    - Perform standard runtime available check.

- enumerator SNPE\_RUNTIME\_CHECK\_OPTION\_BASIC\_CHECK = 1

    - Perform basic runtime available check, may be runtime specific.

- enumerator SNPE\_RUNTIME\_CHECK\_OPTION\_UNSIGNEDPD\_CHECK = 2

    - Perform unsignedPD runtime available check.

- enum Snpe\_PerformanceProfile\_t

    - Enumeration of various performance profiles that can be requested.

*Values:*

- enumerator SNPE\_PERFORMANCE\_PROFILE\_DEFAULT = 0

    - Run in a standard mode. This mode will be deprecated in the future and replaced with BALANCED.

- enumerator SNPE\_PERFORMANCE\_PROFILE\_BALANCED = 0

    - Run in a balanced mode.

- enumerator SNPE\_PERFORMANCE\_PROFILE\_HIGH\_PERFORMANCE = 1

    - Run in high performance mode.

- enumerator SNPE\_PERFORMANCE\_PROFILE\_POWER\_SAVER = 2

    - Run in a power sensitive mode, at the expense of performance.

- enumerator SNPE\_PERFORMANCE\_PROFILE\_SYSTEM\_SETTINGS = 3

    - Use system settings. SNPE makes no calls to any performance related APIs.

- enumerator SNPE\_PERFORMANCE\_PROFILE\_SUSTAINED\_HIGH\_PERFORMANCE = 4

    - Run in sustained high performance mode.

- enumerator SNPE\_PERFORMANCE\_PROFILE\_BURST = 5

    - Run in burst mode.

- enumerator SNPE\_PERFORMANCE\_PROFILE\_LOW\_POWER\_SAVER = 6

    - Run in lower clock than POWER\_SAVER, at the expense of performance.

- enumerator SNPE\_PERFORMANCE\_PROFILE\_HIGH\_POWER\_SAVER = 7

    - Run in higher clock and provides better performance than POWER\_SAVER.

- enumerator SNPE\_PERFORMANCE\_PROFILE\_LOW\_BALANCED = 8

    - Run in lower balanced mode.

- enumerator SNPE\_PERFORMANCE\_PROFILE\_EXTREME\_POWER\_SAVER = 9

    - Run in lowest clock at the expense of performance.

- enum Snpe\_DspHmx\_ExpVoltageCorner\_t

    - *Values:*

- enumerator SNPE\_DCVS\_EXP\_VCORNER\_DISABLE = 0

    - 

- enumerator SNPE\_DCVS\_EXP\_VCORNER\_MIN = 0x100

    - 

- enumerator SNPE\_DCVS\_EXP\_VCORNER\_LOW\_SVS\_D2 = 0x134

    - 

- enumerator SNPE\_DCVS\_EXP\_VCORNER\_LOW\_SVS\_D1 = 0x138

    - 

- enumerator SNPE\_DCVS\_EXP\_VCORNER\_LOW\_SVS = 0x140

    - 

- enumerator SNPE\_DCVS\_EXP\_VCORNER\_LOW\_SVS\_L0 = 0x14C

    - 

- enumerator SNPE\_DCVS\_EXP\_VCORNER\_SVS = 0x180

    - 

- enumerator SNPE\_DCVS\_EXP\_VCORNER\_SVS\_L0 = 0x190

    - 

- enumerator SNPE\_DCVS\_EXP\_VCORNER\_SVS\_L1 = 0x1C0

    - 

- enumerator SNPE\_DCVS\_EXP\_VCORNER\_SVS\_L2 = 0x1E0

    - 

- enumerator SNPE\_DCVS\_EXP\_VCORNER\_NOM = 0x200

    - 

- enumerator SNPE\_DCVS\_EXP\_VCORNER\_NOM\_L1 = 0x240

    - 

- enumerator SNPE\_DCVS\_EXP\_VCORNER\_NOM\_L2 = 0x250

    - 

- enumerator SNPE\_DCVS\_EXP\_VCORNER\_TUR = 0x280

    - 

- enumerator SNPE\_DCVS\_EXP\_VCORNER\_TUR\_L1 = 0x2A0

    - 

- enumerator SNPE\_DCVS\_EXP\_VCORNER\_TUR\_L2 = 0x2B0

    - 

- enumerator SNPE\_DCVS\_EXP\_VCORNER\_TUR\_L3 = 0x2C0

    - 

- enumerator SNPE\_DCVS\_EXP\_VCORNER\_MAX = 0xFFFF

    -

- enum Snpe\_DspHmx\_ClkPerfMode\_t

    - *Values:*

- enumerator SNPE\_HMX\_CLK\_PERF\_HIGH = 0

    - 

- enumerator SNPE\_HMX\_CLK\_PERF\_LOW = 1

    -

- enum Snpe\_DspPerf\_VoltageCorner\_t

    - Enumeration of various Perf Voltage Corner that can be requested.

*Values:*

- enumerator SNPE\_DCVS\_VOLTAGE\_CORNER\_DISABLE = 0x10

    - Maps to HAP\_DCVS\_VCORNER\_DISABLE. Disable setting up voltage corner

- enumerator SNPE\_DCVS\_VOLTAGE\_VCORNER\_MIN\_VOLTAGE\_CORNER = 0x20

    - Maps to HAP\_DCVS\_VCORNER\_SVS2. Set voltage corner to minimum value supported on platform

- enumerator SNPE\_DCVS\_VOLTAGE\_VCORNER\_SVS2 = 0x30

    - Maps to HAP\_DCVS\_VCORNER\_SVS2. Set voltage corner to SVS2 value for the platform

- enumerator SNPE\_DCVS\_VOLTAGE\_VCORNER\_SVS = 0x40

    - Maps to HAP\_DCVS\_VCORNER\_SVS. Set voltage corner to SVS value for the platform

- enumerator SNPE\_DCVS\_VOLTAGE\_VCORNER\_SVS\_PLUS = 0x50

    - Maps to HAP\_DCVS\_VCORNER\_SVS\_PLUS. Set voltage corner to SVS\_PLUS value for the platform

- enumerator SNPE\_DCVS\_VOLTAGE\_VCORNER\_NOM = 0x60

    - Maps to HAP\_DCVS\_VCORNER\_NOM. Set voltage corner to NOMINAL value for the platform

- enumerator SNPE\_DCVS\_VOLTAGE\_VCORNER\_NOM\_PLUS = 0x70

    - Maps to HAP\_DCVS\_VCORNER\_NOM\_PLUS. Set voltage corner to NOMINAL\_PLUS value for the platform

- enumerator SNPE\_DCVS\_VOLTAGE\_VCORNER\_TURBO = 0x80

    - Maps to HAP\_DCVS\_VCORNER\_TURBO. Set voltage corner to TURBO value for the platform

- enumerator SNPE\_DCVS\_VOLTAGE\_VCORNER\_TURBO\_PLUS = 0x90

    - Maps to HAP\_DCVS\_VCORNER\_TURBO\_PLUS. Set voltage corner to TURBO\_PLUS value for the platform

- enumerator SNPE\_DCVS\_VOLTAGE\_VCORNER\_TURBO\_L1 = 0x92

    - 

- enumerator SNPE\_DCVS\_VOLTAGE\_VCORNER\_TURBO\_L2 = [SNPE\_DCVS\_VOLTAGE\_VCORNER\_TURBO\_L1](https://docs.qualcomm.com/doc/80-63442-10/topic/enum_DlEnums_8h_1a72e511266d1a6e4a91b92385ecf1c1cc.html#_CPPv4N28Snpe_DspPerf_VoltageCorner_t34SNPE_DCVS_VOLTAGE_VCORNER_TURBO_L1E)

    - Set voltage corner to TURBO\_L2 value for the platform.

- enumerator SNPE\_DCVS\_VOLTAGE\_VCORNER\_TURBO\_L3 = 0x93

    - Set voltage corner to TURBO\_L3 value for the platform.

- enumerator SNPE\_DCVS\_VOLTAGE\_VCORNER\_TURBO\_L4 = 0x94

    - Set voltage corner to TURBO\_L4 value for the platform.

- enumerator SNPE\_DCVS\_VOLTAGE\_VCORNER\_TURBO\_L5 = 0x95

    - Set voltage corner to TURBO\_L5 value for the platform.

- enumerator SNPE\_DCVS\_VOLTAGE\_VCORNER\_MAX\_VOLTAGE\_CORNER = 0xA0

    - Maps to HAP\_DCVS\_VCORNER\_MAX. Set voltage corner to maximum value supported on the platform

- enumerator SNPE\_DCVS\_VOLTAGE\_VCORNER\_UNKNOWN = 0x7fffffff

    - UNKNOWN value that must not be used by client.

- enum Snpe\_DspPerf\_PowerMode\_t

    - Enumeration of various PowerMode that can be requested.

*Values:*

- enumerator SNPE\_DSP\_PERF\_INFRASTRUCTURE\_POWERMODE\_ADJUST\_UP\_DOWN = 0x1

    - Maps to HAP\_DCVS\_V2\_ADJUST\_UP\_DOWN. Allows for DCVS to adjust up and down

- enumerator SNPE\_DSP\_PERF\_INFRASTRUCTURE\_POWERMODE\_ADJUST\_ONLY\_UP = 0x2

    - Maps to HAP\_DCVS\_V2\_ADJUST\_ONLY\_UP. Allows for DCVS to adjust up only

- enumerator SNPE\_DSP\_PERF\_INFRASTRUCTURE\_POWERMODE\_POWER\_SAVER\_MODE = 0x4

    - Maps to HAP\_DCVS\_V2\_POWER\_SAVER\_MODE. Higher thresholds for power efficiency

- enumerator SNPE\_DSP\_PERF\_INFRASTRUCTURE\_POWERMODE\_POWER\_SAVER\_AGGRESSIVE\_MODE = 0x8

    - Maps to HAP\_DCVS\_V2\_POWER\_SAVER\_AGGRESSIVE\_MODE. Higher thresholds for power efficiency with faster ramp down

- enumerator SNPE\_DSP\_PERF\_INFRASTRUCTURE\_POWERMODE\_PERFORMANCE\_MODE = 0x10

    - Maps to HAP\_DCVS\_V2\_PERFORMANCE\_MODE. Lower thresholds for maximum performance

- enumerator SNPE\_DSP\_PERF\_INFRASTRUCTURE\_POWERMODE\_DUTY\_CYCLE\_MODE = 0x20

    - Maps to HAP\_DCVS\_V2\_DUTY\_CYCLE\_MODE. The below value applies only for HVX clients:

- For streaming class clients:
- detects periodicity based on HVX usage
- lowers clocks in the no HVX activity region of each period.
- For compute class clients:
- Lowers clocks on no HVX activity detects and brings clocks up on detecting HVX activity again.
- Latency involved in bringing up the clock will be at max 1 to 2 ms.

- enumerator SNPE\_DSP\_PERF\_INFRASTRUCTURE\_POWERMODE\_UNKNOWN = 0x7fffffff

    - UNKNOWN value that must not be used by client.

- enum Snpe\_ProfilingLevel\_t

    - Enumeration of various profilngLevels that can be requested.

*Values:*

- enumerator SNPE\_PROFILING\_LEVEL\_OFF = 0

    - No profiling. Collects no runtime stats in the DiagLog

- enumerator SNPE\_PROFILING\_LEVEL\_BASIC = 1

    - Basic profiling Collects some runtime stats in the DiagLog

- enumerator SNPE\_PROFILING\_LEVEL\_DETAILED = 2

    - Detailed profiling Collects more runtime stats in the DiagLog, including per-layer statistics Performance may be impacted

- enumerator SNPE\_PROFILING\_LEVEL\_MODERATE = 3

    - Moderate profiling Collects more runtime stats in the DiagLog, no per-layer statistics

- enumerator SNPE\_PROFILING\_LEVEL\_LINTING = 4

    - Linting profiling HTP exclusive profiling level that collects in-depth performance metrics for each op in the graph including main thread execution time and time spent on parallel background ops

- enumerator SNPE\_PROFILING\_LEVEL\_QHAS = 5

    - QHAS profiling HTP Exclusive profiling level that enables QHAS and gives additional performance metrics

- enum Snpe\_ExecutionPriorityHint\_t

    - Enumeration of various execution priority hints.

*Values:*

- enumerator SNPE\_EXECUTION\_PRIORITY\_NORMAL = 0

    - Usage of the priorities apart from SNPE\_EXECUTION\_PRIORITY\_LOW may be restricted Between Normal Low and Normal High

- enumerator SNPE\_EXECUTION\_PRIORITY\_HIGH = 1

    - Between Normal High and High Plus.

- enumerator SNPE\_EXECUTION\_PRIORITY\_LOW = 2

    - Lowest priority.

- enumerator SNPE\_EXECUTION\_PRIORITY\_NORMAL\_HIGH = 3

    - Between Normal and High priority.

- enumerator SNPE\_EXECUTION\_PRIORITY\_NORMAL\_LOW = 4

    - Between Low and Normal.

- enumerator SNPE\_EXECUTION\_PRIORITY\_HIGH\_PLUS = 5

    - Between High and Critical.

- enumerator SNPE\_EXECUTION\_PRIORITY\_CRITICAL = 6

    - Between High Plus and Critical Plus.

- enumerator SNPE\_EXECUTION\_PRIORITY\_CRITICAL\_PLUS = 7

    - Highest priority.

- enum Snpe\_ImageEncoding\_t

    - Enumeration that lists the supported image encoding formats.

*Values:*

- enumerator SNPE\_IMAGE\_ENCODING\_UNKNOWN = 0

    - For unknown image type. Also used as a default value for ImageEncoding\_t.

- enumerator SNPE\_IMAGE\_ENCODING\_RGB = 1

    - The RGB format consists of 3 bytes per pixel: one byte for Red, one for Green, and one for Blue. The byte ordering is endian independent and is always in RGB byte order.

- enumerator SNPE\_IMAGE\_ENCODING\_ARGB32 = 2

    - The ARGB32 format consists of 4 bytes per pixel: one byte for Red, one for Green, one for Blue, and one for the alpha channel. The alpha channel is ignored. The byte ordering depends on the underlying CPU. For little endian CPUs, the byte order is BGRA. For big endian CPUs, the byte order is ARGB.

- enumerator SNPE\_IMAGE\_ENCODING\_RGBA = 3

    - The RGBA format consists of 4 bytes per pixel: one byte for Red, one for Green, one for Blue, and one for the alpha channel. The alpha channel is ignored. The byte ordering is endian independent and is always in RGBA byte order.

- enumerator SNPE\_IMAGE\_ENCODING\_GRAYSCALE = 4

    - The GRAYSCALE format is for 8-bit grayscale.

- enumerator SNPE\_IMAGE\_ENCODING\_NV21 = 5

    - NV21 is the Android version of YUV. The Chrominance is down sampled and has a subsampling ratio of 4:2:0. Note that this image format has 3 channels, but the U and V channels are subsampled. For every four Y pixels there is one U and one V pixel.

- enumerator SNPE\_IMAGE\_ENCODING\_BGR = 6

    - The BGR format consists of 3 bytes per pixel: one byte for Red, one for Green and one for Blue. The byte ordering is endian independent and is always BGR byte order.

- enum Snpe\_LogLevel\_t

    - Enumeration that lists the supported LogLevels that can be set by users.

*Values:*

- enumerator SNPE\_LOG\_LEVEL\_FATAL = 0

    - Enumeration variable to be used by user to set logging level to FATAL.

- enumerator SNPE\_LOG\_LEVEL\_ERROR = 1

    - Enumeration variable to be used by user to set logging level to ERROR.

- enumerator SNPE\_LOG\_LEVEL\_WARN = 2

    - Enumeration variable to be used by user to set logging level to WARN.

- enumerator SNPE\_LOG\_LEVEL\_INFO = 3

    - Enumeration variable to be used by user to set logging level to INFO.

- enumerator SNPE\_LOG\_LEVEL\_VERBOSE = 4

    - Enumeration variable to be used by user to set logging level to VERBOSE.

- enum Snpe\_IOBufferDataType\_t

    - Enumeration that list the supported data types for buffers

*Values:*

- enumerator SNPE\_IO\_BUFFER\_DATATYPE\_UNSPECIFIED = 0

    - Unspecified.

- enumerator SNPE\_IO\_BUFFER\_DATATYPE\_FLOATING\_POINT\_32 = 1

    - 32-bit floating point

- enumerator SNPE\_IO\_BUFFER\_DATATYPE\_FLOATING\_POINT\_16 = 2

    - 16-bit floating point

- enumerator SNPE\_IO\_BUFFER\_DATATYPE\_FIXED\_POINT\_8 = 3

    - 8-bit fixed point

- enumerator SNPE\_IO\_BUFFER\_DATATYPE\_FIXED\_POINT\_16 = 4

    - 16-bit fixed point

- enum Snpe\_CacheCompatibility\_t

    - Enumeration that list the mode of checking compatibility

*Values:*

- enumerator SNPE\_CACHE\_COMPATIBILITY\_PERMISSIVE = 0

    - A binary cache is compatible if it could run on the device. This is the default.

- enumerator SNPE\_CACHE\_COMPATIBILITY\_STRICT = 1

    - A binary cache is compatible if it could run on the device and fully utilize hardware capability.

- enumerator SNPE\_CACHE\_COMPATIBILITY\_ALWAYS\_GENERATE\_NEW\_CACHE = 2

    - A binary cache is always incompatible. SNPE will generate new cache.

Last Published: Jun 04, 2026