Home
last modified time | relevance | path

Searched refs:maxBitrate (Results 1 – 5 of 5) sorted by relevance

/frameworks/av/media/libstagefright/
DMediaCodecListOverrides.cpp82 AString maxBitrate; in getMeasureBitrate() local
83 if (!splitString(bitrateRange, "-", &minBitrate, &maxBitrate)) { in getMeasureBitrate()
DUtils.cpp1335 uint32_t maxBitrate, avgBitrate; in convertMetaDataToMessage() local
1336 if (esds.getBitRate(&maxBitrate, &avgBitrate) == OK) { in convertMetaDataToMessage()
1344 && maxBitrate > 0 && maxBitrate <= INT32_MAX && maxBitrate >= avgBitrate) { in convertMetaDataToMessage()
1345 msg->setInt32("max-bitrate", (int32_t)maxBitrate); in convertMetaDataToMessage()
1638 int32_t maxBitrate; in convertMessageToMetaData() local
1642 if (msg->findInt32("max-bitrate", &maxBitrate) && maxBitrate > 0 && maxBitrate >= avgBitrate) { in convertMessageToMetaData()
1643 meta->setInt32(kKeyMaxBitRate, maxBitrate); in convertMessageToMetaData()
DMPEG4Writer.cpp3940 int32_t maxBitrate = 0; in writeMp4aEsdsBox() local
3941 (void)mMeta->findInt32(kKeyMaxBitRate, &maxBitrate); in writeMp4aEsdsBox()
3942 mOwner->writeInt32(maxBitrate); in writeMp4aEsdsBox()
3994 int32_t maxBitrate = 0; in writeMp4vEsdsBox() local
3995 (void)mMeta->findInt32(kKeyMaxBitRate, &maxBitrate); in writeMp4vEsdsBox()
3996 mOwner->writeInt32(maxBitrate); in writeMp4vEsdsBox()
/frameworks/av/media/extractors/mp4/
DMPEG4Extractor.cpp2235 uint32_t maxBitrate = U32_AT(&buffer[4]); in parseChunk() local
2237 if (maxBitrate > 0 && maxBitrate < INT32_MAX) { in parseChunk()
2239 AMEDIAFORMAT_KEY_MAX_BIT_RATE, (int32_t)maxBitrate); in parseChunk()
4278 uint32_t maxBitrate = 0; in updateAudioTrackInfoFromESDS_MPEG4Audio() local
4280 esds.getBitRate(&maxBitrate, &avgBitrate); in updateAudioTrackInfoFromESDS_MPEG4Audio()
4281 if (maxBitrate > 0 && maxBitrate < INT32_MAX) { in updateAudioTrackInfoFromESDS_MPEG4Audio()
4283 AMEDIAFORMAT_KEY_MAX_BIT_RATE, (int32_t)maxBitrate); in updateAudioTrackInfoFromESDS_MPEG4Audio()
/frameworks/base/media/java/android/media/
DMediaCodecInfo.java786 Integer maxBitrate = (Integer)map.get(MediaFormat.KEY_MAX_BIT_RATE); in supportsBitrate() local
789 bitrate = maxBitrate; in supportsBitrate()
790 } else if (maxBitrate != null) { in supportsBitrate()
791 bitrate = Math.max(bitrate, maxBitrate); in supportsBitrate()