/hardware/intel/img/hwcomposer/common/observers/ |
H A D | SoftVsyncObserver.cpp | 84 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 D | mlBiasNoMotion.c | 158 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 D | hfp.c | 61 .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 D | ALSAStreamOps.cpp | 96 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 D | alsa_default.cpp | 331 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;
|
H A D | audio_hw_hal.cpp | 149 static int out_set_sample_rate(struct audio_stream *stream, uint32_t rate) argument 299 static int in_set_sample_rate(struct audio_stream *stream, uint32_t rate) argument
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/third_party/nestegg/include/nestegg/ |
H A D | nestegg.h | 140 double rate; /**< Sampling rate in Hz. */ member in struct:__anon502
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/ |
H A D | vp9_pickmode.c | 186 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 D | vp9_encodemb.c | 69 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 D | vp9_block.h | 49 int rate; member in struct:__anon607
|
/hardware/intel/img/libdrm/tests/ |
H A D | dristat.c | 188 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/libhardware/modules/usbaudio/ |
H A D | alsa_device_profile.c | 112 * Returns the system defined minimum period size based on the supplied sample rate. 116 ALOGV("profile_calc_min_period_size(%p, rate:%d)", profile, sample_rate); 132 ALOGV("profile_get_period_size(rate:%d) = %d", sample_rate, period_size); 142 * TODO this won't be right in general. we should store a preferred rate as we are scanning. 143 * But right now it will return the highest rate, which may be correct. 148 bool profile_is_sample_rate_valid(alsa_device_profile* profile, unsigned rate) argument 153 if (profile->sample_rates[index] == rate) { 160 return rate == DEFAULT_SAMPLE_RATE; 207 static bool profile_test_sample_rate(alsa_device_profile* profile, unsigned rate) argument 210 config.rate [all...] |
H A D | audio_hw.c | 243 uint32_t rate = proxy_get_sample_rate(&((struct stream_out*)stream)->proxy); local 244 ALOGV("out_get_sample_rate() = %d", rate); 245 return rate; 248 static int out_set_sample_rate(struct audio_stream *stream, uint32_t rate) argument 526 proxy_config.rate = config->sample_rate = profile_get_default_sample_rate(out->profile); 528 proxy_config.rate = config->sample_rate; 530 proxy_config.rate = config->sample_rate = profile_get_default_sample_rate(out->profile); 603 /* TODO This needs to be calculated based on format/channels/rate */ 612 uint32_t rate = proxy_get_sample_rate(&((const struct stream_in *)stream)->proxy); local 613 ALOGV("in_get_sample_rate() = %d", rate); 617 in_set_sample_rate(struct audio_stream *stream, uint32_t rate) argument [all...] |
/hardware/qcom/audio/legacy/libalsa-intf/ |
H A D | aplay.c | 90 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 D | arec.c | 94 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...] |
H A D | alsa_audio.h | 27 unsigned rate; member in struct:pcm
|
/hardware/ti/omap3/omx/system/src/openmax_il/perf/src/ |
H A D | perf_rt.c | 76 /* 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 D | encodeframe.c | 1168 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 D | encodemb.c | 204 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 D | pickinter.c | 148 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 D | audio_hw.c | 48 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 D | tinyaudio_hw.c | 107 .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 D | audio_hw_hal.cpp | 126 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 D | link_layer_stats.h | 82 /* 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:__anon1348 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 D | platform.c | 1053 int platform_get_sample_rate(void *platform, uint32_t *rate) argument 1059 ret = my_data->csd->get_sample_rate(rate);
|