Searched defs:divs (Results 1 - 4 of 4) sorted by relevance
/external/skia/src/gpu/ops/ |
H A D | GrLatticeOp.cpp | 196 /** Randomly divides subset into count divs. */ 197 static void init_random_divs(int divs[], int count, int subsetStart, int subsetStop, argument 199 // Rules for lattice divs: Must be strictly increasing and in the range 201 // Not terribly efficient alg for generating random divs: 203 // 2) Randomly assign the remaining pixels of the subset to divs. 206 // 1) Initially each divs[i] represents the number of pixels between 208 // must be one pixel spacing between subsequent divs. 209 divs[0] = 0; 211 divs[i] = 1; 216 // +1 because count divs mean [all...] |
/external/skia/src/core/ |
H A D | SkLatticeIter.cpp | 14 static bool valid_divs(const int* divs, int count, int start, int end) { argument 17 if (prev >= divs[i] || divs[i] >= end) { 20 prev = divs[i]; 49 static int count_scalable_pixels(const int32_t* divs, int numDivs, bool firstIsScalable, argument 58 count = divs[0] - start; 68 int left = divs[i]; 69 int right = (i + 1 < numDivs) ? divs[i + 1] : end; 79 static void set_points(float* dst, float* src, const int* divs, int divCount, int srcFixed, argument 97 src[i + 1] = (float) (divs[ [all...] |
/external/skia/tests/ |
H A D | PictureTest.cpp | 885 int divs[] = { 2, 3 }; local 888 lattice.fXDivs = lattice.fYDivs = divs;
|
/external/valgrind/VEX/priv/ |
H A D | host_s390_defs.h | 429 } divs; member in union:__anon24156::__anon24157
|
Completed in 141 milliseconds