Home
last modified time | relevance | path

Searched refs:SkMax32 (Results 1 – 25 of 30) sorted by relevance

12

/external/skia/src/images/
DSkImageEncoder.cpp19 quality = SkMin32(100, SkMax32(0, quality)); in encodeStream()
25 quality = SkMin32(100, SkMax32(0, quality)); in encodeFile()
32 quality = SkMin32(100, SkMax32(0, quality)); in encodeData()
/external/skia/src/opts/
DSkBlurImageFilter_opts.h106 int incrementStart = SkMax32(left - rightOffset - 1, left - right); in box_blur_double()
107 int incrementEnd = SkMax32(right - rightOffset - 1, 0); in box_blur_double()
228 int incrementStart = SkMax32(left - rightOffset - 1, left - right); in box_blur()
229 int incrementEnd = SkMax32(right - rightOffset - 1, 0); in box_blur()
/external/skia/src/views/
DSkProgressView.cpp75 percent = SkMax32(0, SkMin32(percent, fMax << 8)); // now its pinned in onDraw()
81 U16CPU value = SkMax32(0, SkMin32(fValue, fMax)); in onDraw()
/external/skia/third_party/ktx/
Dktx.cpp296 int mipmaps = SkMax32(fHeader.fNumberOfMipmapLevels, 1); in readKTXFile()
299 int arrayElements = SkMax32(fHeader.fNumberOfArrayElements, 1); in readKTXFile()
302 int faces = SkMax32(fHeader.fNumberOfFaces, 1); in readKTXFile()
305 int depth = SkMax32(fHeader.fPixelDepth, 1); in readKTXFile()
/external/skia/src/effects/
DSkAvoidXfermode.cpp47 return SkMax32(dr, SkMax32(dg, db)); in color_dist16()
60 return SkMax32(dr, SkMax32(dg, db)); in color_dist32()
/external/skia/src/core/
DSkColor.cpp37 unsigned max = SkMax32(r, SkMax32(g, b)); in SkRGBToHSV()
DSkScalerContext.cpp300 … for (int sample_index = SkMax32(0, sample_x - 4), coeff_index = sample_index - (sample_x - 4) in pack4xHToLCD16()
318 r = SkMax32(r, 10); g = SkMax32(g, 10); b = SkMax32(b, 10); in pack4xHToLCD16()
DSkRegion_path.cpp341 int top = SkMax32(pathTop, clipTop); in setPath()
350 SkMax32(pathTransitions, clipTransitions), in setPath()
DSkScan_Antihair.cpp574 SkFDot6 right = SkMax32(x0, x1); in AntiHairLineRgn()
575 SkFDot6 bottom = SkMax32(y0, y1); in AntiHairLineRgn()
DSkEdge.cpp332 return SkMax32(SkAbs32(oneThird), SkAbs32(twoThird)); in cubic_delta_from_line()
DSkMaskFilter.cpp146 int startY = SkMax32(0, r.top() - outerR.top()); in draw_nine_clipped()
DSkScan_Path.cpp259 int local_top = SkMax32(leftE->fFirstY, riteE->fFirstY); in walk_convex_edges()
/external/skia/tests/
DSrcOverTest.cpp59 unsigned max = SkMax32(dst, i); in DEF_TEST()
DMatrixClipCollapseTest.cpp642 int max = SkMax32(expected.count(), actual.count()); in print()
/external/skia/src/utils/
DSkPatchGrid.cpp165 maxCols[x] = SkMax32(maxCols[x], lod.width()); in draw()
166 maxRows[y] = SkMax32(maxRows[y], lod.height()); in draw()
DSkPatchUtils.cpp141 return SkISize::Make(SkMax32(8, lodX), SkMax32(8, lodY)); in GetLevelOfDetail()
DSkTextureCompressor_Blitter.h338 const int startX = SkMax32(i, clip.left()); in blitMask()
339 const int startY = SkMax32(j, clip.top()); in blitMask()
/external/skia/include/core/
DSkRect.h296 fLeft = SkMax32(a.fLeft, b.fLeft); in intersect()
297 fTop = SkMax32(a.fTop, b.fTop); in intersect()
316 fLeft = SkMax32(a.fLeft, b.fLeft); in intersectNoEmptyCheck()
317 fTop = SkMax32(a.fTop, b.fTop); in intersectNoEmptyCheck()
DSkTypes.h406 static inline int32_t SkMax32(int32_t a, int32_t b) { in SkMax32() function
/external/skia/src/gpu/
DGrRectanizer_skyline.cpp61 y = SkMax32(y, fSkyline[i].fY); in rectangleFits()
/external/skia/include/private/
DSkTArray.h382 fAllocCount = SkMax32(fCount, fReserveCount); in init()
442 newAllocCount = SkMax32(newCount + ((newCount + 1) >> 1), fReserveCount); in checkRealloc()
/external/skia/gm/
Dmodecolorfilters.cpp122 static const int kRectsPerRow = SkMax32(this->getISize().fWidth / kRectWidth, 1); in onDraw()
/external/skia/bench/
DChartBench.cpp118 int dataPointCount = SkMax32(fSize.fWidth / kPixelsPerTick + 1, 2); in onDraw()
/external/skia/samplecode/
DSampleChart.cpp112 int dataPointCount = SkMax32(fSize.fWidth / kPixelsPerTick + 1, 2); in onDrawContent()
/external/skia/src/ports/
DSkFontHost_win.cpp479 fWidth = SkMax32(fWidth, glyph.fWidth); in draw()
480 fHeight = SkMax32(fHeight, glyph.fHeight); in draw()
1112 r = SkMax32(r, 10); g = SkMax32(g, 10); b = SkMax32(b, 10); in rgb_to_lcd16()
1205 dst[i] = SkMax32(dst[i], 10); in rgb_to_a8()

12