Searched defs:bitrate (Results 1 - 22 of 22) sorted by relevance

/frameworks/av/media/libstagefright/codecs/aacenc/inc/
H A Dbitenc.h34 Word32 bitrate; member in struct:BITSTREAMENCODER_INIT
H A Dqc_data.h73 Word32 bitrate; member in struct:QC_INIT
/frameworks/av/media/libstagefright/codecs/aacenc/src/
H A Daacenc.c323 int ret, i, bitrate, tmp; local
365 /* check the bitrate */
381 bitrate = config.bitRate / config.nChannelsOut;
382 bitrate = bitrate * tmp / config.sampleRate;
386 if (rates[i] >= bitrate)
448 bitrate = config.bitRate / config.nChannelsOut;
449 bitrate = bitrate * tmp / config.sampleRate;
453 if (rates[i] >= bitrate)
[all...]
H A Dpsy_configuration.c193 const Word32 bitrate,
203 if (bitrate > 22000)
278 static void initMinSnr(const Word32 bitrate, argument
296 pePerWindow = bits2pe(extract_l((bitrate * numLines) / samplerate));
345 Word16 InitPsyConfigurationLong(Word32 bitrate, argument
388 bitrate,
411 initMinSnr(bitrate,
429 Word16 InitPsyConfigurationShort(Word32 bitrate, argument
470 bitrate,
495 initMinSnr(bitrate,
187 initSpreading(Word16 numPb, Word16 *pbBarcValue, Word16 *pbMaskLoFactor, Word16 *pbMaskHiFactor, Word16 *pbMaskLoFactorSprEn, Word16 *pbMaskHiFactorSprEn, const Word32 bitrate, const Word16 blockType) argument
[all...]
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/test/
H A Dm4v_h263_enc_test.cpp50 "<height> <frame rate> <bitrate in kbps>\n", argv[0]);
55 fprintf(stderr, "Max bitrate %d kbps\n", kMaxBitrate);
94 // Read bitrate.
95 int32_t bitrate; local
96 bitrate = atoi(argv[7]);
97 if (bitrate > kMaxBitrate || bitrate <= 0) {
98 fprintf(stderr, "Unsupported bitrate %d\n", bitrate);
158 encParams.bitRate[0] = bitrate * 102
[all...]
/frameworks/av/media/libstagefright/codecs/avc/enc/src/
H A Davcenc_api.cpp684 OSCL_EXPORT_REF AVCEnc_Status PVAVCEncUpdateBitRate(AVCHandle *avcHandle, uint32 bitrate) argument
687 OSCL_UNUSED_ARG(bitrate);
H A Davcenc_api.h150 uint32 bitrate; /* target encoding bit rate in bits/second */ member in struct:tagAVCEncParam
312 OSCL_IMPORT_REF AVCEnc_Status PVAVCEncUpdateBitRate(AVCHandle *avcHandle, uint32 bitrate);
H A Davcenc_int.h170 int bitrate; /* bitrate for current frame */ member in struct:tagMultiPass
196 /* For target bitrate or framerate update */
197 OsclFloat target_bits_per_frame; /* = C = bitrate/framerate */
219 /* bitrate-robustness tradeoff */
313 int max_BitVariance_num; /* the number of the maximum bit variance within the given buffer with the unit of 10% of bitrate/framerate*/
/frameworks/av/media/libstagefright/codecs/avc/enc/test/
H A Dh264_enc_test.cpp84 " <frame rate> <bitrate in kbps>\n", argv[0]);
88 fprintf(stderr, "Max bitrate %d kbps\n", kMaxBitrate);
117 int32_t bitrate; local
118 bitrate = atoi(argv[6]);
119 if (bitrate > kMaxBitrate || bitrate <= 0) {
120 fprintf(stderr, "Unsupported bitrate %d\n", bitrate);
123 bitrate *= 1024; // kbps to bps.
196 encParams.bitrate
[all...]
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Drate_control.h85 Int max_BitVariance_num; /* the number of the maximum bit variance within the given buffer with the unit of 10% of bitrate/framerate*/
88 Int bitrate; member in struct:__anon488
H A Dmp4lib_int.h269 Int bitrate; /* bitrate for current frame */ member in struct:tagMultiPass
295 /* For target bitrate or framerate update */
296 float target_bits_per_frame; /* = C = bitrate/framerate */
/frameworks/av/media/libstagefright/codecs/mp3dec/test/
H A Dmp3reader.cpp81 // Disallow "free" bitrate.
114 int bitrate = local
120 *out_bitrate = bitrate;
123 *frame_size = (12000 * bitrate / sampling_rate + padding) * 4;
146 int bitrate; local
148 bitrate = (layer == 2 /* L2 */)
158 bitrate = kBitrateV2[bitrate_index - 1];
165 *out_bitrate = bitrate;
169 *frame_size = 144000 * bitrate / sampling_rate + padding;
173 *frame_size = tmp * bitrate / sampling_rat
294 uint32_t sample_rate, num_channels, bitrate; local
379 uint32_t bitrate; local
[all...]
/frameworks/av/media/libstagefright/codecs/on2/enc/
H A DSoftVPXEncoder.cpp78 mBitrateControlMode(VPX_VBR), // variable bitrate
170 // bitrate - expressed as percentage of the target bitrate.
173 // bitrate - expressed as percentage of the target bitrate.
257 // Set bitrate values for each layer
373 OMX_VIDEO_PARAM_BITRATETYPE *bitrate = local
376 if (!isValidOMXParam(bitrate)) {
380 if (bitrate->nPortIndex != kOutputPortIndex) {
384 bitrate
607 internalSetBitrateParams( const OMX_VIDEO_PARAM_BITRATETYPE* bitrate) argument
[all...]
/frameworks/av/media/libstagefright/
H A DMediaCodecListOverrides.cpp75 static void getMeasureBitrate(sp<MediaCodecInfo::Capabilities> caps, int32_t *bitrate) { argument
78 *bitrate = 200000;
80 if (!caps->getDetails()->findString("bitrate-range", &bitrateRange)) {
89 *bitrate = strtol(minBitrate.c_str(), NULL, 10);
98 int32_t bitrate = 0; local
99 getMeasureBitrate(caps, &bitrate);
100 format->setInt32("bitrate", bitrate);
H A DNuMediaExtractor.cpp208 int32_t bitrate; local
209 if (!meta->findInt32(kKeyBitRate, &bitrate)) {
212 ALOGV("track of type '%s' does not publish bitrate", mime);
216 mTotalBitrate += bitrate;
611 bool NuMediaExtractor::getTotalBitrate(int64_t *bitrate) const {
613 *bitrate = mTotalBitrate;
619 *bitrate = size * 8000000ll / mDurationUs; // in bits/sec
631 int64_t bitrate; local
641 && getTotalBitrate(&bitrate)) {
649 *durationUs = cachedDataRemaining * 8000000ll / bitrate;
[all...]
H A DMP3Extractor.cpp43 // protection, bitrate, padding, private bits, mode, mode extension,
148 int sample_rate, num_channels, bitrate; local
151 &sample_rate, &num_channels, &bitrate)) {
303 // result in an extra 1152 samples being output. In addition, the bitrate
310 int bitrate; local
312 header, &frame_size, &sample_rate, &num_channels, &bitrate);
325 int bitrate; local
327 header, &frame_size, &sample_rate, &num_channels, &bitrate);
346 mMeta->setInt32(kKeyBitRate, bitrate * 1000);
359 durationUs = 8000LL * dataLength / bitrate;
506 int32_t bitrate; local
532 int bitrate; local
[all...]
H A Davc_utils.cpp664 // Disallow "free" bitrate.
697 int bitrate = local
703 *out_bitrate = bitrate;
706 *frame_size = (12000 * bitrate / sampling_rate + padding) * 4;
729 int bitrate; local
731 bitrate = (layer == 2 /* L2 */)
741 bitrate = kBitrateV2[bitrate_index - 1];
748 *out_bitrate = bitrate;
752 *frame_size = 144000 * bitrate / sampling_rate + padding;
756 *frame_size = tmp * bitrate / sampling_rat
[all...]
H A DACodec.cpp1737 // FLAC encoder doesn't need a bitrate, other encoders do
1739 && !msg->findInt32("bitrate", &bitRate)) {
1743 // propagate bitrate to the output so that the muxer has it
1744 if (encoder && msg->findInt32("bitrate", &bitRate)) {
1745 // Technically ISO spec says that 'bitrate' should be 0 for VBR even though it is the
1746 // average bitrate. We've been setting both bitrate and max-bitrate to this same value.
1747 outputFormat->setInt32("bitrate", bitRate);
1748 outputFormat->setInt32("max-bitrate", bitRat
2806 setupAMRCodec(bool encoder, bool isWAMR, int32_t bitrate) argument
3602 int32_t width, height, bitrate; local
3820 int32_t bitrate, iFrameInterval; local
3901 int32_t bitrate, iFrameInterval; local
3977 getAVCLevelFor( int width, int height, int rate, int bitrate, OMX_VIDEO_AVCPROFILETYPE profile) argument
4029 int32_t bitrate, iFrameInterval; local
4153 int32_t bitrate, iFrameInterval; local
4209 int32_t bitrate; local
4322 configureBitrate( int32_t bitrate, OMX_VIDEO_CONTROLRATETYPE bitrateMode) argument
[all...]
/frameworks/av/media/libstagefright/codecs/avcenc/
H A DSoftAVCEnc.cpp1149 const OMX_VIDEO_PARAM_BITRATETYPE *bitrate) {
1150 if (bitrate->nPortIndex != kOutputPortIndex) {
1154 mBitrate = bitrate->nTargetBitrate;
1148 internalSetBitrateParams( const OMX_VIDEO_PARAM_BITRATETYPE *bitrate) argument
/frameworks/av/media/libstagefright/mpeg2ts/
H A DESQueue.cpp945 int samplingRate, numChannels, bitrate, numSamples; local
948 &bitrate, &numSamples)) {
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DGenericSource.cpp276 int32_t bitrate; local
277 if (totalBitrate >= 0 && meta->findInt32(kKeyBitRate, &bitrate)) {
278 totalBitrate += bitrate;
1532 int64_t bitrate,
1535 prepare_l(cachedSource, wvmExtractor, durationUs, bitrate, isStreaming);
1541 -1 /* bitrate */, false /* isStreaming */);
1597 int64_t bitrate,
1606 mBitrate = bitrate;
1745 int64_t bitrate = 0ll; local
1747 // |bitrate| use
1528 prepare( const sp<NuCachedSource2> &cachedSource, const sp<WVMExtractor> &wvmExtractor, int64_t durationUs, int64_t bitrate, bool isStreaming) argument
1593 prepare_l( const sp<NuCachedSource2> &cachedSource, const sp<WVMExtractor> &wvmExtractor, int64_t durationUs, int64_t bitrate, bool isStreaming) argument
[all...]
/frameworks/wilhelm/include/OMXAL/
H A DOpenMAXAL.h3122 XAuint32 bitrate; member in struct:XATimedTextStreamInformation_

Completed in 325 milliseconds