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.cpp1392 uint32_t maxBitrate, avgBitrate; in convertMetaDataToMessage() local
1393 if (esds.getBitRate(&maxBitrate, &avgBitrate) == OK) { in convertMetaDataToMessage()
1401 && maxBitrate > 0 && maxBitrate <= INT32_MAX && maxBitrate >= avgBitrate) { in convertMetaDataToMessage()
1402 msg->setInt32("max-bitrate", (int32_t)maxBitrate); in convertMetaDataToMessage()
1701 int32_t maxBitrate; in convertMessageToMetaData() local
1705 if (msg->findInt32("max-bitrate", &maxBitrate) && maxBitrate > 0 && maxBitrate >= avgBitrate) { in convertMessageToMetaData()
1706 meta->setInt32(kKeyMaxBitRate, maxBitrate); in convertMessageToMetaData()
DMPEG4Writer.cpp4329 int32_t maxBitrate = 0; in writeMp4aEsdsBox() local
4330 (void)mMeta->findInt32(kKeyMaxBitRate, &maxBitrate); in writeMp4aEsdsBox()
4331 mOwner->writeInt32(maxBitrate); in writeMp4aEsdsBox()
4383 int32_t maxBitrate = 0; in writeMp4vEsdsBox() local
4384 (void)mMeta->findInt32(kKeyMaxBitRate, &maxBitrate); in writeMp4vEsdsBox()
4385 mOwner->writeInt32(maxBitrate); in writeMp4vEsdsBox()
/frameworks/av/media/extractors/mp4/
DMPEG4Extractor.cpp2377 uint32_t maxBitrate = U32_AT(&buffer[4]); in parseChunk() local
2379 if (maxBitrate > 0 && maxBitrate < INT32_MAX) { in parseChunk()
2381 AMEDIAFORMAT_KEY_MAX_BIT_RATE, (int32_t)maxBitrate); in parseChunk()
4493 uint32_t maxBitrate = 0; in updateAudioTrackInfoFromESDS_MPEG4Audio() local
4495 esds.getBitRate(&maxBitrate, &avgBitrate); in updateAudioTrackInfoFromESDS_MPEG4Audio()
4496 if (maxBitrate > 0 && maxBitrate < INT32_MAX) { in updateAudioTrackInfoFromESDS_MPEG4Audio()
4498 AMEDIAFORMAT_KEY_MAX_BIT_RATE, (int32_t)maxBitrate); in updateAudioTrackInfoFromESDS_MPEG4Audio()
/frameworks/base/media/java/android/media/
DMediaCodecInfo.java826 Integer maxBitrate = (Integer)map.get(MediaFormat.KEY_MAX_BIT_RATE); in supportsBitrate() local
829 bitrate = maxBitrate; in supportsBitrate()
830 } else if (maxBitrate != null) { in supportsBitrate()
831 bitrate = Math.max(bitrate, maxBitrate); in supportsBitrate()