/external/aac/libAACenc/src/ |
pnsparam.h | 87 contents/description: PNS parameters depending on bitrate and bandwidth 128 int FDKaacEnc_lookUpPnsUse (int bitRate, int sampleRate, int numChan, const int isLC); 133 INT bitRate,
|
aacenc.cpp | 110 static AAC_ENCODER_ERROR FDKaacEnc_InitCheckAncillary(INT bitRate, 122 INT bitRate, 138 prevBitRate = bitRate; 139 averageBitsPerFrame = (bitRate*(frameLength>>shift)) / (coreSamplingRate>>shift) / nSubFrames; 152 bitRate = FDKmax(bitRate, ((((40 * nChannels) + transportBits) * (coreSamplingRate)) / frameLength) ); 153 FDK_ASSERT(bitRate >= 0); 155 bitRate = FDKmin(bitRate, ((nChannelsEff * MIN_BUFSIZE_PER_EFF_CHAN)*(coreSamplingRate>>shift)) / (frameLength>>shift)) ; 156 FDK_ASSERT(bitRate >= 0) 190 INT bitrate = 0; local [all...] |
pnsparam.cpp | 87 contents/description: PNS parameters depending on bitrate and bandwidth 188 int FDKaacEnc_lookUpPnsUse (int bitRate, int sampleRate, int numChan, const int isLC) { 203 if(((ULONG)bitRate >= levelTable[i].brFrom) && 204 ((ULONG)bitRate <= levelTable[i].brTo) ) 233 description: Gets PNS parameters depending on bitrate and bandwidth 235 input: Noiseparams struct, bitrate, sampling rate, 241 INT bitRate, 267 hUsePns = FDKaacEnc_lookUpPnsUse (bitRate, sampleRate, numChan, isLC);
|
aacenc_lib.cpp | 319 cc->bitRate = hAacConfig->bitRate; 422 config->userBitrate = hAacConfig->bitRate; 454 void aacEncDistributeSbrBits(CHANNEL_MAPPING *channelMapping, SBR_ELEMENT_INFO *sbrElInfo, INT bitRate) 456 INT codebits = bitRate; 464 sbrElInfo[el].bitRate = (INT)(fMultNorm(channelMapping->elInfo[el].relativeBits, (FIXP_DBL)bitRate)); 468 codebits -= sbrElInfo[el].bitRate; 470 sbrElInfo[0].bitRate += codebits; 481 INT bitRate, 738 INT bitrate = FDKaacEnc_GetChannelModeConfiguration(hAacConfig->channelMode)->nChannelsEff * hAacConfig->sampleRate; local [all...] |
aacenc.h | 121 AAC_ENC_UNSUPPORTED_BITRATE = 0x3020, /*!< The chosen bitrate is not supported. */ 123 AAC_ENC_UNSUPPORTED_ANC_BITRATE = 0x3040, /*!< Unsupported ancillay bitrate. */ 161 AACENC_BR_MODE_INVALID = -1, /*!< Invalid bitrate mode. */ 162 AACENC_BR_MODE_CBR = 0, /*!< Constant bitrate mode. */ 163 AACENC_BR_MODE_VBR_1 = 1, /*!< Variable bitrate mode, about 32 kbps/channel. */ 164 AACENC_BR_MODE_VBR_2 = 2, /*!< Variable bitrate mode, about 40 kbps/channel. */ 165 AACENC_BR_MODE_VBR_3 = 3, /*!< Variable bitrate mode, about 48-56 kbps/channel. */ 166 AACENC_BR_MODE_VBR_4 = 4, /*!< Variable bitrate mode, about 64 kbps/channel. */ 167 AACENC_BR_MODE_VBR_5 = 5, /*!< Variable bitrate mode, about 80-96 kbps/channel. */ 184 INT bitRate; /* encoder bit rate in bits/sec * [all...] |
pns_func.h | 102 INT bitRate,
|
psy_main.h | 153 INT bitRate,
|
/external/aac/libMpegTPEnc/src/ |
tpenc_adif.h | 102 INT bitRate;
|
tpenc_adif.cpp | 110 INT totalBitRate = adif->bitRate; 118 /* Signal variable bitrate if buffer fullnes exceeds 20 bit */
|
/frameworks/av/media/libstagefright/codecs/common/include/ |
voAAC.h | 46 int bitRate; /*! encoder bit rate in bits/sec */
|
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/apple/ |
AppleLosslessSpecificBox.java | 20 bitrate? 32bit samplerate
31 private long bitRate; // 32bit
107 return bitRate;
110 public void setBitRate(int bitRate) {
111 this.bitRate = bitRate;
135 bitRate = IsoTypeReader.readUInt32(content);
151 IsoTypeWriter.writeUInt32(byteBuffer, bitRate);
|
/frameworks/av/media/libstagefright/codecs/aacenc/src/ |
aacenc.c | 139 config.bitRate = 128000; 317 int ret, i, bitrate, tmp; local 331 config.bitRate = pAAC_param->bitRate; 359 /* check the bitrate */ 360 if(config.bitRate!=0 && ((config.bitRate/config.nChannelsOut < 4000) || 361 (config.bitRate/config.nChannelsOut > 160000) || 362 (config.bitRate > config.sampleRate*6*config.nChannelsOut))) 364 config.bitRate = 640*config.sampleRate/tmp*config.nChannelsOut [all...] |
aacenc_core.c | 46 config->bitRate = 128000; 91 config.bitRate, 111 qcInit.averageBits = (Word16) ((config.bitRate * FRAME_LEN_LONG) / config.sampleRate); 121 qcInit.bitrate = config.bitRate; 129 hAacEnc->bseInit.bitrate = config.bitRate; 174 /* adjust bitrate and frame length */ 176 aacEnc->config.bitRate,
|
qc_main.c | 60 static Word16 calcFrameLen(Word32 bitRate, 68 result = (FRAME_LEN_LONG >> 3) * bitRate; 89 static Word16 framePadding(Word32 bitRate, 98 difference = calcFrameLen( bitRate, 237 init->bitrate, 297 /*adjust thresholds for the desired bitrate */ 454 /* constant bitrate */ 462 /* variable bitrate */ 539 * to achieve a bitrate that demands a non byte aligned 545 Word32 bitRate, /* total bitrate * [all...] |
/frameworks/av/media/libstagefright/codecs/aacenc/inc/ |
tns_param.h | 48 Word32 bitRate, Word16 channels, Word16 blockType);
|
aacenc_core.h | 41 Word32 bitRate; /* encoder bit rate in bits/sec */
|
block_switch.h | 59 const Word32 bitRate, const Word16 nChannels);
|
qc_main.h | 61 Word32 bitRate,
|
psy_main.h | 51 Word32 bitRate,
|
/frameworks/av/media/libstagefright/codecs/aacenc/SampleCode/ |
AAC_E_SAMPLES.c | 38 "voAACEncTest -if <inputfile.pcm> -of <outputfile.aac> -sr <samplerate> -ch <channel> -br <bitrate> -adts <adts> \n" 43 "-br encoded aac bitrate, default 64000 * (samplerate/100)*channel/441(480)\n" 51 // bitRate/nChannels > 8000 52 // bitRate/nChannels < 160000 53 // bitRate/nChannels < sampleRate*6 55 param->bitRate = 0; 96 param->bitRate = atoi(*argv); 113 if(param->bitRate == 0) 118 param->bitRate = 640*param->nChannels*param->sampleRate/scale;
|
/frameworks/av/media/libstagefright/codecs/mp3dec/include/ |
pvmp3decoder_api.h | 200 * This value is the bitrate in units of bits/second. IT 205 int32 bitRate; 223 * bitrate. For debugging purposes only, as it will overflow for very long clips
|
/frameworks/base/media/java/android/media/ |
MediaRecorder.java | 568 * specified bit rate is applicable, and sometimes the passed bitRate will be clipped 572 * @param bitRate the audio encoding bit rate in bits per second. 574 public void setAudioEncodingBitRate(int bitRate) { 575 if (bitRate <= 0) { 578 setParameter("audio-param-encoding-bitrate=" + bitRate); 584 * specified bit rate is applicable, and sometimes the passed bitRate will be 588 * @param bitRate the video encoding bit rate in bits per second. 590 public void setVideoEncodingBitRate(int bitRate) { 591 if (bitRate <= 0) [all...] |
/external/aac/libSBRenc/include/ |
sbr_encoder.h | 106 INT bitRate; 249 INT bitRate; 279 * \param bitRate the desired target bit rate 283 * \return closest working bit rate to bitRate value 285 UINT sbrEncoder_LimitBitRate(UINT bitRate, UINT numChannels, UINT coreSampleRate, AUDIO_OBJECT_TYPE aot); 365 * \brief SBR encoder bitrate estimation. 367 * \return Estimated bitrate.
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/ |
SoftMPEG4Encoder.cpp | 144 mEncParams->bitRate[0] = mVideoBitRate; 308 OMX_VIDEO_PARAM_BITRATETYPE *bitRate = 311 if (bitRate->nPortIndex != 1) { 315 bitRate->eControlRate = OMX_Video_ControlRateVariable; 316 bitRate->nTargetBitrate = mVideoBitRate; 440 OMX_VIDEO_PARAM_BITRATETYPE *bitRate = 443 if (bitRate->nPortIndex != 1 || 444 bitRate->eControlRate != OMX_Video_ControlRateVariable) { 448 mVideoBitRate = bitRate->nTargetBitrate;
|
/external/aac/libSBRenc/src/ |
sbr_encoder.cpp | 161 channels, bitrate, sample rate and core coder 168 getSbrTuningTableIndex(UINT bitrate, /*! the total bitrate in bits/sec */ 193 if ((bitrate >= sbrTuningTable [i].bitrateFrom) && 194 (bitrate < sbrTuningTable [i].bitrateTo)) { 195 bitRateClosestLower = bitrate; 196 bitRateClosestUpper = bitrate; 200 if ( sbrTuningTable [i].bitrateFrom > bitrate ) { 206 if ( sbrTuningTable [i].bitrateTo <= bitrate ) { 223 distanceLower = sbrTuningTable [bitRateClosestLowerIndex].bitrateFrom - bitrate; [all...] |