Home
last modified time | relevance | path

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

/frameworks/native/libs/renderengine/skia/
DSkiaRenderEngine.cpp367 int64_t sourceTransfer = sourceDataspace & HAL_DATASPACE_TRANSFER_MASK; in needsToneMapping() local
377 if (sourceTransfer != HAL_DATASPACE_TRANSFER_LINEAR && in needsToneMapping()
378 sourceTransfer != HAL_DATASPACE_TRANSFER_HLG && in needsToneMapping()
379 sourceTransfer != HAL_DATASPACE_TRANSFER_ST2084) { in needsToneMapping()
380 sourceTransfer = HAL_DATASPACE_TRANSFER_SRGB; in needsToneMapping()
383 const bool isSourceLinear = sourceTransfer == HAL_DATASPACE_TRANSFER_LINEAR; in needsToneMapping()
384 const bool isSourceSRGB = sourceTransfer == HAL_DATASPACE_TRANSFER_SRGB; in needsToneMapping()
389 sourceTransfer != destTransfer; in needsToneMapping()