Home
last modified time | relevance | path

Searched refs:computedSize (Results 1 – 3 of 3) sorted by relevance

/external/skia/src/codec/
DSkAndroidCodec.cpp229 auto computedSize = this->getSampledDimensions(sampleSize); in computeSampleSize() local
230 if (computedSize == *desiredSize) { in computeSampleSize()
234 if (computedSize == origDims || sampleSize == 1) { in computeSampleSize()
236 *desiredSize = computedSize; in computeSampleSize()
240 if (strictly_bigger_than(computedSize, *desiredSize)) { in computeSampleSize()
247 if (smaller == computedSize || smaller_than(smaller, *desiredSize)) { in computeSampleSize()
249 *desiredSize = computedSize; in computeSampleSize()
254 computedSize = smaller; in computeSampleSize()
260 if (!smaller_than(computedSize, *desiredSize)) { in computeSampleSize()
263 *desiredSize = computedSize; in computeSampleSize()
/external/skqp/src/codec/
DSkAndroidCodec.cpp241 auto computedSize = this->getSampledDimensions(sampleSize); in computeSampleSize() local
242 if (computedSize == *desiredSize) { in computeSampleSize()
246 if (computedSize == fInfo.dimensions() || sampleSize == 1) { in computeSampleSize()
248 *desiredSize = computedSize; in computeSampleSize()
252 if (strictly_bigger_than(computedSize, *desiredSize)) { in computeSampleSize()
259 if (smaller == computedSize || smaller_than(smaller, *desiredSize)) { in computeSampleSize()
261 *desiredSize = computedSize; in computeSampleSize()
266 computedSize = smaller; in computeSampleSize()
272 if (!smaller_than(computedSize, *desiredSize)) { in computeSampleSize()
275 *desiredSize = computedSize; in computeSampleSize()
/external/skia/src/gpu/
DGrGpu.cpp763 size_t computedSize = SkCompressedDataSize(compressionType, in CompressedDataIsCorrect() local
767 return computedSize == length; in CompressedDataIsCorrect()