Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DTonemapper.cpp101 const auto sourceDataspace = getDataspace(source); in tonemapPaint() local
104 if (extractTransfer(sourceDataspace) != extractTransfer(destinationDataspace) && in tonemapPaint()
105 (isHdrDataspace(sourceDataspace) || isHdrDataspace(destinationDataspace))) { in tonemapPaint()
107 .inputDataspace = sourceDataspace, in tonemapPaint()
/frameworks/native/libs/renderengine/tests/
DRenderEngineTest.cpp540 void fillBufferWithColorTransformAndSourceDataspace(const ui::Dataspace sourceDataspace);
596 void tonemap(ui::Dataspace sourceDataspace, std::function<vec3(vec3)> eotf,
615 layer.sourceDataspace = ui::Dataspace::V0_SRGB_LINEAR; in fillColor()
622 layer.sourceDataspace = ui::Dataspace::V0_SRGB_LINEAR; in setOpaqueBit()
631 layer.sourceDataspace = ui::Dataspace::V0_SRGB_LINEAR; in setOpaqueBit()
665 layer.sourceDataspace = ui::Dataspace::V0_SRGB_LINEAR; in fillColor()
680 layer.sourceDataspace = ui::Dataspace::V0_SRGB_LINEAR; in fillBuffer()
724 layer.sourceDataspace = ui::Dataspace::V0_SRGB_LINEAR; in fillRedOffsetBuffer()
759 layerOne.sourceDataspace = ui::Dataspace::V0_SRGB_LINEAR; in fillBufferCheckers()
766 layerTwo.sourceDataspace = ui::Dataspace::V0_SRGB_LINEAR; in fillBufferCheckers()
[all …]
/frameworks/native/libs/tonemap/
Dtonemap.cpp70 aidl::android::hardware::graphics::common::Dataspace sourceDataspace, in generateTonemapGainShaderSkSL() argument
72 const int32_t sourceDataspaceInt = static_cast<int32_t>(sourceDataspace); in generateTonemapGainShaderSkSL()
289 aidl::android::hardware::graphics::common::Dataspace sourceDataspace, in lookupTonemapGain() argument
300 const int32_t sourceDataspaceInt = static_cast<int32_t>(sourceDataspace); in lookupTonemapGain()
462 aidl::android::hardware::graphics::common::Dataspace sourceDataspace, in generateTonemapGainShaderSkSL() argument
464 const int32_t sourceDataspaceInt = static_cast<int32_t>(sourceDataspace); in generateTonemapGainShaderSkSL()
630 aidl::android::hardware::graphics::common::Dataspace sourceDataspace, in lookupTonemapGain() argument
666 const int32_t sourceDataspaceInt = static_cast<int32_t>(sourceDataspace); in lookupTonemapGain()
/frameworks/av/media/libstagefright/renderfright/include/renderengine/
DLayerSettings.h142 ui::Dataspace sourceDataspace = ui::Dataspace::UNKNOWN; member
187 lhs.sourceDataspace == rhs.sourceDataspace &&
248 PrintTo(settings.sourceDataspace, os); in PrintTo()
/frameworks/native/libs/tonemap/include/tonemap/
Dtonemap.h123 aidl::android::hardware::graphics::common::Dataspace sourceDataspace,
148 aidl::android::hardware::graphics::common::Dataspace sourceDataspace,
/frameworks/native/libs/renderengine/skia/
DCache.cpp153 layer.sourceDataspace = dataspace; in drawImageLayers()
254 layer.sourceDataspace = dataspace; in drawClippedLayers()
293 .sourceDataspace = kOtherDataSpace, in drawPIPImageLayer()
321 .sourceDataspace = kDestDataSpace, in drawHolePunchLayer()
350 .sourceDataspace = kDestDataSpace, in drawImageDimmedLayers()
382 .sourceDataspace = kDestDataSpace, in drawTransparentImageDimmedLayers()
435 .sourceDataspace = kDestDataSpace, in drawClippedDimmedImageLayers()
502 .sourceDataspace = kBT2020DataSpace, in drawBT2020ImageLayers()
541 .sourceDataspace = kBT2020DataSpace, in drawBT2020ClippedImageLayers()
569 .sourceDataspace = kExtendedHdrDataSpce, in drawExtendedHDRImageLayers()
[all …]
DSkiaRenderEngine.cpp366 static bool needsToneMapping(ui::Dataspace sourceDataspace, ui::Dataspace destinationDataspace) { in needsToneMapping() argument
367 int64_t sourceTransfer = sourceDataspace & HAL_DATASPACE_TRANSFER_MASK; in needsToneMapping()
533 const float ratio = getHdrRenderType(parameters.layer.sourceDataspace, format) == in createRuntimeEffectShader()
542 shaders::LinearEffect{.inputDataspace = parameters.layer.sourceDataspace, in createRuntimeEffectShader()
930 const bool isExtendedHdr = (layer.sourceDataspace & ui::Dataspace::RANGE_MASK) == in drawLayersInternal()
953 (needsToneMapping(layer.sourceDataspace, display.outputDataspace)) || in drawLayersInternal()
964 const ui::Dataspace layerDataspace = layer.sourceDataspace; in drawLayersInternal()
1055 getHdrRenderType(layer.sourceDataspace, in drawLayersInternal()
/frameworks/native/services/surfaceflinger/
DLayerFE.cpp144 layerSettings.sourceDataspace = mSnapshot->dataspace; in prepareClientCompositionInternal()
150 (layerSettings.sourceDataspace & HAL_DATASPACE_TRANSFER_MASK) == in prepareClientCompositionInternal()
152 layerSettings.sourceDataspace = static_cast<ui::Dataspace>( in prepareClientCompositionInternal()
153 (layerSettings.sourceDataspace & HAL_DATASPACE_STANDARD_MASK) | in prepareClientCompositionInternal()
154 (layerSettings.sourceDataspace & HAL_DATASPACE_RANGE_MASK) | in prepareClientCompositionInternal()
256 switch (layerSettings.sourceDataspace & HAL_DATASPACE_TRANSFER_MASK) { in prepareBufferStateClientComposition()
DScreenCaptureOutput.cpp118 auto transfer = layer.sourceDataspace & ui::Dataspace::TRANSFER_MASK; in generateClientCompositionRequests()
/frameworks/native/libs/renderengine/include/renderengine/
DLayerSettings.h113 ui::Dataspace sourceDataspace = ui::Dataspace::UNKNOWN; member
180 lhs.sourceDataspace == rhs.sourceDataspace &&
265 PrintTo(settings.sourceDataspace, os); in PrintTo()
/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DClientCompositionRequestCache.cpp36 lhs.sourceDataspace == rhs.sourceDataspace && in equalIgnoringSource()
DOutputLayer.cpp886 settings.sourceDataspace = getState().overrideInfo.dataspace; in getOverrideCompositionSettings()
DOutput.cpp1339 return layer.sourceDataspace != outputDataspace; in composeSurfaces()
/frameworks/av/media/libstagefright/renderfright/fuzzer/
Dlibstagefright_renderfright_fuzzer.cpp161 layerSetting.sourceDataspace = mFdp.PickValueInArray(kDataSpace); in getLayerSetting()
169 (layerSetting.sourceDataspace == ui::Dataspace::BT2020_ITU_PQ || in getLayerSetting()
170 layerSetting.sourceDataspace == ui::Dataspace::BT2020_ITU_HLG); in getLayerSetting()
/frameworks/av/media/libstagefright/
DFrameCaptureLayer.cpp81 layerSettings->sourceDataspace = translateDataspace( in getLayerSettings()
/frameworks/native/services/surfaceflinger/tests/unittests/
DCompositionTest.cpp602 EXPECT_EQ(ui::Dataspace::V0_SRGB, layer.sourceDataspace); in setupREBufferCompositionCommonCallExpectations()
652 EXPECT_EQ(ui::Dataspace::V0_SRGB, layer.sourceDataspace); in setupREColorCompositionCallExpectations()
733 EXPECT_EQ(ui::Dataspace::V0_SRGB, layer.sourceDataspace); in setupInsecureREBufferCompositionCommonCallExpectations()
/frameworks/av/media/codec2/hal/plugin/samples/
DSampleFilterPlugin.cpp735 layerSettings.sourceDataspace = static_cast<ui::Dataspace>(dataspace); in processLoop()
/frameworks/av/media/libstagefright/renderfright/gl/
DGLESRenderEngine.cpp1199 setSourceDataSpace(layer->sourceDataspace); in drawLayers()