Home
last modified time | relevance | path

Searched refs:dimOrder (Results 1 – 2 of 2) sorted by relevance

/external/skia/tools/
Dcolorspaceinfo.cpp247 static inline int cut_rows(const SkColorLookUpTable& clut, int dimOrder[4]) { in cut_rows()
249 return clut.inputChannels() >= 4 ? usedGridPoints(clut, dimOrder[3]) : 1; in cut_rows()
253 static inline int cut_cols(const SkColorLookUpTable& clut, int dimOrder[4]) { in cut_cols()
255 return clut.inputChannels() >= 3 ? usedGridPoints(clut, dimOrder[2]) : 1; in cut_cols()
259 static int cut_size(const SkColorLookUpTable& clut, int dimOrder[4]) { in cut_size()
260 const int rows = cut_rows(clut, dimOrder); in cut_size()
261 const int cols = cut_cols(clut, dimOrder); in cut_size()
290 static void draw_clut(SkCanvas* canvas, const SkColorLookUpTable& clut, int dimOrder[4]) { in draw_clut()
293 const int cutSize = cut_size(clut, dimOrder); in draw_clut()
294 const int rows = cut_rows(clut, dimOrder); in draw_clut()
[all …]
/external/skqp/tools/
Dcolorspaceinfo.cpp247 static inline int cut_rows(const SkColorLookUpTable& clut, int dimOrder[4]) { in cut_rows()
249 return clut.inputChannels() >= 4 ? usedGridPoints(clut, dimOrder[3]) : 1; in cut_rows()
253 static inline int cut_cols(const SkColorLookUpTable& clut, int dimOrder[4]) { in cut_cols()
255 return clut.inputChannels() >= 3 ? usedGridPoints(clut, dimOrder[2]) : 1; in cut_cols()
259 static int cut_size(const SkColorLookUpTable& clut, int dimOrder[4]) { in cut_size()
260 const int rows = cut_rows(clut, dimOrder); in cut_size()
261 const int cols = cut_cols(clut, dimOrder); in cut_size()
290 static void draw_clut(SkCanvas* canvas, const SkColorLookUpTable& clut, int dimOrder[4]) { in draw_clut()
293 const int cutSize = cut_size(clut, dimOrder); in draw_clut()
294 const int rows = cut_rows(clut, dimOrder); in draw_clut()
[all …]