/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/inc/ |
H A D | aacenc_core.h | 41 Word32 bitRate; /* encoder bit rate in bits/sec */ member in struct:__anon336
|
/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/aacenc/src/ |
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
|
H A D | psy_main.c | 192 Word32 bitRate, 198 Word32 channelBitRate = bitRate/channels; 207 err = InitTnsConfigurationLong(bitRate, sampleRate, channels, 217 err = InitTnsConfigurationShort(bitRate, sampleRate, channels, 225 bitRate, channels); 190 psyMainInit(PSY_KERNEL *hPsy, Word32 sampleRate, Word32 bitRate, Word16 channels, Word16 tnsMask, Word16 bandwidth) argument
|
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 | tns.c | 135 Word16 InitTnsConfigurationLong(Word32 bitRate, /*!< bitrate */ argument 150 bitratePerChannel = bitRate >> 1; 153 bitratePerChannel = bitRate; 202 Word16 InitTnsConfigurationShort(Word32 bitRate, /*!< bitrate */ argument 216 bitratePerChannel = L_shr(bitRate,1); 219 bitratePerChannel = bitRate;
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/ |
H A D | SoftMPEG4Encoder.cpp | 140 mEncParams->bitRate[0] = mBitrate; 223 OMX_VIDEO_PARAM_BITRATETYPE *bitRate = local 226 if (!isValidOMXParam(bitRate)) { 230 if (bitRate->nPortIndex != 1) { 234 bitRate->eControlRate = OMX_Video_ControlRateVariable; 235 bitRate->nTargetBitrate = mBitrate; 304 OMX_VIDEO_PARAM_BITRATETYPE *bitRate = local 307 if (!isValidOMXParam(bitRate)) { 311 if (bitRate->nPortIndex != 1 || 312 bitRate [all...] |
/frameworks/av/media/libstagefright/codecs/on2/enc/ |
H A D | SoftVPXEncoder.cpp | 451 const OMX_VIDEO_PARAM_BITRATETYPE *bitRate = local 454 if (!isValidOMXParam(bitRate)) { 458 return internalSetBitrateParams(bitRate);
|
/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/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;
|
/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/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);
|
/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/av/media/libstagefright/codecs/avcenc/ |
H A D | SoftAVCEnc.cpp | 933 OMX_VIDEO_PARAM_BITRATETYPE *bitRate = local 936 if (!isValidOMXParam(bitRate)) { 940 if (bitRate->nPortIndex != 1) { 944 bitRate->eControlRate = OMX_Video_ControlRateVariable; 945 bitRate->nTargetBitrate = mBitrate; 994 OMX_VIDEO_PARAM_BITRATETYPE *bitRate = local 997 if (!isValidOMXParam(bitRate)) { 1001 return internalSetBitrateParams(bitRate);
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
H A D | mp4enc_api.cpp | 530 encParams->LayerBitRate[i] = encOption->bitRate[i]; 531 encParams->LayerMaxBitRate[i] = encOption->bitRate[i]; 535 if (encOption->bitRate[0] == encOption->bitRate[1] || 536 encOption->bitRate[0] == 0 || encOption->bitRate[1] == 0) /* 7/31/03 */ 2161 OSCL_EXPORT_REF Bool PVUpdateBitRate(VideoEncControls *encCtrl, Int *bitRate) argument 2176 if (bitRate[i] > encData->encParams->LayerMaxBitRate[i]) /* set by users or profile */ 2180 encData->encParams->LayerBitRate[i] = bitRate[i];
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | StagefrightRecorder.cpp | 383 status_t StagefrightRecorder::setParamAudioEncodingBitRate(int32_t bitRate) { argument 384 ALOGV("setParamAudioEncodingBitRate: %d", bitRate); 385 if (bitRate <= 0) { 386 ALOGE("Invalid audio encoding bit rate: %d", bitRate); 394 mAudioBitRate = bitRate; 398 status_t StagefrightRecorder::setParamVideoEncodingBitRate(int32_t bitRate) { argument 399 ALOGV("setParamVideoEncodingBitRate: %d", bitRate); 400 if (bitRate <= 0) { 401 ALOGE("Invalid video encoding bit rate: %d", bitRate); 409 mVideoBitRate = bitRate; [all...] |
/frameworks/av/media/libstagefright/ |
H A D | Utils.cpp | 1464 int32_t bitRate = 0; local 1477 if (meta->findInt32(kKeyBitRate, &bitRate)) { 1478 param.addInt(String8(AUDIO_OFFLOAD_CODEC_AVG_BIT_RATE), bitRate); local 1487 ALOGV("sendMetaDataToHal: bitRate %d, sampleRate %d, chanMask %d," 1488 "delaySample %d, paddingSample %d", bitRate, sampleRate,
|
H A D | MPEG4Writer.cpp | 617 int64_t MPEG4Writer::estimateMoovBoxSize(int32_t bitRate) { argument 644 if (bitRate > 0) { 646 ((mMaxFileDurationLimitUs * bitRate * 6) / 1000 / 8000000); 675 mMaxFileSizeLimitBytes, mMaxFileDurationLimitUs, bitRate, size); 801 int32_t bitRate = -1; local 803 param->findInt32(kKeyBitRate, &bitRate); 805 mEstimatedMoovBoxSize = estimateMoovBoxSize(bitRate);
|
H A D | ACodec.cpp | 1736 int32_t bitRate = 0; local 1739 && !msg->findInt32("bitrate", &bitRate)) { 1744 if (encoder && msg->findInt32("bitrate", &bitRate)) { 1747 outputFormat->setInt32("bitrate", bitRate); 1748 outputFormat->setInt32("max-bitrate", bitRate); 2169 encoder, numChannels, sampleRate, bitRate, aacProfile, 2174 err = setupAMRCodec(encoder, false /* isWAMR */, bitRate); 2176 err = setupAMRCodec(encoder, true /* isWAMR */, bitRate); 2642 int32_t bitRate, int32_t aacProfile, bool isADTS, int32_t sbrMode, 2704 profile.nBitRate = bitRate; 2640 setupAACCodec( bool encoder, int32_t numChannels, int32_t sampleRate, int32_t bitRate, int32_t aacProfile, bool isADTS, int32_t sbrMode, int32_t maxOutputChannelCount, const drcParams_t& drc, int32_t pcmLimiterEnable) argument [all...] |
/frameworks/av/media/libstagefright/codecs/avc/enc/src/ |
H A D | avcenc_int.h | 240 int32 bitRate; /* target bit rate for the overall clip in bits/second*/ member in struct:tagAVCRateControl
|
/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/wilhelm/include/SLES/ |
H A D | OpenSLES.h | 2336 SLuint32 bitRate; member in struct:SLAudioEncoderSettings_
|
/frameworks/wilhelm/include/OMXAL/ |
H A D | OpenMAXAL.h | 2739 XAuint32 bitRate; member in struct:XAAudioEncoderSettings_ 3005 XAuint32 bitRate; member in struct:XAVideoSettings_ 3096 XAuint32 bitRate; member in struct:XAVideoStreamInformation_ 3104 XAuint32 bitRate; member in struct:XAAudioStreamInformation_
|