Home
last modified time | relevance | path

Searched refs:bitRate (Results 1 – 25 of 31) sorted by relevance

12

/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/
DSoftMPEG4Encoder.cpp137 mEncParams->bitRate[0] = mBitrate; in initEncParams()
220 OMX_VIDEO_PARAM_BITRATETYPE *bitRate = in internalGetParameter() local
223 if (!isValidOMXParam(bitRate)) { in internalGetParameter()
227 if (bitRate->nPortIndex != 1) { in internalGetParameter()
231 bitRate->eControlRate = OMX_Video_ControlRateVariable; in internalGetParameter()
232 bitRate->nTargetBitrate = mBitrate; in internalGetParameter()
301 OMX_VIDEO_PARAM_BITRATETYPE *bitRate = in internalSetParameter() local
304 if (!isValidOMXParam(bitRate)) { in internalSetParameter()
308 if (bitRate->nPortIndex != 1 || in internalSetParameter()
309 bitRate->eControlRate != OMX_Video_ControlRateVariable) { in internalSetParameter()
[all …]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
DMediaRecorderStressTestRunner.java70 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/webm/
DWebmWriter.cpp233 uint64_t WebmWriter::estimateCuesSize(int32_t bitRate) { in estimateCuesSize() argument
260 if (bitRate > 0) { in estimateCuesSize()
261 int64_t size2 = ((mMaxFileDurationLimitUs * bitRate * 6) / 1000 / 8000000); in estimateCuesSize()
287 mMaxFileSizeLimitBytes, mMaxFileDurationLimitUs, bitRate, size); in estimateCuesSize()
551 int32_t bitRate = -1; in start() local
553 params->findInt32(kKeyBitRate, &bitRate); in start()
555 mEstimatedCuesSize = estimateCuesSize(bitRate); in start()
DWebmWriter.h118 uint64_t estimateCuesSize(int32_t bitRate);
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
DMediaRecorderStressTest.java179 int bitRate; in recordVideoAndPlayback() local
190 bitRate = camcorderProfile.videoBitRate; in recordVideoAndPlayback()
197 bitRate = MediaRecorderStressTestRunner.mBitRate; in recordVideoAndPlayback()
226 Log.v(TAG, "bit rate : " + bitRate); in recordVideoAndPlayback()
238 mRecorder.setVideoEncodingBitRate(bitRate); in recordVideoAndPlayback()
/frameworks/av/media/libmedia/include/media/
DMediaProfiles.h221 VideoCodec(video_encoder codec, int bitRate, int frameWidth, int frameHeight, int frameRate) in VideoCodec()
223 mBitRate(bitRate), in VideoCodec()
246 AudioCodec(audio_encoder codec, int bitRate, int sampleRate, int channels) in AudioCodec()
248 mBitRate(bitRate), in AudioCodec()
/frameworks/av/include/media/
DMediaProfiles.h221 VideoCodec(video_encoder codec, int bitRate, int frameWidth, int frameHeight, int frameRate) in VideoCodec()
223 mBitRate(bitRate), in VideoCodec()
246 AudioCodec(audio_encoder codec, int bitRate, int sampleRate, int channels) in AudioCodec()
248 mBitRate(bitRate), in AudioCodec()
/frameworks/av/media/libstagefright/codecs/common/include/
DvoAAC.h46 int bitRate; /*! encoder bit rate in bits/sec */ member
/frameworks/av/cmds/stagefright/
Daudioloop.cpp103 int32_t bitRate = sampleRate; in main() local
133 meta->setInt32("bitrate", bitRate); in main()
/frameworks/base/media/java/android/media/
DMediaRecorder.java861 public void setAudioEncodingBitRate(int bitRate) { in setAudioEncodingBitRate() argument
862 if (bitRate <= 0) { in setAudioEncodingBitRate()
865 setParameter("audio-param-encoding-bitrate=" + bitRate); in setAudioEncodingBitRate()
877 public void setVideoEncodingBitRate(int bitRate) { in setVideoEncodingBitRate() argument
878 if (bitRate <= 0) { in setVideoEncodingBitRate()
881 setParameter("video-param-encoding-bitrate=" + bitRate); in setVideoEncodingBitRate()
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/include/
Dmp4enc_api.h168 Int bitRate[2]; member
414 …OSCL_IMPORT_REF Bool PVUpdateBitRate(VideoEncControls *encCtrl, Int *bitRate); /* for…
/frameworks/av/media/libstagefright/codecs/mp3dec/include/
Dpvmp3decoder_api.h205 int32 bitRate; member
/frameworks/av/media/libstagefright/codecs/avcenc/
DSoftAVCEnc.cpp910 OMX_VIDEO_PARAM_BITRATETYPE *bitRate = in internalGetParameter() local
913 if (!isValidOMXParam(bitRate)) { in internalGetParameter()
917 if (bitRate->nPortIndex != 1) { in internalGetParameter()
921 bitRate->eControlRate = OMX_Video_ControlRateVariable; in internalGetParameter()
922 bitRate->nTargetBitrate = mBitrate; in internalGetParameter()
972 OMX_VIDEO_PARAM_BITRATETYPE *bitRate = in internalSetParameter() local
975 if (!isValidOMXParam(bitRate)) { in internalSetParameter()
979 return internalSetBitrateParams(bitRate); in internalSetParameter()
/frameworks/av/media/libmediaplayerservice/
DStagefrightRecorder.h191 status_t setParamAudioEncodingBitRate(int32_t bitRate);
197 status_t setParamVideoEncodingBitRate(int32_t bitRate);
DStagefrightRecorder.cpp523 status_t StagefrightRecorder::setParamAudioEncodingBitRate(int32_t bitRate) { in setParamAudioEncodingBitRate() argument
524 ALOGV("setParamAudioEncodingBitRate: %d", bitRate); in setParamAudioEncodingBitRate()
525 if (bitRate <= 0) { in setParamAudioEncodingBitRate()
526 ALOGE("Invalid audio encoding bit rate: %d", bitRate); in setParamAudioEncodingBitRate()
534 mAudioBitRate = bitRate; in setParamAudioEncodingBitRate()
538 status_t StagefrightRecorder::setParamVideoEncodingBitRate(int32_t bitRate) { in setParamVideoEncodingBitRate() argument
539 ALOGV("setParamVideoEncodingBitRate: %d", bitRate); in setParamVideoEncodingBitRate()
540 if (bitRate <= 0) { in setParamVideoEncodingBitRate()
541 ALOGE("Invalid video encoding bit rate: %d", bitRate); in setParamVideoEncodingBitRate()
549 mVideoBitRate = bitRate; in setParamVideoEncodingBitRate()
/frameworks/av/media/libstagefright/include/media/stagefright/
DNuMediaExtractor.h155 bool getTotalBitrate(int64_t *bitRate) const;
DACodec.h473 int32_t numChannels, int32_t sampleRate, int32_t bitRate,
487 status_t setupAMRCodec(bool encoder, bool isWAMR, int32_t bitRate);
DMPEG4Writer.h132 int64_t estimateMoovBoxSize(int32_t bitRate);
/frameworks/av/media/libstagefright/codecs/on2/enc/
DSoftVPXEncoder.cpp385 const OMX_VIDEO_PARAM_BITRATETYPE *bitRate = in internalSetParameter() local
388 if (!isValidOMXParam(bitRate)) { in internalSetParameter()
392 return internalSetBitrateParams(bitRate); in internalSetParameter()
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/test/
Dm4v_h263_enc_test.cpp158 encParams.bitRate[0] = bitrate * 1024; in main()
/frameworks/wilhelm/tests/sandbox/
Dxaplay.c686 printf(" bitRate = %u\n", audioStreamInformation.bitRate); in main()
699 printf(" bitRate = %u\n", videoStreamInformation.bitRate); in main()
/frameworks/wilhelm/tests/native-media/jni/
Dnative-media-jni.c253 videoInfo.bitRate, videoInfo.duration); in StreamChangeCallback()
/frameworks/av/media/libstagefright/
DMPEG4Writer.cpp724 int64_t MPEG4Writer::estimateMoovBoxSize(int32_t bitRate) { in estimateMoovBoxSize() argument
751 if (bitRate > 0) { in estimateMoovBoxSize()
753 ((mMaxFileDurationLimitUs / 1000) * bitRate * 6) / 8000000; in estimateMoovBoxSize()
782 mMaxFileSizeLimitBytes, mMaxFileDurationLimitUs, bitRate, size); in estimateMoovBoxSize()
916 int32_t bitRate = -1; in start() local
922 param->findInt32(kKeyBitRate, &bitRate); in start()
924 mInMemoryCacheSize += estimateMoovBoxSize(bitRate); in start()
DUtils.cpp1918 int32_t bitRate = 0; in sendMetaDataToHal() local
1931 if (meta->findInt32(kKeyBitRate, &bitRate)) { in sendMetaDataToHal()
1932 param.addInt(String8(AUDIO_OFFLOAD_CODEC_AVG_BIT_RATE), bitRate); in sendMetaDataToHal()
1942 "delaySample %d, paddingSample %d", bitRate, sampleRate, in sendMetaDataToHal()
/frameworks/av/media/libstagefright/codecs/mp3dec/src/
Dpvmp3_framedecoder.cpp541 pExt->bitRate = mp3_bitrate[pExt->version][info->bitrate_index]; in pvmp3_framedecoder()

12