Home
last modified time | relevance | path

Searched refs:bitRate (Results 1 – 25 of 34) 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.h204 VideoCodec(video_encoder codec, int bitRate, int frameWidth, int frameHeight, int frameRate) in VideoCodec()
206 mBitRate(bitRate), in VideoCodec()
229 AudioCodec(audio_encoder codec, int bitRate, int sampleRate, int channels) in AudioCodec()
231 mBitRate(bitRate), in AudioCodec()
/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/cmds/stagefright/
Daudioloop.cpp103 int32_t bitRate = sampleRate; in main() local
133 meta->setInt32("bitrate", bitRate); in main()
/frameworks/av/media/libstagefright/codecs/common/include/
DvoAAC.h46 int bitRate; /*! encoder bit rate in bits/sec */ member
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/include/
Dmp4enc_api.h178 Int bitRate[2]; member
424 …OSCL_IMPORT_REF Bool PVUpdateBitRate(VideoEncControls *encCtrl, Int *bitRate); /* for…
/frameworks/av/media/tests/benchmark/MediaBenchmarkTest/src/main/java/com/android/media/benchmark/library/
DNative.java31 String codecName, String mime, int bitRate, int colorFormat, int frameInterval, in Encode() argument
/frameworks/av/media/libmediaplayerservice/tests/stagefrightRecorder/
DStagefrightRecorderTest.cpp223 int32_t sampleRate, channelCount, bitRate; in validateOutput() local
228 AMediaFormat_getInt32(format, AMEDIAFORMAT_KEY_BIT_RATE, &bitRate); in validateOutput()
229 ALOGI("Bit Rate reported by extractor: %d", bitRate); in validateOutput()
/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/libstagefright/foundation/tests/AVCUtils/
DAVCUtilsUnitTest.cpp122 int bitRate = 0; in TEST_P() local
125 bool status = GetMPEGAudioFrameSize(header, &frameSize, &sampleRate, &numChannels, &bitRate, in TEST_P()
135 ASSERT_EQ(bitRate, audioBitRate) << "Wrong bit rate found"; in TEST_P()
/frameworks/av/media/libmediaplayerservice/
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()
DStagefrightRecorder.h191 status_t setParamAudioEncodingBitRate(int32_t bitRate);
197 status_t setParamVideoEncodingBitRate(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/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/m4v_h263/enc/src/
Dmp4enc_api.cpp530 encParams->LayerBitRate[i] = encOption->bitRate[i]; in PVInitVideoEncoder()
531 encParams->LayerMaxBitRate[i] = encOption->bitRate[i]; in PVInitVideoEncoder()
535 if (encOption->bitRate[0] == encOption->bitRate[1] || in PVInitVideoEncoder()
536 encOption->bitRate[0] == 0 || encOption->bitRate[1] == 0) /* 7/31/03 */ in PVInitVideoEncoder()
2161 OSCL_EXPORT_REF Bool PVUpdateBitRate(VideoEncControls *encCtrl, Int *bitRate) in PVUpdateBitRate() argument
2176 if (bitRate[i] > encData->encParams->LayerMaxBitRate[i]) /* set by users or profile */ in PVUpdateBitRate()
2180 encData->encParams->LayerBitRate[i] = bitRate[i]; in PVUpdateBitRate()
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/test/
Dm4v_h263_enc_test.cpp158 encParams.bitRate[0] = bitrate * 1024; in main()
DMpeg4H263EncoderTest.cpp139 mEncodeHandle->bitRate[0] = mBitRate * 1024; in initEncoderParams()
/frameworks/wilhelm/tests/sandbox/
Dxaplay.c686 printf(" bitRate = %u\n", audioStreamInformation.bitRate); in main()
699 printf(" bitRate = %u\n", videoStreamInformation.bitRate); in main()

12