/frameworks/av/media/libstagefright/codecs/common/include/ |
H A D | voAAC.h | 46 int bitRate; /*! encoder bit rate in bits/sec */ member in struct:__anon462
|
/frameworks/av/media/libstagefright/codecs/aacenc/src/ |
H A D | aacenc.c | 145 config.bitRate = 128000; 337 config.bitRate = pAAC_param->bitRate; 366 if(config.bitRate!=0 && ((config.bitRate/config.nChannelsOut < 4000) || 367 (config.bitRate/config.nChannelsOut > 160000) || 368 (config.bitRate > config.sampleRate*6*config.nChannelsOut))) 370 config.bitRate = 640*config.sampleRate/tmp*config.nChannelsOut; 372 if(config.bitRate/config.nChannelsOut < 4000) 373 config.bitRate [all...] |
H A D | aacenc_core.c | 46 config->bitRate = 128000; 90 config.bitRate, 110 qcInit.averageBits = (Word16) ((config.bitRate * FRAME_LEN_LONG) / config.sampleRate); 120 qcInit.bitrate = config.bitRate; 128 hAacEnc->bseInit.bitrate = config.bitRate; 175 aacEnc->config.bitRate,
|
H A D | qc_main.c | 61 static Word16 calcFrameLen(Word32 bitRate, argument 69 result = (FRAME_LEN_LONG >> 3) * bitRate; 90 static Word16 framePadding(Word32 bitRate, argument 99 difference = calcFrameLen( bitRate, 543 Word32 bitRate, /* total bitrate */ 552 paddingOn = framePadding(bitRate, 557 frameLen = paddingOn + calcFrameLen(bitRate, 542 AdjustBitrate(QC_STATE *hQC, Word32 bitRate, Word32 sampleRate) argument
|
H A D | block_switch.c | 73 const Word32 bitRate, const Word16 nChannels) 77 if ((sub(nChannels,1)==0 && L_sub(bitRate, 24000) > 0) || 78 (sub(nChannels,1)>0 && bitRate > (nChannels * 16000))) { 72 InitBlockSwitching(BLOCK_SWITCHING_CONTROL *blockSwitchingControl, const Word32 bitRate, const Word16 nChannels) argument
|
/frameworks/av/media/libstagefright/codecs/aacenc/inc/ |
H A D | tns_param.h | 48 Word32 bitRate, Word16 channels, Word16 blockType);
|
H A D | aacenc_core.h | 41 Word32 bitRate; /* encoder bit rate in bits/sec */ member in struct:__anon336
|
H A D | block_switch.h | 59 const Word32 bitRate, const Word16 nChannels);
|
H A D | qc_main.h | 61 Word32 bitRate,
|
H A D | psy_main.h | 51 Word32 bitRate,
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/ |
H A D | MediaRecorderStressTestRunner.java | 70 String bitRate = (String) icicle.get("bit_rate"); 92 if (bitRate != null) { 93 mBitRate = Integer.parseInt(bitRate);
|
/frameworks/av/media/libstagefright/codecs/aacenc/SampleCode/ |
H A D | AAC_E_SAMPLES.c | 51 // bitRate/nChannels > 8000 52 // bitRate/nChannels < 160000 53 // bitRate/nChannels < sampleRate*6 55 param->bitRate = 0; 96 param->bitRate = atoi(*argv); 113 if(param->bitRate == 0) 118 param->bitRate = 640*param->nChannels*param->sampleRate/scale;
|
/frameworks/av/media/libstagefright/codecs/mp3dec/include/ |
H A D | pvmp3decoder_api.h | 205 int32 bitRate; member in struct:tPVMP3DecoderExternal
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/ |
H A D | SoftMPEG4Encoder.cpp | 139 mEncParams->bitRate[0] = mBitrate; 229 OMX_VIDEO_PARAM_BITRATETYPE *bitRate = local 232 if (!isValidOMXParam(bitRate)) { 236 if (bitRate->nPortIndex != 1) { 240 bitRate->eControlRate = OMX_Video_ControlRateVariable; 241 bitRate->nTargetBitrate = mBitrate; 310 OMX_VIDEO_PARAM_BITRATETYPE *bitRate = local 313 if (!isValidOMXParam(bitRate)) { 317 if (bitRate->nPortIndex != 1 || 318 bitRate [all...] |
/frameworks/base/media/java/android/media/ |
H A D | MediaRecorder.java | 719 * specified bit rate is applicable, and sometimes the passed bitRate will be clipped 723 * @param bitRate the audio encoding bit rate in bits per second. 725 public void setAudioEncodingBitRate(int bitRate) { argument 726 if (bitRate <= 0) { 729 setParameter("audio-param-encoding-bitrate=" + bitRate); 735 * specified bit rate is applicable, and sometimes the passed bitRate will be 739 * @param bitRate the video encoding bit rate in bits per second. 741 public void setVideoEncodingBitRate(int bitRate) { argument 742 if (bitRate <= 0) { 745 setParameter("video-param-encoding-bitrate=" + bitRate); [all...] |
/frameworks/av/media/libstagefright/codecs/avc/enc/ |
H A D | SoftAVCEncoder.cpp | 370 OMX_VIDEO_PARAM_BITRATETYPE *bitRate = local 373 if (!isValidOMXParam(bitRate)) { 377 if (bitRate->nPortIndex != 1) { 381 bitRate->eControlRate = OMX_Video_ControlRateVariable; 382 bitRate->nTargetBitrate = mBitrate; 435 OMX_VIDEO_PARAM_BITRATETYPE *bitRate = local 438 if (!isValidOMXParam(bitRate)) { 442 if (bitRate->nPortIndex != 1 || 443 bitRate->eControlRate != OMX_Video_ControlRateVariable) { 447 mBitrate = bitRate [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/include/ |
H A D | mp4enc_api.h | 166 /** @brief Specifies target bit rates in bits per second unit, bitRate[n] represents the n-th layer's target bit rate. */ 167 Int bitRate[2]; member in struct:tagvideoEncOptions 409 * @param bitRate is the pointers to array of target bit rates in bits per second unit, 410 * bitRate[n] represents the n-th layer's target bit rate. 413 OSCL_IMPORT_REF Bool PVUpdateBitRate(VideoEncControls *encCtrl, Int *bitRate); /* for 2-way */
|
/frameworks/av/include/media/ |
H A D | MediaProfiles.h | 184 VideoCodec(video_encoder codec, int bitRate, int frameWidth, int frameHeight, int frameRate) argument 186 mBitRate(bitRate), 209 AudioCodec(audio_encoder codec, int bitRate, int sampleRate, int channels) argument 211 mBitRate(bitRate),
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/ |
H A D | MediaRecorderStressTest.java | 179 int bitRate; 190 bitRate = camcorderProfile.videoBitRate; 197 bitRate = MediaRecorderStressTestRunner.mBitRate; 226 Log.v(TAG, "bit rate : " + bitRate); 238 mRecorder.setVideoEncodingBitRate(bitRate);
|
/frameworks/av/media/libstagefright/webm/ |
H A D | WebmWriter.cpp | 170 uint64_t WebmWriter::estimateCuesSize(int32_t bitRate) { argument 197 if (bitRate > 0) { 198 int64_t size2 = ((mMaxFileDurationLimitUs * bitRate * 6) / 1000 / 8000000); 224 mMaxFileSizeLimitBytes, mMaxFileDurationLimitUs, bitRate, size); 486 int32_t bitRate = -1; local 488 params->findInt32(kKeyBitRate, &bitRate); 490 mEstimatedCuesSize = estimateCuesSize(bitRate);
|
H A D | WebmWriter.h | 118 uint64_t estimateCuesSize(int32_t bitRate);
|
/frameworks/av/include/media/stagefright/ |
H A D | NuMediaExtractor.h | 124 bool getTotalBitrate(int64_t *bitRate) const;
|
H A D | MPEG4Writer.h | 116 int64_t estimateMoovBoxSize(int32_t bitRate);
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | StagefrightRecorder.h | 165 status_t setParamAudioEncodingBitRate(int32_t bitRate); 171 status_t setParamVideoEncodingBitRate(int32_t bitRate);
|
/frameworks/av/media/libstagefright/wifi-display/source/ |
H A D | Converter.cpp | 809 void Converter::setVideoBitrate(int32_t bitRate) { argument 810 if (mIsVideo && mEncoder != NULL && bitRate != mPrevVideoBitrate) { 812 params->setInt32("video-bitrate", bitRate); 816 mPrevVideoBitrate = bitRate;
|