/frameworks/base/media/java/android/media/ |
MediaRecorder.java | 535 * specified bit rate is applicable, and sometimes the passed bitRate will be clipped 539 * @param bitRate the audio encoding bit rate in bits per second. 541 public void setAudioEncodingBitRate(int bitRate) { 542 if (bitRate <= 0) { 545 setParameter("audio-param-encoding-bitrate=" + bitRate); 551 * specified bit rate is applicable, and sometimes the passed bitRate will be 555 * @param bitRate the video encoding bit rate in bits per second. 557 public void setVideoEncodingBitRate(int bitRate) { 558 if (bitRate <= 0) [all...] |
/frameworks/base/media/libstagefright/codecs/avc/enc/src/ |
rate_control.cpp | 219 rateCtrl->bitsPerFrame = (int32)(rateCtrl->bitRate / rateCtrl->frame_rate); 243 /* Setting the bitrate and framerate */ 244 rateCtrl->pMP->bitrate = rateCtrl->bitRate; 246 rateCtrl->pMP->target_bits_per_frame = rateCtrl->pMP->bitrate / rateCtrl->pMP->framerate; 249 bpp = 1.0 * rateCtrl->bitRate / (rateCtrl->frame_rate * (video->PicSizeInMbs << 8)); 380 pMP->bitrate = rateCtrl->bitRate; /* calculated in RCVopQPSetting */ 609 /* Second, set another upper bound for current bit allocation: 4-5*bitrate/framerate */ 822 (pMP->bitrate / (pMP->framerate + 0.0001) + 0.0001) / 0.1) [all...] |
/external/iproute2/include/linux/can/ |
netlink.h | 25 __u32 bitrate; /* Bit-rate in bits/second */ member in struct:can_bittiming
|
/external/webrtc/src/common_audio/vad/main/source/ |
vad_defines.h | 44 // Mode 1, Low bitrate thresholds - Different thresholds for the different frame lengths
|
/frameworks/base/media/libstagefright/codecs/aacenc/inc/ |
qc_data.h | 73 Word32 bitrate; member in struct:QC_INIT
|
/frameworks/media/libvideoeditor/lvpp/ |
PreviewPlayerBase.cpp | 318 // Attempt to approximate overall stream bitrate by summing all 319 // tracks' individual bitrates, if not all of them advertise bitrate, 327 int32_t bitrate; local 328 if (!meta->findInt32(kKeyBitRate, &bitrate)) { 333 totalBitRate += bitrate; 499 bool PreviewPlayerBase::getBitrate(int64_t *bitrate) { 503 *bitrate = size * 8000000ll / mDurationUs; // in bits/sec 508 *bitrate = mBitrate; 512 *bitrate = 0; 519 int64_t bitrate; local 581 int64_t bitrate; local [all...] |
PreviewPlayerBase.h | 181 int64_t mBitrate; // total bitrate of the file (in bps) or -1 if unknown. 262 bool getBitrate(int64_t *bitrate);
|
/frameworks/media/libvideoeditor/vss/mcs/inc/ |
M4MCS_InternalConfig.h | 32 max bitrate is now 320kbps instead of 128kbps
|
/frameworks/base/media/libstagefright/codecs/aacenc/src/ |
tns.c | 133 Word16 InitTnsConfigurationLong(Word32 bitRate, /*!< bitrate */ 148 bitratePerChannel = bitRate >> 1; 151 bitratePerChannel = bitRate; 200 Word16 InitTnsConfigurationShort(Word32 bitRate, /*!< bitrate */ 214 bitratePerChannel = L_shr(bitRate,1); 217 bitratePerChannel = bitRate; [all...] |
block_switch.c | 76 const Word32 bitRate, const Word16 nChannels) 80 if ((sub(nChannels,1)==0 && L_sub(bitRate, 24000) > 0) || 81 (sub(nChannels,1)>0 && bitRate > (nChannels * 16000))) {
|
/frameworks/base/media/libstagefright/codecs/m4v_h263/enc/src/ |
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:__anon15190
|
/frameworks/base/media/libstagefright/include/ |
AwesomePlayer.h | 197 int64_t mBitrate; // total bitrate of the file (in bps) or -1 if unknown. 281 bool getBitrate(int64_t *bitrate);
|
/packages/apps/VideoEditor/src/com/android/videoeditor/ |
ExportOptionsDialog.java | 40 * @param movieBitrate The movie bitrate (from MediaProperties) 156 * @return The movie bitrate
|
/frameworks/base/media/libstagefright/ |
AwesomePlayer.cpp | 350 // Attempt to approximate overall stream bitrate by summing all 351 // tracks' individual bitrates, if not all of them advertise bitrate, 359 int32_t bitrate; local 360 if (!meta->findInt32(kKeyBitRate, &bitrate)) { 363 LOGV("track of type '%s' does not publish bitrate", mime); 369 totalBitRate += bitrate; 585 bool AwesomePlayer::getBitrate(int64_t *bitrate) { 589 *bitrate = size * 8000000ll / mDurationUs; // in bits/sec 594 *bitrate = mBitrate; 598 *bitrate = 0 605 int64_t bitrate; local 672 int64_t bitrate; local [all...] |
OggExtractor.cpp | 73 // Returns an approximate bitrate in bits per second. 314 // Perform approximate seeking based on avg. bitrate. 633 // we can only approximate using avg. bitrate if seeking to 725 LOGV("lower-bitrate = %ld", mVi.bitrate_lower); 726 LOGV("upper-bitrate = %ld", mVi.bitrate_upper); 727 LOGV("nominal-bitrate = %ld", mVi.bitrate_nominal); 728 LOGV("window-bitrate = %ld", mVi.bitrate_window);
|
OMXCodec.cpp | 653 int32_t bitRate = 0; 655 CHECK(meta->findInt32(kKeyBitRate, &bitRate)); 658 setAMRFormat(false /* isWAMR */, bitRate); 660 setAMRFormat(true /* isWAMR */, bitRate); 666 status_t err = setAACFormat(numChannels, sampleRate, bitRate); 966 int32_t width, height, frameRate, bitRate, stride, sliceHeight; 970 success = success && meta->findInt32(kKeyBitRate, &bitRate); [all...] |
/frameworks/base/media/libmediaplayerservice/ |
StagefrightRecorder.cpp | 339 status_t StagefrightRecorder::setParamAudioEncodingBitRate(int32_t bitRate) { 340 LOGV("setParamAudioEncodingBitRate: %d", bitRate); 341 if (bitRate <= 0) { 342 LOGE("Invalid audio encoding bit rate: %d", bitRate); 350 mAudioBitRate = bitRate; 354 status_t StagefrightRecorder::setParamVideoEncodingBitRate(int32_t bitRate) { 355 LOGV("setParamVideoEncodingBitRate: %d", bitRate); 356 if (bitRate <= 0) { 357 LOGE("Invalid video encoding bit rate: %d", bitRate); 365 mVideoBitRate = bitRate; [all...] |
/bionic/libc/kernel/common/linux/ |
msm_q6venc.h | 144 unsigned int bitrate; member in struct:venc_common_config
|
/bootable/bootloader/legacy/arch_msm7k/ |
uart.c | 77 uwr(0x7BF, UART_IPR); /* stale timeout = 630 * bitrate */
|
/external/libvpx/vp8/common/ |
onyxc_int.h | 193 double bitrate; member in struct:VP8Common
|
/external/speex/include/speex/ |
speex_header.h | 68 spx_int32_t bitrate; /**< Bit-rate used */ member in struct:SpeexHeader
|
/frameworks/base/include/media/ |
MediaProfiles.h | 217 VideoCodec(video_encoder codec, int bitRate, int frameWidth, int frameHeight, int frameRate) 219 mBitRate(bitRate), 242 AudioCodec(audio_encoder codec, int bitRate, int sampleRate, int channels) 244 mBitRate(bitRate),
|
/frameworks/media/libvideoeditor/vss/stagefrightshells/src/ |
VideoEditorAudioEncoder.cpp | 370 pParams->Frequency, pParams->ChannelNum, pParams->Bitrate, 376 pEncoderContext->mCodecParams->Bitrate = pParams->Bitrate; 410 (int32_t)pEncoderContext->mCodecParams->Bitrate);
|
/external/chromium/third_party/libjingle/source/talk/session/phone/ |
mediasessionclient.cc | 450 int bitrate = GetXmlAttr(element, QN_BITRATE, 0); local 452 *out = AudioCodec(id, name, clockrate, bitrate, channels, 0); 662 int bitrate = FindWithDefault(paramap, PAYLOADTYPE_PARAMETER_BITRATE, 0); local 664 *codec = AudioCodec(id, name, clockrate, bitrate, channels, 0); 768 if (codec.bitrate > 0) 769 AddXmlAttr(payload_type, QN_BITRATE, codec.bitrate); 916 if (codec.bitrate > 0) { 918 PAYLOADTYPE_PARAMETER_BITRATE, codec.bitrate)); [all...] |
/frameworks/base/media/jni/mediaeditor/ |
VideoEditorClasses.h | 52 #define BITRATE_CLASS_NAME MANUAL_EDIT_ENGINE_CLASS_NAME"$Bitrate" 285 VIDEOEDIT_JAVA_DECLARE_CONSTANT_CLASS(Bitrate )
|