Searched defs:bitrate (Results 1 - 18 of 18) 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/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:__anon591
H A Dmp4lib_int.h270 Int bitrate; /* bitrate for current frame */ member in struct:tagMultiPass
296 /* For target bitrate or framerate update */
297 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.cpp148 // bitrate - expressed as percentage of the target bitrate.
151 // bitrate - expressed as percentage of the target bitrate.
232 // Set bitrate values for each layer
345 OMX_VIDEO_PARAM_BITRATETYPE *bitrate = local
348 if (!isValidOMXParam(bitrate)) {
352 if (bitrate->nPortIndex != kOutputPortIndex) {
356 bitrate->nTargetBitrate = mBitrate;
359 bitrate
448 internalGetBitrateParams( OMX_VIDEO_PARAM_BITRATETYPE* bitrate) argument
466 internalSetBitrateParams( const OMX_VIDEO_PARAM_BITRATETYPE* bitrate) argument
[all...]
/frameworks/av/media/libstagefright/
H A DMediaCodecListOverrides.cpp73 static void getMeasureBitrate(const sp<MediaCodecInfo::Capabilities> &caps, int32_t *bitrate) { argument
76 *bitrate = 200000;
78 if (!caps->getDetails()->findString("bitrate-range", &bitrateRange)) {
87 *bitrate = strtol(minBitrate.c_str(), NULL, 10);
96 int32_t bitrate = 0; local
97 getMeasureBitrate(caps, &bitrate);
98 format->setInt32("bitrate", bitrate);
H A DNuMediaExtractor.cpp211 int32_t bitrate; local
212 if (!meta->findInt32(kKeyBitRate, &bitrate)) {
215 ALOGV("track of type '%s' does not publish bitrate", mime);
219 mTotalBitrate += bitrate;
626 bool NuMediaExtractor::getTotalBitrate(int64_t *bitrate) const {
628 *bitrate = mTotalBitrate;
634 *bitrate = size * 8000000ll / mDurationUs; // in bits/sec
646 int64_t bitrate; local
648 && getTotalBitrate(&bitrate)) {
656 *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.cpp714 // Disallow "free" bitrate.
747 int bitrate = local
753 *out_bitrate = bitrate;
756 *frame_size = (12000 * bitrate / sampling_rate + padding) * 4;
779 int bitrate; local
781 bitrate = (layer == 2 /* L2 */)
791 bitrate = kBitrateV2[bitrate_index - 1];
798 *out_bitrate = bitrate;
802 *frame_size = 144000 * bitrate / sampling_rate + padding;
806 *frame_size = tmp * bitrate / sampling_rat
[all...]
H A DACodec.cpp1736 // FLAC encoder doesn't need a bitrate, other encoders do
1738 && !msg->findInt32("bitrate", &bitRate)) {
1742 // propagate bitrate to the output so that the muxer has it
1743 if (encoder && msg->findInt32("bitrate", &bitRate)) {
1744 // Technically ISO spec says that 'bitrate' should be 0 for VBR even though it is the
1745 // average bitrate. We've been setting both bitrate and max-bitrate to this same value.
1746 outputFormat->setInt32("bitrate", bitRate);
1747 outputFormat->setInt32("max-bitrate", bitRat
2916 setupAMRCodec(bool encoder, bool isWAMR, int32_t bitrate) argument
3748 int32_t width, height, bitrate; local
4012 int32_t bitrate; local
4094 int32_t bitrate; local
4171 getAVCLevelFor( int width, int height, int rate, int bitrate, OMX_VIDEO_AVCPROFILEEXTTYPE profile) argument
4224 int32_t bitrate; local
4391 int32_t bitrate; local
4448 int32_t bitrate; local
4577 configureBitrate( int32_t bitrate, OMX_VIDEO_CONTROLRATETYPE bitrateMode) argument
[all...]
/frameworks/av/media/libstagefright/codecs/avcenc/
H A DSoftAVCEnc.cpp1134 const OMX_VIDEO_PARAM_BITRATETYPE *bitrate) {
1135 if (bitrate->nPortIndex != kOutputPortIndex) {
1139 mBitrate = bitrate->nTargetBitrate;
1133 internalSetBitrateParams( const OMX_VIDEO_PARAM_BITRATETYPE *bitrate) argument
/frameworks/av/media/libstagefright/mpeg2ts/
H A DESQueue.cpp1215 int samplingRate, numChannels, bitrate, numSamples; local
1218 &bitrate, &numSamples)) {
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DGenericSource.cpp238 int32_t bitrate; local
239 if (totalBitrate >= 0 && meta->findInt32(kKeyBitRate, &bitrate)) {
240 totalBitrate += bitrate;
1602 int64_t bitrate,
1605 prepare_l(cachedSource, durationUs, bitrate, isStreaming);
1611 -1 /* bitrate */, false /* isStreaming */);
1666 int64_t bitrate,
1671 mBitrate = bitrate;
1805 int64_t bitrate = 0ll; local
1807 // |bitrate| use
1599 prepare( const sp<NuCachedSource2> &cachedSource, int64_t durationUs, int64_t bitrate, bool isStreaming) argument
1663 prepare_l( const sp<NuCachedSource2> &cachedSource, 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 833 milliseconds