/third_party/libsnd/src/ |
H A D | dwd.c | 33 dwd_open (SF_PRIVATE *psf) in dwd_open() argument 71 dwd_open (SF_PRIVATE *psf) in dwd_open() argument 124 dwd_read_header(SF_PRIVATE *psf) dwd_read_header() argument [all...] |
H A D | vox_adpcm.c | 61 codec_close (SF_PRIVATE * psf) in codec_close() argument 71 vox_adpcm_init(SF_PRIVATE *psf) vox_adpcm_init() argument 125 vox_read_block(SF_PRIVATE *psf, IMA_OKI_ADPCM *pvox, short *ptr, int len) vox_read_block() argument 151 vox_read_s(SF_PRIVATE *psf, short *ptr, sf_count_t len) vox_read_s() argument 175 vox_read_i(SF_PRIVATE *psf, int *ptr, sf_count_t len) vox_read_i() argument 203 vox_read_f(SF_PRIVATE *psf, float *ptr, sf_count_t len) vox_read_f() argument 234 vox_read_d(SF_PRIVATE *psf, double *ptr, sf_count_t len) vox_read_d() argument 268 vox_write_block(SF_PRIVATE *psf, IMA_OKI_ADPCM *pvox, const short *ptr, int len) vox_write_block() argument 288 vox_write_s(SF_PRIVATE *psf, const short *ptr, sf_count_t len) vox_write_s() argument 312 vox_write_i(SF_PRIVATE *psf, const int *ptr, sf_count_t len) vox_write_i() argument 340 vox_write_f(SF_PRIVATE *psf, const float *ptr, sf_count_t len) vox_write_f() argument 371 vox_write_d(SF_PRIVATE *psf, const double *ptr, sf_count_t len) vox_write_d() argument [all...] |
H A D | wve.c | 55 wve_open (SF_PRIVATE *psf) in wve_open() argument 91 wve_read_header(SF_PRIVATE *psf) wve_read_header() argument 154 wve_write_header(SF_PRIVATE *psf, int calc_length) wve_write_header() argument 199 wve_close(SF_PRIVATE *psf) wve_close() argument [all...] |
H A D | avr.c | 78 avr_open (SF_PRIVATE *psf) in avr_open() argument 108 avr_read_header(SF_PRIVATE *psf) avr_read_header() argument 182 avr_write_header(SF_PRIVATE *psf, int calc_length) avr_write_header() argument 237 avr_close(SF_PRIVATE *psf) avr_close() argument [all...] |
H A D | rx2.c | 33 rx2_open (SF_PRIVATE *psf) in rx2_open() argument 77 rx2_open (SF_PRIVATE *psf) in rx2_open() argument 306 rx2_close(SF_PRIVATE *psf) rx2_close() argument [all...] |
H A D | mat4.c | 76 mat4_open (SF_PRIVATE *psf) in mat4_open() argument 133 mat4_close(SF_PRIVATE *psf) mat4_close() argument 145 mat4_write_header(SF_PRIVATE *psf, int calc_length) mat4_write_header() argument 205 mat4_read_header(SF_PRIVATE *psf) mat4_read_header() argument [all...] |
H A D | command.c | 296 psf_calc_signal_max (SF_PRIVATE *psf, int normalize) in psf_calc_signal_max() argument 342 psf_calc_max_all_channels(SF_PRIVATE *psf, double *peaks, int normalize) psf_calc_max_all_channels() argument 388 psf_get_signal_max(SF_PRIVATE *psf, double *peak) psf_get_signal_max() argument 403 psf_get_max_all_channels(SF_PRIVATE *psf, double *peaks) psf_get_max_all_channels() argument [all...] |
H A D | ogg_speex.c | 72 ogg_speex_open (SF_PRIVATE *psf) in ogg_speex_open() argument 147 spx_read_header(SF_PRIVATE * psf) spx_read_header() argument 244 spx_close(SF_PRIVATE *psf) spx_close() argument 259 spx_header_read(SF_PRIVATE * psf, ogg_packet *op, spx_int32_t enh_enabled, int force_mode) spx_header_read() argument 422 ogg_speex_open(SF_PRIVATE *psf) ogg_speex_open() argument [all...] |
H A D | alaw.c | 49 alaw_init (SF_PRIVATE *psf) in alaw_init() argument 365 alaw_read_alaw2s(SF_PRIVATE *psf, short *ptr, sf_count_t len) alaw_read_alaw2s() argument 387 alaw_read_alaw2i(SF_PRIVATE *psf, int *ptr, sf_count_t len) alaw_read_alaw2i() argument 409 alaw_read_alaw2f(SF_PRIVATE *psf, float *ptr, sf_count_t len) alaw_read_alaw2f() argument 434 alaw_read_alaw2d(SF_PRIVATE *psf, double *ptr, sf_count_t len) alaw_read_alaw2d() argument 461 alaw_write_s2alaw(SF_PRIVATE *psf, const short *ptr, sf_count_t len) alaw_write_s2alaw() argument 483 alaw_write_i2alaw(SF_PRIVATE *psf, const int *ptr, sf_count_t len) alaw_write_i2alaw() argument 505 alaw_write_f2alaw(SF_PRIVATE *psf, const float *ptr, sf_count_t len) alaw_write_f2alaw() argument 530 alaw_write_d2alaw(SF_PRIVATE *psf, const double *ptr, sf_count_t len) alaw_write_d2alaw() argument [all...] |
H A D | test_file_io.c | 61 { SF_PRIVATE sf_data, *psf ; in file_open_test() local 117 SF_PRIVATE sf_data, *psf ; file_read_write_test() local 270 { SF_PRIVATE sf_data, *psf ; file_truncate_test() local 332 { SF_PRIVATE sf_data, *psf ; file_seek_with_offset_test() local 371 test_open_or_die(SF_PRIVATE *psf, int linenum) test_open_or_die() argument 384 test_close_or_die(SF_PRIVATE *psf, int linenum) test_close_or_die() argument 395 test_write_or_die(SF_PRIVATE *psf, void *data, sf_count_t bytes, sf_count_t items, sf_count_t new_position, int linenum) test_write_or_die() argument 413 test_read_or_die(SF_PRIVATE *psf, void *data, sf_count_t bytes, sf_count_t items, sf_count_t new_position, int linenum) test_read_or_die() argument 431 test_seek_or_die(SF_PRIVATE *psf, sf_count_t offset, int whence, sf_count_t new_position, int linenum) test_seek_or_die() argument 445 test_tell_or_die(SF_PRIVATE *psf, sf_count_t expected_position, int linenum) test_tell_or_die() argument [all...] |
H A D | ulaw.c | 38 ulaw_init (SF_PRIVATE *psf) in ulaw_init() argument 866 ulaw_read_ulaw2s(SF_PRIVATE *psf, short *ptr, sf_count_t len) ulaw_read_ulaw2s() argument 888 ulaw_read_ulaw2i(SF_PRIVATE *psf, int *ptr, sf_count_t len) ulaw_read_ulaw2i() argument 910 ulaw_read_ulaw2f(SF_PRIVATE *psf, float *ptr, sf_count_t len) ulaw_read_ulaw2f() argument 935 ulaw_read_ulaw2d(SF_PRIVATE *psf, double *ptr, sf_count_t len) ulaw_read_ulaw2d() argument 962 ulaw_write_s2ulaw(SF_PRIVATE *psf, const short *ptr, sf_count_t len) ulaw_write_s2ulaw() argument 984 ulaw_write_i2ulaw(SF_PRIVATE *psf, const int *ptr, sf_count_t len) ulaw_write_i2ulaw() argument 1006 ulaw_write_f2ulaw(SF_PRIVATE *psf, const float *ptr, sf_count_t len) ulaw_write_f2ulaw() argument 1032 ulaw_write_d2ulaw(SF_PRIVATE *psf, const double *ptr, sf_count_t len) ulaw_write_d2ulaw() argument [all...] |
H A D | txw.c | 40 txw_open (SF_PRIVATE *psf) in txw_open() argument 100 txw_open (SF_PRIVATE *psf) in txw_open() argument 126 txw_read_header(SF_PRIVATE *psf) txw_read_header() argument 238 txw_read_s(SF_PRIVATE *psf, short *ptr, sf_count_t len) txw_read_s() argument 268 txw_read_i(SF_PRIVATE *psf, int *ptr, sf_count_t len) txw_read_i() argument 298 txw_read_f(SF_PRIVATE *psf, float *ptr, sf_count_t len) txw_read_f() argument 334 txw_read_d(SF_PRIVATE *psf, double *ptr, sf_count_t len) txw_read_d() argument 370 txw_seek(SF_PRIVATE *psf, int mode, sf_count_t offset) txw_seek() argument [all...] |
H A D | mat5.c | 86 mat5_open (SF_PRIVATE *psf) in mat5_open() argument 144 mat5_close(SF_PRIVATE *psf) mat5_close() argument 156 mat5_write_header(SF_PRIVATE *psf, int calc_length) mat5_write_header() argument 260 mat5_read_header(SF_PRIVATE *psf) mat5_read_header() argument [all...] |
H A D | mpeg_l3_encode.c | 71 mpeg_l3_encoder_init(SF_PRIVATE *psf, int info_tag) mpeg_l3_encoder_init() argument 126 mpeg_l3_encoder_write_id3tag(SF_PRIVATE *psf) mpeg_l3_encoder_write_id3tag() argument 194 mpeg_l3_encoder_set_quality(SF_PRIVATE *psf, double compression) mpeg_l3_encoder_set_quality() argument 242 mpeg_l3_encoder_set_bitrate_mode(SF_PRIVATE *psf, int mode) mpeg_l3_encoder_set_bitrate_mode() argument 270 mpeg_l3_encoder_get_bitrate_mode(SF_PRIVATE *psf) mpeg_l3_encoder_get_bitrate_mode() argument 294 mpeg_l3_encoder_close(SF_PRIVATE *psf) mpeg_l3_encoder_close() argument 357 mpeg_l3_encoder_log_config(SF_PRIVATE *psf, lame_t lamef) mpeg_l3_encoder_log_config() argument 404 mpeg_l3_encoder_construct(SF_PRIVATE *psf) mpeg_l3_encoder_construct() argument 437 mpeg_l3_encoder_byterate(SF_PRIVATE *psf) mpeg_l3_encoder_byterate() argument 462 mpeg_l3_encode_write_short_mono(SF_PRIVATE *psf, const short *ptr, sf_count_t len) mpeg_l3_encode_write_short_mono() argument 495 mpeg_l3_encode_write_short_stereo(SF_PRIVATE *psf, const short *ptr, sf_count_t len) mpeg_l3_encode_write_short_stereo() argument 534 mpeg_l3_encode_write_int_mono(SF_PRIVATE *psf, const int *ptr, sf_count_t len) mpeg_l3_encode_write_int_mono() argument 567 mpeg_l3_encode_write_int_stereo(SF_PRIVATE *psf, const int *ptr, sf_count_t len) mpeg_l3_encode_write_int_stereo() argument 600 mpeg_l3_encode_write_float_mono(SF_PRIVATE *psf, const float *ptr, sf_count_t len) mpeg_l3_encode_write_float_mono() argument 644 mpeg_l3_encode_write_float_stereo(SF_PRIVATE *psf, const float *ptr, sf_count_t len) mpeg_l3_encode_write_float_stereo() argument 694 mpeg_l3_encode_write_double_mono(SF_PRIVATE *psf, const double *ptr, sf_count_t len) mpeg_l3_encode_write_double_mono() argument 736 mpeg_l3_encode_write_double_stereo(SF_PRIVATE *psf, const double *ptr, sf_count_t len) mpeg_l3_encode_write_double_stereo() argument 779 mpeg_l3_encoder_init(SF_PRIVATE *psf, int UNUSED (vbr)) mpeg_l3_encoder_init() argument [all...] |
H A D | dwvw.c | 79 dwvw_init(SF_PRIVATE *psf, int bitwidth) dwvw_init() argument 130 dwvw_close(SF_PRIVATE *psf) dwvw_close() argument 154 dwvw_seek(SF_PRIVATE *psf, int UNUSED (mode), sf_count_t offset) dwvw_seek() argument 175 dwvw_byterate(SF_PRIVATE *psf) dwvw_byterate() argument 187 dwvw_read_s(SF_PRIVATE *psf, short *ptr, sf_count_t len) dwvw_read_s() argument 216 dwvw_read_i(SF_PRIVATE *psf, int *ptr, sf_count_t len) dwvw_read_i() argument 241 dwvw_read_f(SF_PRIVATE *psf, float *ptr, sf_count_t len) dwvw_read_f() argument 273 dwvw_read_d(SF_PRIVATE *psf, double *ptr, sf_count_t len) dwvw_read_d() argument 305 dwvw_decode_data(SF_PRIVATE *psf, DWVW_PRIVATE *pdwvw, int *ptr, int len) dwvw_decode_data() argument 362 dwvw_decode_load_bits(SF_PRIVATE *psf, DWVW_PRIVATE *pdwvw, int bit_count) dwvw_decode_load_bits() argument 428 dwvw_encode_store_bits(SF_PRIVATE *psf, DWVW_PRIVATE *pdwvw, int data, int new_bits) dwvw_encode_store_bits() argument 483 dwvw_encode_data(SF_PRIVATE *psf, DWVW_PRIVATE *pdwvw, const int *ptr, int len) dwvw_encode_data() argument 558 dwvw_write_s(SF_PRIVATE *psf, const short *ptr, sf_count_t len) dwvw_write_s() argument 587 dwvw_write_i(SF_PRIVATE *psf, const int *ptr, sf_count_t len) dwvw_write_i() argument 612 dwvw_write_f(SF_PRIVATE *psf, const float *ptr, sf_count_t len) dwvw_write_f() argument 644 dwvw_write_d(SF_PRIVATE *psf, const double *ptr, sf_count_t len) dwvw_write_d() argument [all...] |
H A D | dither.c | 87 dither_init(SF_PRIVATE *psf, int mode) dither_init() argument 216 dither_write_short(SF_PRIVATE *psf, const short *ptr, sf_count_t len) dither_write_short() argument 256 dither_write_int(SF_PRIVATE *psf, const int *ptr, sf_count_t len) dither_write_int() argument 302 dither_write_float(SF_PRIVATE *psf, const float *ptr, sf_count_t len) dither_write_float() argument 347 dither_write_double(SF_PRIVATE *psf, const double *ptr, sf_count_t len) dither_write_double() argument [all...] |
H A D | voc.c | 104 voc_open(SF_PRIVATE *psf) voc_open() argument 157 voc_read_header(SF_PRIVATE *psf) voc_read_header() argument 421 voc_write_header(SF_PRIVATE *psf, int calc_length) voc_write_header() argument 530 voc_close(SF_PRIVATE *psf) voc_close() argument [all...] |
H A D | w64.c | 124 w64_open (SF_PRIVATE *psf) in w64_open() argument 224 w64_read_header(SF_PRIVATE *psf, int *blockalign, int *framesperblock) w64_read_header() argument 439 w64_write_header(SF_PRIVATE *psf, int calc_length) w64_write_header() argument 633 w64_close(SF_PRIVATE *psf) w64_close() argument [all...] |
H A D | au.c | 105 au_open (SF_PRIVATE *psf) in au_open() argument 190 au_close(SF_PRIVATE *psf) au_close() argument 199 au_write_header(SF_PRIVATE *psf, int calc_length) au_write_header() argument 291 au_read_header(SF_PRIVATE *psf) au_read_header() argument [all...] |
H A D | sd2.c | 101 sd2_open (SF_PRIVATE *psf) in sd2_open() argument 175 sd2_close(SF_PRIVATE *psf) sd2_close() argument 191 sd2_write_rsrc_fork(SF_PRIVATE *psf, int UNUSED (calc_length)) sd2_write_rsrc_fork() argument 370 sd2_parse_rsrc_fork(SF_PRIVATE *psf) sd2_parse_rsrc_fork() argument 510 parse_str_rsrc(SF_PRIVATE *psf, SD2_RSRC * rsrc) parse_str_rsrc() argument [all...] |
H A D | gsm610.c | 78 gsm610_init(SF_PRIVATE *psf) gsm610_init() argument 190 gsm610_wav_decode_block(SF_PRIVATE *psf, GSM610_PRIVATE *pgsm610) gsm610_wav_decode_block() argument 218 gsm610_decode_block(SF_PRIVATE *psf, GSM610_PRIVATE *pgsm610) gsm610_decode_block() argument 241 gsm610_read_block(SF_PRIVATE *psf, GSM610_PRIVATE *pgsm610, short *ptr, int len) gsm610_read_block() argument 266 gsm610_read_s(SF_PRIVATE *psf, short *ptr, sf_count_t len) gsm610_read_s() argument 291 gsm610_read_i(SF_PRIVATE *psf, int *ptr, sf_count_t len) gsm610_read_i() argument 317 gsm610_read_f(SF_PRIVATE *psf, float *ptr, sf_count_t len) gsm610_read_f() argument 346 gsm610_read_d(SF_PRIVATE *psf, double *ptr, sf_count_t len) gsm610_read_d() argument 375 gsm610_seek(SF_PRIVATE *psf, int UNUSED (mode), sf_count_t offset) gsm610_seek() argument 433 gsm610_encode_block(SF_PRIVATE *psf, GSM610_PRIVATE *pgsm610) gsm610_encode_block() argument 453 gsm610_wav_encode_block(SF_PRIVATE *psf, GSM610_PRIVATE *pgsm610) gsm610_wav_encode_block() argument 474 gsm610_write_block(SF_PRIVATE *psf, GSM610_PRIVATE *pgsm610, const short *ptr, int len) gsm610_write_block() argument 496 gsm610_write_s(SF_PRIVATE *psf, const short *ptr, sf_count_t len) gsm610_write_s() argument 521 gsm610_write_i(SF_PRIVATE *psf, const int *ptr, sf_count_t len) gsm610_write_i() argument 547 gsm610_write_f(SF_PRIVATE *psf, const float *ptr, sf_count_t len) gsm610_write_f() argument 578 gsm610_write_d(SF_PRIVATE *psf, const double *ptr, sf_count_t len) gsm610_write_d() argument 607 gsm610_close(SF_PRIVATE *psf) gsm610_close() argument [all...] |
H A D | g72x.c | 71 g72x_init(SF_PRIVATE * psf) g72x_init() argument 182 psf_g72x_decode_block(SF_PRIVATE *psf, G72x_PRIVATE *pg72x) psf_g72x_decode_block() argument 203 g72x_read_block(SF_PRIVATE *psf, G72x_PRIVATE *pg72x, short *ptr, int len) g72x_read_block() argument 228 g72x_read_s(SF_PRIVATE *psf, short *ptr, sf_count_t len) g72x_read_s() argument 253 g72x_read_i(SF_PRIVATE *psf, int *ptr, sf_count_t len) g72x_read_i() argument 283 g72x_read_f(SF_PRIVATE *psf, float *ptr, sf_count_t len) g72x_read_f() argument 315 g72x_read_d(SF_PRIVATE *psf, double *ptr, sf_count_t len) g72x_read_d() argument 347 g72x_seek(SF_PRIVATE *psf, int UNUSED (mode), sf_count_t UNUSED (offset)) g72x_seek() argument 428 psf_g72x_encode_block(SF_PRIVATE *psf, G72x_PRIVATE *pg72x) psf_g72x_encode_block() argument 448 g72x_write_block(SF_PRIVATE *psf, G72x_PRIVATE *pg72x, const short *ptr, int len) g72x_write_block() argument 470 g72x_write_s(SF_PRIVATE *psf, const short *ptr, sf_count_t len) g72x_write_s() argument 494 g72x_write_i(SF_PRIVATE *psf, const int *ptr, sf_count_t len) g72x_write_i() argument 522 g72x_write_f(SF_PRIVATE *psf, const float *ptr, sf_count_t len) g72x_write_f() argument 554 g72x_write_d(SF_PRIVATE *psf, const double *ptr, sf_count_t len) g72x_write_d() argument 586 g72x_close(SF_PRIVATE *psf) g72x_close() argument [all...] |
H A D | svx.c | 82 svx_open (SF_PRIVATE *psf) in svx_open() argument 131 svx_read_header(SF_PRIVATE *psf) svx_read_header() argument 335 svx_close(SF_PRIVATE *psf) svx_close() argument 344 svx_write_header(SF_PRIVATE *psf, int calc_length) svx_write_header() argument [all...] |
H A D | nms_adpcm.c | 638 nms_adpcm_decode_block(SF_PRIVATE *psf, NMS_ADPCM_PRIVATE *pnms, uint16_t block [], int16_t samples []) nms_adpcm_decode_block() argument 664 nms_adpcm_encode_block(SF_PRIVATE *psf, NMS_ADPCM_PRIVATE *pnms, int16_t samples [], uint16_t block []) nms_adpcm_encode_block() argument 702 psf_nms_adpcm_decode_block(SF_PRIVATE *psf, NMS_ADPCM_PRIVATE *pnms) psf_nms_adpcm_decode_block() argument 719 nms_adpcm_read_block(SF_PRIVATE *psf, NMS_ADPCM_PRIVATE *pnms, short *ptr, int len) nms_adpcm_read_block() argument 749 nms_adpcm_read_s(SF_PRIVATE *psf, short *ptr, sf_count_t len) nms_adpcm_read_s() argument 774 nms_adpcm_read_i(SF_PRIVATE *psf, int *ptr, sf_count_t len) nms_adpcm_read_i() argument 804 nms_adpcm_read_f(SF_PRIVATE *psf, float *ptr, sf_count_t len) nms_adpcm_read_f() argument 836 nms_adpcm_read_d(SF_PRIVATE *psf, double *ptr, sf_count_t len) nms_adpcm_read_d() argument 868 psf_nms_adpcm_encode_block(SF_PRIVATE *psf, NMS_ADPCM_PRIVATE *pnms) psf_nms_adpcm_encode_block() argument 888 nms_adpcm_write_block(SF_PRIVATE *psf, NMS_ADPCM_PRIVATE *pnms, const short *ptr, int len) nms_adpcm_write_block() argument 910 nms_adpcm_write_s(SF_PRIVATE *psf, const short *ptr, sf_count_t len) nms_adpcm_write_s() argument 934 nms_adpcm_write_i(SF_PRIVATE *psf, const int *ptr, sf_count_t len) nms_adpcm_write_i() argument 962 nms_adpcm_write_f(SF_PRIVATE *psf, const float *ptr, sf_count_t len) nms_adpcm_write_f() argument 994 nms_adpcm_write_d(SF_PRIVATE *psf, const double *ptr, sf_count_t len) nms_adpcm_write_d() argument 1026 nms_adpcm_init(SF_PRIVATE *psf) nms_adpcm_init() argument 1102 nms_adpcm_close(SF_PRIVATE *psf) nms_adpcm_close() argument 1125 nms_adpcm_seek(SF_PRIVATE *psf, int mode, sf_count_t offset) nms_adpcm_seek() argument [all...] |
H A D | ogg.c | 149 ogg_read_first_page (SF_PRIVATE *psf, OGG_PRIVATE *odata) in ogg_read_first_page() argument 213 ogg_write_page(SF_PRIVATE *psf, ogg_page *page) ogg_write_page() argument 223 ogg_sync_ftell(SF_PRIVATE *psf) ogg_sync_ftell() argument 242 ogg_sync_fseek(SF_PRIVATE *psf, sf_count_t offset, int whence) ogg_sync_fseek() argument 257 ogg_sync_next_page(SF_PRIVATE * psf, ogg_page *og, sf_count_t readmax, sf_count_t *offset) ogg_sync_next_page() argument 315 ogg_stream_next_page(SF_PRIVATE *psf, OGG_PRIVATE *odata) ogg_stream_next_page() argument 346 ogg_stream_unpack_page(SF_PRIVATE *psf, OGG_PRIVATE *odata) ogg_stream_unpack_page() argument 408 ogg_sync_last_page_before(SF_PRIVATE *psf, OGG_PRIVATE *odata, uint64_t *gp_out, sf_count_t offset, int32_t serialno) ogg_sync_last_page_before() argument 456 ogg_stream_seek_page_search(SF_PRIVATE *psf, OGG_PRIVATE *odata, uint64_t target_gp, uint64_t pcm_start, uint64_t pcm_end, uint64_t *best_gp, sf_count_t begin, sf_count_t end, uint64_t gp_rate) ogg_stream_seek_page_search() argument 712 ogg_open(SF_PRIVATE *psf) ogg_open() argument 769 ogg_close(SF_PRIVATE *psf) ogg_close() argument 779 ogg_stream_classify(SF_PRIVATE *psf, OGG_PRIVATE* odata) ogg_stream_classify() argument 840 ogg_page_classify(SF_PRIVATE * psf, const ogg_page * og) ogg_page_classify() argument 911 ogg_open(SF_PRIVATE *psf) ogg_open() argument [all...] |