Searched refs:divUp (Results 1 - 11 of 11) sorted by relevance

/frameworks/av/media/libstagefright/foundation/tests/
H A DUtils_test.cpp155 ASSERT_EQ(divUp(-11, -4), 3);
156 ASSERT_EQ(divUp(-12, -4), 3);
157 ASSERT_EQ(divUp(-13, -4), 4);
159 ASSERT_EQ(divUp(11, -4), -2);
160 ASSERT_EQ(divUp(12, -4), -3);
161 ASSERT_EQ(divUp(13, -4), -3);
163 ASSERT_EQ(divUp(-11, 4), -2);
164 ASSERT_EQ(divUp(-12, 4), -3);
165 ASSERT_EQ(divUp(-13, 4), -3);
167 ASSERT_EQ(divUp(1
[all...]
/frameworks/base/media/java/android/media/
H A DUtils.java144 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) { method in class:Utils
186 static long divUp(long num, long den) { method in class:Utils
H A DMediaCodecInfo.java1327 final int heightInBlocks = Utils.divUp(height, mBlockHeight);
1331 Utils.divUp(mBlockCountRange.getLower(), heightInBlocks),
1371 final int widthInBlocks = Utils.divUp(width, mBlockWidth);
1375 Utils.divUp(mBlockCountRange.getLower(), widthInBlocks),
1421 Utils.divUp(width, mBlockWidth) * Utils.divUp(height, mBlockHeight);
1431 return Utils.divUp(width, mBlockWidth) * Utils.divUp(height, mBlockHeight);
1550 final int widthInBlocks = Utils.divUp(width, mBlockWidth);
1551 final int heightInBlocks = Utils.divUp(heigh
[all...]
H A DMediaCodec.java3722 buffer.limit(buffer.position() + Utils.divUp(bitDepth, 8)
/frameworks/av/include/media/stagefright/foundation/
H A DAUtils.h35 inline static const T divUp(const T &num, const T &den) { function
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/
H A DAUtils.h35 inline static const T divUp(const T &num, const T &den) { function
/frameworks/av/media/libstagefright/include/media/stagefright/foundation/
H A DAUtils.h35 inline static const T divUp(const T &num, const T &den) { function
/frameworks/av/media/libstagefright/
H A DDataConverter.cpp75 size_t numSamples = divUp(sourceSize, (size_t)mSourceSampleSize);
H A DACodec.cpp2430 *intraRefreshPeriod = divUp((divUp(width, 16u) * divUp(height, 16u)), refreshParams.nCirMBs);
2476 refreshParams.nCirMBs = divUp((divUp(width, 16u) * divUp(height, 16u)), intraRefreshPeriod);
4212 bitrate = divUp(bitrate, 3000); break;
4215 bitrate = divUp(bitrate, 1250); break;
4217 bitrate = divUp(bitrate, 1000); break;
4221 width = divUp(widt
[all...]
H A DMPEG4Writer.cpp3116 std::max(100, divUp(1000000, mTimeScale)), decodingTimeUs);
/frameworks/base/config/
H A Dboot-image-profile.txt[all...]

Completed in 126 milliseconds