Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/utils/
DColor.cpp32 SkColorSpaceTransferFn transferFunction; in transferFunctionCloseToSRGB() local
33 if (colorSpace->isNumericalTransferFn(&transferFunction)) { in transferFunctionCloseToSRGB()
45 almostEqual(sRGBParamA, transferFunction.fA) in transferFunctionCloseToSRGB()
46 && almostEqual(sRGBParamB, transferFunction.fB) in transferFunctionCloseToSRGB()
47 && almostEqual(sRGBParamC, transferFunction.fC) in transferFunctionCloseToSRGB()
48 && almostEqual(sRGBParamD, transferFunction.fD) in transferFunctionCloseToSRGB()
49 && almostEqual(sRGBParamE, transferFunction.fE) in transferFunctionCloseToSRGB()
50 && almostEqual(sRGBParamF, transferFunction.fF) in transferFunctionCloseToSRGB()
51 && almostEqual(sRGBParamG, transferFunction.fG); in transferFunctionCloseToSRGB()
/frameworks/base/libs/hwui/
DProgram.h177 TransferFunctionType transferFunction; member
225 transferFunction = TransferFunctionType::None; in reset()
299 key |= programid(transferFunction) << PROGRAM_TRANSFER_FUNCTION; in key()
DProgramCache.cpp714 shader.append(gFS_Uniforms_TransferFunction[static_cast<int>(description.transferFunction)]); in generateFragmentShader()
735 shader.append(gFS_TransferFunction[static_cast<int>(description.transferFunction)]); in generateFragmentShader()
DSkiaShader.cpp224 description->transferFunction = texture->getTransferFunctionType(); in tryStoreBitmap()
DGlopBuilder.cpp613 mDescription.transferFunction = texture->getTransferFunctionType(); in build()
/frameworks/base/libs/hwui/renderstate/
DRenderState.cpp382 TransferFunctionType transferFunction = colorSpaceTexture->getTransferFunctionType(); in render() local
383 if (transferFunction != TransferFunctionType::None) { in render()
387 switch (transferFunction) { in render()
/frameworks/base/core/jni/android/graphics/
DGraphics.cpp545 SkColorSpaceTransferFn transferFunction = getNativeTransferParameters(env, transferParams); in getNativeColorSpace() local
547 return SkColorSpace::MakeRGB(transferFunction, xyzMatrix); in getNativeColorSpace()
/frameworks/av/media/libstagefright/
DUtils.cpp114 int32_t transferFunction = 0; in convertMetaDataToMessageColorAspects() local
118 meta->findInt32(kKeyTransferFunction, &transferFunction); in convertMetaDataToMessageColorAspects()
124 colorAspects.mTransfer = (ColorAspects::Transfer)transferFunction; in convertMetaDataToMessageColorAspects()