Home
last modified time | relevance | path

Searched refs:FloatToUint8 (Results 1 – 1 of 1) sorted by relevance

/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/codec/src/
H A Dimage_source.cpp2794 static inline uint8_t FloatToUint8(float f) in FloatToUint8() function
2840 const uint8_t r = FloatToUint8((1.0f * y) + (1.402f * v) - (0.703749f * UINT8_MAX)); in ConvertYUV420ToRGBA()
2841 …const uint8_t g = FloatToUint8((1.0f * y) - (0.344136f * u) - (0.714136f * v) + (0.531211f * UINT8… in ConvertYUV420ToRGBA()
2842 const uint8_t b = FloatToUint8((1.0f * y) + (1.772f * u) - (0.889475f * UINT8_MAX)); in ConvertYUV420ToRGBA()