/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 | 317 int ret, i, bitrate, tmp; local 359 /* check the bitrate */ 375 bitrate = config.bitRate / config.nChannelsOut; 376 bitrate = bitrate * tmp / config.sampleRate; 380 if (rates[i] >= bitrate) 442 bitrate = config.bitRate / config.nChannelsOut; 443 bitrate = bitrate * tmp / config.sampleRate; 447 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/ |
H A D | NuMediaExtractor.cpp | 188 int32_t bitrate; local 189 if (!meta->findInt32(kKeyBitRate, &bitrate)) { 192 ALOGV("track of type '%s' does not publish bitrate", mime); 196 mTotalBitrate += bitrate; 508 bool NuMediaExtractor::getTotalBitrate(int64_t *bitrate) const { 510 *bitrate = mTotalBitrate; 516 *bitrate = size * 8000000ll / mDurationUs; // in bits/sec 528 int64_t bitrate; local 538 && getTotalBitrate(&bitrate)) { 546 *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)) { 289 int bitrate; local 291 header, &frame_size, &sample_rate, &num_channels, &bitrate); 312 mMeta->setInt32(kKeyBitRate, bitrate * 1000); 341 durationUs = 8000LL * (fileSize - mFirstFramePos) / bitrate; 486 int32_t bitrate; local 487 if (!mMeta->findInt32(kKeyBitRate, &bitrate)) { 488 // bitrate i 512 int bitrate; local [all...] |
H A D | avc_utils.cpp | 524 // Disallow "free" bitrate. 557 int bitrate = local 563 *out_bitrate = bitrate; 566 *frame_size = (12000 * bitrate / sampling_rate + padding) * 4; 589 int bitrate; local 591 bitrate = (layer == 2 /* L2 */) 601 bitrate = kBitrateV2[bitrate_index - 1]; 608 *out_bitrate = bitrate; 612 *frame_size = 144000 * bitrate / sampling_rate + padding; 616 *frame_size = tmp * bitrate / sampling_rat [all...] |
H A D | ACodec.cpp | 866 // FLAC encoder doesn't need a bitrate, other encoders do 868 && !msg->findInt32("bitrate", &bitRate)) { 1229 status_t ACodec::setupAMRCodec(bool encoder, bool isWAMR, int32_t bitrate) { argument 1242 def.eAMRBandMode = pickModeFromBitRate(isWAMR, bitrate); 1517 int32_t width, height, bitrate; local 1520 || !msg->findInt32("bitrate", &bitrate)) { 1597 video_def->nBitrate = bitrate; 1683 if (!msg->findInt32("bitrate-mode", &tmp)) { 1691 int32_t bitrate, iFrameInterva local 1772 int32_t bitrate, iFrameInterval; local 1848 int32_t bitrate, iFrameInterval; local 1981 configureBitrate( int32_t bitrate, OMX_VIDEO_CONTROLRATETYPE bitrateMode) argument [all...] |
H A D | AwesomePlayer.cpp | 354 // Attempt to approximate overall stream bitrate by summing all 355 // tracks' individual bitrates, if not all of them advertise bitrate, 364 int32_t bitrate; local 365 if (!meta->findInt32(kKeyBitRate, &bitrate)) { 368 ALOGV("track of type '%s' does not publish bitrate", mime); 374 totalBitRate += bitrate; 598 bool AwesomePlayer::getBitrate(int64_t *bitrate) { argument 602 *bitrate = size * 8000000ll / mDurationUs; // in bits/sec 607 *bitrate = mBitrate; 611 *bitrate 618 int64_t bitrate; local 685 int64_t bitrate; local [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:__anon663
|
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/base/media/jni/mediaeditor/ |
H A D | VideoEditorClasses.cpp | 99 videoEditClasses_getUnknownBitrateString(int bitrate) argument 103 M4OSA_chrSPrintf((M4OSA_Char *)string, sizeof(string) - 1, (M4OSA_Char*)"%d", bitrate); 105 // Return the bitrate string. 2021 // Set the output video bitrate. 2033 // Set the output audio bitrate.
|
/frameworks/av/media/libstagefright/mpeg2ts/ |
H A D | ESQueue.cpp | 646 int samplingRate, numChannels, bitrate, numSamples; local 649 &bitrate, &numSamples));
|
/frameworks/base/media/java/android/media/videoeditor/ |
H A D | VideoEditor.java | 127 * int height, int bitrate)} 366 * @param bitrate The bitrate of the output video file. This is approximate 367 * value for the output movie. Supported bitrate values are 372 * @throws IllegalArgumentException if height or bitrate are not supported 382 public void export(String filename, int height, int bitrate, argument 401 * @param bitrate The bitrate of the output video file. This is approximate 402 * value for the output movie. Supported bitrate values are 415 * @throws IllegalArgumentException if height or bitrate ar 425 export(String filename, int height, int bitrate, int audioCodec, int videoCodec, ExportProgressListener listener) argument [all...] |
H A D | VideoEditorImpl.java | 338 public void export(String filename, int height, int bitrate, argument 377 switch (bitrate) { 406 final String message = "Unsupported bitrate value " + bitrate; 412 final long fileSize = (mDurationMs * (bitrate + audioBitrate)) / 8000; 457 mMANativeHelper.export(filename, mProjectPath, height,bitrate, 471 public void export(String filename, int height, int bitrate, argument 477 export(filename, height, bitrate, defaultAudiocodec,
|
H A D | MediaArtistNativeHelper.java | 253 /** Variable bitrate. Means no bitrate regulation */ 256 /** An undefined bitrate. */ 259 /** A bitrate of 9.2 kbits/s. */ 262 /** A bitrate of 12.2 kbits/s. */ 265 /** A bitrate of 16 kbits/s. */ 268 /** A bitrate of 24 kbits/s. */ 271 /** A bitrate of 32 kbits/s. */ 274 /** A bitrate of 48 kbits/s. */ 277 /** A bitrate o 3616 export(String filePath, String projectDir, int height, int bitrate, List<MediaItem> mediaItemsList, List<Transition> mediaTransitionList, List<AudioTrack> mediaBGMList, ExportProgressListener listener) argument [all...] |
/frameworks/av/libvideoeditor/vss/mcs/src/ |
H A D | M4MCS_API.c | 129 M4OSA_Int32 level, M4OSA_Int32 bitrate); 131 M4OSA_Int32 level, M4OSA_Int32 bitrate); 133 M4OSA_Int32 level, M4OSA_Int32 bitrate); 2259 M4VIDEOEDITING_kUndefinedBitrate; /**< No bitrate set yet */ 2261 M4VIDEOEDITING_kUndefinedBitrate; /**< No bitrate set yet */ 3884 * because we need it for the file size/video bitrate estimations */ 4442 * @return M4MCS_ERR_AUDIOBITRATE_TOO_HIGH: Audio bitrate too high (we limit to 96 kbps) 4443 * @return M4MCS_ERR_AUDIOBITRATE_TOO_LOW: Audio bitrate is too low (16 kbps min for aac, 12.2 4451 * @return M4MCS_ERR_VIDEOBITRATE_TOO_HIGH: Video bitrate too high (we limit to 800 kbps) 4452 * @return M4MCS_ERR_VIDEOBITRATE_TOO_LOW: Video bitrate to 10706 M4MCS_intLimitBitrateForH264Enc(M4OSA_Int32 profile, M4OSA_Int32 level, M4OSA_Int32 bitrate) argument 10869 M4MCS_intLimitBitrateForMpeg4Enc(M4OSA_Int32 profile, M4OSA_Int32 level, M4OSA_Int32 bitrate) argument 10914 M4MCS_intLimitBitrateForH263Enc(M4OSA_Int32 profile, M4OSA_Int32 level, M4OSA_Int32 bitrate) argument [all...] |
/frameworks/wilhelm/include/OMXAL/ |
H A D | OpenMAXAL.h | 3122 XAuint32 bitrate; member in struct:XATimedTextStreamInformation_
|