Searched refs:maxBitrate (Results 1 – 5 of 5) sorted by relevance
/frameworks/av/media/libstagefright/ |
D | MediaCodecListOverrides.cpp | 82 AString maxBitrate; in getMeasureBitrate() local 83 if (!splitString(bitrateRange, "-", &minBitrate, &maxBitrate)) { in getMeasureBitrate()
|
D | Utils.cpp | 1428 uint32_t maxBitrate, avgBitrate; in convertMetaDataToMessage() local 1429 if (esds.getBitRate(&maxBitrate, &avgBitrate) == OK) { in convertMetaDataToMessage() 1437 && maxBitrate > 0 && maxBitrate <= INT32_MAX && maxBitrate >= avgBitrate) { in convertMetaDataToMessage() 1438 msg->setInt32("max-bitrate", (int32_t)maxBitrate); in convertMetaDataToMessage() 1746 int32_t maxBitrate; in convertMessageToMetaData() local 1750 if (msg->findInt32("max-bitrate", &maxBitrate) && maxBitrate > 0 && maxBitrate >= avgBitrate) { in convertMessageToMetaData() 1751 meta->setInt32(kKeyMaxBitRate, maxBitrate); in convertMessageToMetaData()
|
D | MPEG4Writer.cpp | 4468 int32_t maxBitrate = 0; in writeMp4aEsdsBox() local 4469 (void)mMeta->findInt32(kKeyMaxBitRate, &maxBitrate); in writeMp4aEsdsBox() 4470 mOwner->writeInt32(maxBitrate); in writeMp4aEsdsBox() 4522 int32_t maxBitrate = 0; in writeMp4vEsdsBox() local 4523 (void)mMeta->findInt32(kKeyMaxBitRate, &maxBitrate); in writeMp4vEsdsBox() 4524 mOwner->writeInt32(maxBitrate); in writeMp4vEsdsBox()
|
/frameworks/av/media/extractors/mp4/ |
D | MPEG4Extractor.cpp | 2508 uint32_t maxBitrate = U32_AT(&buffer[4]); in parseChunk() local 2510 if (maxBitrate > 0 && maxBitrate < INT32_MAX) { in parseChunk() 2512 AMEDIAFORMAT_KEY_MAX_BIT_RATE, (int32_t)maxBitrate); in parseChunk() 4691 uint32_t maxBitrate = 0; in updateAudioTrackInfoFromESDS_MPEG4Audio() local 4693 esds.getBitRate(&maxBitrate, &avgBitrate); in updateAudioTrackInfoFromESDS_MPEG4Audio() 4694 if (maxBitrate > 0 && maxBitrate < INT32_MAX) { in updateAudioTrackInfoFromESDS_MPEG4Audio() 4696 AMEDIAFORMAT_KEY_MAX_BIT_RATE, (int32_t)maxBitrate); in updateAudioTrackInfoFromESDS_MPEG4Audio()
|
/frameworks/base/media/java/android/media/ |
D | MediaCodecInfo.java | 838 Integer maxBitrate = (Integer)map.get(MediaFormat.KEY_MAX_BIT_RATE); in supportsBitrate() local 841 bitrate = maxBitrate; in supportsBitrate() 842 } else if (maxBitrate != null) { in supportsBitrate() 843 bitrate = Math.max(bitrate, maxBitrate); in supportsBitrate()
|