Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/hwui/
DImageDecoder.cpp74 static bool requires_matrix_scaling(bool swapWidthHeight, const SkISize& decodeSize, in requires_matrix_scaling() argument
76 return (swapWidthHeight && decodeSize != swapped(targetSize)) in requires_matrix_scaling()
77 || (!swapWidthHeight && decodeSize != targetSize); in requires_matrix_scaling()
110 SkISize decodeSize = swap ? SkISize { height, width } : targetSize; in setTargetSize()
111 int sampleSize = mCodec->computeSampleSize(&decodeSize); in setTargetSize()
115 if (requires_matrix_scaling(swap, decodeSize, targetSize)) { in setTargetSize()
121 mDecodeSize = decodeSize; in setTargetSize()