Home
last modified time | relevance | path

Searched refs:hecto_ns_this_tick (Results 1 – 2 of 2) sorted by relevance

/system/bt/stack/a2dp/
Da2dp_aac_encoder.cc559 uint32_t hecto_ns_this_tick = a2dp_aac_encoder_interval_ms * 10000; in a2dp_aac_get_num_frame_iteration() local
564 hecto_ns_this_tick = (now_100ns - *last_100ns); in a2dp_aac_get_num_frame_iteration()
570 hecto_ns_this_tick / (a2dp_aac_encoder_interval_ms * 10000); in a2dp_aac_get_num_frame_iteration()
577 if (erratum_100ns < hecto_ns_this_tick) { in a2dp_aac_get_num_frame_iteration()
579 __func__, hecto_ns_this_tick, bytes_this_tick, erratum_100ns); in a2dp_aac_get_num_frame_iteration()
580 *last_100ns -= hecto_ns_this_tick - erratum_100ns; in a2dp_aac_get_num_frame_iteration()
Da2dp_sbc_encoder.cc433 uint32_t hecto_ns_this_tick = A2DP_SBC_ENCODER_INTERVAL_MS * 10000; in a2dp_sbc_get_num_frame_iteration() local
438 hecto_ns_this_tick = (now_100ns - *last_100ns); in a2dp_sbc_get_num_frame_iteration()
443 hecto_ns_this_tick / in a2dp_sbc_get_num_frame_iteration()
451 if (erratum_100ns < hecto_ns_this_tick) { in a2dp_sbc_get_num_frame_iteration()
453 __func__, hecto_ns_this_tick, bytes_this_tick, erratum_100ns); in a2dp_sbc_get_num_frame_iteration()
454 *last_100ns -= hecto_ns_this_tick - erratum_100ns; in a2dp_sbc_get_num_frame_iteration()