Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkBitmapDevice.cpp45 kMaxDim = 8192 - 1 enumerator
64 return dev->width() > kMaxDim || dev->height() > kMaxDim; in NeedsTiling()
78 fNeedsTiling = clipR.right() > kMaxDim || clipR.bottom() > kMaxDim; in SkDrawTiler()
96 fNeedsTiling = fSrcBounds.right() > kMaxDim || fSrcBounds.bottom() > kMaxDim; in SkDrawTiler()
111 fOrigin.set(fSrcBounds.fLeft - kMaxDim, fSrcBounds.fTop); in SkDrawTiler()
151 if (fOrigin.fX >= fSrcBounds.fRight - kMaxDim) { // too far in stepAndSetupTileDraw()
153 fOrigin.fY += kMaxDim; in stepAndSetupTileDraw()
155 fOrigin.fX += kMaxDim; in stepAndSetupTileDraw()
158 fDone = fOrigin.fX >= fSrcBounds.fRight - kMaxDim && in stepAndSetupTileDraw()
159 fOrigin.fY >= fSrcBounds.fBottom - kMaxDim; in stepAndSetupTileDraw()
[all …]
/external/skqp/src/core/
DSkBitmapDevice.cpp44 kMaxDim = 8192 - 1 enumerator
63 return dev->width() > kMaxDim || dev->height() > kMaxDim; in NeedsTiling()
77 fNeedsTiling = clipR.right() > kMaxDim || clipR.bottom() > kMaxDim; in SkDrawTiler()
95 fNeedsTiling = fSrcBounds.right() > kMaxDim || fSrcBounds.bottom() > kMaxDim; in SkDrawTiler()
110 fOrigin.set(fSrcBounds.fLeft - kMaxDim, fSrcBounds.fTop); in SkDrawTiler()
150 if (fOrigin.fX >= fSrcBounds.fRight - kMaxDim) { // too far in stepAndSetupTileDraw()
152 fOrigin.fY += kMaxDim; in stepAndSetupTileDraw()
154 fOrigin.fX += kMaxDim; in stepAndSetupTileDraw()
157 fDone = fOrigin.fX >= fSrcBounds.fRight - kMaxDim && in stepAndSetupTileDraw()
158 fOrigin.fY >= fSrcBounds.fBottom - kMaxDim; in stepAndSetupTileDraw()
[all …]
/external/tensorflow/tensorflow/lite/kernels/
Dslice.cc43 const int kMaxDim = 4; variable
122 TF_LITE_ENSURE_MSG(context, NumDimensions(input) <= kMaxDim, in Prepare()
148 begins.reserve(kMaxDim); in Eval()
150 sizes.reserve(kMaxDim); in Eval()
164 for (int i = NumDimensions(input); i < kMaxDim; ++i) { in Eval()
Dstrided_slice.cc62 const int kMaxDim = 4; variable
190 for (int i = op_context.dims; i < kMaxDim; i++) { in Eval()
/external/tensorflow/tensorflow/core/kernels/fuzzing/
Dscatter_nd_fuzz.cc68 flat_shape(i) = data[data_ix++] % kMaxDim; in FuzzImpl()
86 int64 dim = data[data_ix++] % kMaxDim; in FuzzImpl()
130 const size_t kMaxDim = 10; member in tensorflow::fuzzing::FuzzScatterNd
/external/skqp/src/codec/
DSkBmpCodec.cpp286 constexpr int kMaxDim = 1 << 16; in ReadHeader() local
287 if (width <= 0 || height <= 0 || width >= kMaxDim || height >= kMaxDim) { in ReadHeader()
/external/skia/src/codec/
DSkBmpCodec.cpp286 constexpr int kMaxDim = 1 << 16; in ReadHeader() local
287 if (width <= 0 || height <= 0 || width >= kMaxDim || height >= kMaxDim) { in ReadHeader()
/external/skqp/src/gpu/ops/
DGrSmallPathRenderer.cpp47 static const SkScalar kMaxDim = 73; variable
210 if (maxDim > kMaxDim || kMinSize > minSize || maxSize > kMaxSize) { in onCanDrawPath()
/external/skia/src/gpu/ops/
DGrSmallPathRenderer.cpp48 static const SkScalar kMaxDim = 73; variable
211 if (maxDim > kMaxDim || kMinSize > minSize || maxSize > kMaxSize) { in onCanDrawPath()