Searched defs:rate (Results 76 - 100 of 147) sorted by relevance

123456

/external/iptables/extensions/
H A Dlibxt_hashlimit.c42 "--hashlimit <avg> max average match rate\n"
79 " --hashlimit-upto <avg> max average match rate\n"
82 " --hashlimit-above <avg> min average match rate\n"
200 static bool parse_bytes(const char *rate, uint32_t *val, struct hashlimit_mt_udata *ud) argument
205 const char *mode = strstr(rate, "b/s");
206 if (!mode || mode == rate)
210 r = atoi(rate);
223 xtables_error(PARAMETER_PROBLEM, "Rate too high \"%s\"\n", rate);
230 int parse_rate(const char *rate, uint32_t *val, struct hashlimit_mt_udata *ud) argument
236 delim = strchr(rate, '/');
[all...]
/external/libvncserver/x11vnc/
H A Drates.c77 double slowest = -1.0, rate; local
100 rate = cd->send_cmp_rate;
102 rate = cd->send_raw_rate;
104 if (slowest == -1.0 || rate < slowest) {
105 slowest = rate;
260 double rate = ((double) n) / dt; local
261 speeds_read_rate_measured = (int) (rate/1000000.0);
265 rfbLog("fb read rate: %d MB/sec\n",
696 rfbLog("client %d network rate %.1f KB/sec (%.1f eff KB/sec)\n",
H A Dutil.c495 double rate = nq / dt; local
497 if (verb) rfbLog("Client is sending %.1f extra requests per second for the\n", rate);
546 double rate = meas / (now - last); local
547 if (verb) fprintf(stderr, "\n allinput rate: %.2f ", rate);
/external/libvpx/libvpx/vp8/encoder/
H A Dencodeframe.c1180 int rate; local
1183 vp8_rd_pick_intra_mode(x, &rate);
1185 vp8_pick_intra_mode(x, &rate);
1211 return rate;
1228 int rate; local
1261 vp8_rd_pick_inter_mode(cpi, x, recon_yoffset, recon_uvoffset, &rate,
1277 vp8_pick_inter_mode(cpi, x, recon_yoffset, recon_uvoffset, &rate,
1286 /* Adjust the zbin based on this MB rate. */
1416 return rate;
H A Dencodemb.c204 int rate; member in struct:vp8_token_state
283 tokens[eob][0].rate = 0;
305 rate0 = tokens[next][0].rate;
306 rate1 = tokens[next][1].rate;
330 tokens[i][0].rate = base_bits + (best ? rate1 : rate0);
337 rate0 = tokens[next][0].rate;
338 rate1 = tokens[next][1].rate;
400 tokens[i][1].rate = base_bits + (best ? rate1 : rate0);
420 tokens[next][0].rate += mb->token_costs[type][band][0][t0];
425 tokens[next][1].rate
[all...]
H A Dpickinter.c147 int rate; local
158 rate = mode_costs[mode];
163 this_rd = RDCOST(x->rdmult, x->rddiv, rate, distortion);
167 *bestrate = rate;
587 int rate; local
810 pick_intra4x4mby_modes(x, &rate, &distortion2);
818 rate2 += rate;
1262 int rate, best_rate = 0, distortion, best_sse; local
1284 rate = x->mbmode_cost[xd->frame_type][mode];
1285 this_rd = RDCOST(x->rdmult, x->rddiv, rate, distortio
[all...]
/external/libvpx/libvpx/vp9/encoder/
H A Dvp9_encodemb.c68 int rate; member in struct:vp9_token_state
136 tokens[eob][0].rate = 0;
157 rate0 = tokens[next][0].rate;
158 rate1 = tokens[next][1].rate;
175 tokens[i][0].rate = base_bits + (best ? rate1 : rate0);
183 rate0 = tokens[next][0].rate;
184 rate1 = tokens[next][1].rate;
231 tokens[i][1].rate = base_bits + (best ? rate1 : rate0);
248 tokens[next][0].rate +=
253 tokens[next][1].rate
[all...]
H A Dvp9_rd.c44 // Factor to weigh the rate for switchable interp filters.
229 // Normalized rate:
230 // This table models the rate for a Laplacian source with given variance
299 unsigned int qstep, int *rate,
301 // This function models the rate and distortion for a Laplacian
308 *rate = 0;
317 *rate = (n * r_q10 + 2) >> 2;
298 vp9_model_rd_from_var_lapndz(unsigned int var, unsigned int n, unsigned int qstep, int *rate, int64_t *dist) argument
H A Dvp9_pickmode.c203 int rate; local
233 dc_quant >> 3, &rate, &dist);
234 *out_rate_sum = rate >> 1;
238 ac_quant >> 3, &rate, &dist);
239 *out_rate_sum += rate;
265 int *rate, int64_t *dist) {
276 // Set a maximum for threshold to avoid big PSNR loss in low bit rate
328 *rate = cpi->inter_mode_cost[mbmi->mode_context[ref_frame]]
331 // More on this part of rate
332 // rate
259 encode_breakout_test(VP9_COMP *cpi, MACROBLOCK *x, BLOCK_SIZE bsize, int mi_row, int mi_col, MV_REFERENCE_FRAME ref_frame, PREDICTION_MODE this_mode, unsigned int var_y, unsigned int sse_y, struct buf_2d yv12_mb[][MAX_MB_PLANE], int *rate, int64_t *dist) argument
377 int rate = INT_MAX; local
[all...]
/external/opencv/cv/src/
H A Dcvpyramids.cpp1168 cvCreatePyramid( const CvArr* srcarr, int extra_layers, double rate, argument
1204 layer_size.width = cvRound(layer_size.width*rate+eps);
1205 layer_size.height = cvRound(layer_size.height*rate+eps);
1229 layer_size.width = cvRound(layer_size.width*rate + eps);
1230 layer_size.height = cvRound(layer_size.height*rate + eps);
/external/pdfium/core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/
H A Dtcd.h70 OPJ_UINT32 rate; member in struct:opj_tcd_pass
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowMediaRecorder.java134 public void setVideoFrameRate(int rate) { argument
135 videoFrameRate = rate;
/external/speex/libspeex/
H A Dnb_celp.c494 spx_int32_t rate; local
495 speex_encoder_ctl(state, SPEEX_GET_BITRATE, &rate);
496 if (rate > st->vbr_max)
498 rate = st->vbr_max;
499 speex_encoder_ctl(state, SPEEX_SET_BITRATE, &rate);
583 /*If we use low bit-rate pitch mode, transmit open-loop pitch*/
766 /* Low bit-rate pitch handling */
1256 /* Get open-loop pitch estimation for low bit-rate pitch coding */
1618 spx_int32_t rate, target; local
1624 speex_encoder_ctl(st, SPEEX_GET_BITRATE, &rate);
1672 spx_int32_t rate, target; local
[all...]
/external/webrtc/src/modules/audio_coding/codecs/isac/main/source/
H A Dbandwidth_estimator.c158 // We have to adjust the header-rate if the first packet has a
167 /* compute far-side transmission rate */
183 /* store far-side transmission rate */
368 /* don't allow it to be less than frame rate - 10 ms */
372 /* compute inverse receiving rate for last packet */
380 // don't allow inv rate to be larger than MAX
385 /* update bottle neck rate estimate */
435 /* limit minimum bottle neck rate */
454 /* store far-side transmission rate */
503 /* This function updates the send bottle neck rate */
602 float rate; local
[all...]
/external/webrtc/src/modules/audio_processing/test/
H A Dunit_test.cc484 int rate[] = {16000, 44100, 48000}; local
485 for (size_t i = 0; i < sizeof(rate)/sizeof(*rate); i++) {
487 apm_->echo_cancellation()->set_device_sample_rate_hz(rate[i]));
488 EXPECT_EQ(rate[i],
/external/wpa_supplicant_8/hostapd/src/ap/
H A Dap_config.c630 int hostapd_rate_found(int *list, int rate) argument
638 if (list[i] == rate)
/external/wpa_supplicant_8/src/ap/
H A Dap_config.c630 int hostapd_rate_found(int *list, int rate) argument
638 if (list[i] == rate)
/external/wpa_supplicant_8/wpa_supplicant/
H A Dbss.c1183 * wpa_bss_get_max_rate - Get maximum legacy TX rate supported in a BSS
1185 * Returns: Maximum legacy rate in units of 500 kbps
1189 int rate = 0; local
1195 if ((ie[i + 2] & 0x7f) > rate)
1196 rate = ie[i + 2] & 0x7f;
1201 if ((ie[i + 2] & 0x7f) > rate)
1202 rate = ie[i + 2] & 0x7f;
1205 return rate;
/external/wpa_supplicant_8/wpa_supplicant/src/ap/
H A Dap_config.c630 int hostapd_rate_found(int *list, int rate) argument
638 if (list[i] == rate)
/external/fio/
H A Dbackend.c142 * Check if we are above the minimum rate given.
150 unsigned long rate; local
173 * if rate blocks is set, sample is running
180 if (td->o.rate[ddir]) {
182 * check bandwidth specified rate
185 log_err("%s: min rate %u not met\n", td->o.name,
190 rate = ((bytes - td->rate_bytes[ddir]) * 1000) / spent;
192 rate = 0;
194 if (rate < ratemin ||
196 log_err("%s: min rate
[all...]
/external/fio/t/
H A Dbtrace2fio.c745 printf("rate=");
747 unsigned long rate; local
749 rate = o_to_kb_rate(o, i);
752 if (rate)
753 printf("%luk", rate);
798 unsigned long rate; local
809 rate = 0;
818 rate += this_rate;
821 if (rate < rate_threshold)
1024 log_err("\t-r\tIgnore jobs with less than this KB/sec rate\
[all...]
/external/libopus/src/
H A Dopus_multistream_encoder.c221 int len, int overlap, int channels, int rate, opus_copy_channel_in_func copy_channel_in
238 upsample = resampling_factor(rate);
596 opus_int32 *rate,
621 /* Coupled streams get twice the mono rate after the first 20 kb/s. */
658 rate[i] = stream_offset+(channel_rate*coupled_ratio>>8);
660 rate[i] = stream_offset+channel_rate;
662 rate[i] = lfe_offset+(channel_rate*lfe_ratio>>8);
1005 opus_int32 rate; local
1012 opus_encoder_ctl(enc, request, &rate);
1013 *value += rate;
220 surround_analysis(const CELTMode *celt_mode, const void *pcm, opus_val16 *bandLogE, opus_val32 *mem, opus_val32 *preemph_mem, int len, int overlap, int channels, int rate, opus_copy_channel_in_func copy_channel_in ) argument
594 surround_rate_allocation( OpusMSEncoder *st, opus_int32 *rate, int frame_size ) argument
[all...]
/external/libvorbis/lib/
H A Dvorbisenc.c272 g->coupling_pointlimit[0][i]=kHz*1000./vi->rate*ci->blocksizes[0];
273 g->coupling_pointlimit[1][i]=kHz*1000./vi->rate*ci->blocksizes[1];
277 g->sliding_lowpass[0][i]=kHz*1000./vi->rate*ci->blocksizes[0];
278 g->sliding_lowpass[1][i]=kHz*1000./vi->rate*ci->blocksizes[1];
284 g->coupling_pointlimit[0][i]=kHz*1000./vi->rate*ci->blocksizes[0];
285 g->coupling_pointlimit[1][i]=kHz*1000./vi->rate*ci->blocksizes[1];
291 g->sliding_lowpass[0][i]=kHz*1000./vi->rate*ci->blocksizes[0];
292 g->sliding_lowpass[1][i]=kHz*1000./vi->rate*ci->blocksizes[1];
521 double nyq=vi->rate/2.;
863 long rate){
861 vorbis_encode_setup_setting(vorbis_info *vi, long channels, long rate) argument
902 vorbis_encode_setup_vbr(vorbis_info *vi, long channels, long rate, float quality) argument
923 vorbis_encode_init_vbr(vorbis_info *vi, long channels, long rate, float base_quality ) argument
943 vorbis_encode_setup_managed(vorbis_info *vi, long channels, long rate, long max_bitrate, long nominal_bitrate, long min_bitrate) argument
990 vorbis_encode_init(vorbis_info *vi, long channels, long rate, long max_bitrate, long nominal_bitrate, long min_bitrate) argument
[all...]
/external/sonic/
H A DSonic.java25 private float rate; field in class:Sonic
122 // Get the rate of the stream.
125 return rate;
128 // Set the playback rate of the stream. This scales pitch and speed at the same time.
130 float rate)
132 this.rate = rate;
207 rate = 1.0f;
214 // Get the sample rate of the stream.
220 // Set the sample rate o
129 setRate( float rate) argument
762 adjustRate( float rate, int originalNumOutputSamples) argument
946 changeFloatSpeed( float samples[], int numSamples, float speed, float pitch, float rate, float volume, boolean useChordPitch, int sampleRate, int numChannels) argument
972 sonicChangeShortSpeed( short samples[], int numSamples, float speed, float pitch, float rate, float volume, boolean useChordPitch, int sampleRate, int numChannels) argument
[all...]
H A Dsonic.c29 float rate; member in struct:sonicStreamStruct
117 /* Get the rate of the stream. */
121 return stream->rate;
124 /* Set the playback rate of the stream. This scales pitch and speed at the same time. */
127 float rate)
129 stream->rate = rate;
267 stream->rate = 1.0f;
275 /* Get the sample rate of the stream. */
282 /* Set the sample rate o
125 sonicSetRate( sonicStream stream, float rate) argument
552 float rate = stream->rate*stream->pitch; local
900 adjustRate( sonicStream stream, float rate, int originalNumOutputSamples) argument
1052 float rate = stream->rate; local
1124 sonicChangeFloatSpeed( float *samples, int numSamples, float speed, float pitch, float rate, float volume, int useChordPitch, int sampleRate, int numChannels) argument
1151 sonicChangeShortSpeed( short *samples, int numSamples, float speed, float pitch, float rate, float volume, int useChordPitch, int sampleRate, int numChannels) argument
[all...]

Completed in 547 milliseconds

123456