/frameworks/av/media/libstagefright/codecs/aacenc/src/ |
D | aacenc.c | 139 config.bitRate = 128000; in voAACEncInit() 331 config.bitRate = pAAC_param->bitRate; in voAACEncSetParam() 360 if(config.bitRate!=0 && ((config.bitRate/config.nChannelsOut < 4000) || in voAACEncSetParam() 361 (config.bitRate/config.nChannelsOut > 160000) || in voAACEncSetParam() 362 (config.bitRate > config.sampleRate*6*config.nChannelsOut))) in voAACEncSetParam() 364 config.bitRate = 640*config.sampleRate/tmp*config.nChannelsOut; in voAACEncSetParam() 366 if(config.bitRate/config.nChannelsOut < 4000) in voAACEncSetParam() 367 config.bitRate = 4000 * config.nChannelsOut; in voAACEncSetParam() 368 else if(config.bitRate > config.sampleRate*6*config.nChannelsOut) in voAACEncSetParam() 369 config.bitRate = config.sampleRate*6*config.nChannelsOut; in voAACEncSetParam() [all …]
|
D | aacenc_core.c | 46 config->bitRate = 128000; in AacInitDefaultConfig() 91 config.bitRate, in AacEncOpen() 111 qcInit.averageBits = (Word16) ((config.bitRate * FRAME_LEN_LONG) / config.sampleRate); in AacEncOpen() 121 qcInit.bitrate = config.bitRate; in AacEncOpen() 129 hAacEnc->bseInit.bitrate = config.bitRate; in AacEncOpen() 176 aacEnc->config.bitRate, in AacEncEncode()
|
D | qc_main.c | 60 static Word16 calcFrameLen(Word32 bitRate, in calcFrameLen() argument 68 result = (FRAME_LEN_LONG >> 3) * bitRate; in calcFrameLen() 89 static Word16 framePadding(Word32 bitRate, in framePadding() argument 98 difference = calcFrameLen( bitRate, in framePadding() 545 Word32 bitRate, /* total bitrate */ in AdjustBitrate() argument 554 paddingOn = framePadding(bitRate, in AdjustBitrate() 559 frameLen = paddingOn + calcFrameLen(bitRate, in AdjustBitrate()
|
D | block_switch.c | 76 const Word32 bitRate, const Word16 nChannels) in InitBlockSwitching() argument 80 if ((sub(nChannels,1)==0 && L_sub(bitRate, 24000) > 0) || in InitBlockSwitching() 81 (sub(nChannels,1)>0 && bitRate > (nChannels * 16000))) { in InitBlockSwitching()
|
D | tns.c | 133 Word16 InitTnsConfigurationLong(Word32 bitRate, /*!< bitrate */ in InitTnsConfigurationLong() argument 148 bitratePerChannel = bitRate >> 1; in InitTnsConfigurationLong() 151 bitratePerChannel = bitRate; in InitTnsConfigurationLong() 200 Word16 InitTnsConfigurationShort(Word32 bitRate, /*!< bitrate */ in InitTnsConfigurationShort() argument 214 bitratePerChannel = L_shr(bitRate,1); in InitTnsConfigurationShort() 217 bitratePerChannel = bitRate; in InitTnsConfigurationShort()
|
/frameworks/base/media/java/android/media/ |
D | MediaRecorder.java | 574 public void setAudioEncodingBitRate(int bitRate) { in setAudioEncodingBitRate() argument 575 if (bitRate <= 0) { in setAudioEncodingBitRate() 578 setParameter("audio-param-encoding-bitrate=" + bitRate); in setAudioEncodingBitRate() 590 public void setVideoEncodingBitRate(int bitRate) { in setVideoEncodingBitRate() argument 591 if (bitRate <= 0) { in setVideoEncodingBitRate() 594 setParameter("video-param-encoding-bitrate=" + bitRate); in setVideoEncodingBitRate()
|
/frameworks/av/media/libstagefright/codecs/aacenc/SampleCode/ |
D | AAC_E_SAMPLES.c | 55 param->bitRate = 0; in parsecmdline() 96 param->bitRate = atoi(*argv); in parsecmdline() 113 if(param->bitRate == 0) in parsecmdline() 118 param->bitRate = 640*param->nChannels*param->sampleRate/scale; in parsecmdline()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/ |
D | MediaRecorderStressTestRunner.java | 70 String bitRate = (String) icicle.get("bit_rate"); in onCreate() local 92 if (bitRate != null) { in onCreate() 93 mBitRate = Integer.parseInt(bitRate); in onCreate()
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/ |
D | SoftMPEG4Encoder.cpp | 144 mEncParams->bitRate[0] = mVideoBitRate; in initEncParams() 308 OMX_VIDEO_PARAM_BITRATETYPE *bitRate = in internalGetParameter() local 311 if (bitRate->nPortIndex != 1) { in internalGetParameter() 315 bitRate->eControlRate = OMX_Video_ControlRateVariable; in internalGetParameter() 316 bitRate->nTargetBitrate = mVideoBitRate; in internalGetParameter() 440 OMX_VIDEO_PARAM_BITRATETYPE *bitRate = in internalSetParameter() local 443 if (bitRate->nPortIndex != 1 || in internalSetParameter() 444 bitRate->eControlRate != OMX_Video_ControlRateVariable) { in internalSetParameter() 448 mVideoBitRate = bitRate->nTargetBitrate; in internalSetParameter()
|
/frameworks/av/include/media/ |
D | MediaProfiles.h | 217 VideoCodec(video_encoder codec, int bitRate, int frameWidth, int frameHeight, int frameRate) in VideoCodec() 219 mBitRate(bitRate), in VideoCodec() 242 AudioCodec(audio_encoder codec, int bitRate, int sampleRate, int channels) in AudioCodec() 244 mBitRate(bitRate), in AudioCodec()
|
/frameworks/av/media/libstagefright/codecs/avc/enc/ |
D | SoftAVCEncoder.cpp | 438 OMX_VIDEO_PARAM_BITRATETYPE *bitRate = in internalGetParameter() local 441 if (bitRate->nPortIndex != 1) { in internalGetParameter() 445 bitRate->eControlRate = OMX_Video_ControlRateVariable; in internalGetParameter() 446 bitRate->nTargetBitrate = mVideoBitRate; in internalGetParameter() 552 OMX_VIDEO_PARAM_BITRATETYPE *bitRate = in internalSetParameter() local 555 if (bitRate->nPortIndex != 1 || in internalSetParameter() 556 bitRate->eControlRate != OMX_Video_ControlRateVariable) { in internalSetParameter() 560 mVideoBitRate = bitRate->nTargetBitrate; in internalSetParameter()
|
/frameworks/av/media/libstagefright/codecs/common/include/ |
D | voAAC.h | 46 int bitRate; /*! encoder bit rate in bits/sec */ member
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/ |
D | MediaRecorderStressTest.java | 337 int bitRate; in recordVideoAndPlayback() local 348 bitRate = camcorderProfile.videoBitRate; in recordVideoAndPlayback() 355 bitRate = MediaRecorderStressTestRunner.mBitRate; in recordVideoAndPlayback() 384 Log.v(TAG, "bit rate : " + bitRate); in recordVideoAndPlayback() 396 mRecorder.setVideoEncodingBitRate(bitRate); in recordVideoAndPlayback()
|
/frameworks/av/media/libstagefright/codecs/aacenc/inc/ |
D | tns_param.h | 48 Word32 bitRate, Word16 channels, Word16 blockType);
|
D | block_switch.h | 59 const Word32 bitRate, const Word16 nChannels);
|
D | qc_main.h | 61 Word32 bitRate,
|
D | aacenc_core.h | 41 Word32 bitRate; /* encoder bit rate in bits/sec */ member
|
D | psy_main.h | 51 Word32 bitRate,
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/include/ |
D | mp4enc_api.h | 167 Int bitRate[2]; member 413 …OSCL_IMPORT_REF Bool PVUpdateBitRate(VideoEncControls *encCtrl, Int *bitRate); /* for…
|
/frameworks/av/include/media/stagefright/ |
D | OMXCodec.h | 245 void setAMRFormat(bool isWAMR, int32_t bitRate); 248 int32_t numChannels, int32_t sampleRate, int32_t bitRate, 261 status_t setupBitRate(int32_t bitRate);
|
D | ACodec.h | 224 int32_t numChannels, int32_t sampleRate, int32_t bitRate, 230 status_t setupAMRCodec(bool encoder, bool isWAMR, int32_t bitRate);
|
/frameworks/av/media/libmediaplayerservice/ |
D | StagefrightRecorder.cpp | 340 status_t StagefrightRecorder::setParamAudioEncodingBitRate(int32_t bitRate) { in setParamAudioEncodingBitRate() argument 341 ALOGV("setParamAudioEncodingBitRate: %d", bitRate); in setParamAudioEncodingBitRate() 342 if (bitRate <= 0) { in setParamAudioEncodingBitRate() 343 ALOGE("Invalid audio encoding bit rate: %d", bitRate); in setParamAudioEncodingBitRate() 351 mAudioBitRate = bitRate; in setParamAudioEncodingBitRate() 355 status_t StagefrightRecorder::setParamVideoEncodingBitRate(int32_t bitRate) { in setParamVideoEncodingBitRate() argument 356 ALOGV("setParamVideoEncodingBitRate: %d", bitRate); in setParamVideoEncodingBitRate() 357 if (bitRate <= 0) { in setParamVideoEncodingBitRate() 358 ALOGE("Invalid video encoding bit rate: %d", bitRate); in setParamVideoEncodingBitRate() 366 mVideoBitRate = bitRate; in setParamVideoEncodingBitRate()
|
D | StagefrightRecorder.h | 157 status_t setParamAudioEncodingBitRate(int32_t bitRate); 163 status_t setParamVideoEncodingBitRate(int32_t bitRate);
|
/frameworks/av/media/libstagefright/ |
D | OMXCodec.cpp | 498 int32_t bitRate = 0; in configureCodec() local 500 CHECK(meta->findInt32(kKeyBitRate, &bitRate)); in configureCodec() 503 setAMRFormat(false /* isWAMR */, bitRate); in configureCodec() 505 setAMRFormat(true /* isWAMR */, bitRate); in configureCodec() 520 status_t err = setAACFormat(numChannels, sampleRate, bitRate, aacProfile, isADTS); in configureCodec() 777 int32_t width, height, frameRate, bitRate, stride, sliceHeight; in setVideoInputFormat() local 781 success = success && meta->findInt32(kKeyBitRate, &bitRate); in setVideoInputFormat() 851 video_def->nBitrate = bitRate; // Q16 format in setVideoInputFormat() 928 status_t OMXCodec::setupBitRate(int32_t bitRate) { in setupBitRate() argument 939 bitrateType.nTargetBitrate = bitRate; in setupBitRate() [all …]
|
/frameworks/av/media/libstagefright/codecs/mp3dec/include/ |
D | pvmp3decoder_api.h | 205 int32 bitRate; member
|