Searched refs:divUp (Results 1 – 12 of 12) sorted by relevance
/frameworks/av/media/module/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 | 160 return Range.create(divUp(range.getLower(), factor), range.getUpper() / factor); 171 return Range.create(divUp(range.getLower(), factor), range.getUpper() / factor); 194 divUp(range.getLower(), align) * align, 198 static int divUp(int num, int den) { 202 static long divUp(long num, long den) {
|
D | MediaCodecInfo.java | 1980 final int heightInBlocks = Utils.divUp(height, mBlockHeight); in getSupportedWidthsFor() 1984 Utils.divUp(mBlockCountRange.getLower(), heightInBlocks), in getSupportedWidthsFor() 2024 final int widthInBlocks = Utils.divUp(width, mBlockWidth); in getSupportedHeightsFor() 2028 Utils.divUp(mBlockCountRange.getLower(), widthInBlocks), in getSupportedHeightsFor() 2074 Utils.divUp(width, mBlockWidth) * Utils.divUp(height, mBlockHeight); in getSupportedFrameRatesFor() 2084 return Utils.divUp(width, mBlockWidth) * Utils.divUp(height, mBlockHeight); in getBlockCount() 2220 int origRate = (int)Utils.divUp(mMaxMacroBlockRate, getMaxMacroBlocks()); in toString() 2259 mBlockSize = new Size(Utils.divUp(blockSize.getWidth(), 16), in PerformancePoint() 2260 Utils.divUp(blockSize.getHeight(), 16)); in PerformancePoint() 2262 mWidth = (int)(Utils.divUp(Math.max(1L, width), in PerformancePoint() [all …]
|
D | MediaCodec.java | 5942 buffer.limit(buffer.position() + Utils.divUp(bitDepth, 8) in MediaImage()
|
/frameworks/av/media/module/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 | 79 size_t numSamples = divUp(sourceSize, (size_t)mSourceSampleSize); in targetSize()
|
D | ACodec.cpp | 2679 *intraRefreshPeriod = divUp((divUp(width, 16u) * divUp(height, 16u)), refreshParams.nCirMBs); in getIntraRefreshPeriod() 2725 refreshParams.nCirMBs = divUp((divUp(width, 16u) * divUp(height, 16u)), intraRefreshPeriod); in setIntraRefreshPeriod() 4554 bitrate = divUp(bitrate, 3000); break; in getAVCLevelFor() 4557 bitrate = divUp(bitrate, 1250); break; in getAVCLevelFor() 4559 bitrate = divUp(bitrate, 1000); break; in getAVCLevelFor() 4563 width = divUp(width, 16); in getAVCLevelFor() 4564 height = divUp(height, 16); in getAVCLevelFor()
|
D | MPEG4Writer.cpp | 3827 std::max(100, divUp(1000000, mTimeScale)), decodingTimeUs); in threadEntry()
|
/frameworks/av/media/codec2/sfplugin/ |
D | Codec2Buffer.cpp | 264 uint32_t stride = align(view.crop().width, 2) * divUp(layout.planes[0].allocatedDepth, 8u); in GraphicView2MediaImageConverter() 450 int32_t colInc = divUp(mAllocatedDepth, 8u); in GraphicView2MediaImageConverter() 575 planeSize += planeStride * divUp(mAllocatedDepth, 8u) in GraphicView2MediaImageConverter()
|
/frameworks/av/media/codec2/sfplugin/utils/ |
D | Codec2BufferUtils.cpp | 72 const size_t bpp = divUp(img->mBitDepthAllocated, 8u); in _ImageCopy()
|
/frameworks/base/boot/ |
D | boot-image-profile.txt | 11114 HSPLandroid/media/Utils;->divUp(II)I 11115 HSPLandroid/media/Utils;->divUp(JJ)J
|
/frameworks/base/config/ |
D | boot-image-profile.txt | 11117 HSPLandroid/media/Utils;->divUp(II)I 11118 HSPLandroid/media/Utils;->divUp(JJ)J
|