Home
last modified time | relevance | path

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

/frameworks/av/media/libmedia/
DVideoCapabilities.cpp114 const int32_t widthInBlocks = divUp(width, mBlockWidth); in getSupportedHeightsFor() local
117 divUp(mBlockCountRange.lower(), widthInBlocks), in getSupportedHeightsFor()
118 (int32_t)std::ceil(widthInBlocks / in getSupportedHeightsFor()
121 mBlockCountRange.upper() / widthInBlocks, in getSupportedHeightsFor()
122 (int32_t)(widthInBlocks / in getSupportedHeightsFor()
410 const int32_t widthInBlocks = divUp(width.value(), mBlockWidth); in supports() local
412 const int32_t blockCount = widthInBlocks * heightInBlocks; in supports()
415 Rational(widthInBlocks, heightInBlocks)) in supports()
/frameworks/base/media/java/android/media/
DMediaCodecInfo.java2065 final int widthInBlocks = Utils.divUp(width, mBlockWidth); in getSupportedHeightsFor() local
2069 Utils.divUp(mBlockCountRange.getLower(), widthInBlocks), in getSupportedHeightsFor()
2070 (int)Math.ceil(widthInBlocks / in getSupportedHeightsFor()
2073 mBlockCountRange.getUpper() / widthInBlocks, in getSupportedHeightsFor()
2074 (int)(widthInBlocks / in getSupportedHeightsFor()
2593 final int widthInBlocks = Utils.divUp(width, mBlockWidth); in supports() local
2595 final int blockCount = widthInBlocks * heightInBlocks; in supports()
2598 new Rational(widthInBlocks, heightInBlocks)) in supports()