Home
last modified time | relevance | path

Searched refs:linearize (Results 1 - 15 of 15) sorted by relevance

/third_party/skia/src/core/
H A DSkColorSpaceXformSteps.cpp35 this->flags.linearize = !src->gammaIsLinear(); in SkColorSpaceXformSteps()
68 // If we linearize then immediately reencode with the same transfer function, skip both. in SkColorSpaceXformSteps()
69 if ( this->flags.linearize && in SkColorSpaceXformSteps()
81 this->flags.linearize = false; in SkColorSpaceXformSteps()
87 !this->flags.linearize && in SkColorSpaceXformSteps()
107 if (flags.linearize) { in apply()
134 if (flags.linearize) { p->append_transfer_function(srcTF); } in apply()
204 if (flags.linearize) { in program()
H A DSkColorSpaceXformSteps.h22 bool linearize = false; member
29 | (linearize ? 2 : 0) in mask()
50 skcms_TransferFunction srcTF, // Apply for linearize.
H A DSkConvertPixels.cpp42 steps.flags.linearize || in swizzle_or_premul()
/third_party/skia/tests/
H A DSRGBTest.cpp27 SkColorSpaceXformSteps linearize{ sRGB.get(),upm, linear.get(),upm}, in DEF_TEST()
32 linearize.apply(&p); in DEF_TEST()
101 SkColorSpaceXformSteps linearize{ cs.get(),upm, linear.get(),upm}, in DEF_TEST()
106 linearize.apply(&p); in DEF_TEST()
H A DSkColorSpaceXformStepsTest.cpp28 bool linearize; in DEF_TEST() member
39 true, // linearize to s,a in DEF_TEST()
58 true, // we need to linearize, so we need to unpremul in DEF_TEST()
79 // We can drop out the linearize step when the source is already linear. in DEF_TEST()
138 REPORTER_ASSERT(r, steps.flags.linearize == t.linearize); in DEF_TEST()
144 | (uint32_t)t.linearize << 1 in DEF_TEST()
/third_party/backends/backend/genesys/
H A Drow_buffer.h74 void linearize() in linearize() function in genesys::RowBuffer
175 linearize(); in ensure_capacity()
H A Dimage_pipeline.cpp828 buffer_.linearize(); in ~ImagePipelineNodeDebug()
/third_party/ltp/tools/sparse/sparse-src/
H A DMakefile50 LIB_OBJS += linearize.o
103 PROGRAMS += test-linearize
H A Dsymbol.h127 struct pseudo *(*linearize)(struct entrypoint *, struct expression *); member
H A Dlinearize.c21 #include "linearize.h"
1508 if (fntype->op && fntype->op->linearize) { in linearize_call_expression()
1509 retval = fntype->op->linearize(ep, expr); in linearize_call_expression()
2281 /* And linearize the actual statement */ in linearize_switch()
2648 pseudo_t (*linearize)(struct entrypoint *, struct expression*); member
2670 sym->op->linearize = ptr->linearize; in init_linearized_builtins()
/third_party/skia/src/gpu/glsl/
H A DGrGLSLColorSpaceXformHelper.h62 bool applySrcTF() const { return fFlags.linearize; } in applySrcTF()
/third_party/skia/src/gpu/
H A DGrColorSpaceXform.h44 if (steps.flags.linearize) { in XformKey()
H A DGrColorSpaceXform.cpp38 if (a->fSteps.flags.linearize && in Equals()
H A DSurfaceContext.cpp109 needColorConversion = flags.linearize || flags.gamut_transform || flags.encode, in readPixels()
368 needColorConversion = flags.linearize || flags.gamut_transform || flags.encode, in internalWritePixels()
1128 // it's unclear how we'd linearize from an unknown color space. in rescaleInto()
/third_party/glslang/glslang/HLSL/
H A DhlslParseHelper.cpp7682 // If any type is not a sampler, just use the linearize function below. in findFunction()
7706 const auto linearize = [](const TBasicType& basicType) -> int { in findFunction()
7719 return abs(linearize(to2.getBasicType()) - linearize(from.getBasicType())) < in findFunction()
7720 abs(linearize(to1.getBasicType()) - linearize(from.getBasicType())); in findFunction()
7740 // If there is nothing selected by allowing only up-conversions (to a larger linearize() value), in findFunction()

Completed in 27 milliseconds