Searched defs:rate (Results 1 - 25 of 41) sorted by relevance

12

/hardware/intel/img/hwcomposer/common/observers/
H A DSoftVsyncObserver.cpp84 void SoftVsyncObserver::setRefreshRate(int rate) argument
87 WLOGTRACE("too late to set refresh rate");
88 } else if (rate < 1 || rate > 120) {
89 WLOGTRACE("invalid refresh rate %d", rate);
91 mRefreshRate = rate;
/hardware/invensense/60xx/mlsdk/mllite/
H A DmlBiasNoMotion.c158 long rate; local
171 // We always run the accel low pass filter at the highest sample rate possible
178 rate = inv_get_fifo_rate() * 5 + 5;
179 if (rate > 200)
180 rate = 200;
182 gain = inv_obj->accel_lpf_gain * rate;
/hardware/qcom/audio/hal/audio_extn/
H A Dhfp.c61 .rate = 8000,
267 int rate; local
284 rate = atoi(value);
285 if (rate == 8000){
287 pcm_config_hfp.rate = rate;
288 } else if (rate == 16000){
290 pcm_config_hfp.rate = rate;
292 ALOGE("Unsupported rate
[all...]
/hardware/qcom/audio/legacy/alsa_sound/
H A DALSAStreamOps.cpp96 uint32_t *rate,
134 if (rate && *rate > 0) {
135 if (mHandle->sampleRate != *rate)
137 } else if (rate) {
138 *rate = mHandle->sampleRate;
94 set(int *format, uint32_t *channels, uint32_t *rate, uint32_t device) argument
H A Dalsa_default.cpp331 handle->handle->rate = handle->sampleRate;
1642 void s_set_voip_config(int mode, int rate) argument
1644 ALOGV("s_set_voip_config: mode %d,rate %d", mode, rate);
1665 sprintf(setValues[1], "%d",rate);
1674 void s_set_btsco_rate(int rate) argument
1676 btsco_samplerate = rate;
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/third_party/nestegg/include/nestegg/
H A Dnestegg.h140 double rate; /**< Sampling rate in Hz. */ member in struct:__anon502
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/
H A Dvp9_pickmode.c186 int rate; local
196 pd->dequant[1] >> 3, &rate, &dist);
197 *out_rate_sum = rate;
222 int rate = INT_MAX; local
323 model_rd_for_sb_y(cpi, bsize, x, xd, &rate, &dist);
324 rate += rate_mv;
325 rate += x->inter_mode_cost[mbmi->mode_context[ref_frame]]
327 this_rd = RDCOST(x->rdmult, x->rddiv, rate, dist);
331 *returnrate = rate;
353 model_rd_for_sb_y(cpi, bsize, x, xd, &rate,
[all...]
H A Dvp9_encodemb.c69 int rate; member in struct:vp9_token_state
146 tokens[eob][0].rate = 0;
168 rate0 = tokens[next][0].rate;
169 rate1 = tokens[next][1].rate;
188 tokens[i][0].rate = base_bits + (best ? rate1 : rate0);
196 rate0 = tokens[next][0].rate;
197 rate1 = tokens[next][1].rate;
244 tokens[i][1].rate = base_bits + (best ? rate1 : rate0);
261 tokens[next][0].rate +=
266 tokens[next][1].rate
[all...]
H A Dvp9_block.h49 int rate; member in struct:__anon607
/hardware/intel/common/utils/ISV/profile/
H A Disv_profile.cpp51 mFrcRates[i].rate = FRC_RATE_1X;
73 FRC_RATE rate = FRC_RATE_1X; local
78 rate = mFrcRates[i].rate;
82 return rate;
224 if (!strcmp(atts[attIndex], "input") && !strcmp(atts[attIndex + 2], "rate")) {
227 mFrcRates[mCurrentFrcTab].rate = FRC_RATE_2X;
229 mFrcRates[mCurrentFrcTab].rate = FRC_RATE_2_5X;
231 mFrcRates[mCurrentFrcTab].rate = FRC_RATE_4X;
233 mFrcRates[mCurrentFrcTab].rate
[all...]
/hardware/intel/img/libdrm/tests/
H A Ddristat.c188 double rate; local
220 rate = (curr.data[j].value - prev.data[j].value) / (double)i;
221 printhuman(rate, curr.data[j].mult_names, curr.data[j].mult);
/hardware/intel/common/utils/ISV/include/
H A Disv_profile.h56 FRC_RATE rate; member in struct:_ISVFRCRate
/hardware/libhardware/modules/usbaudio/
H A Dalsa_device_profile.c117 * Returns the system defined minimum period size based on the supplied sample rate.
121 ALOGV("profile_calc_min_period_size(%p, rate:%d)", profile, sample_rate);
137 ALOGV("profile_get_period_size(rate:%d) = %d", sample_rate, period_size);
147 * TODO this won't be right in general. we should store a preferred rate as we are scanning.
148 * But right now it will return the highest rate, which may be correct.
153 bool profile_is_sample_rate_valid(alsa_device_profile* profile, unsigned rate) argument
158 if (profile->sample_rates[index] == rate) {
165 return rate == DEFAULT_SAMPLE_RATE;
212 static bool profile_test_sample_rate(alsa_device_profile* profile, unsigned rate) argument
215 config.rate
[all...]
H A Daudio_hw.c245 uint32_t rate = proxy_get_sample_rate(&((struct stream_out*)stream)->proxy); local
246 ALOGV("out_get_sample_rate() = %d", rate);
247 return rate;
250 static int out_set_sample_rate(struct audio_stream *stream, uint32_t rate) argument
528 proxy_config.rate = config->sample_rate = profile_get_default_sample_rate(out->profile);
530 proxy_config.rate = config->sample_rate;
532 proxy_config.rate = config->sample_rate = profile_get_default_sample_rate(out->profile);
605 /* TODO This needs to be calculated based on format/channels/rate */
614 uint32_t rate = proxy_get_sample_rate(&((const struct stream_in *)stream)->proxy); local
615 ALOGV("in_get_sample_rate() = %d", rate);
619 in_set_sample_rate(struct audio_stream *stream, uint32_t rate) argument
[all...]
/hardware/qcom/audio/legacy/libalsa-intf/
H A Daplay.c90 unsigned int requestedRate = pcm->rate;
115 param_set_int(params, SNDRV_PCM_HW_PARAM_RATE, pcm->rate);
164 static int play_file(unsigned rate, unsigned channels, int fd, argument
235 pcm->rate = rate;
472 int play_raw(const char *fg, int rate, int ch, const char *device, const char *fn) argument
495 return play_file(rate, ch, fd, flag, device, 0);
498 int play_wav(const char *fg, int rate, int ch, const char *device, const char *fn) argument
516 hdr.sample_rate = rate;
544 hdr.sample_rate = rate;
564 int rate = 44100; local
[all...]
H A Darec.c94 unsigned int requestedRate = pcm->rate;
118 param_set_int(params, SNDRV_PCM_HW_PARAM_RATE, pcm->rate);
178 int record_file(unsigned rate, unsigned channels, int fd, unsigned count, unsigned flags, const char *device) argument
208 pcm->rate = rate;
387 int rec_raw(const char *fg, const char *device, int rate, int ch, argument
408 count = rate * ch * 2;
414 ch, rate, 16, format);
421 return record_file(rate, ch, fd, count, flag, device);
424 int rec_wav(const char *fg, const char *device, int rate, in argument
513 int rate = 48000; local
[all...]
/hardware/ti/omap3/omx/system/src/openmax_il/perf/src/
H A Dperf_rt.c76 /* allocate rate tracking structures */
146 /* VP_T - display rate */
151 /* VD_T - decode rate */
156 /* VE_T - encode rate */
161 /* CAMT - capture rate */
320 /* get the temporal rate */
334 /* calculate the average of the temporal rate */
405 /* for each rate, reset skip count as well as tn0 */
423 /* complete any temporary rate measurements */
459 /* see if we care about this buffer in the rate calculatio
470 int rate = (me->detailed == 2) || local
[all...]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/
H A Dencodeframe.c1168 int rate; local
1171 vp8_rd_pick_intra_mode(x, &rate);
1173 vp8_pick_intra_mode(x, &rate);
1199 return rate;
1216 int rate; local
1249 vp8_rd_pick_inter_mode(cpi, x, recon_yoffset, recon_uvoffset, &rate,
1265 vp8_pick_inter_mode(cpi, x, recon_yoffset, recon_uvoffset, &rate,
1274 /* Adjust the zbin based on this MB rate. */
1404 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.c148 int rate; local
159 rate = mode_costs[mode];
164 this_rd = RDCOST(x->rdmult, x->rddiv, rate, distortion);
168 *bestrate = rate;
589 int rate; local
806 pick_intra4x4mby_modes(x, &rate, &distortion2);
814 rate2 += rate;
1255 int rate, best_rate = 0, distortion, best_sse = 0; local
1277 rate = x->mbmode_cost[xd->frame_type][mode];
1278 this_rd = RDCOST(x->rdmult, x->rddiv, rate, distortio
[all...]
/hardware/libhardware/modules/audio/
H A Daudio_hw.c48 static int out_set_sample_rate(struct audio_stream *stream, uint32_t rate) argument
141 static int in_set_sample_rate(struct audio_stream *stream, uint32_t rate) argument
/hardware/intel/audio_media/hdmi/
H A Dtinyaudio_hw.c107 .rate = 44100,
256 out->pcm_config.rate,
298 return out->pcm_config.rate;
301 static int out_set_sample_rate(struct audio_stream *stream, uint32_t rate) argument
304 UNUSED_PARAMETER(rate);
718 config->sample_rate = pcm_config_default.rate;
728 config->sample_rate = pcm_config_default.rate;
736 out->pcm_config.rate = config->sample_rate;
/hardware/libhardware_legacy/audio/
H A Daudio_hw_hal.cpp126 static int out_set_sample_rate(struct audio_stream *stream, uint32_t rate) argument
277 static int in_set_sample_rate(struct audio_stream *stream, uint32_t rate) argument
/hardware/libhardware_legacy/include/hardware_legacy/
H A Dlink_layer_stats.h82 /* wifi rate */
87 u32 rateMcsIdx :8; // OFDM/CCK rate code would be as per ieee std in the units of 0.5mbps
116 /* per rate statistics */
118 wifi_rate rate; // rate information member in struct:__anon1361
154 wifi_rate_stat rate_stats[]; // per rate statistics, number of entries = num_rate
222 #define WIFI_STATS_IFACE_TXRATE 0x00000020 // all tx rate statistics (within interface statistics)
/hardware/qcom/audio/hal/msm8974/
H A Dplatform.c1055 int platform_get_sample_rate(void *platform, uint32_t *rate) argument
1061 ret = my_data->csd->get_sample_rate(rate);

Completed in 481 milliseconds

12