Home
last modified time | relevance | path

Searched defs:psf (Results 1 – 25 of 73) sorted by relevance

123

/third_party/libsnd/src/
Dfile_io.c90 psf_fopen (SF_PRIVATE *psf) in psf_fopen()
108 psf_fclose (SF_PRIVATE *psf) in psf_fclose()
128 psf_open_rsrc (SF_PRIVATE *psf) in psf_open_rsrc()
189 psf_get_filelen (SF_PRIVATE *psf) in psf_get_filelen()
234 psf_close_rsrc (SF_PRIVATE *psf) in psf_close_rsrc()
241 psf_set_stdio (SF_PRIVATE *psf) in psf_set_stdio()
267 psf_set_file (SF_PRIVATE *psf, int fd) in psf_set_file()
272 psf_file_valid (SF_PRIVATE *psf) in psf_file_valid()
277 psf_fseek (SF_PRIVATE *psf, sf_count_t offset, int whence) in psf_fseek()
316 psf_fread (void *ptr, sf_count_t bytes, sf_count_t items, SF_PRIVATE *psf) in psf_fread()
[all …]
Dsndfile.c334 { SF_PRIVATE *psf ; in sf_open() local
364 { SF_PRIVATE *psf ; in sf_open_fd() local
400 { SF_PRIVATE *psf ; in sf_open_virtual() local
445 { SF_PRIVATE *psf ; in sf_close() local
454 { SF_PRIVATE *psf ; in sf_write_sync() local
491 { SF_PRIVATE *psf = NULL ; in sf_strerror() local
519 { SF_PRIVATE *psf ; in sf_error() local
537 { SF_PRIVATE *psf ; in sf_perror() local
558 { SF_PRIVATE *psf ; in sf_error_str() local
912 { SF_PRIVATE *psf = (SF_PRIVATE *) sndfile ; in sf_command() local
[all …]
Dtest_file_io.c61 { SF_PRIVATE sf_data, *psf ; in file_open_test() local
117 SF_PRIVATE sf_data, *psf ; in file_read_write_test() local
270 { SF_PRIVATE sf_data, *psf ; in file_truncate_test() local
332 { SF_PRIVATE sf_data, *psf ; in file_seek_with_offset_test() local
371 test_open_or_die (SF_PRIVATE *psf, int linenum) in test_open_or_die()
384 test_close_or_die (SF_PRIVATE *psf, int linenum) in test_close_or_die()
395 test_write_or_die (SF_PRIVATE *psf, void *data, sf_count_t bytes, sf_count_t items, sf_count_t new_… in test_write_or_die()
413 test_read_or_die (SF_PRIVATE *psf, void *data, sf_count_t bytes, sf_count_t items, sf_count_t new_p… in test_read_or_die()
431 test_seek_or_die (SF_PRIVATE *psf, sf_count_t offset, int whence, sf_count_t new_position, int line… in test_seek_or_die()
445 test_tell_or_die (SF_PRIVATE *psf, sf_count_t expected_position, int linenum) in test_tell_or_die()
Dogg_vorbis.c147 vorbis_read_header (SF_PRIVATE *psf) in vorbis_read_header()
316 vorbis_write_header (SF_PRIVATE *psf, int UNUSED (calc_length)) in vorbis_write_header()
408 vorbis_close (SF_PRIVATE *psf) in vorbis_close()
462 ogg_vorbis_open (SF_PRIVATE *psf) in ogg_vorbis_open()
519 vorbis_command (SF_PRIVATE *psf, int command, void * data, int datasize) in vorbis_command()
546 vorbis_rnull (SF_PRIVATE *UNUSED (psf), int samples, void *UNUSED (vptr), int UNUSED (off) , int ch… in vorbis_rnull()
552 vorbis_rshort (SF_PRIVATE *psf, int samples, void *vptr, int off, int channels, float **pcm) in vorbis_rshort()
573 vorbis_rint (SF_PRIVATE *psf, int samples, void *vptr, int off, int channels, float **pcm) in vorbis_rint()
595 vorbis_rfloat (SF_PRIVATE *UNUSED (psf), int samples, void *vptr, int off, int channels, float **pc… in vorbis_rfloat()
606 vorbis_rdouble (SF_PRIVATE *UNUSED (psf), int samples, void *vptr, int off, int channels, float **p… in vorbis_rdouble()
[all …]
Dogg.c149 ogg_read_first_page (SF_PRIVATE *psf, OGG_PRIVATE *odata) in ogg_read_first_page()
211 ogg_write_page (SF_PRIVATE *psf, ogg_page *page) in ogg_write_page()
221 ogg_sync_ftell (SF_PRIVATE *psf) in ogg_sync_ftell()
240 ogg_sync_fseek (SF_PRIVATE *psf, sf_count_t offset, int whence) in ogg_sync_fseek()
255 ogg_sync_next_page (SF_PRIVATE * psf, ogg_page *og, sf_count_t readmax, sf_count_t *offset) in ogg_sync_next_page()
309 ogg_stream_next_page (SF_PRIVATE *psf, OGG_PRIVATE *odata) in ogg_stream_next_page()
340 ogg_stream_unpack_page (SF_PRIVATE *psf, OGG_PRIVATE *odata) in ogg_stream_unpack_page()
402 ogg_sync_last_page_before (SF_PRIVATE *psf, OGG_PRIVATE *odata, uint64_t *gp_out, sf_count_t offset… in ogg_sync_last_page_before()
450 ogg_stream_seek_page_search (SF_PRIVATE *psf, OGG_PRIVATE *odata, uint64_t target_gp, uint64_t pcm_… in ogg_stream_seek_page_search()
704 ogg_open (SF_PRIVATE *psf) in ogg_open()
[all …]
Dgsm610.c78 gsm610_init (SF_PRIVATE *psf) in gsm610_init()
190 gsm610_wav_decode_block (SF_PRIVATE *psf, GSM610_PRIVATE *pgsm610) in gsm610_wav_decode_block()
218 gsm610_decode_block (SF_PRIVATE *psf, GSM610_PRIVATE *pgsm610) in gsm610_decode_block()
241 gsm610_read_block (SF_PRIVATE *psf, GSM610_PRIVATE *pgsm610, short *ptr, int len) in gsm610_read_block()
266 gsm610_read_s (SF_PRIVATE *psf, short *ptr, sf_count_t len) in gsm610_read_s()
291 gsm610_read_i (SF_PRIVATE *psf, int *ptr, sf_count_t len) in gsm610_read_i()
317 gsm610_read_f (SF_PRIVATE *psf, float *ptr, sf_count_t len) in gsm610_read_f()
346 gsm610_read_d (SF_PRIVATE *psf, double *ptr, sf_count_t len) in gsm610_read_d()
375 gsm610_seek (SF_PRIVATE *psf, int UNUSED (mode), sf_count_t offset) in gsm610_seek()
433 gsm610_encode_block (SF_PRIVATE *psf, GSM610_PRIVATE *pgsm610) in gsm610_encode_block()
[all …]
Dsds.c105 sds_open (SF_PRIVATE *psf) in sds_open()
149 sds_close (SF_PRIVATE *psf) in sds_close()
171 sds_init (SF_PRIVATE *psf, SDS_PRIVATE *psds) in sds_init()
213 sds_read_header (SF_PRIVATE *psf, SDS_PRIVATE *psds) in sds_read_header()
337 sds_write_header (SF_PRIVATE *psf, int calc_length) in sds_write_header()
421 sds_2byte_read (SF_PRIVATE *psf, SDS_PRIVATE *psds) in sds_2byte_read()
465 sds_3byte_read (SF_PRIVATE *psf, SDS_PRIVATE *psds) in sds_3byte_read()
509 sds_4byte_read (SF_PRIVATE *psf, SDS_PRIVATE *psds) in sds_4byte_read()
554 sds_read_s (SF_PRIVATE *psf, short *ptr, sf_count_t len) in sds_read_s()
580 sds_read_i (SF_PRIVATE *psf, int *ptr, sf_count_t len) in sds_read_i()
[all …]
Dogg_pcm.c56 ogg_pcm_open (SF_PRIVATE *psf) in ogg_pcm_open()
129 opcm_read_header (SF_PRIVATE * UNUSED (psf)) in opcm_read_header()
135 opcm_close (SF_PRIVATE * UNUSED (psf)) in opcm_close()
161 ogg_pcm_open (SF_PRIVATE *psf) in ogg_pcm_open()
Dpvf.c50 pvf_open (SF_PRIVATE *psf) in pvf_open()
94 pvf_close (SF_PRIVATE * UNUSED (psf)) in pvf_close()
100 pvf_write_header (SF_PRIVATE *psf, int UNUSED (calc_length)) in pvf_write_header()
135 pvf_read_header (SF_PRIVATE *psf) in pvf_read_header()
Dogg_opus.c312 ogg_opus_open (SF_PRIVATE *psf) in ogg_opus_open()
374 ogg_opus_close (SF_PRIVATE *psf) in ogg_opus_close()
410 opus_print_header (SF_PRIVATE *psf, OpusHeader *h) in opus_print_header()
437 opus_read_header_packet (SF_PRIVATE *psf, OpusHeader *h, ogg_packet *opacket) in opus_read_header_packet()
514 ogg_opus_read_header (SF_PRIVATE *psf) in ogg_opus_read_header()
550 ogg_opus_setup_decoder (SF_PRIVATE *psf, int input_samplerate) in ogg_opus_setup_decoder()
638 ogg_opus_setup_encoder (SF_PRIVATE *psf, OGG_PRIVATE *odata, OPUS_PRIVATE *oopus) in ogg_opus_setup_encoder()
750 ogg_opus_write_header (SF_PRIVATE *psf, int UNUSED (calc_length)) in ogg_opus_write_header()
855 ogg_opus_flush (SF_PRIVATE *psf) in ogg_opus_flush()
941 ogg_opus_unpack_next_page (SF_PRIVATE *psf, OGG_PRIVATE *odata, OPUS_PRIVATE *oopus) in ogg_opus_unpack_next_page()
[all …]
Dwavlike.c124 wavlike_read_fmt_chunk (SF_PRIVATE *psf, int fmtsize) in wavlike_read_fmt_chunk()
468 wavlike_write_guid (SF_PRIVATE *psf, const EXT_SUBFORMAT * subformat) in wavlike_write_guid()
504 wavlike_analyze (SF_PRIVATE *psf) in wavlike_analyze()
718 wavlike_read_bext_chunk (SF_PRIVATE *psf, uint32_t chunksize) in wavlike_read_bext_chunk()
784 wavlike_write_bext_chunk (SF_PRIVATE *psf) in wavlike_write_bext_chunk()
817 wavlike_read_cart_chunk (SF_PRIVATE *psf, uint32_t chunksize) in wavlike_read_cart_chunk()
886 wavlike_write_cart_chunk (SF_PRIVATE *psf) in wavlike_write_cart_chunk()
929 wavlike_subchunk_parse (SF_PRIVATE *psf, int chunk, uint32_t chunk_length) in wavlike_subchunk_parse()
1120 wavlike_write_strings (SF_PRIVATE *psf, int location) in wavlike_write_strings()
1186 wavlike_read_peak_chunk (SF_PRIVATE * psf, size_t chunk_size) in wavlike_read_peak_chunk()
[all …]
Drf64.c86 rf64_open (SF_PRIVATE *psf) in rf64_open()
179 rf64_read_header (SF_PRIVATE *psf, int *blockalign, int *framesperblock) in rf64_read_header()
524 rf64_write_fmt_chunk (SF_PRIVATE *psf) in rf64_write_fmt_chunk()
637 rf64_write_header (SF_PRIVATE *psf, int calc_length) in rf64_write_header()
774 rf64_write_tailer (SF_PRIVATE *psf) in rf64_write_tailer()
804 rf64_close (SF_PRIVATE *psf) in rf64_close()
815 rf64_command (SF_PRIVATE *psf, int command, void * UNUSED (data), int datasize) in rf64_command()
853 rf64_set_chunk (SF_PRIVATE *psf, const SF_CHUNK_INFO * chunk_info) in rf64_set_chunk()
858 rf64_next_chunk_iterator (SF_PRIVATE *psf, SF_CHUNK_ITERATOR * iterator) in rf64_next_chunk_iterator()
863 rf64_get_chunk_size (SF_PRIVATE *psf, const SF_CHUNK_ITERATOR * iterator, SF_CHUNK_INFO * chunk_inf… in rf64_get_chunk_size()
[all …]
Dhtk.c51 htk_open (SF_PRIVATE *psf) in htk_open()
96 htk_close (SF_PRIVATE *psf) in htk_close()
105 htk_write_header (SF_PRIVATE *psf, int calc_length) in htk_write_header()
186 htk_read_header (SF_PRIVATE *psf) in htk_read_header()
Dflac.c166 flac_buffer_copy (SF_PRIVATE *psf) in flac_buffer_copy()
336 { SF_PRIVATE *psf = (SF_PRIVATE*) client_data ; in sf_flac_read_callback() local
347 { SF_PRIVATE *psf = (SF_PRIVATE*) client_data ; in sf_flac_seek_callback() local
358 { SF_PRIVATE *psf = (SF_PRIVATE*) client_data ; in sf_flac_tell_callback() local
369 { SF_PRIVATE *psf = (SF_PRIVATE*) client_data ; in sf_flac_length_callback() local
379 { SF_PRIVATE *psf = (SF_PRIVATE*) client_data ; in sf_flac_eof_callback() local
389 { SF_PRIVATE *psf = (SF_PRIVATE*) client_data ; in sf_flac_write_callback() local
403 sf_flac_meta_get_vorbiscomments (SF_PRIVATE *psf, const FLAC__StreamMetadata *metadata) in sf_flac_meta_get_vorbiscomments()
439 { SF_PRIVATE *psf = (SF_PRIVATE*) client_data ; in sf_flac_meta_callback() local
531 { SF_PRIVATE *psf = (SF_PRIVATE*) client_data ; in sf_flac_error_callback() local
[all …]
Dg72x.c71 g72x_init (SF_PRIVATE * psf) in g72x_init()
182 psf_g72x_decode_block (SF_PRIVATE *psf, G72x_PRIVATE *pg72x) in psf_g72x_decode_block()
203 g72x_read_block (SF_PRIVATE *psf, G72x_PRIVATE *pg72x, short *ptr, int len) in g72x_read_block()
228 g72x_read_s (SF_PRIVATE *psf, short *ptr, sf_count_t len) in g72x_read_s()
253 g72x_read_i (SF_PRIVATE *psf, int *ptr, sf_count_t len) in g72x_read_i()
283 g72x_read_f (SF_PRIVATE *psf, float *ptr, sf_count_t len) in g72x_read_f()
315 g72x_read_d (SF_PRIVATE *psf, double *ptr, sf_count_t len) in g72x_read_d()
347 g72x_seek (SF_PRIVATE *psf, int UNUSED (mode), sf_count_t UNUSED (offset)) in g72x_seek()
428 psf_g72x_encode_block (SF_PRIVATE *psf, G72x_PRIVATE *pg72x) in psf_g72x_encode_block()
448 g72x_write_block (SF_PRIVATE *psf, G72x_PRIVATE *pg72x, const short *ptr, int len) in g72x_write_block()
[all …]
Dnew.c33 new_open (SF_PRIVATE *psf) in new_open()
60 new_open (SF_PRIVATE *psf) in new_open()
81 new_read_header (SF_PRIVATE *psf) in new_read_header()
Dvox_adpcm.c61 codec_close (SF_PRIVATE * psf) in codec_close()
71 vox_adpcm_init (SF_PRIVATE *psf) in vox_adpcm_init()
125 vox_read_block (SF_PRIVATE *psf, IMA_OKI_ADPCM *pvox, short *ptr, int len) in vox_read_block()
151 vox_read_s (SF_PRIVATE *psf, short *ptr, sf_count_t len) in vox_read_s()
175 vox_read_i (SF_PRIVATE *psf, int *ptr, sf_count_t len) in vox_read_i()
203 vox_read_f (SF_PRIVATE *psf, float *ptr, sf_count_t len) in vox_read_f()
234 vox_read_d (SF_PRIVATE *psf, double *ptr, sf_count_t len) in vox_read_d()
268 vox_write_block (SF_PRIVATE *psf, IMA_OKI_ADPCM *pvox, const short *ptr, int len) in vox_write_block()
288 vox_write_s (SF_PRIVATE *psf, const short *ptr, sf_count_t len) in vox_write_s()
312 vox_write_i (SF_PRIVATE *psf, const int *ptr, sf_count_t len) in vox_write_i()
[all …]
Dpaf.c102 paf_open (SF_PRIVATE *psf) in paf_open()
158 paf_read_header (SF_PRIVATE *psf) in paf_read_header()
275 paf_write_header (SF_PRIVATE *psf, int UNUSED (calc_length)) in paf_write_header()
345 paf24_init (SF_PRIVATE *psf) in paf24_init()
412 paf24_seek (SF_PRIVATE *psf, int mode, sf_count_t offset) in paf24_seek()
464 paf24_close (SF_PRIVATE *psf) in paf24_close()
483 paf24_read_block (SF_PRIVATE *psf, PAF24_PRIVATE *ppaf24) in paf24_read_block()
514 paf24_read (SF_PRIVATE *psf, PAF24_PRIVATE *ppaf24, int *ptr, int len) in paf24_read()
538 paf24_read_s (SF_PRIVATE *psf, short *ptr, sf_count_t len) in paf24_read_s()
563 paf24_read_i (SF_PRIVATE *psf, int *ptr, sf_count_t len) in paf24_read_i()
[all …]
Dmpc2k.c65 mpc2k_open (SF_PRIVATE *psf) in mpc2k_open()
96 mpc2k_close (SF_PRIVATE *psf) in mpc2k_close()
105 mpc2k_write_header (SF_PRIVATE *psf, int calc_length) in mpc2k_write_header()
159 mpc2k_read_header (SF_PRIVATE *psf) in mpc2k_read_header()
Dnist.c54 nist_open (SF_PRIVATE *psf) in nist_open()
120 nist_read_header (SF_PRIVATE *psf) in nist_read_header()
275 nist_close (SF_PRIVATE *psf) in nist_close()
287 nist_write_header (SF_PRIVATE *psf, int calc_length) in nist_write_header()
Ddwvw.c79 dwvw_init (SF_PRIVATE *psf, int bitwidth) in dwvw_init()
130 dwvw_close (SF_PRIVATE *psf) in dwvw_close()
154 dwvw_seek (SF_PRIVATE *psf, int UNUSED (mode), sf_count_t offset) in dwvw_seek()
175 dwvw_byterate (SF_PRIVATE *psf) in dwvw_byterate()
187 dwvw_read_s (SF_PRIVATE *psf, short *ptr, sf_count_t len) in dwvw_read_s()
216 dwvw_read_i (SF_PRIVATE *psf, int *ptr, sf_count_t len) in dwvw_read_i()
241 dwvw_read_f (SF_PRIVATE *psf, float *ptr, sf_count_t len) in dwvw_read_f()
273 dwvw_read_d (SF_PRIVATE *psf, double *ptr, sf_count_t len) in dwvw_read_d()
305 dwvw_decode_data (SF_PRIVATE *psf, DWVW_PRIVATE *pdwvw, int *ptr, int len) in dwvw_decode_data()
362 dwvw_decode_load_bits (SF_PRIVATE *psf, DWVW_PRIVATE *pdwvw, int bit_count) in dwvw_decode_load_bits()
[all …]
Dcommon.c43 { SF_PRIVATE * psf ; in psf_allocate() local
58 psf_bump_header_allocation (SF_PRIVATE * psf, sf_count_t needed) in psf_bump_header_allocation()
95 log_putchar (SF_PRIVATE *psf, char ch) in log_putchar()
104 psf_log_printf (SF_PRIVATE *psf, const char *format, ...) in psf_log_printf()
383 psf_asciiheader_printf (SF_PRIVATE *psf, const char *format, ...) in psf_asciiheader_printf()
454 header_put_byte (SF_PRIVATE *psf, char x) in header_put_byte()
460 header_put_marker (SF_PRIVATE *psf, int x) in header_put_marker()
469 header_put_marker (SF_PRIVATE *psf, int x) in header_put_marker()
482 header_put_be_short (SF_PRIVATE *psf, int x) in header_put_be_short()
488 header_put_le_short (SF_PRIVATE *psf, int x) in header_put_le_short()
[all …]
Dima_adpcm.c108 wavlike_ima_init (SF_PRIVATE *psf, int blockalign, int samplesperblock) in wavlike_ima_init()
134 aiff_ima_init (SF_PRIVATE *psf, int blockalign, int samplesperblock) in aiff_ima_init()
155 ima_close (SF_PRIVATE *psf) in ima_close()
178 ima_reader_init (SF_PRIVATE *psf, int blockalign, int samplesperblock) in ima_reader_init()
255 aiff_ima_decode_block (SF_PRIVATE *psf, IMA_ADPCM_PRIVATE *pima) in aiff_ima_decode_block()
324 aiff_ima_encode_block (SF_PRIVATE *psf, IMA_ADPCM_PRIVATE *pima) in aiff_ima_encode_block()
387 wavlike_ima_decode_block (SF_PRIVATE *psf, IMA_ADPCM_PRIVATE *pima) in wavlike_ima_decode_block()
478 wavlike_ima_encode_block (SF_PRIVATE *psf, IMA_ADPCM_PRIVATE *pima) in wavlike_ima_encode_block()
566 ima_read_block (SF_PRIVATE *psf, IMA_ADPCM_PRIVATE *pima, short *ptr, int len) in ima_read_block()
591 ima_read_s (SF_PRIVATE *psf, short *ptr, sf_count_t len) in ima_read_s()
[all …]
Dstrings.c31 psf_store_string (SF_PRIVATE *psf, int str_type, const char *str) in psf_store_string()
160 psf_set_string (SF_PRIVATE *psf, int str_type, const char *str) in psf_set_string()
168 psf_get_string (SF_PRIVATE *psf, int str_type) in psf_get_string()
179 psf_location_string_count (const SF_PRIVATE * psf, int location) in psf_location_string_count()
Dwve.c55 wve_open (SF_PRIVATE *psf) in wve_open()
91 wve_read_header (SF_PRIVATE *psf) in wve_read_header()
154 wve_write_header (SF_PRIVATE *psf, int calc_length) in wve_write_header()
199 wve_close (SF_PRIVATE *psf) in wve_close()

123