Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/hwui/
DImageDecoder.cpp91 static bool requires_matrix_scaling(bool swapWidthHeight, const SkISize& decodeSize, in requires_matrix_scaling() argument
93 return (swapWidthHeight && decodeSize != swapped(targetSize)) in requires_matrix_scaling()
94 || (!swapWidthHeight && decodeSize != targetSize); in requires_matrix_scaling()
127 SkISize decodeSize = swap ? SkISize { height, width } : targetSize; in setTargetSize()
128 int sampleSize = mCodec->computeSampleSize(&decodeSize); in setTargetSize()
132 if (requires_matrix_scaling(swap, decodeSize, targetSize)) { in setTargetSize()
138 mDecodeSize = decodeSize; in setTargetSize()