/external/skqp/src/core/ |
D | SkColorSpacePriv.h | 102 SkScalarIsNaN(coeffs.fG)) in is_valid_transfer_fn() 113 if (0.0f == coeffs.fA || 0.0f == coeffs.fG) { in is_valid_transfer_fn() 129 if ((0.0f == coeffs.fA || 0.0f == coeffs.fG) && 0.0f == coeffs.fC) { in is_valid_transfer_fn() 140 if (coeffs.fA < 0.0f || coeffs.fG < 0.0f) { in is_valid_transfer_fn() 155 transfer_fn_almost_equal(gSRGB_TransferFn.fG, coeffs.fG); in is_almost_srgb() 162 transfer_fn_almost_equal(2.2f, coeffs.fG) && in is_almost_2dot2() 172 transfer_fn_almost_equal(1.0f, coeffs.fG) && in is_almost_linear() 201 coeffs->fG = exponent; in value_to_parametric()
|
D | SkMaskGamma.h | 180 : fParent(std::move(parent)), fR(r), fG(g), fB(b) { } in SkTMaskPreBlend() 186 SkTMaskPreBlend() : fParent(), fR(nullptr), fG(nullptr), fB(nullptr) { } in SkTMaskPreBlend() 193 : fParent(that.fParent), fR(that.fR), fG(that.fG), fB(that.fB) { } in SkTMaskPreBlend() 198 bool isApplicable() const { return SkToBool(this->fG); } in isApplicable() 201 const uint8_t* fG; variable
|
D | SkColorSpaceXform.cpp | 235 gSRGB_TransferFn.fG, in build_gamma_tables() 267 (*fns.fBuildFromParam)(&gammaTableStorage[i * gammaTableSize], params.fG, in build_gamma_tables() 444 loadTables.fG = fSrcGammaTables[1]; in onApply() 456 loadTables.fG = fSrcGammaTables[1]; in onApply() 487 loadTables.fG = fSrcGammaTables[1]; in onApply() 505 loadTables.fG = fSrcGammaTables[1]; in onApply() 545 tables.fG = fDstGammaTables[1]; in onApply()
|
D | SkColorSpace.cpp | 386 *(((float*) memory) + 6) = transferFn.fG; in writeToMemory() 491 transferFn.fG = *(((const float*) data) + 6); in Deserialize() 575 if (transfer_fn_almost_equal(0.f, fA) || transfer_fn_almost_equal(0.f, fG)) { in invert() 578 inv.fG = 1.f; in invert() 581 inv.fG = 1.f / fG; in invert() 582 inv.fA = powf(1.f / fA, fG); in invert()
|
D | SkColorSpaceXform_Base.h | 77 const float* fG; member 84 const uint8_t* fG; member
|
/external/skia/src/core/ |
D | SkColorSpacePriv.h | 102 SkScalarIsNaN(coeffs.fG)) in is_valid_transfer_fn() 113 if (0.0f == coeffs.fA || 0.0f == coeffs.fG) { in is_valid_transfer_fn() 129 if ((0.0f == coeffs.fA || 0.0f == coeffs.fG) && 0.0f == coeffs.fC) { in is_valid_transfer_fn() 140 if (coeffs.fA < 0.0f || coeffs.fG < 0.0f) { in is_valid_transfer_fn() 155 transfer_fn_almost_equal(gSRGB_TransferFn.fG, coeffs.fG); in is_almost_srgb() 162 transfer_fn_almost_equal(2.2f, coeffs.fG) && in is_almost_2dot2() 172 transfer_fn_almost_equal(1.0f, coeffs.fG) && in is_almost_linear() 201 coeffs->fG = exponent; in value_to_parametric()
|
D | SkMaskGamma.h | 180 : fParent(std::move(parent)), fR(r), fG(g), fB(b) { } in SkTMaskPreBlend() 186 SkTMaskPreBlend() : fParent(), fR(nullptr), fG(nullptr), fB(nullptr) { } in SkTMaskPreBlend() 193 : fParent(that.fParent), fR(that.fR), fG(that.fG), fB(that.fB) { } in SkTMaskPreBlend() 198 bool isApplicable() const { return SkToBool(this->fG); } in isApplicable() 201 const uint8_t* fG; variable
|
D | SkColorSpaceXform.cpp | 235 gSRGB_TransferFn.fG, in build_gamma_tables() 267 (*fns.fBuildFromParam)(&gammaTableStorage[i * gammaTableSize], params.fG, in build_gamma_tables() 444 loadTables.fG = fSrcGammaTables[1]; in onApply() 456 loadTables.fG = fSrcGammaTables[1]; in onApply() 487 loadTables.fG = fSrcGammaTables[1]; in onApply() 505 loadTables.fG = fSrcGammaTables[1]; in onApply() 545 tables.fG = fDstGammaTables[1]; in onApply()
|
D | SkColorSpace.cpp | 386 *(((float*) memory) + 6) = transferFn.fG; in writeToMemory() 491 transferFn.fG = *(((const float*) data) + 6); in Deserialize() 575 if (transfer_fn_almost_equal(0.f, fA) || transfer_fn_almost_equal(0.f, fG)) { in invert() 578 inv.fG = 1.f; in invert() 581 inv.fG = 1.f / fG; in invert() 582 inv.fA = powf(1.f / fA, fG); in invert()
|
D | SkColorSpaceXform_Base.h | 77 const float* fG; member 84 const uint8_t* fG; member
|
/external/skia/include/core/ |
D | SkColor.h | 164 float fG; member 169 return fA == other.fA && fR == other.fR && fG == other.fG && fB == other.fB; 185 return Pin(fR, fG, fB, fA); in pin()
|
/external/skqp/include/core/ |
D | SkColor.h | 164 float fG; member 169 return fA == other.fA && fR == other.fR && fG == other.fG && fB == other.fB; 185 return Pin(fR, fG, fB, fA); in pin()
|
/external/skia/src/gpu/effects/ |
D | GrDistanceFieldGeoProc.h | 183 SkScalar fR, fG, fB; member 186 result.fR = r; result.fG = g; result.fB = b; in Make() 190 return (fR == wa.fR && fG == wa.fG && fB == wa.fB);
|
/external/skqp/src/gpu/effects/ |
D | GrDistanceFieldGeoProc.h | 177 SkScalar fR, fG, fB; member 180 result.fR = r; result.fG = g; result.fB = b; in Make() 184 return (fR == wa.fR && fG == wa.fG && fB == wa.fB);
|
/external/skia/bench/ |
D | SkRasterPipelineBench.cpp | 109 fn.fG = g; 140 p.append(SkRasterPipeline::gamma, &from_2dot2.fG); in onDraw() 141 p.append(SkRasterPipeline::gamma, & to_2dot2.fG); in onDraw()
|
/external/skqp/bench/ |
D | SkRasterPipelineBench.cpp | 109 fn.fG = g; 140 p.append(SkRasterPipeline::gamma, &from_2dot2.fG); in onDraw() 141 p.append(SkRasterPipeline::gamma, & to_2dot2.fG); in onDraw()
|
/external/skia/tests/ |
D | ColorSpaceTest.cpp | 119 srgbFn.fG = 2.4f; in DEF_TEST() 154 linearExpFn.fG = 1.0f; in DEF_TEST() 165 linearFn.fG = 0.0f; in DEF_TEST() 215 fn.fG = 1.0f; in DEF_TEST() 238 fn.fG = 1.0f; in DEF_TEST() 400 fn.fG = 3.0f; in DEF_TEST() 420 fn.fG = 2.2f; in DEF_TEST()
|
D | ICCTest.cpp | 82 referenceFn.fG = 2.2f; in DEF_TEST() 132 adobeFn.fG = 2.2f; in DEF_TEST() 144 srgbFn.fG = 2.4f; in DEF_TEST() 232 params->fG = 2.4f; in DEF_TEST() 277 params->fG = 2.4f; in DEF_TEST()
|
D | SkColor4fTest.cpp | 56 REPORTER_ASSERT(reporter, pm4.g() == c4.fA * c4.fG); in DEF_TEST() 65 REPORTER_ASSERT(reporter, nearly_equal(pm4.g(), c4.fA * c4.fG)); in DEF_TEST()
|
D | ParametricStageTest.cpp | 36 : powf(in[i] * fn.fA + fn.fB, fn.fG) + fn.fE; in check_error() 46 fn.fG = gamma; in check_error()
|
/external/skqp/tests/ |
D | ColorSpaceTest.cpp | 119 srgbFn.fG = 2.4f; in DEF_TEST() 154 linearExpFn.fG = 1.0f; in DEF_TEST() 165 linearFn.fG = 0.0f; in DEF_TEST() 215 fn.fG = 1.0f; in DEF_TEST() 238 fn.fG = 1.0f; in DEF_TEST() 400 fn.fG = 3.0f; in DEF_TEST() 420 fn.fG = 2.2f; in DEF_TEST()
|
D | ICCTest.cpp | 82 referenceFn.fG = 2.2f; in DEF_TEST() 132 adobeFn.fG = 2.2f; in DEF_TEST() 144 srgbFn.fG = 2.4f; in DEF_TEST() 232 params->fG = 2.4f; in DEF_TEST() 277 params->fG = 2.4f; in DEF_TEST()
|
D | SkColor4fTest.cpp | 56 REPORTER_ASSERT(reporter, pm4.g() == c4.fA * c4.fG); in DEF_TEST() 65 REPORTER_ASSERT(reporter, nearly_equal(pm4.g(), c4.fA * c4.fG)); in DEF_TEST()
|
/external/skqp/src/gpu/ |
D | GrColorSpaceXform.h | 36 static_assert(0 == offsetof(SkColorSpaceTransferFn, fG), "TransferFn layout"); in transferFnCoeffs() 37 return &fSrcTransferFn.fG; in transferFnCoeffs()
|
/external/skia/src/gpu/ |
D | GrColorSpaceXform.h | 36 static_assert(0 == offsetof(SkColorSpaceTransferFn, fG), "TransferFn layout"); in transferFnCoeffs() 37 return &fSrcTransferFn.fG; in transferFnCoeffs()
|