Searched refs:bitRate (Results 1 - 25 of 47) sorted by relevance

12

/frameworks/av/media/libstagefright/codecs/common/include/
H A DvoAAC.h46 int bitRate; /*! encoder bit rate in bits/sec */ member in struct:__anon462
/frameworks/av/media/libstagefright/codecs/aacenc/src/
H A Daacenc.c145 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 Daacenc_core.c46 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 Dqc_main.c61 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 Dblock_switch.c73 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 Dtns_param.h48 Word32 bitRate, Word16 channels, Word16 blockType);
H A Daacenc_core.h41 Word32 bitRate; /* encoder bit rate in bits/sec */ member in struct:__anon336
H A Dblock_switch.h59 const Word32 bitRate, const Word16 nChannels);
H A Dqc_main.h61 Word32 bitRate,
H A Dpsy_main.h51 Word32 bitRate,
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
H A DMediaRecorderStressTestRunner.java70 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 DAAC_E_SAMPLES.c51 // 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 Dpvmp3decoder_api.h205 int32 bitRate; member in struct:tPVMP3DecoderExternal
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/
H A DSoftMPEG4Encoder.cpp139 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 DMediaRecorder.java719 * 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 DSoftAVCEncoder.cpp370 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 Dmp4enc_api.h166 /** @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 DMediaProfiles.h184 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 DMediaRecorderStressTest.java179 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 DWebmWriter.cpp170 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 DWebmWriter.h118 uint64_t estimateCuesSize(int32_t bitRate);
/frameworks/av/include/media/stagefright/
H A DNuMediaExtractor.h124 bool getTotalBitrate(int64_t *bitRate) const;
H A DMPEG4Writer.h116 int64_t estimateMoovBoxSize(int32_t bitRate);
/frameworks/av/media/libmediaplayerservice/
H A DStagefrightRecorder.h165 status_t setParamAudioEncodingBitRate(int32_t bitRate);
171 status_t setParamVideoEncodingBitRate(int32_t bitRate);
/frameworks/av/media/libstagefright/wifi-display/source/
H A DConverter.cpp809 void Converter::setVideoBitrate(int32_t bitRate) { argument
810 if (mIsVideo && mEncoder != NULL && bitRate != mPrevVideoBitrate) {
812 params->setInt32("video-bitrate", bitRate);
816 mPrevVideoBitrate = bitRate;

Completed in 374 milliseconds

12