ImageEffect_DataValue

Overview

The ImageEffect_DataValue union describes the data values.

System capability: SystemCapability.Multimedia.ImageEffect.Core

Since: 12

Related module: ImageEffect

Summary

Member Variables

Name Description
int32_t int32Value Integer value, corresponding to EFFECT_DATA_TYPE_INT32.
float floatValue Single-precision floating-point value, corresponding to EFFECT_DATA_TYPE_FLOAT.
double doubleValue Double-precision floating-point value, corresponding to EFFECT_DATA_TYPE_DOUBLE.
char charValue Byte value, corresponding to EFFECT_DATA_TYPE_CHAR.
long longValue Long integer value, corresponding to EFFECT_DATA_TYPE_LONG.
bool boolValue Boolean value, corresponding to EFFECT_DATA_TYPE_BOOL.
void * ptrValue Pointer value, corresponding to EFFECT_DATA_TYPE_PTR.

Member Variable Description

boolValue

bool ImageEffect_DataValue::boolValue

Description

Boolean value, corresponding to EFFECT_DATA_TYPE_BOOL.

charValue

char ImageEffect_DataValue::charValue

Description

Byte value, corresponding to EFFECT_DATA_TYPE_CHAR.

doubleValue

double ImageEffect_DataValue::doubleValue

Description

Double-precision floating-point value, corresponding to EFFECT_DATA_TYPE_DOUBLE.

floatValue

float ImageEffect_DataValue::floatValue

Description

Single-precision floating-point value, corresponding to EFFECT_DATA_TYPE_FLOAT.

int32Value

int32_t ImageEffect_DataValue::int32Value

Description

Integer value, corresponding to EFFECT_DATA_TYPE_INT32.

longValue

long ImageEffect_DataValue::longValue

Description

Long integer value, corresponding to EFFECT_DATA_TYPE_LONG.

ptrValue

void* ImageEffect_DataValue::ptrValue

Description

Pointer value, corresponding to EFFECT_DATA_TYPE_PTR.