Searched refs:maxBitrate (Results 1 – 5 of 5) sorted by relevance
/frameworks/av/media/libstagefright/ |
D | Utils.cpp | 959 uint32_t maxBitrate, avgBitrate; in convertMetaDataToMessage() local 960 if (esds.getBitRate(&maxBitrate, &avgBitrate) == OK) { in convertMetaDataToMessage() 968 && maxBitrate > 0 && maxBitrate <= INT32_MAX && maxBitrate >= avgBitrate) { in convertMetaDataToMessage() 969 msg->setInt32("max-bitrate", (int32_t)maxBitrate); in convertMetaDataToMessage() 1267 int32_t maxBitrate; in convertMessageToMetaData() local 1271 if (msg->findInt32("max-bitrate", &maxBitrate) && maxBitrate > 0 && maxBitrate >= avgBitrate) { in convertMessageToMetaData() 1272 meta->setInt32(kKeyMaxBitRate, maxBitrate); in convertMessageToMetaData()
|
D | MediaCodecListOverrides.cpp | 84 AString maxBitrate; in getMeasureBitrate() local 85 if (!splitString(bitrateRange, "-", &minBitrate, &maxBitrate)) { in getMeasureBitrate()
|
D | MPEG4Writer.cpp | 3046 int32_t maxBitrate = 0; in writeMp4aEsdsBox() local 3047 (void)mMeta->findInt32(kKeyMaxBitRate, &maxBitrate); in writeMp4aEsdsBox() 3048 mOwner->writeInt32(maxBitrate); in writeMp4aEsdsBox() 3089 int32_t maxBitrate = 0; in writeMp4vEsdsBox() local 3090 (void)mMeta->findInt32(kKeyMaxBitRate, &maxBitrate); in writeMp4vEsdsBox() 3091 mOwner->writeInt32(maxBitrate); in writeMp4vEsdsBox()
|
D | MPEG4Extractor.cpp | 1781 uint32_t maxBitrate = U32_AT(&buffer[4]); in parseChunk() local 1783 if (maxBitrate > 0 && maxBitrate < INT32_MAX) { in parseChunk() 1784 mLastTrack->meta->setInt32(kKeyMaxBitRate, (int32_t)maxBitrate); in parseChunk()
|
/frameworks/base/media/java/android/media/ |
D | MediaCodecInfo.java | 686 Integer maxBitrate = (Integer)map.get(MediaFormat.KEY_MAX_BIT_RATE); in supportsBitrate() local 689 bitrate = maxBitrate; in supportsBitrate() 690 } else if (maxBitrate != null) { in supportsBitrate() 691 bitrate = Math.max(bitrate, maxBitrate); in supportsBitrate()
|