Searched refs:SM_COLOR_SCALE (Results 1 – 1 of 1) sorted by relevance
/ohos5.0/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/hdr/ |
H A D | hdr_helper.cpp | 85 const float SM_COLOR_SCALE = 0.00002f; variable 394 …ta.smpte2086.displayPrimaryRed.x = (float)ImageUtils::BytesToUint16(data, offset) * SM_COLOR_SCALE; in ParseVividJpegStaticMetadata() 395 …ta.smpte2086.displayPrimaryRed.y = (float)ImageUtils::BytesToUint16(data, offset) * SM_COLOR_SCALE; in ParseVividJpegStaticMetadata() 396 ….smpte2086.displayPrimaryGreen.x = (float)ImageUtils::BytesToUint16(data, offset) * SM_COLOR_SCALE; in ParseVividJpegStaticMetadata() 397 ….smpte2086.displayPrimaryGreen.y = (float)ImageUtils::BytesToUint16(data, offset) * SM_COLOR_SCALE; in ParseVividJpegStaticMetadata() 398 …a.smpte2086.displayPrimaryBlue.x = (float)ImageUtils::BytesToUint16(data, offset) * SM_COLOR_SCALE; in ParseVividJpegStaticMetadata() 399 …a.smpte2086.displayPrimaryBlue.y = (float)ImageUtils::BytesToUint16(data, offset) * SM_COLOR_SCALE; in ParseVividJpegStaticMetadata() 400 …taticMeta.smpte2086.whitePoint.x = (float)ImageUtils::BytesToUint16(data, offset) * SM_COLOR_SCALE; in ParseVividJpegStaticMetadata() 401 …taticMeta.smpte2086.whitePoint.y = (float)ImageUtils::BytesToUint16(data, offset) * SM_COLOR_SCALE; in ParseVividJpegStaticMetadata() 1144 …ImageUtils::Uint16ToBytes((uint16_t)(staticMeta.smpte2086.whitePoint.x / SM_COLOR_SCALE), bytes, i… in PackVividStaticMetadata() [all …]
|