/third_party/libsnd/src/ |
D | mat4.c | 97 psf->endian = SF_ENDIAN_BIG ; in mat4_open() 175 if (psf->endian == SF_ENDIAN_BIG) in mat4_write_header() 217 { psf->endian = psf->rwf_endian = SF_ENDIAN_BIG ; in mat4_read_header() 336 { case (SF_FORMAT_PCM_16 | SF_ENDIAN_BIG) : in mat4_format_to_encoding() 342 case (SF_FORMAT_PCM_32 | SF_ENDIAN_BIG) : in mat4_format_to_encoding() 348 case (SF_FORMAT_FLOAT | SF_ENDIAN_BIG) : in mat4_format_to_encoding() 354 case (SF_FORMAT_DOUBLE | SF_ENDIAN_BIG) : in mat4_format_to_encoding()
|
D | ircam.c | 96 psf->endian = (CPU_IS_BIG_ENDIAN) ? SF_ENDIAN_BIG : SF_ENDIAN_LITTLE ; in ircam_open() 159 psf->endian = SF_ENDIAN_BIG ; in ircam_read_header() 212 if (psf->endian == SF_ENDIAN_BIG) in ircam_read_header() 213 psf->sf.format |= SF_ENDIAN_BIG ; in ircam_read_header() 268 { case SF_ENDIAN_BIG : in ircam_write_header()
|
D | aiff.c | 422 psf->endian = SF_ENDIAN_BIG ; in aiff_read_header() 1069 psf->endian = SF_ENDIAN_BIG ; in aiff_read_comm_chunk() 1079 psf->sf.format = (SF_ENDIAN_BIG | SF_FORMAT_AIFF | subformat) ; in aiff_read_comm_chunk() 1138 psf->endian = SF_ENDIAN_BIG ; in aiff_read_comm_chunk() 1252 { case SF_FORMAT_PCM_S8 | SF_ENDIAN_BIG : in aiff_write_header() 1253 psf->endian = SF_ENDIAN_BIG ; in aiff_write_header() 1266 case SF_FORMAT_PCM_16 | SF_ENDIAN_BIG : in aiff_write_header() 1267 psf->endian = SF_ENDIAN_BIG ; in aiff_write_header() 1280 case SF_FORMAT_PCM_24 | SF_ENDIAN_BIG : in aiff_write_header() 1281 psf->endian = SF_ENDIAN_BIG ; in aiff_write_header() [all …]
|
D | common.c | 599 psf->rwf_endian = SF_ENDIAN_BIG ; in psf_binheader_writef() 624 if (psf->rwf_endian == SF_ENDIAN_BIG) in psf_binheader_writef() 635 if (psf->rwf_endian == SF_ENDIAN_BIG) in psf_binheader_writef() 646 if (psf->rwf_endian == SF_ENDIAN_BIG) in psf_binheader_writef() 657 if (psf->rwf_endian == SF_ENDIAN_BIG && trunc_8to4 == SF_FALSE) in psf_binheader_writef() 665 else if (psf->rwf_endian == SF_ENDIAN_BIG && trunc_8to4 == SF_TRUE) in psf_binheader_writef() 680 if (psf->rwf_endian == SF_ENDIAN_BIG) in psf_binheader_writef() 690 if (psf->rwf_endian == SF_ENDIAN_BIG) in psf_binheader_writef() 706 if (psf->rwf_endian == SF_ENDIAN_BIG) in psf_binheader_writef() 726 if (psf->rwf_endian == SF_ENDIAN_BIG) in psf_binheader_writef() [all …]
|
D | nist.c | 71 psf->endian = (CPU_IS_BIG_ENDIAN) ? SF_ENDIAN_BIG : SF_ENDIAN_LITTLE ; in nist_open() 189 psf->endian = (CPU_IS_BIG_ENDIAN) ? SF_ENDIAN_BIG : SF_ENDIAN_LITTLE ; in nist_read_header() 209 psf->endian = SF_ENDIAN_BIG ; in nist_read_header() 306 if (psf->endian == SF_ENDIAN_BIG) in nist_write_header()
|
D | au.c | 124 psf->endian = SF_ENDIAN_BIG ; in au_open() 241 if (psf->endian == SF_ENDIAN_BIG) in au_write_header() 300 { psf->endian = SF_ENDIAN_BIG ; in au_read_header() 346 if (psf->endian == SF_ENDIAN_BIG) in au_read_header()
|
D | double64.c | 105 { case (SF_ENDIAN_BIG + DOUBLE_CAN_RW_BE) : in double64_init() 121 case (SF_ENDIAN_BIG + DOUBLE_CAN_RW_LE) : in double64_init() 138 case (SF_ENDIAN_BIG + DOUBLE_BROKEN_BE) : in double64_init() 154 case (SF_ENDIAN_BIG + DOUBLE_BROKEN_LE) : in double64_init() 184 case (SF_ENDIAN_BIG + DOUBLE_CAN_RW_BE) : in double64_init() 192 case (SF_ENDIAN_BIG + DOUBLE_CAN_RW_LE) : in double64_init() 217 case (SF_ENDIAN_BIG + DOUBLE_BROKEN_BE) : in double64_init() 225 case (SF_ENDIAN_BIG + DOUBLE_BROKEN_LE) : in double64_init()
|
D | float32.c | 102 { case (SF_ENDIAN_BIG + FLOAT_CAN_RW_BE) : in float32_init() 118 case (SF_ENDIAN_BIG + FLOAT_CAN_RW_LE) : in float32_init() 135 case (SF_ENDIAN_BIG + FLOAT_BROKEN_LE) : in float32_init() 151 case (SF_ENDIAN_BIG + FLOAT_BROKEN_BE) : in float32_init() 181 case (SF_ENDIAN_BIG + FLOAT_CAN_RW_BE) : in float32_init() 189 case (SF_ENDIAN_BIG + FLOAT_CAN_RW_LE) : in float32_init() 206 case (SF_ENDIAN_BIG + FLOAT_BROKEN_LE) : in float32_init() 222 case (SF_ENDIAN_BIG + FLOAT_BROKEN_BE) : in float32_init()
|
D | htk.c | 69 psf->endian = SF_ENDIAN_BIG ; in htk_open() 215 psf->endian = SF_ENDIAN_BIG ; in htk_read_header()
|
D | pvf.c | 65 psf->endian = SF_ENDIAN_BIG ; in pvf_open() 179 psf->endian = SF_ENDIAN_BIG ; in pvf_read_header()
|
D | paf.c | 121 psf->endian = SF_ENDIAN_BIG ; in paf_open() 198 psf->endian = SF_ENDIAN_BIG ; in paf_read_header() 217 psf->sf.format |= paf_fmt.endianness ? SF_ENDIAN_LITTLE : SF_ENDIAN_BIG ; in paf_read_header() 304 if (psf->endian == SF_ENDIAN_BIG) in paf_write_header() 500 …DIAN && psf->endian == SF_ENDIAN_LITTLE) || (CPU_IS_LITTLE_ENDIAN && psf->endian == SF_ENDIAN_BIG)) in paf24_read_block() 653 if (psf->endian == SF_ENDIAN_BIG) in paf24_write_block()
|
D | avr.c | 90 { psf->endian = SF_ENDIAN_BIG ; in avr_open() 162 psf->endian = SF_ENDIAN_BIG ; in avr_read_header()
|
D | mat5.c | 107 psf->endian = SF_ENDIAN_BIG ; in mat5_open() 216 if (psf->rwf_endian == SF_ENDIAN_BIG) in mat5_write_header() 281 { psf->endian = psf->rwf_endian = SF_ENDIAN_BIG ; in mat5_read_header()
|
D | raw.c | 39 psf->endian = SF_ENDIAN_BIG ; in raw_open()
|
D | svx.c | 89 psf->endian = SF_ENDIAN_BIG ; /* All SVX files are big endian. */ in svx_open() 110 psf->endian = SF_ENDIAN_BIG ; /* All SVX files are big endian. */ in svx_open()
|
D | pcm.c | 138 psf->data_endswap = (psf->endian == SF_ENDIAN_BIG) ? SF_FALSE : SF_TRUE ; in pcm_init() 145 { case (0x10000 + SF_ENDIAN_BIG + SF_CHARS_SIGNED) : in pcm_init() 152 case (0x10000 + SF_ENDIAN_BIG + SF_CHARS_UNSIGNED) : in pcm_init() 160 case (2 * 0x10000 + SF_ENDIAN_BIG) : in pcm_init() 166 case (3 * 0x10000 + SF_ENDIAN_BIG) : in pcm_init() 172 case (4 * 0x10000 + SF_ENDIAN_BIG) : in pcm_init() 206 { case (0x10000 + SF_ENDIAN_BIG + SF_CHARS_SIGNED) : in pcm_init() 213 case (0x10000 + SF_ENDIAN_BIG + SF_CHARS_UNSIGNED) : in pcm_init() 221 case (2 * 0x10000 + SF_ENDIAN_BIG) : in pcm_init() 228 case (3 * 0x10000 + SF_ENDIAN_BIG) : in pcm_init() [all …]
|
/third_party/libsnd/tests/ |
D | write_read_test.tpl | 101 pcm_test_char ("char.rifx" , SF_ENDIAN_BIG | SF_FORMAT_WAV | SF_FORMAT_PCM_U8, SF_FALSE) ; 102 pcm_test_short ("short.rifx" , SF_ENDIAN_BIG | SF_FORMAT_WAV | SF_FORMAT_PCM_16, SF_FALSE) ; 103 pcm_test_24bit ("24bit.rifx" , SF_ENDIAN_BIG | SF_FORMAT_WAV | SF_FORMAT_PCM_24, SF_FALSE) ; 104 pcm_test_int ("int.rifx" , SF_ENDIAN_BIG | SF_FORMAT_WAV | SF_FORMAT_PCM_32, SF_FALSE) ; 113 pcm_test_float ("float.rifx" , SF_ENDIAN_BIG | SF_FORMAT_WAV | SF_FORMAT_FLOAT , SF_FALSE) ; 114 pcm_test_double ("double.rifx" , SF_ENDIAN_BIG | SF_FORMAT_WAV | SF_FORMAT_DOUBLE, SF_FALSE) ; 138 pcm_test_short ("short_twos.aifc" , SF_ENDIAN_BIG | SF_FORMAT_AIFF | SF_FORMAT_PCM_16, SF_FALSE) ; 139 pcm_test_24bit ("24bit_twos.aifc" , SF_ENDIAN_BIG | SF_FORMAT_AIFF | SF_FORMAT_PCM_24, SF_FALSE) ; 140 pcm_test_int ("int_twos.aifc" , SF_ENDIAN_BIG | SF_FORMAT_AIFF | SF_FORMAT_PCM_32, SF_FALSE) ; 209 pcm_test_short ("short_be.raw" , SF_ENDIAN_BIG | SF_FORMAT_RAW | SF_FORMAT_PCM_16, SF_FALSE) ; [all …]
|
D | lossy_comp_test.c | 124 lcomp_test_short ("pcm.rifx", SF_ENDIAN_BIG | SF_FORMAT_WAV | SF_FORMAT_PCM_16, 2, 1e-50) ; in main() 125 lcomp_test_int ("pcm.rifx", SF_ENDIAN_BIG | SF_FORMAT_WAV | SF_FORMAT_PCM_32, 2, 1e-50) ; in main() 143 lcomp_test_short ("ima.rifx", SF_ENDIAN_BIG | SF_FORMAT_WAV | SF_FORMAT_IMA_ADPCM, 2, 0.18) ; in main() 144 lcomp_test_int ("ima.rifx", SF_ENDIAN_BIG | SF_FORMAT_WAV | SF_FORMAT_IMA_ADPCM, 2, 0.18) ; in main() 145 lcomp_test_float ("ima.rifx", SF_ENDIAN_BIG | SF_FORMAT_WAV | SF_FORMAT_IMA_ADPCM, 2, 0.18) ; in main() 146 lcomp_test_double ("ima.rifx", SF_ENDIAN_BIG | SF_FORMAT_WAV | SF_FORMAT_IMA_ADPCM, 2, 0.18) ; in main() 161 lcomp_test_short ("msadpcm.rifx", SF_ENDIAN_BIG | SF_FORMAT_WAV | SF_FORMAT_MS_ADPCM, 2, 0.36) ; in main() 162 lcomp_test_int ("msadpcm.rifx", SF_ENDIAN_BIG | SF_FORMAT_WAV | SF_FORMAT_MS_ADPCM, 2, 0.36) ; in main() 163 lcomp_test_float ("msadpcm.rifx", SF_ENDIAN_BIG | SF_FORMAT_WAV | SF_FORMAT_MS_ADPCM, 2, 0.36) ; in main() 164 lcomp_test_double ("msadpcm.rifx", SF_ENDIAN_BIG | SF_FORMAT_WAV | SF_FORMAT_MS_ADPCM, 2, 0.36) ; in main() [all …]
|
D | scale_clip_test.tpl | 91 …flt_scale_clip_test_16 ("scale_clip_be16.au", SF_ENDIAN_BIG | SF_FORMAT_AU | SF_FORMAT_PCM_16, 1.0… 93 …flt_scale_clip_test_24 ("scale_clip_be24.au", SF_ENDIAN_BIG | SF_FORMAT_AU | SF_FORMAT_PCM_24, 1.0… 95 …flt_scale_clip_test_32 ("scale_clip_be32.au", SF_ENDIAN_BIG | SF_FORMAT_AU | SF_FORMAT_PCM_32, 1.0… 98 …dbl_scale_clip_test_16 ("scale_clip_be16.au", SF_ENDIAN_BIG | SF_FORMAT_AU | SF_FORMAT_PCM_16, 1.0… 100 …dbl_scale_clip_test_24 ("scale_clip_be24.au", SF_ENDIAN_BIG | SF_FORMAT_AU | SF_FORMAT_PCM_24, 1.0… 102 …dbl_scale_clip_test_32 ("scale_clip_be32.au", SF_ENDIAN_BIG | SF_FORMAT_AU | SF_FORMAT_PCM_32, 1.0… 105 flt_short_clip_read_test ("flt_short.au" , SF_ENDIAN_BIG | SF_FORMAT_AU | SF_FORMAT_FLOAT) ; 107 dbl_short_clip_read_test ("dbl_short.au" , SF_ENDIAN_BIG | SF_FORMAT_AU | SF_FORMAT_DOUBLE) ; 110 short_flt_scale_write_test ("short_flt.au" , SF_ENDIAN_BIG | SF_FORMAT_AU | SF_FORMAT_FLOAT) ; 112 short_dbl_scale_write_test ("short_dbl.au" , SF_ENDIAN_BIG | SF_FORMAT_AU | SF_FORMAT_DOUBLE) ;
|
D | string_test.c | 86 string_start_end_test ("strings.rifx", SF_ENDIAN_BIG | SF_FORMAT_WAV) ; in main() 87 string_multi_set_test ("multi.rifx", SF_ENDIAN_BIG | SF_FORMAT_WAV) ; in main() 88 string_rdwr_test ("rdwr.rifx", SF_ENDIAN_BIG | SF_FORMAT_WAV) ; in main() 89 string_short_rdwr_test ("short_rdwr.rifx", SF_ENDIAN_BIG | SF_FORMAT_WAV) ; in main() 323 case SF_ENDIAN_BIG | SF_FORMAT_WAV : in string_start_end_test()
|
D | floating_point_test.def | 10 end_type = SF_ENDIAN_BIG ;
|
D | floating_point_test.tpl | 81 …float_scaled_test ("pcm_16.raw", allow_exit, SF_FALSE, SF_ENDIAN_BIG | SF_FORMAT_RAW | SF_FORMAT_P… 83 …float_scaled_test ("pcm_32.raw", allow_exit, SF_FALSE, SF_ENDIAN_BIG | SF_FORMAT_RAW | SF_FORMAT_P… 100 …float_scaled_test ("be_paf_24.paf", allow_exit, SF_FALSE, SF_ENDIAN_BIG | SF_FORMAT_PAF | SF_FORMA… 162 …double_scaled_test ("be_paf_24.paf", allow_exit, SF_FALSE, SF_ENDIAN_BIG | SF_FORMAT_PAF | SF_FORM…
|
D | pcm_test.tpl | 71 …pcm_test_bits_16 ("be-pcm16.raw", SF_ENDIAN_BIG | SF_FORMAT_RAW | SF_FORMAT_PCM_16, 0x2f840c55750… 74 …pcm_test_bits_24 ("be-pcm24.raw", SF_ENDIAN_BIG | SF_FORMAT_RAW | SF_FORMAT_PCM_24, 0xf3eaf9c30b6… 77 …pcm_test_bits_32 ("be-pcm32.raw", SF_ENDIAN_BIG | SF_FORMAT_RAW | SF_FORMAT_PCM_32, 0x9ddf142d0b0… 81 …pcm_test_float ("be-float.raw", SF_ENDIAN_BIG | SF_FORMAT_RAW | SF_FORMAT_FLOAT, 0xde3e248fa9186L… 84 …pcm_test_double ("be-double.raw", SF_ENDIAN_BIG | SF_FORMAT_RAW | SF_FORMAT_DOUBLE, 0x3583f8ee5116… 87 …pcm_test_float ("be-float.raw", SF_ENDIAN_BIG | SF_FORMAT_RAW | SF_FORMAT_FLOAT, 0xde3e248fa9186L… 90 …pcm_test_double ("be-double.raw", SF_ENDIAN_BIG | SF_FORMAT_RAW | SF_FORMAT_DOUBLE, 0x3583f8ee5116…
|
/third_party/libsnd/programs/ |
D | common.c | 320 { "paf", 0, SF_FORMAT_PAF | SF_ENDIAN_BIG }, 421 case SF_ENDIAN_BIG : return "big" ; in sfe_endian_name()
|
/third_party/libsnd/examples/ |
D | generate.cs | 110 SF_ENDIAN_BIG = 0x20000000, /* Force big endian-ness. */ enumerator
|