Searched refs:divUp (Results 1 – 11 of 11) sorted by relevance
/frameworks/av/media/libstagefright/foundation/tests/ |
D | Utils_test.cpp | 155 ASSERT_EQ(divUp(-11, -4), 3); in TEST_F() 156 ASSERT_EQ(divUp(-12, -4), 3); in TEST_F() 157 ASSERT_EQ(divUp(-13, -4), 4); in TEST_F() 159 ASSERT_EQ(divUp(11, -4), -2); in TEST_F() 160 ASSERT_EQ(divUp(12, -4), -3); in TEST_F() 161 ASSERT_EQ(divUp(13, -4), -3); in TEST_F() 163 ASSERT_EQ(divUp(-11, 4), -2); in TEST_F() 164 ASSERT_EQ(divUp(-12, 4), -3); in TEST_F() 165 ASSERT_EQ(divUp(-13, 4), -3); in TEST_F() 167 ASSERT_EQ(divUp(11, 4), 3); in TEST_F() [all …]
|
/frameworks/base/media/java/android/media/ |
D | Utils.java | 144 return Range.create(divUp(range.getLower(), factor), range.getUpper() / factor); 155 return Range.create(divUp(range.getLower(), factor), range.getUpper() / factor); 178 divUp(range.getLower(), align) * align, 182 static int divUp(int num, int den) { 186 static long divUp(long num, long den) {
|
D | MediaCodecInfo.java | 1434 final int heightInBlocks = Utils.divUp(height, mBlockHeight); in getSupportedWidthsFor() 1438 Utils.divUp(mBlockCountRange.getLower(), heightInBlocks), in getSupportedWidthsFor() 1478 final int widthInBlocks = Utils.divUp(width, mBlockWidth); in getSupportedHeightsFor() 1482 Utils.divUp(mBlockCountRange.getLower(), widthInBlocks), in getSupportedHeightsFor() 1528 Utils.divUp(width, mBlockWidth) * Utils.divUp(height, mBlockHeight); in getSupportedFrameRatesFor() 1538 return Utils.divUp(width, mBlockWidth) * Utils.divUp(height, mBlockHeight); in getBlockCount() 1674 int origRate = (int)Utils.divUp(mMaxMacroBlockRate, getMaxMacroBlocks()); in toString() 1713 mBlockSize = new Size(Utils.divUp(blockSize.getWidth(), 16), in PerformancePoint() 1714 Utils.divUp(blockSize.getHeight(), 16)); in PerformancePoint() 1716 mWidth = (int)(Utils.divUp(Math.max(1L, width), in PerformancePoint() [all …]
|
D | MediaCodec.java | 3954 buffer.limit(buffer.position() + Utils.divUp(bitDepth, 8) in MediaImage()
|
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/ |
D | AUtils.h | 35 inline static const T divUp(const T &num, const T &den) { in divUp() function
|
/frameworks/av/media/libstagefright/ |
D | DataConverter.cpp | 75 size_t numSamples = divUp(sourceSize, (size_t)mSourceSampleSize); in targetSize()
|
D | ACodec.cpp | 2461 *intraRefreshPeriod = divUp((divUp(width, 16u) * divUp(height, 16u)), refreshParams.nCirMBs); in getIntraRefreshPeriod() 2507 refreshParams.nCirMBs = divUp((divUp(width, 16u) * divUp(height, 16u)), intraRefreshPeriod); in setIntraRefreshPeriod() 4288 bitrate = divUp(bitrate, 3000); break; in getAVCLevelFor() 4291 bitrate = divUp(bitrate, 1250); break; in getAVCLevelFor() 4293 bitrate = divUp(bitrate, 1000); break; in getAVCLevelFor() 4297 width = divUp(width, 16); in getAVCLevelFor() 4298 height = divUp(height, 16); in getAVCLevelFor()
|
D | MPEG4Writer.cpp | 3187 std::max(100, divUp(1000000, mTimeScale)), decodingTimeUs); in threadEntry()
|
/frameworks/av/media/codec2/sfplugin/ |
D | Codec2Buffer.cpp | 234 uint32_t stride = align(view.crop().width, 2) * divUp(layout.planes[0].allocatedDepth, 8u); in GraphicView2MediaImageConverter() 277 * divUp(mAllocatedDepth, 8u); in GraphicView2MediaImageConverter()
|
/frameworks/av/media/codec2/sfplugin/utils/ |
D | Codec2BufferUtils.cpp | 69 const size_t bpp = divUp(img->mBitDepthAllocated, 8u); in _ImageCopy()
|
/frameworks/base/config/ |
D | boot-image-profile.txt | 9784 HSPLandroid/media/Utils;->divUp(II)I 9785 HSPLandroid/media/Utils;->divUp(JJ)J
|