/cts/tests/tests/media/src/android/media/cts/ |
MediaCodecTest.java | [all...] |
EncodeVirtualDisplayWithCompositionTest.java | 534 int bitRate = BITRATE_DEFAULT; 536 bitRate = BITRATE_1080p; 538 bitRate = BITRATE_720p; 540 bitRate = BITRATE_800x480; 542 format.setInteger(MediaFormat.KEY_BIT_RATE, bitRate); [all...] |
/external/webrtc/webrtc/modules/video_coding/ |
video_receiver.cc | 73 uint32_t bitRate; 75 _receiver.ReceiveStatistics(&bitRate, &frameRate); 76 _receiveStatsCallback->OnReceiveRatesUpdated(bitRate, frameRate);
|
/hardware/intel/common/libmix/videoencoder/ |
PVSoftMPEG4Encoder.cpp | 140 mComParams.rcParams.bitRate = 640000; 182 mEncParams->bitRate[0] = mVideoBitRate <= 2000000 ? mVideoBitRate : 2000000; 314 mVideoBitRate = mComParams.rcParams.bitRate;
|
VideoEncoderH263.cpp | 58 h263SequenceParam.bits_per_second= mComParams.rcParams.bitRate; 68 LOG_I( "bitrate = %d\n", h263SequenceParam.bits_per_second);
|
/pdk/apps/TestingCamera2/src/com/android/testingcamera2/v1/ |
CameraRecordingStream.java | 83 * @param bitRate Bit rate the encoder takes. 88 Context ctx, Size size, boolean useMediaCodec, int bitRate, int orientation, 98 (mEncBitRate != bitRate) || 103 mEncBitRate = bitRate;
|
/external/libopus/src/ |
opus_encoder.c | 202 st->silk_mode.bitRate = 25000; 520 /* Estimates how much the bitrate will be boosted based on the sub-frame energy */ 652 int bitrate, opus_val16 tonality, float *mem, int buffering, 713 bestLM = transient_viterbi(e, e_1, N, (int)((1.f+.5f*tonality)*(60*C+40)), bitrate/400); 950 opus_int32 max_rate; /* Max bitrate we're allowed to use */ [all...] |
/external/aac/libAACdec/include/ |
aacdecoder_lib.h | [all...] |
/frameworks/av/include/media/stagefright/ |
MPEG4Writer.h | 116 int64_t estimateMoovBoxSize(int32_t bitRate);
|
/frameworks/av/media/libstagefright/wifi-display/source/ |
Converter.cpp | 161 int32_t audioBitrate = GetInt32Property("media.wfd.audio-bitrate", 128000); 162 int32_t videoBitrate = GetInt32Property("media.wfd.video-bitrate", 5000000); 165 ALOGI("using audio bitrate of %d bps, video bitrate of %d bps", 169 mOutputFormat->setInt32("bitrate", audioBitrate); 171 mOutputFormat->setInt32("bitrate", videoBitrate); 172 mOutputFormat->setInt32("bitrate-mode", OMX_Video_ControlRateConstant); 716 "media.wfd.video-bitrate", 5000000); 809 void Converter::setVideoBitrate(int32_t bitRate) { 810 if (mIsVideo && mEncoder != NULL && bitRate != mPrevVideoBitrate) [all...] |
/external/aac/libAACenc/src/ |
aacenc_pns.cpp | 126 bitrate, samplerate, usePns, 133 INT bitRate, 145 bitRate,
|
qc_main.cpp | 176 static INT FDKaacEnc_calcFrameLen(INT bitRate, 184 result = ((granuleLength)>>3)*(bitRate); 206 static INT FDKaacEnc_framePadding(INT bitRate, 216 difference = FDKaacEnc_calcFrameLen( bitRate, 396 init->bitrate, 409 (init->bitrate / init->channelMapping->nChannelsEff) < 32000 && 478 to achieve a bitrate that demands a non byte aligned 486 INT bitRate, /* total bitrate */ 494 paddingOn = FDKaacEnc_framePadding(bitRate, [all...] |
aacenc_tns.cpp | 232 const INT bitRate, 241 if ((bitRate >= tnsInfoTab[i].bitRateFrom[sbrLd?1:0]) && 242 bitRate <= tnsInfoTab[i].bitRateTo[sbrLd?1:0]) 343 input: bitrate, samplerate, number of channels, 351 AAC_ENCODER_ERROR FDKaacEnc_InitTnsConfiguration(INT bitRate, 374 if (bitRate < 16000) 433 const TNS_PARAMETER_TABULATED* pCfg = FDKaacEnc_GetTnsParam(bitRate, channels, ldSbrPresent); [all...] |
/frameworks/av/media/libstagefright/codecs/avcenc/ |
SoftAVCEnc.cpp | 846 /* Video control Set Bitrate */ 929 OMX_VIDEO_PARAM_BITRATETYPE *bitRate = 932 if (!isValidOMXParam(bitRate)) { 936 if (bitRate->nPortIndex != 1) { 940 bitRate->eControlRate = OMX_Video_ControlRateVariable; 941 bitRate->nTargetBitrate = mBitrate; 990 OMX_VIDEO_PARAM_BITRATETYPE *bitRate = 993 if (!isValidOMXParam(bitRate)) { 997 return internalSetBitrateParams(bitRate) [all...] |
/frameworks/av/media/libstagefright/codecs/aacenc/src/ |
tns.c | 135 Word16 InitTnsConfigurationLong(Word32 bitRate, /*!< bitrate */ 150 bitratePerChannel = bitRate >> 1; 153 bitratePerChannel = bitRate; 202 Word16 InitTnsConfigurationShort(Word32 bitRate, /*!< bitrate */ 216 bitratePerChannel = L_shr(bitRate,1); 219 bitratePerChannel = bitRate;
|
psy_main.c | 192 Word32 bitRate, 198 Word32 channelBitRate = bitRate/channels; 207 err = InitTnsConfigurationLong(bitRate, sampleRate, channels, 217 err = InitTnsConfigurationShort(bitRate, sampleRate, channels, 225 bitRate, channels);
|
/frameworks/av/media/libmediaplayerservice/ |
StagefrightRecorder.cpp | 383 status_t StagefrightRecorder::setParamAudioEncodingBitRate(int32_t bitRate) { 384 ALOGV("setParamAudioEncodingBitRate: %d", bitRate); 385 if (bitRate <= 0) { 386 ALOGE("Invalid audio encoding bit rate: %d", bitRate); 394 mAudioBitRate = bitRate; 398 status_t StagefrightRecorder::setParamVideoEncodingBitRate(int32_t bitRate) { 399 ALOGV("setParamVideoEncodingBitRate: %d", bitRate); 400 if (bitRate <= 0) { 401 ALOGE("Invalid video encoding bit rate: %d", bitRate); 409 mVideoBitRate = bitRate; [all...] |
/external/libopus/silk/ |
enc_API.c | 121 encStatus->bitRate = state_Fxx[ 0 ].sCmn.TargetRate_bps; 236 TargetRate_bps = silk_RSHIFT32( encControl->bitRate, encControl->nChannelsInternal - 1 ); 384 nBits = silk_DIV32_16( silk_MUL( encControl->bitRate, encControl->payloadSize_ms ), 1000 ); 399 /* Never exceed input bitrate */ 400 TargetRate_bps = silk_LIMIT( TargetRate_bps, encControl->bitRate, 5000 ); 514 psEnc->nBitsExceeded -= silk_DIV32_16( silk_MUL( encControl->bitRate, encControl->payloadSize_ms ), 1000 );
|
/frameworks/av/media/libstagefright/codecs/avc/enc/src/ |
rate_control.cpp | 217 rateCtrl->bitsPerFrame = (int32)(rateCtrl->bitRate / rateCtrl->frame_rate); 241 /* Setting the bitrate and framerate */ 242 rateCtrl->pMP->bitrate = rateCtrl->bitRate; 244 rateCtrl->pMP->target_bits_per_frame = rateCtrl->pMP->bitrate / rateCtrl->pMP->framerate; 247 bpp = 1.0 * rateCtrl->bitRate / (rateCtrl->frame_rate * (video->PicSizeInMbs << 8)); 378 pMP->bitrate = rateCtrl->bitRate; /* calculated in RCVopQPSetting */ 607 /* Second, set another upper bound for current bit allocation: 4-5*bitrate/framerate */ 820 (pMP->bitrate / (pMP->framerate + 0.0001) + 0.0001) / 0.1) [all...] |
avcenc_int.h | 170 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 */ 240 int32 bitRate; /* target bit rate for the overall clip in bits/second*/ 313 int max_BitVariance_num; /* the number of the maximum bit variance within the given buffer with the unit of 10% of bitrate/framerate*/
|
init.cpp | 515 rateCtrl->bitRate = encParam->bitrate; 517 rateCtrl->initDelayOffset = (rateCtrl->bitRate * encParam->init_CBP_removal_delay / 1000); 654 rateCtrl->bitRate <= (int32)MaxBR[ii]*1000 && 685 rateCtrl->bitRate > (int32)MaxBR[lev_idx]*1000 || [all...] |
/frameworks/av/media/libstagefright/codecs/on2/enc/ |
SoftVPXEncoder.cpp | 78 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->nTargetBitrate = mBitrate [all...] |
/external/aac/libMpegTPEnc/src/ |
tpenc_lib.cpp | 271 hTpEnc->writer.adif.bitRate = hTpEnc->config.bitRate; 516 nbits = 0; /* Do not consider the ADIF header into the total bitrate */
|
/external/webrtc/webrtc/video/ |
receive_statistics_proxy.cc | 180 void ReceiveStatisticsProxy::OnReceiveRatesUpdated(uint32_t bitRate,
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/test/ |
m4v_h263_enc_test.cpp | 50 "<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 * 1024 [all...] |