/frameworks/av/media/libstagefright/codecs/aacenc/inc/ |
H A D | bitenc.h | 34 Word32 bitrate; member in struct:BITSTREAMENCODER_INIT
|
H A D | qc_data.h | 73 Word32 bitrate; member in struct:QC_INIT
|
/frameworks/av/media/libstagefright/codecs/aacenc/src/ |
H A D | aacenc.c | 323 int ret, i, bitrate, tmp; local 365 /* check the bitrate */ 381 bitrate = config.bitRate / config.nChannelsOut; 382 bitrate = bitrate * tmp / config.sampleRate; 386 if (rates[i] >= bitrate) 448 bitrate = config.bitRate / config.nChannelsOut; 449 bitrate = bitrate * tmp / config.sampleRate; 453 if (rates[i] >= bitrate) [all...] |
H A D | psy_configuration.c | 193 const Word32 bitrate, 203 if (bitrate > 22000) 278 static void initMinSnr(const Word32 bitrate, argument 296 pePerWindow = bits2pe(extract_l((bitrate * numLines) / samplerate)); 345 Word16 InitPsyConfigurationLong(Word32 bitrate, argument 388 bitrate, 411 initMinSnr(bitrate, 429 Word16 InitPsyConfigurationShort(Word32 bitrate, argument 470 bitrate, 495 initMinSnr(bitrate, 187 initSpreading(Word16 numPb, Word16 *pbBarcValue, Word16 *pbMaskLoFactor, Word16 *pbMaskHiFactor, Word16 *pbMaskLoFactorSprEn, Word16 *pbMaskHiFactorSprEn, const Word32 bitrate, const Word16 blockType) argument [all...] |
/frameworks/av/media/libstagefright/codecs/avc/enc/src/ |
H A D | avcenc_api.cpp | 684 OSCL_EXPORT_REF AVCEnc_Status PVAVCEncUpdateBitRate(AVCHandle *avcHandle, uint32 bitrate) argument 687 OSCL_UNUSED_ARG(bitrate);
|
H A D | avcenc_api.h | 150 uint32 bitrate; /* target encoding bit rate in bits/second */ member in struct:tagAVCEncParam 312 OSCL_IMPORT_REF AVCEnc_Status PVAVCEncUpdateBitRate(AVCHandle *avcHandle, uint32 bitrate);
|
H A D | avcenc_int.h | 170 int bitrate; /* bitrate for current frame */ member in struct:tagMultiPass 196 /* For target bitrate or framerate update */ 197 OsclFloat target_bits_per_frame; /* = C = bitrate/framerate */ 219 /* bitrate-robustness tradeoff */ 313 int max_BitVariance_num; /* the number of the maximum bit variance within the given buffer with the unit of 10% of bitrate/framerate*/
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
H A D | rate_control.h | 85 Int max_BitVariance_num; /* the number of the maximum bit variance within the given buffer with the unit of 10% of bitrate/framerate*/ 88 Int bitrate; member in struct:__anon465
|
H A D | mp4lib_int.h | 269 Int bitrate; /* bitrate for current frame */ member in struct:tagMultiPass 295 /* For target bitrate or framerate update */ 296 float target_bits_per_frame; /* = C = bitrate/framerate */
|
/frameworks/av/media/libstagefright/codecs/on2/enc/ |
H A D | SoftVPXEncoder.cpp | 74 mBitrateControlMode(VPX_VBR), // variable bitrate 166 // bitrate - expressed as percentage of the target bitrate. 169 // bitrate - expressed as percentage of the target bitrate. 253 // Set bitrate values for each layer 359 OMX_VIDEO_PARAM_BITRATETYPE *bitrate = local 362 if (bitrate->nPortIndex != kOutputPortIndex) { 366 bitrate->nTargetBitrate = mBitrate; 369 bitrate 552 internalSetBitrateParams( const OMX_VIDEO_PARAM_BITRATETYPE* bitrate) argument [all...] |
/frameworks/av/media/libstagefright/ |
H A D | MediaCodecListOverrides.cpp | 75 static void getMeasureBitrate(sp<MediaCodecInfo::Capabilities> caps, int32_t *bitrate) { argument 78 *bitrate = 200000; 80 if (!caps->getDetails()->findString("bitrate-range", &bitrateRange)) { 89 *bitrate = strtol(minBitrate.c_str(), NULL, 10); 98 int32_t bitrate = 0; local 99 getMeasureBitrate(caps, &bitrate); 100 format->setInt32("bitrate", bitrate);
|
H A D | NuMediaExtractor.cpp | 190 int32_t bitrate; local 191 if (!meta->findInt32(kKeyBitRate, &bitrate)) { 194 ALOGV("track of type '%s' does not publish bitrate", mime); 198 mTotalBitrate += bitrate; 538 bool NuMediaExtractor::getTotalBitrate(int64_t *bitrate) const { 540 *bitrate = mTotalBitrate; 546 *bitrate = size * 8000000ll / mDurationUs; // in bits/sec 558 int64_t bitrate; local 568 && getTotalBitrate(&bitrate)) { 576 *durationUs = cachedDataRemaining * 8000000ll / bitrate; [all...] |
H A D | MP3Extractor.cpp | 43 // protection, bitrate, padding, private bits, mode, mode extension, 148 int sample_rate, num_channels, bitrate; local 151 &sample_rate, &num_channels, &bitrate)) { 302 // result in an extra 1152 samples being output. In addition, the bitrate 309 int bitrate; local 311 header, &frame_size, &sample_rate, &num_channels, &bitrate); 324 int bitrate; local 326 header, &frame_size, &sample_rate, &num_channels, &bitrate); 345 mMeta->setInt32(kKeyBitRate, bitrate * 1000); 353 durationUs = 8000LL * (fileSize - mFirstFramePos) / bitrate; 499 int32_t bitrate; local 525 int bitrate; local [all...] |
H A D | avc_utils.cpp | 637 // Disallow "free" bitrate. 670 int bitrate = local 676 *out_bitrate = bitrate; 679 *frame_size = (12000 * bitrate / sampling_rate + padding) * 4; 702 int bitrate; local 704 bitrate = (layer == 2 /* L2 */) 714 bitrate = kBitrateV2[bitrate_index - 1]; 721 *out_bitrate = bitrate; 725 *frame_size = 144000 * bitrate / sampling_rate + padding; 729 *frame_size = tmp * bitrate / sampling_rat [all...] |
H A D | AwesomePlayer.cpp | 395 // Attempt to approximate overall stream bitrate by summing all 396 // tracks' individual bitrates, if not all of them advertise bitrate, 405 int32_t bitrate; local 406 if (!meta->findInt32(kKeyBitRate, &bitrate)) { 409 ALOGV("track of type '%s' does not publish bitrate", mime); 415 totalBitRate += bitrate; 653 bool AwesomePlayer::getBitrate(int64_t *bitrate) { argument 657 *bitrate = size * 8000000ll / mDurationUs; // in bits/sec 662 *bitrate = mBitrate; 666 *bitrate 673 int64_t bitrate; local [all...] |
H A D | ACodec.cpp | 1643 // FLAC encoder doesn't need a bitrate, other encoders do 1645 && !msg->findInt32("bitrate", &bitRate)) { 2561 status_t ACodec::setupAMRCodec(bool encoder, bool isWAMR, int32_t bitrate) { argument 2574 def.eAMRBandMode = pickModeFromBitRate(isWAMR, bitrate); 2978 int32_t width, height, bitrate; local 2981 || !msg->findInt32("bitrate", &bitrate)) { 3063 video_def->nBitrate = bitrate; 3159 if (!msg->findInt32("bitrate-mode", &tmp)) { 3167 int32_t bitrate, iFrameInterva local 3248 int32_t bitrate, iFrameInterval; local 3324 getAVCLevelFor( int width, int height, int rate, int bitrate, OMX_VIDEO_AVCPROFILETYPE profile) argument 3376 int32_t bitrate, iFrameInterval; local 3484 int32_t bitrate, iFrameInterval; local 3540 int32_t bitrate; local 3645 configureBitrate( int32_t bitrate, OMX_VIDEO_CONTROLRATETYPE bitrateMode) argument [all...] |
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
H A D | GenericSource.cpp | 265 int32_t bitrate; local 266 if (totalBitrate >= 0 && meta->findInt32(kKeyBitRate, &bitrate)) { 267 totalBitrate += bitrate; 684 int64_t bitrate = 0ll; local 686 bitrate = size * 8000000ll / mDurationUs; 688 bitrate = mBitrate; 690 if (bitrate > 0) { 691 cachedDurationUs = cachedDataRemaining * 8000000ll / bitrate;
|
/frameworks/av/media/libstagefright/codecs/avcenc/ |
H A D | SoftAVCEnc.cpp | 1067 const OMX_VIDEO_PARAM_BITRATETYPE *bitrate) { 1068 if (bitrate->nPortIndex != kOutputPortIndex) { 1072 mBitrate = bitrate->nTargetBitrate; 1066 internalSetBitrateParams( const OMX_VIDEO_PARAM_BITRATETYPE *bitrate) argument
|
/frameworks/av/media/libstagefright/mpeg2ts/ |
H A D | ESQueue.cpp | 944 int samplingRate, numChannels, bitrate, numSamples; local 947 &bitrate, &numSamples)) {
|
/frameworks/wilhelm/include/OMXAL/ |
H A D | OpenMAXAL.h | 3122 XAuint32 bitrate; member in struct:XATimedTextStreamInformation_
|