/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/av/media/libstagefright/webm/ |
D | WebmWriter.cpp | 233 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()
|
D | WebmWriter.h | 118 uint64_t estimateCuesSize(int32_t bitRate);
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/ |
D | MediaRecorderStressTest.java | 179 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/ |
D | MediaProfiles.h | 204 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/ |
D | MediaRecorder.java | 861 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/ |
D | audioloop.cpp | 103 int32_t bitRate = sampleRate; in main() local 133 meta->setInt32("bitrate", bitRate); in main()
|
/frameworks/av/media/libstagefright/codecs/common/include/ |
D | voAAC.h | 46 int bitRate; /*! encoder bit rate in bits/sec */ member
|
/frameworks/av/media/libstagefright/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/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/libmediaplayerservice/tests/stagefrightRecorder/ |
D | StagefrightRecorderTest.cpp | 223 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/ |
D | pvmp3decoder_api.h | 205 int32 bitRate; member
|
/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/libstagefright/foundation/tests/AVCUtils/ |
D | AVCUtilsUnitTest.cpp | 122 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/ |
D | StagefrightRecorder.cpp | 523 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()
|
D | StagefrightRecorder.h | 191 status_t setParamAudioEncodingBitRate(int32_t bitRate); 197 status_t setParamVideoEncodingBitRate(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/include/media/stagefright/ |
D | NuMediaExtractor.h | 155 bool getTotalBitrate(int64_t *bitRate) const;
|
D | ACodec.h | 473 int32_t numChannels, int32_t sampleRate, int32_t bitRate, 487 status_t setupAMRCodec(bool encoder, bool isWAMR, int32_t bitRate);
|
D | MPEG4Writer.h | 132 int64_t estimateMoovBoxSize(int32_t bitRate);
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
D | mp4enc_api.cpp | 530 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/ |
D | m4v_h263_enc_test.cpp | 158 encParams.bitRate[0] = bitrate * 1024; in main()
|
D | Mpeg4H263EncoderTest.cpp | 139 mEncodeHandle->bitRate[0] = mBitRate * 1024; in initEncoderParams()
|
/frameworks/wilhelm/tests/sandbox/ |
D | xaplay.c | 686 printf(" bitRate = %u\n", audioStreamInformation.bitRate); in main() 699 printf(" bitRate = %u\n", videoStreamInformation.bitRate); in main()
|