Searched defs:bitrate (Results 1 - 23 of 23) sorted by relevance

/frameworks/av/media/libstagefright/codecs/aacenc/inc/
H A Dbitenc.h34 Word32 bitrate; member in struct:BITSTREAMENCODER_INIT
H A Dqc_data.h73 Word32 bitrate; member in struct:QC_INIT
/frameworks/av/media/libstagefright/codecs/aacdec/
H A Ds_adif_header.h84 Int32 bitrate; member in struct:__anon532
/frameworks/av/media/libstagefright/codecs/aacenc/src/
H A Daacenc.c317 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 Dpsy_configuration.c193 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 DNuMediaExtractor.cpp156 int32_t bitrate; local
157 if (!meta->findInt32(kKeyBitRate, &bitrate)) {
160 ALOGV("track of type '%s' does not publish bitrate", mime);
164 mTotalBitrate += bitrate;
476 bool NuMediaExtractor::getTotalBitrate(int64_t *bitrate) const {
478 *bitrate = mTotalBitrate;
484 *bitrate = size * 8000000ll / mDurationUs; // in bits/sec
496 int64_t bitrate; local
506 && getTotalBitrate(&bitrate)) {
514 *durationUs = cachedDataRemaining * 8000000ll / bitrate;
[all...]
H A DMP3Extractor.cpp43 // protection, bitrate, padding, private bits, mode, mode extension,
148 int sample_rate, num_channels, bitrate; local
151 &sample_rate, &num_channels, &bitrate)) {
288 int bitrate; local
290 header, &frame_size, &sample_rate, &num_channels, &bitrate);
311 mMeta->setInt32(kKeyBitRate, bitrate * 1000);
340 durationUs = 8000LL * (fileSize - mFirstFramePos) / bitrate;
477 int32_t bitrate; local
478 if (!mMeta->findInt32(kKeyBitRate, &bitrate)) {
479 // bitrate i
503 int bitrate; local
[all...]
H A Davc_utils.cpp524 // 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;
615 *frame_size = 72000 * bitrate / sampling_rat
[all...]
H A DACodec.cpp857 // FLAC encoder doesn't need a bitrate, other encoders do
859 && !msg->findInt32("bitrate", &bitRate)) {
1174 status_t ACodec::setupAMRCodec(bool encoder, bool isWAMR, int32_t bitrate) { argument
1187 def.eAMRBandMode = pickModeFromBitRate(isWAMR, bitrate);
1461 int32_t width, height, bitrate; local
1464 || !msg->findInt32("bitrate", &bitrate)) {
1541 video_def->nBitrate = bitrate;
1589 int32_t bitrate, iFrameInterval; local
1590 if (!msg->findInt32("bitrate",
1668 int32_t bitrate, iFrameInterval; local
1742 int32_t bitrate, iFrameInterval; local
1862 configureBitrate(int32_t bitrate) argument
[all...]
H A DAwesomePlayer.cpp357 // Attempt to approximate overall stream bitrate by summing all
358 // tracks' individual bitrates, if not all of them advertise bitrate,
367 int32_t bitrate; local
368 if (!meta->findInt32(kKeyBitRate, &bitrate)) {
371 ALOGV("track of type '%s' does not publish bitrate", mime);
377 totalBitRate += bitrate;
596 bool AwesomePlayer::getBitrate(int64_t *bitrate) { argument
600 *bitrate = size * 8000000ll / mDurationUs; // in bits/sec
605 *bitrate = mBitrate;
609 *bitrate
616 int64_t bitrate; local
683 int64_t bitrate; local
[all...]
/frameworks/av/media/libstagefright/codecs/avc/enc/src/
H A Davcenc_api.cpp692 OSCL_EXPORT_REF AVCEnc_Status PVAVCEncUpdateBitRate(AVCHandle *avcHandle, uint32 bitrate) argument
695 OSCL_UNUSED_ARG(bitrate);
H A Davcenc_api.h150 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 Davcenc_int.h170 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 Drate_control.h85 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:__anon712
H A Dmp4lib_int.h269 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 DVideoEditorClasses.cpp99 videoEditClasses_getUnknownBitrateString(int bitrate) argument
103 M4OSA_chrSPrintf((M4OSA_Char *)string, sizeof(string) - 1, (M4OSA_Char*)"%d", bitrate);
105 // Return the bitrate string.
2012 // Set the output video bitrate.
2024 // Set the output audio bitrate.
/frameworks/av/media/libstagefright/mpeg2ts/
H A DESQueue.cpp557 int samplingRate, numChannels, bitrate, numSamples; local
560 &bitrate, &numSamples));
/frameworks/base/media/java/android/media/videoeditor/
H A DVideoEditor.java127 * 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 DVideoEditorImpl.java338 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 DMediaArtistNativeHelper.java253 /** 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/media/libaah_rtp/
H A Daah_tx_player.cpp323 // Attempt to approximate overall stream bitrate by summing all
324 // tracks' individual bitrates, if not all of them advertise bitrate,
332 int32_t bitrate; local
333 if (!meta->findInt32(kKeyBitRate, &bitrate)) {
338 totalBitRate += bitrate;
847 bool AAH_TXPlayer::getBitrate_l(int64_t *bitrate) { argument
852 *bitrate = size * 8000000ll / mDurationUs; // in bits/sec
857 *bitrate = mBitrate;
861 *bitrate = 0;
868 int64_t bitrate; local
926 int64_t bitrate; local
[all...]
/frameworks/av/libvideoeditor/vss/mcs/src/
H A DM4MCS_API.c129 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 DOpenMAXAL.h3122 XAuint32 bitrate; member in struct:XATimedTextStreamInformation_

Completed in 1163 milliseconds