Searched refs:maxBitrate (Results 1 – 5 of 5) sorted by relevance
/frameworks/av/media/libstagefright/ |
D | Utils.cpp | 1330 uint32_t maxBitrate, avgBitrate; in convertMetaDataToMessage() local 1331 if (esds.getBitRate(&maxBitrate, &avgBitrate) == OK) { in convertMetaDataToMessage() 1339 && maxBitrate > 0 && maxBitrate <= INT32_MAX && maxBitrate >= avgBitrate) { in convertMetaDataToMessage() 1340 msg->setInt32("max-bitrate", (int32_t)maxBitrate); in convertMetaDataToMessage() 1633 int32_t maxBitrate; in convertMessageToMetaData() local 1637 if (msg->findInt32("max-bitrate", &maxBitrate) && maxBitrate > 0 && maxBitrate >= avgBitrate) { in convertMessageToMetaData() 1638 meta->setInt32(kKeyMaxBitRate, maxBitrate); in convertMessageToMetaData()
|
D | MediaCodecListOverrides.cpp | 82 AString maxBitrate; in getMeasureBitrate() local 83 if (!splitString(bitrateRange, "-", &minBitrate, &maxBitrate)) { in getMeasureBitrate()
|
D | MPEG4Writer.cpp | 3946 int32_t maxBitrate = 0; in writeMp4aEsdsBox() local 3947 (void)mMeta->findInt32(kKeyMaxBitRate, &maxBitrate); in writeMp4aEsdsBox() 3948 mOwner->writeInt32(maxBitrate); in writeMp4aEsdsBox() 4000 int32_t maxBitrate = 0; in writeMp4vEsdsBox() local 4001 (void)mMeta->findInt32(kKeyMaxBitRate, &maxBitrate); in writeMp4vEsdsBox() 4002 mOwner->writeInt32(maxBitrate); in writeMp4vEsdsBox()
|
/frameworks/av/media/extractors/mp4/ |
D | MPEG4Extractor.cpp | 2258 uint32_t maxBitrate = U32_AT(&buffer[4]); in parseChunk() local 2260 if (maxBitrate > 0 && maxBitrate < INT32_MAX) { in parseChunk() 2262 AMEDIAFORMAT_KEY_MAX_BIT_RATE, (int32_t)maxBitrate); in parseChunk() 4322 uint32_t maxBitrate = 0; in updateAudioTrackInfoFromESDS_MPEG4Audio() local 4324 esds.getBitRate(&maxBitrate, &avgBitrate); in updateAudioTrackInfoFromESDS_MPEG4Audio() 4325 if (maxBitrate > 0 && maxBitrate < INT32_MAX) { in updateAudioTrackInfoFromESDS_MPEG4Audio() 4327 AMEDIAFORMAT_KEY_MAX_BIT_RATE, (int32_t)maxBitrate); in updateAudioTrackInfoFromESDS_MPEG4Audio()
|
/frameworks/base/media/java/android/media/ |
D | MediaCodecInfo.java | 786 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()
|