/external/aac/libAACenc/src/ |
D | aacenc.cpp | 110 static AAC_ENCODER_ERROR FDKaacEnc_InitCheckAncillary(INT bitRate, 122 INT bitRate, in FDKaacEnc_LimitBitrate() argument 138 prevBitRate = bitRate; in FDKaacEnc_LimitBitrate() 139 averageBitsPerFrame = (bitRate*(frameLength>>shift)) / (coreSamplingRate>>shift) / nSubFrames; in FDKaacEnc_LimitBitrate() 152 …bitRate = FDKmax(bitRate, ((((40 * nChannels) + transportBits) * (coreSamplingRate)) / frameLength… in FDKaacEnc_LimitBitrate() 153 FDK_ASSERT(bitRate >= 0); in FDKaacEnc_LimitBitrate() 155 …bitRate = FDKmin(bitRate, ((nChannelsEff * MIN_BUFSIZE_PER_EFF_CHAN)*(coreSamplingRate>>shift)) / … in FDKaacEnc_LimitBitrate() 156 FDK_ASSERT(bitRate >= 0); in FDKaacEnc_LimitBitrate() 158 } while (prevBitRate != bitRate && iter++ < 3) ; in FDKaacEnc_LimitBitrate() 160 return bitRate; in FDKaacEnc_LimitBitrate() [all …]
|
D | aacenc_lib.cpp | 479 cc->bitRate = hAacConfig->bitRate; in H_ALLOC_MEM() 581 config->userBitrate = hAacConfig->bitRate; in aacEncDefaultConfig() 621 … aacEncDistributeSbrBits(CHANNEL_MAPPING *channelMapping, SBR_ELEMENT_INFO *sbrElInfo, INT bitRate) in aacEncDistributeSbrBits() argument 623 INT codebits = bitRate; in aacEncDistributeSbrBits() 631 …sbrElInfo[el].bitRate = (INT)(fMultNorm(channelMapping->elInfo[el].relativeBits, (FIXP_DBL… in aacEncDistributeSbrBits() 635 codebits -= sbrElInfo[el].bitRate; in aacEncDistributeSbrBits() 637 sbrElInfo[0].bitRate += codebits; in aacEncDistributeSbrBits() 648 INT bitRate, in aacEncoder_LimitBitrate() argument 668 bitRate = FDKmin(360000*nChannels, bitRate); in aacEncoder_LimitBitrate() 669 bitRate = FDKmax(8000*nChannels, bitRate); in aacEncoder_LimitBitrate() [all …]
|
D | pnsparam.cpp | 188 int FDKaacEnc_lookUpPnsUse (int bitRate, int sampleRate, int numChan, const int isLC) { in FDKaacEnc_lookUpPnsUse() argument 203 if(((ULONG)bitRate >= levelTable[i].brFrom) && in FDKaacEnc_lookUpPnsUse() 204 ((ULONG)bitRate <= levelTable[i].brTo) ) in FDKaacEnc_lookUpPnsUse() 241 INT bitRate, in FDKaacEnc_GetPnsParam() argument 267 hUsePns = FDKaacEnc_lookUpPnsUse (bitRate, sampleRate, numChan, isLC); in FDKaacEnc_GetPnsParam()
|
D | pnsparam.h | 128 int FDKaacEnc_lookUpPnsUse (int bitRate, int sampleRate, int numChan, const int isLC); 133 INT bitRate,
|
D | aacenc.h | 184 INT bitRate; /* encoder bit rate in bits/sec */ member 245 INT bitRate,
|
D | pns_func.h | 102 INT bitRate,
|
D | qc_main.cpp | 179 static INT FDKaacEnc_calcFrameLen(INT bitRate, in FDKaacEnc_calcFrameLen() argument 187 result = ((granuleLength)>>3)*(bitRate); in FDKaacEnc_calcFrameLen() 209 static INT FDKaacEnc_framePadding(INT bitRate, in FDKaacEnc_framePadding() argument 219 difference = FDKaacEnc_calcFrameLen( bitRate, in FDKaacEnc_framePadding() 490 INT bitRate, /* total bitrate */ in FDKaacEnc_AdjustBitrate() argument 498 paddingOn = FDKaacEnc_framePadding(bitRate, in FDKaacEnc_AdjustBitrate() 503 frameLen = paddingOn + FDKaacEnc_calcFrameLen(bitRate, in FDKaacEnc_AdjustBitrate()
|
D | psy_main.h | 153 INT bitRate,
|
D | qc_main.h | 164 INT bitRate,
|
D | aacenc_tns.cpp | 252 const INT bitRate, in FDKaacEnc_GetTnsParam() argument 261 if ((bitRate >= tnsInfoTab[i].bitRateFrom[sbrLd?1:0]) && in FDKaacEnc_GetTnsParam() 262 bitRate <= tnsInfoTab[i].bitRateTo[sbrLd?1:0]) in FDKaacEnc_GetTnsParam() 371 AAC_ENCODER_ERROR FDKaacEnc_InitTnsConfiguration(INT bitRate, in FDKaacEnc_InitTnsConfiguration() argument 391 if (bitRate < 16000) in FDKaacEnc_InitTnsConfiguration() 450 … const TNS_PARAMETER_TABULATED* pCfg = FDKaacEnc_GetTnsParam(bitRate, channels, ldSbrPresent); in FDKaacEnc_InitTnsConfiguration()
|
D | aacenc_pns.cpp | 133 INT bitRate, in FDKaacEnc_InitPnsConfiguration() argument 145 bitRate, in FDKaacEnc_InitPnsConfiguration()
|
D | psy_main.cpp | 304 INT bitRate, in FDKaacEnc_psyMainInit() argument 335 …ErrorStatus = FDKaacEnc_InitPsyConfiguration(bitRate/channelsEff, sampleRate, bandwidth, LONG_WIND… in FDKaacEnc_psyMainInit() 340 (bitRate*tnsChannels)/channelsEff, in FDKaacEnc_psyMainInit() 355 …ErrorStatus = FDKaacEnc_InitPsyConfiguration(bitRate/channelsEff, sampleRate, bandwidth, SHORT_WIN… in FDKaacEnc_psyMainInit() 360 (bitRate*tnsChannels)/channelsEff, in FDKaacEnc_psyMainInit() 393 bitRate/channelsEff, in FDKaacEnc_psyMainInit() 404 bitRate/channelsEff, in FDKaacEnc_psyMainInit()
|
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/apple/ |
D | AppleLosslessSpecificBox.java | 31 private long bitRate; // 32bit field in AppleLosslessSpecificBox 107 return bitRate; in getBitRate() 110 public void setBitRate(int bitRate) { in setBitRate() argument 111 this.bitRate = bitRate; in setBitRate() 135 bitRate = IsoTypeReader.readUInt32(content); in _parseDetails() 151 IsoTypeWriter.writeUInt32(byteBuffer, bitRate); in getContent()
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
D | ShadowMediaRecorder.java | 64 public void setAudioEncodingBitRate(int bitRate) { in setAudioEncodingBitRate() argument 65 audioBitRate = bitRate; in setAudioEncodingBitRate() 129 public void setVideoEncodingBitRate(int bitRate) { in setVideoEncodingBitRate() argument 130 videoBitRate = bitRate; in setVideoEncodingBitRate()
|
/external/aac/libSBRenc/src/ |
D | sbr_encoder.cpp | 396 UINT bitRate, /*! the total bitrate in bits/sec */ in FDKsbrEnc_AdjustSbrSettings() argument 410 config->codecSettings.bitRate = bitRate; in FDKsbrEnc_AdjustSbrSettings() 416 if (bitRate==0) { in FDKsbrEnc_AdjustSbrSettings() 419 bitRate = 24000; in FDKsbrEnc_AdjustSbrSettings() 421 bitRate = 28000; in FDKsbrEnc_AdjustSbrSettings() 423 bitRate = 32000; in FDKsbrEnc_AdjustSbrSettings() 425 bitRate = 40000; in FDKsbrEnc_AdjustSbrSettings() 427 bitRate = 48000; in FDKsbrEnc_AdjustSbrSettings() 428 bitRate *= numChannels; in FDKsbrEnc_AdjustSbrSettings() 432 if (vbrMode<40) bitRate = 32000; in FDKsbrEnc_AdjustSbrSettings() [all …]
|
/external/aac/libSBRenc/include/ |
D | sbr_encoder.h | 114 INT bitRate; member 256 INT bitRate; member 293 UINT sbrEncoder_LimitBitRate(UINT bitRate, UINT numChannels, UINT coreSampleRate, AUDIO_OBJECT_TYPE…
|
/external/aac/libMpegTPEnc/src/ |
D | tpenc_adif.h | 102 INT bitRate; member
|
D | tpenc_adif.cpp | 110 INT totalBitRate = adif->bitRate; in adifWrite_EncodeHeader()
|
D | tpenc_lib.cpp | 271 hTpEnc->writer.adif.bitRate = hTpEnc->config.bitRate; in transportEnc_Init()
|
/external/libopus/src/ |
D | opus_encoder.c | 202 st->silk_mode.bitRate = 25000; in opus_encoder_init() 1467 … st->silk_mode.bitRate = st->stream_channels * ( 5000 + 1000 * ( st->Fs == 100 * frame_size ) ); in opus_encode_native() 1470 st->silk_mode.bitRate += ( total_bitRate - st->silk_mode.bitRate ) * 2 / 3; in opus_encode_native() 1473 st->silk_mode.bitRate += ( total_bitRate - st->silk_mode.bitRate ) * 3 / 5; in opus_encode_native() 1476 if( st->silk_mode.bitRate > total_bitRate * 4/5 ) { in opus_encode_native() 1477 st->silk_mode.bitRate = total_bitRate * 4/5; in opus_encode_native() 1482 celt_rate = total_bitRate - st->silk_mode.bitRate; in opus_encode_native() 1489 st->silk_mode.bitRate = total_bitRate; in opus_encode_native() 1526 rate_offset = MAX32(rate_offset, -2*st->silk_mode.bitRate/3); in opus_encode_native() 1529 st->silk_mode.bitRate += 3*rate_offset/5; in opus_encode_native() [all …]
|
/external/libopus/silk/ |
D | control.h | 69 opus_int32 bitRate; member
|
D | enc_API.c | 121 encStatus->bitRate = state_Fxx[ 0 ].sCmn.TargetRate_bps; in silk_QueryEncoder() 236 TargetRate_bps = silk_RSHIFT32( encControl->bitRate, encControl->nChannelsInternal - 1 ); in silk_Encode() 384 … nBits = silk_DIV32_16( silk_MUL( encControl->bitRate, encControl->payloadSize_ms ), 1000 ); in silk_Encode() 400 TargetRate_bps = silk_LIMIT( TargetRate_bps, encControl->bitRate, 5000 ); in silk_Encode() 514 …psEnc->nBitsExceeded -= silk_DIV32_16( silk_MUL( encControl->bitRate, encControl->payloadSize_ms )… in silk_Encode()
|
/external/webrtc/src/modules/audio_coding/codecs/isac/main/source/ |
D | bandwidth_estimator.c | 746 WebRtc_Word32* bitRate) in WebRtcIsac_GetUplinkBandwidth() argument 751 *bitRate = MIN_ISAC_BW; in WebRtcIsac_GetUplinkBandwidth() 755 *bitRate = MAX_ISAC_BW; in WebRtcIsac_GetUplinkBandwidth() 759 *bitRate = (WebRtc_Word32)(bwest_str->send_bw_avg); in WebRtcIsac_GetUplinkBandwidth()
|
D | bandwidth_estimator.h | 124 WebRtc_Word32* bitRate);
|
/external/aac/libAACdec/include/ |
D | aacdecoder_lib.h | 549 INT bitRate; /*!< Instantaneous bit rate. */ member
|