Lines Matching refs:nb_frame
118 static void a2dp_sbc_encode_frames(uint8_t nb_frame);
404 uint8_t nb_frame = 0; in a2dp_sbc_send_frames() local
407 a2dp_sbc_get_num_frame_iteration(&nb_iterations, &nb_frame, timestamp_us); in a2dp_sbc_send_frames()
409 __func__, nb_frame, nb_iterations); in a2dp_sbc_send_frames()
410 if (nb_frame == 0) return; in a2dp_sbc_send_frames()
414 a2dp_sbc_encode_frames(nb_frame); in a2dp_sbc_send_frames()
523 static void a2dp_sbc_encode_frames(uint8_t nb_frame) { in a2dp_sbc_encode_frames() argument
525 uint8_t remain_nb_frame = nb_frame; in a2dp_sbc_encode_frames()
531 while (nb_frame) { in a2dp_sbc_encode_frames()
556 nb_frame--; in a2dp_sbc_encode_frames()
561 LOG_WARN(LOG_TAG, "%s: underflow %d, %d", __func__, nb_frame, in a2dp_sbc_encode_frames()
564 nb_frame * p_encoder_params->s16NumOfSubBands * in a2dp_sbc_encode_frames()
569 nb_frame = 0; in a2dp_sbc_encode_frames()
573 (p_buf->layer_specific < 0x0F) && nb_frame); in a2dp_sbc_encode_frames()
584 uint8_t done_nb_frame = remain_nb_frame - nb_frame; in a2dp_sbc_encode_frames()
585 remain_nb_frame = nb_frame; in a2dp_sbc_encode_frames()