Home
last modified time | relevance | path

Searched refs:computedSize (Results 1 - 2 of 2) sorted by relevance

/third_party/skia/src/codec/
H A 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()
[all...]
/third_party/skia/src/gpu/
H A DGrGpu.cpp865 size_t computedSize = SkCompressedDataSize(compressionType, in CompressedDataIsCorrect() local
869 return computedSize == length; in CompressedDataIsCorrect()

Completed in 3 milliseconds