Lines Matching refs:nb_frame
106 static void a2dp_aac_encode_frames(uint8_t nb_frame);
487 uint8_t nb_frame = 0; in a2dp_aac_send_frames() local
490 a2dp_aac_get_num_frame_iteration(&nb_iterations, &nb_frame, timestamp_us); in a2dp_aac_send_frames()
492 __func__, nb_frame, nb_iterations); in a2dp_aac_send_frames()
493 if (nb_frame == 0) return; in a2dp_aac_send_frames()
497 a2dp_aac_encode_frames(nb_frame); in a2dp_aac_send_frames()
540 static void a2dp_aac_encode_frames(uint8_t nb_frame) { in a2dp_aac_encode_frames() argument
544 uint8_t remain_nb_frame = nb_frame; in a2dp_aac_encode_frames()
590 while (nb_frame) { in a2dp_aac_encode_frames()
626 nb_frame--; in a2dp_aac_encode_frames()
629 LOG_WARN(LOG_TAG, "%s: underflow %d", __func__, nb_frame); in a2dp_aac_encode_frames()
631 nb_frame * p_encoder_params->frame_length * in a2dp_aac_encode_frames()
636 nb_frame = 0; in a2dp_aac_encode_frames()
639 } while ((written == 0) && nb_frame); in a2dp_aac_encode_frames()
655 uint8_t done_nb_frame = remain_nb_frame - nb_frame; in a2dp_aac_encode_frames()
656 remain_nb_frame = nb_frame; in a2dp_aac_encode_frames()