Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkColorLookUpTable.h20 SkColorLookUpTable(uint8_t inputChannels, const uint8_t gridPoints[kMaxColorChannels]) in SkColorLookUpTable() argument
21 : fInputChannels(inputChannels) { in SkColorLookUpTable()
22 SkASSERT(inputChannels >= 1 && inputChannels <= kMaxColorChannels); in SkColorLookUpTable()
25 for (int i = 0; i < inputChannels; i++) { in SkColorLookUpTable()
40 int inputChannels() const { return fInputChannels; } in inputChannels() function
45 SkASSERT(dimension >= 0 && dimension < inputChannels()); in gridPoints()
DSkColorSpace_ICC.cpp593 static bool load_color_lut(sk_sp<SkColorLookUpTable>* colorLUT, uint32_t inputChannels, in load_color_lut() argument
607 for (uint32_t i = 0; i < inputChannels; i++) { in load_color_lut()
632 *colorLUT = sk_sp<SkColorLookUpTable>(new (memory) SkColorLookUpTable(inputChannels, in load_color_lut()
749 uint8_t inputChannels, const uint8_t* tagSrc, size_t tagLen) { in parse_and_load_gamma() argument
767 if (inputChannels * alignedTagBytes <= tagLen) { in parse_and_load_gamma()
769 for (uint8_t i = 1; i < inputChannels; ++i) { in parse_and_load_gamma()
784 *gammas = sk_sp<SkGammas>(new (memory) SkGammas(inputChannels)); in parse_and_load_gamma()
787 for (uint8_t channel = 0; channel < inputChannels; ++channel) { in parse_and_load_gamma()
793 for (uint8_t channel = 1; channel < inputChannels; ++channel) { in parse_and_load_gamma()
804 for (uint8_t channel = 0; channel < inputChannels; ++channel) { in parse_and_load_gamma()
[all …]
DSkColorSpace_A2B.h98 , fInputChannels(fCLUT->inputChannels()) in Element()
138 int inputChannels() const { return fInputChannels; } in inputChannels() function
DSkColorSpaceXform_A2B.cpp137 SkASSERT(e.inputChannels() == currentChannels); in SkColorSpaceXform_A2B()
187 SkCSXformPrintf("CLUT (%d -> %d) stage added\n", e.colorLUT().inputChannels(), in SkColorSpaceXform_A2B()
206 c->results[4*i+3] = (3 == c->clut->inputChannels()) ? c->rgba[4*i+3] : 1.0f; in SkColorSpaceXform_A2B()
/external/skia/tools/
Dcolorspaceinfo.cpp230 for (int i = 0; i < clut.inputChannels(); ++i) { in dump_clut()
247 return clut.inputChannels() >= 4 ? usedGridPoints(clut, dimOrder[3]) : 1; in cut_rows()
253 return clut.inputChannels() >= 3 ? usedGridPoints(clut, dimOrder[2]) : 1; in cut_cols()
282 const float ox = clut.inputChannels() >= 3 ? (1 + col) * cutHorizGap + col * cutSize in draw_clut()
284 const float oy = clut.inputChannels() >= 4 ? (1 + row) * cutVertGap + row * cutSize in draw_clut()
604 const int clutWidth = clut.inputChannels() >= 3 ? kClutCanvasSize in main()
606 const int clutHeight = clut.inputChannels() >= 4 ? kClutCanvasSize in main()
/external/aac/libAACenc/include/
Daacenc_lib.h772 …UINT inputChannels; /*!< Number of input channels expected in encoding proces… member
/external/skia/tests/
DColorSpaceXformTest.cpp270 constexpr int inputChannels = 3; in DEF_TEST() local
276 sk_sp<SkColorLookUpTable> colorLUT(new (memory) SkColorLookUpTable(inputChannels, gridPoints)); in DEF_TEST()
/external/aac/libSBRenc/src/
Dsbr_encoder.cpp1924 int inputChannels = *numChannels; in sbrEncoder_Init() local
2295 *numChannels = inputChannels; in sbrEncoder_Init()
/external/aac/libAACenc/src/
Daacenc_lib.cpp2127 pInfo->inputChannels = hAacEncoder->extParam.nChannels; in aacEncInfo()