Searched refs:bytes_needed (Results 1 – 2 of 2) sorted by relevance
51 bool FileData::isAvail(size_t bytes_needed) { in isAvail() argument52 if (cur_idx_ + bytes_needed < len_) { in isAvail()68 while (cur_idx_ + bytes_needed >= len_) { in isAvail()77 return cur_idx_ + bytes_needed < len_; in isAvail()
594 uint16_t bytes_needed = blocm_x_subband * p_encoder_params->s16NumOfChannels * in a2dp_sbc_read_feeding() local629 bytes_needed - a2dp_sbc_encoder_cb.feeding_state.aa_feed_residue; in a2dp_sbc_read_feeding()728 if (a2dp_sbc_encoder_cb.feeding_state.aa_feed_residue < bytes_needed) in a2dp_sbc_read_feeding()733 bytes_needed); in a2dp_sbc_read_feeding()735 a2dp_sbc_encoder_cb.feeding_state.aa_feed_residue -= bytes_needed; in a2dp_sbc_read_feeding()739 (uint8_t*)up_sampled_buffer + bytes_needed, in a2dp_sbc_read_feeding()