Lines Matching refs:fbuf
520 bufferlen = ARRAY_LEN (ubuf.fbuf) ; in host_read_f2s()
526 readcount = psf_fread (ubuf.fbuf, sizeof (float), bufferlen, psf) ; in host_read_f2s()
532 convert (ubuf.fbuf, readcount, ptr + total, scale) ; in host_read_f2s()
551 bufferlen = ARRAY_LEN (ubuf.fbuf) ; in host_read_f2i()
557 readcount = psf_fread (ubuf.fbuf, sizeof (float), bufferlen, psf) ; in host_read_f2i()
562 convert (ubuf.fbuf, readcount, ptr + total, scale) ; in host_read_f2i()
581 bufferlen = ARRAY_LEN (ubuf.fbuf) ; in host_read_f()
586 readcount = psf_fread (ubuf.fbuf, sizeof (float), bufferlen, psf) ; in host_read_f()
605 bufferlen = ARRAY_LEN (ubuf.fbuf) ; in host_read_f2d()
610 readcount = psf_fread (ubuf.fbuf, sizeof (float), bufferlen, psf) ; in host_read_f2d()
616 f2d_array (ubuf.fbuf, readcount, ptr + total) ; in host_read_f2d()
635 bufferlen = ARRAY_LEN (ubuf.fbuf) ; in host_write_s2f()
640 s2f_array (ptr + total, ubuf.fbuf, bufferlen, scale) ; in host_write_s2f()
643 float32_peak_update (psf, ubuf.fbuf, bufferlen, total / psf->sf.channels) ; in host_write_s2f()
648 writecount = psf_fwrite (ubuf.fbuf, sizeof (float), bufferlen, psf) ; in host_write_s2f()
666 bufferlen = ARRAY_LEN (ubuf.fbuf) ; in host_write_i2f()
671 i2f_array (ptr + total, ubuf.fbuf, bufferlen, scale) ; in host_write_i2f()
674 float32_peak_update (psf, ubuf.fbuf, bufferlen, total / psf->sf.channels) ; in host_write_i2f()
679 writecount = psf_fwrite (ubuf.fbuf, sizeof (float) , bufferlen, psf) ; in host_write_i2f()
701 bufferlen = ARRAY_LEN (ubuf.fbuf) ; in host_write_f()
709 writecount = psf_fwrite (ubuf.fbuf, sizeof (float), bufferlen, psf) ; in host_write_f()
725 bufferlen = ARRAY_LEN (ubuf.fbuf) ; in host_write_d2f()
731 d2f_array (ptr + total, ubuf.fbuf, bufferlen) ; in host_write_d2f()
734 float32_peak_update (psf, ubuf.fbuf, bufferlen, total / psf->sf.channels) ; in host_write_d2f()
739 writecount = psf_fwrite (ubuf.fbuf, sizeof (float), bufferlen, psf) ; in host_write_d2f()
759 bufferlen = ARRAY_LEN (ubuf.fbuf) ; in replace_read_f2s()
765 readcount = psf_fread (ubuf.fbuf, sizeof (float), bufferlen, psf) ; in replace_read_f2s()
770 bf2f_array (ubuf.fbuf, bufferlen) ; in replace_read_f2s()
772 f2s_array (ubuf.fbuf, readcount, ptr + total, scale) ; in replace_read_f2s()
789 bufferlen = ARRAY_LEN (ubuf.fbuf) ; in replace_read_f2i()
795 readcount = psf_fread (ubuf.fbuf, sizeof (float), bufferlen, psf) ; in replace_read_f2i()
800 bf2f_array (ubuf.fbuf, bufferlen) ; in replace_read_f2i()
802 f2i_array (ubuf.fbuf, readcount, ptr + total, scale) ; in replace_read_f2i()
820 bufferlen = ARRAY_LEN (ubuf.fbuf) ; in replace_read_f()
825 readcount = psf_fread (ubuf.fbuf, sizeof (float), bufferlen, psf) ; in replace_read_f()
830 bf2f_array (ubuf.fbuf, bufferlen) ; in replace_read_f()
832 memcpy (ptr + total, ubuf.fbuf, bufferlen * sizeof (float)) ; in replace_read_f()
849 bufferlen = ARRAY_LEN (ubuf.fbuf) ; in replace_read_f2d()
854 readcount = psf_fread (ubuf.fbuf, sizeof (float), bufferlen, psf) ; in replace_read_f2d()
859 bf2f_array (ubuf.fbuf, bufferlen) ; in replace_read_f2d()
861 f2d_array (ubuf.fbuf, readcount, ptr + total) ; in replace_read_f2d()
879 bufferlen = ARRAY_LEN (ubuf.fbuf) ; in replace_write_s2f()
884 s2f_array (ptr + total, ubuf.fbuf, bufferlen, scale) ; in replace_write_s2f()
887 float32_peak_update (psf, ubuf.fbuf, bufferlen, total / psf->sf.channels) ; in replace_write_s2f()
889 f2bf_array (ubuf.fbuf, bufferlen) ; in replace_write_s2f()
894 writecount = psf_fwrite (ubuf.fbuf, sizeof (float), bufferlen, psf) ; in replace_write_s2f()
912 bufferlen = ARRAY_LEN (ubuf.fbuf) ; in replace_write_i2f()
917 i2f_array (ptr + total, ubuf.fbuf, bufferlen, scale) ; in replace_write_i2f()
920 float32_peak_update (psf, ubuf.fbuf, bufferlen, total / psf->sf.channels) ; in replace_write_i2f()
922 f2bf_array (ubuf.fbuf, bufferlen) ; in replace_write_i2f()
927 writecount = psf_fwrite (ubuf.fbuf, sizeof (float), bufferlen, psf) ; in replace_write_i2f()
947 bufferlen = ARRAY_LEN (ubuf.fbuf) ; in replace_write_f()
953 memcpy (ubuf.fbuf, ptr + total, bufferlen * sizeof (float)) ; in replace_write_f()
955 f2bf_array (ubuf.fbuf, bufferlen) ; in replace_write_f()
960 writecount = psf_fwrite (ubuf.fbuf, sizeof (float) , bufferlen, psf) ; in replace_write_f()
976 bufferlen = ARRAY_LEN (ubuf.fbuf) ; in replace_write_d2f()
981 d2f_array (ptr + total, ubuf.fbuf, bufferlen) ; in replace_write_d2f()
984 float32_peak_update (psf, ubuf.fbuf, bufferlen, total / psf->sf.channels) ; in replace_write_d2f()
986 f2bf_array (ubuf.fbuf, bufferlen) ; in replace_write_d2f()
991 writecount = psf_fwrite (ubuf.fbuf, sizeof (float), bufferlen, psf) ; in replace_write_d2f()