/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/ |
D | SoftMPEG4Encoder.cpp | 137 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/ |
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/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/ |
D | MediaRecorderStressTest.java | 180 int bitRate; in recordVideoAndPlayback() local 191 bitRate = camcorderProfile.videoBitRate; in recordVideoAndPlayback() 198 bitRate = MediaRecorderStressTestRunner.mBitRate; in recordVideoAndPlayback() 227 Log.v(TAG, "bit rate : " + bitRate); in recordVideoAndPlayback() 239 mRecorder.setVideoEncodingBitRate(bitRate); in recordVideoAndPlayback()
|
/frameworks/av/media/libstagefright/webm/ |
D | WebmWriter.cpp | 265 uint64_t WebmWriter::estimateCuesSize(int32_t bitRate) { in estimateCuesSize() argument 292 if (bitRate > 0) { in estimateCuesSize() 293 int64_t size2 = ((mMaxFileDurationLimitUs * bitRate * 6) / 1000 / 8000000); in estimateCuesSize() 319 mMaxFileSizeLimitBytes, mMaxFileDurationLimitUs, bitRate, size); in estimateCuesSize() 583 int32_t bitRate = -1; in start() local 585 params->findInt32(kKeyBitRate, &bitRate); in start() 587 mEstimatedCuesSize = estimateCuesSize(bitRate); in start()
|
/frameworks/av/media/module/codecs/common/include/ |
D | voAAC.h | 46 int bitRate; /*! encoder bit rate in bits/sec */ member
|
/frameworks/av/cmds/stagefright/ |
D | audioloop.cpp | 106 int32_t bitRate = sampleRate; in main() local 140 meta->setInt32("bitrate", bitRate); in main()
|
/frameworks/av/media/tests/benchmark/MediaBenchmarkTest/src/main/java/com/android/media/benchmark/library/ |
D | Native.java | 31 String codecName, String mime, int bitRate, int colorFormat, int frameInterval, in Encode() argument
|
/frameworks/av/media/module/codecs/m4v_h263/enc/include/ |
D | mp4enc_api.h | 178 Int bitRate[2]; member 424 …OSCL_IMPORT_REF Bool PVUpdateBitRate(VideoEncControls *encCtrl, Int *bitRate); /* for…
|
/frameworks/av/media/module/codecs/mp3dec/include/ |
D | pvmp3decoder_api.h | 205 int32 bitRate; member
|
/frameworks/base/media/java/android/media/ |
D | MediaRecorder.java | 1110 public void setAudioEncodingBitRate(int bitRate) { in setAudioEncodingBitRate() argument 1111 if (bitRate <= 0) { in setAudioEncodingBitRate() 1114 setParameter("audio-param-encoding-bitrate=" + bitRate); in setAudioEncodingBitRate() 1133 public void setVideoEncodingBitRate(int bitRate) { in setVideoEncodingBitRate() argument 1134 if (bitRate <= 0) { in setVideoEncodingBitRate() 1137 setParameter("video-param-encoding-bitrate=" + bitRate); in setVideoEncodingBitRate()
|
/frameworks/av/media/libmediaplayerservice/tests/stagefrightRecorder/ |
D | StagefrightRecorderTest.cpp | 227 int32_t sampleRate, channelCount, bitRate; in validateOutput() local 232 AMediaFormat_getInt32(format, AMEDIAFORMAT_KEY_BIT_RATE, &bitRate); in validateOutput() 233 ALOGI("Bit Rate reported by extractor: %d", bitRate); in validateOutput()
|
/frameworks/av/media/libstagefright/codecs/avcenc/ |
D | SoftAVCEnc.cpp | 910 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/module/foundation/tests/AVCUtils/ |
D | AVCUtilsUnitTest.cpp | 123 int bitRate = 0; in TEST_P() local 126 bool status = GetMPEGAudioFrameSize(header, &frameSize, &sampleRate, &numChannels, &bitRate, in TEST_P() 136 ASSERT_EQ(bitRate, audioBitRate) << "Wrong bit rate found"; in TEST_P()
|
/frameworks/av/media/libmediaplayerservice/ |
D | StagefrightRecorder.cpp | 566 status_t StagefrightRecorder::setParamAudioEncodingBitRate(int32_t bitRate) { in setParamAudioEncodingBitRate() argument 567 ALOGV("setParamAudioEncodingBitRate: %d", bitRate); in setParamAudioEncodingBitRate() 568 if (bitRate <= 0) { in setParamAudioEncodingBitRate() 569 ALOGE("Invalid audio encoding bit rate: %d", bitRate); in setParamAudioEncodingBitRate() 577 mAudioBitRate = bitRate; in setParamAudioEncodingBitRate() 581 status_t StagefrightRecorder::setParamVideoEncodingBitRate(int32_t bitRate) { in setParamVideoEncodingBitRate() argument 582 ALOGV("setParamVideoEncodingBitRate: %d", bitRate); in setParamVideoEncodingBitRate() 583 if (bitRate <= 0) { in setParamVideoEncodingBitRate() 584 ALOGE("Invalid video encoding bit rate: %d", bitRate); in setParamVideoEncodingBitRate() 592 mVideoBitRate = bitRate; in setParamVideoEncodingBitRate() [all …]
|
D | StagefrightRecorder.h | 219 status_t setParamAudioEncodingBitRate(int32_t bitRate); 225 status_t setParamVideoEncodingBitRate(int32_t bitRate);
|
/frameworks/av/media/libstagefright/webm/include/webm/ |
D | WebmWriter.h | 126 uint64_t estimateCuesSize(int32_t bitRate);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/ |
D | ScreenInternalAudioRecorder.java | 72 public int bitRate = 196000; field in ScreenInternalAudioRecorder.Config 124 medFormat.setInteger(MediaFormat.KEY_BIT_RATE, mConfig.bitRate); in setupSimple()
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
D | MediaCodecSource.h | 67 virtual status_t setEncodingBitrate(int32_t bitRate /* bps */);
|
D | NuMediaExtractor.h | 166 bool getTotalBitrate(int64_t *bitRate) const;
|
D | ACodec.h | 513 int32_t numChannels, int32_t sampleRate, int32_t bitRate, 527 status_t setupAMRCodec(bool encoder, bool isWAMR, int32_t bitRate);
|
/frameworks/av/media/libstagefright/codecs/on2/enc/ |
D | SoftVPXEncoder.cpp | 385 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/ |
D | MediaCodecSource.cpp | 429 status_t MediaCodecSource::setEncodingBitrate(int32_t bitRate) { in setEncodingBitrate() argument 430 ALOGV("setEncodingBitrate (%d)", bitRate); in setEncodingBitrate() 433 ALOGW("setEncodingBitrate (%d) : mEncoder is null", bitRate); in setEncodingBitrate() 438 params->setInt32("video-bitrate", bitRate); in setEncodingBitrate()
|
/frameworks/av/media/module/codecs/m4v_h263/enc/test/ |
D | m4v_h263_enc_test.cpp | 158 encParams.bitRate[0] = bitrate * 1024; in main()
|
/frameworks/av/media/libstagefright/rtsp/ |
D | ARTPConnection.cpp | 1167 uint32_t bitRate = (1 << MxTBRExp) * MxTBRMantissa; in parseTSFB() local 1171 MxTBRMantissa, MxTBRExp, bitRate); in parseTSFB() 1174 MxTBRMantissa, MxTBRExp, bitRate); in parseTSFB() 1181 notify->setInt32("bit-rate", bitRate); in parseTSFB()
|
/frameworks/av/media/module/codecs/m4v_h263/enc/src/ |
D | mp4enc_api.cpp | 535 encParams->LayerBitRate[i] = encOption->bitRate[i]; in PVInitVideoEncoder() 539 if (encOption->bitRate[0] == encOption->bitRate[1] || in PVInitVideoEncoder() 540 encOption->bitRate[0] == 0 || encOption->bitRate[1] == 0) /* 7/31/03 */ in PVInitVideoEncoder() 2166 OSCL_EXPORT_REF Bool PVUpdateBitRate(VideoEncControls *encCtrl, Int *bitRate) in PVUpdateBitRate() argument 2181 if (bitRate[i] > encData->encParams->LayerMaxBitRate[i]) /* set by users or profile */ in PVUpdateBitRate() 2185 encData->encParams->LayerBitRate[i] = bitRate[i]; in PVUpdateBitRate()
|