/src/libsndfile/src/sfendian.h
Line | Count | Source |
1 | | /* |
2 | | ** Copyright (C) 1999-2018 Erik de Castro Lopo <erikd@mega-nerd.com> |
3 | | ** |
4 | | ** This program is free software; you can redistribute it and/or modify |
5 | | ** it under the terms of the GNU Lesser General Public License as published by |
6 | | ** the Free Software Foundation; either version 2.1 of the License, or |
7 | | ** (at your option) any later version. |
8 | | ** |
9 | | ** This program is distributed in the hope that it will be useful, |
10 | | ** but WITHOUT ANY WARRANTY; without even the implied warranty of |
11 | | ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
12 | | ** GNU Lesser General Public License for more details. |
13 | | ** |
14 | | ** You should have received a copy of the GNU Lesser General Public License |
15 | | ** along with this program; if not, write to the Free Software |
16 | | ** Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
17 | | */ |
18 | | |
19 | | #ifndef SFENDIAN_INCLUDED |
20 | | #define SFENDIAN_INCLUDED |
21 | | |
22 | | #include "sfconfig.h" |
23 | | |
24 | | #include <stdint.h> |
25 | | #include <inttypes.h> |
26 | | |
27 | | #ifndef __has_builtin |
28 | | #define __has_builtin(x) 0 |
29 | | #endif |
30 | | |
31 | | #if HAVE_BYTESWAP_H /* Linux, any CPU */ |
32 | | #include <byteswap.h> |
33 | | |
34 | 4.97M | #define ENDSWAP_16(x) (bswap_16 (x)) |
35 | 5.09M | #define ENDSWAP_32(x) (bswap_32 (x)) |
36 | 1.05M | #define ENDSWAP_64(x) (bswap_64 (x)) |
37 | | |
38 | | #elif __has_builtin(__builtin_bswap16) && __has_builtin(__builtin_bswap32) && __has_builtin(__builtin_bswap64) |
39 | | |
40 | | #define ENDSWAP_16(x) ((int16_t) __builtin_bswap16 ((uint16_t) x)) |
41 | | #define ENDSWAP_32(x) ((int32_t) __builtin_bswap32 ((uint32_t) x)) |
42 | | #define ENDSWAP_64(x) ((int64_t) __builtin_bswap64 ((uint64_t) x)) |
43 | | |
44 | | #elif COMPILER_IS_GCC |
45 | | |
46 | | #if CPU_IS_X86 |
47 | | |
48 | | static inline int16_t |
49 | | ENDSWAP_16X (int16_t x) |
50 | | { int16_t y ; |
51 | | __asm__ ("rorw $8, %w0" : "=r" (y) : "0" (x) : "cc") ; |
52 | | return y ; |
53 | | } /* ENDSWAP_16 */ |
54 | | |
55 | | static inline int32_t |
56 | | ENDSWAP_32X (int32_t x) |
57 | | { int32_t y ; |
58 | | __asm__ ("bswap %0" : "=r" (y) : "0" (x)) ; |
59 | | return y ; |
60 | | } /* ENDSWAP_32 */ |
61 | | |
62 | | #define ENDSWAP_16 ENDSWAP_16X |
63 | | #define ENDSWAP_32 ENDSWAP_32X |
64 | | |
65 | | #endif |
66 | | |
67 | | #if CPU_IS_X86_64 |
68 | | |
69 | | static inline int64_t |
70 | | ENDSWAP_64X (int64_t x) |
71 | | { int64_t y ; |
72 | | __asm__ ("bswap %q0" : "=r" (y) : "0" (x)) ; |
73 | | return y ; |
74 | | } /* ENDSWAP_64X */ |
75 | | |
76 | | #define ENDSWAP_64 ENDSWAP_64X |
77 | | |
78 | | #endif |
79 | | |
80 | | #elif defined _MSC_VER |
81 | | #include <stdlib.h> |
82 | | |
83 | | #define ENDSWAP_16(x) (_byteswap_ushort (x)) |
84 | | #define ENDSWAP_32(x) (_byteswap_ulong (x)) |
85 | | #define ENDSWAP_64(x) (_byteswap_uint64 (x)) |
86 | | |
87 | | #endif |
88 | | |
89 | | #ifndef ENDSWAP_16 |
90 | | #define ENDSWAP_16(x) ((((x) >> 8) & 0xFF) + (((x) & 0xFF) << 8)) |
91 | | #endif |
92 | | |
93 | | #ifndef ENDSWAP_32 |
94 | | #define ENDSWAP_32(x) ((((x) >> 24) & 0xFF) + (((x) >> 8) & 0xFF00) + (((x) & 0xFF00) << 8) + (((x) & 0xFF) << 24)) |
95 | | #endif |
96 | | |
97 | | #ifndef ENDSWAP_64 |
98 | | static inline uint64_t |
99 | | ENDSWAP_64 (uint64_t x) |
100 | | { union |
101 | | { uint32_t parts [2] ; |
102 | | uint64_t whole ; |
103 | | } u ; |
104 | | uint32_t temp ; |
105 | | |
106 | | u.whole = x ; |
107 | | temp = u.parts [0] ; |
108 | | u.parts [0] = ENDSWAP_32 (u.parts [1]) ; |
109 | | u.parts [1] = ENDSWAP_32 (temp) ; |
110 | | return u.whole ; |
111 | | } |
112 | | #endif |
113 | | |
114 | | /* |
115 | | ** Many file types (ie WAV, AIFF) use sets of four consecutive bytes as a |
116 | | ** marker indicating different sections of the file. |
117 | | ** The following MAKE_MARKER macro allows th creation of integer constants |
118 | | ** for these markers. |
119 | | */ |
120 | | |
121 | | #if (CPU_IS_LITTLE_ENDIAN == 1) |
122 | 5.49M | #define MAKE_MARKER(a, b, c, d) ((uint32_t) ((a) | ((b) << 8) | ((c) << 16) | (((uint32_t) (d)) << 24))) |
123 | | #elif (CPU_IS_BIG_ENDIAN == 1) |
124 | | #define MAKE_MARKER(a, b, c, d) ((uint32_t) ((((uint32_t) (a)) << 24) | ((b) << 16) | ((c) << 8) | (d))) |
125 | | #else |
126 | | #error "Target CPU endian-ness unknown. May need to hand edit src/sfconfig.h" |
127 | | #endif |
128 | | |
129 | | /* |
130 | | ** Macros to handle reading of data of a specific endian-ness into host endian |
131 | | ** shorts and ints. The single input is an unsigned char* pointer to the start |
132 | | ** of the object. There are two versions of each macro as we need to deal with |
133 | | ** both big and little endian CPUs. |
134 | | */ |
135 | | |
136 | | #if (CPU_IS_LITTLE_ENDIAN == 1) |
137 | 13.5M | #define LE2H_16(x) (x) |
138 | 2.03M | #define LE2H_32(x) (x) |
139 | | |
140 | 4.05M | #define BE2H_16(x) ENDSWAP_16 (x) |
141 | 1.75M | #define BE2H_32(x) ENDSWAP_32 (x) |
142 | 893 | #define BE2H_64(x) ENDSWAP_64 (x) |
143 | | |
144 | 0 | #define H2BE_16(x) ENDSWAP_16 (x) |
145 | 0 | #define H2BE_32(x) ENDSWAP_32 (x) |
146 | | |
147 | | #define H2LE_16(x) (x) |
148 | | #define H2LE_32(x) (x) |
149 | | |
150 | | #elif (CPU_IS_BIG_ENDIAN == 1) |
151 | | #define LE2H_16(x) ENDSWAP_16 (x) |
152 | | #define LE2H_32(x) ENDSWAP_32 (x) |
153 | | |
154 | | #define BE2H_16(x) (x) |
155 | | #define BE2H_32(x) (x) |
156 | | #define BE2H_64(x) (x) |
157 | | |
158 | | #define H2BE_16(x) (x) |
159 | | #define H2BE_32(x) (x) |
160 | | |
161 | | #define H2LE_16(x) ENDSWAP_16 (x) |
162 | | #define H2LE_32(x) ENDSWAP_32 (x) |
163 | | |
164 | | #else |
165 | | #error "Target CPU endian-ness unknown. May need to hand edit src/sfconfig.h" |
166 | | #endif |
167 | | |
168 | | #define LE2H_32_PTR(x) (((x) [0]) + ((x) [1] << 8) + ((x) [2] << 16) + ((x) [3] << 24)) |
169 | | |
170 | 1.67M | #define LET2H_16_PTR(x) ((x) [1] + ((x) [2] << 8)) |
171 | | #define LET2H_32_PTR(x) (((x) [0] << 8) + ((x) [1] << 16) + ((x) [2] << 24)) |
172 | | |
173 | 2.34M | #define BET2H_16_PTR(x) (((x) [0] << 8) + (x) [1]) |
174 | | #define BET2H_32_PTR(x) (((x) [0] << 24) + ((x) [1] << 16) + ((x) [2] << 8)) |
175 | | |
176 | | static inline void |
177 | | psf_put_be64 (uint8_t *ptr, int offset, int64_t value) |
178 | 0 | { |
179 | 0 | ptr [offset] = (uint8_t) (value >> 56) ; |
180 | 0 | ptr [offset + 1] = (uint8_t) (value >> 48) ; |
181 | 0 | ptr [offset + 2] = (uint8_t) (value >> 40) ; |
182 | 0 | ptr [offset + 3] = (uint8_t) (value >> 32) ; |
183 | 0 | ptr [offset + 4] = (uint8_t) (value >> 24) ; |
184 | 0 | ptr [offset + 5] = (uint8_t) (value >> 16) ; |
185 | 0 | ptr [offset + 6] = (uint8_t) (value >> 8) ; |
186 | 0 | ptr [offset + 7] = (uint8_t) value ; |
187 | 0 | } /* psf_put_be64 */ Unexecuted instantiation: sndfile.c:psf_put_be64 Unexecuted instantiation: aiff.c:psf_put_be64 Unexecuted instantiation: au.c:psf_put_be64 Unexecuted instantiation: avr.c:psf_put_be64 Unexecuted instantiation: caf.c:psf_put_be64 Unexecuted instantiation: dwd.c:psf_put_be64 Unexecuted instantiation: g72x.c:psf_put_be64 Unexecuted instantiation: htk.c:psf_put_be64 Unexecuted instantiation: ircam.c:psf_put_be64 Unexecuted instantiation: mat4.c:psf_put_be64 Unexecuted instantiation: mat5.c:psf_put_be64 Unexecuted instantiation: nist.c:psf_put_be64 Unexecuted instantiation: paf.c:psf_put_be64 Unexecuted instantiation: pvf.c:psf_put_be64 Unexecuted instantiation: rx2.c:psf_put_be64 Unexecuted instantiation: sd2.c:psf_put_be64 Unexecuted instantiation: sds.c:psf_put_be64 Unexecuted instantiation: svx.c:psf_put_be64 Unexecuted instantiation: txw.c:psf_put_be64 Unexecuted instantiation: voc.c:psf_put_be64 Unexecuted instantiation: wve.c:psf_put_be64 Unexecuted instantiation: w64.c:psf_put_be64 Unexecuted instantiation: wavlike.c:psf_put_be64 Unexecuted instantiation: wav.c:psf_put_be64 Unexecuted instantiation: xi.c:psf_put_be64 Unexecuted instantiation: mpc2k.c:psf_put_be64 Unexecuted instantiation: rf64.c:psf_put_be64 Unexecuted instantiation: ogg.c:psf_put_be64 Unexecuted instantiation: alac.c:psf_put_be64 Unexecuted instantiation: chunk.c:psf_put_be64 Unexecuted instantiation: common.c:psf_put_be64 Unexecuted instantiation: dither.c:psf_put_be64 Unexecuted instantiation: double64.c:psf_put_be64 Unexecuted instantiation: dwvw.c:psf_put_be64 Unexecuted instantiation: float32.c:psf_put_be64 Unexecuted instantiation: gsm610.c:psf_put_be64 Unexecuted instantiation: id3.c:psf_put_be64 Unexecuted instantiation: ima_adpcm.c:psf_put_be64 Unexecuted instantiation: ms_adpcm.c:psf_put_be64 Unexecuted instantiation: nms_adpcm.c:psf_put_be64 Unexecuted instantiation: pcm.c:psf_put_be64 Unexecuted instantiation: vox_adpcm.c:psf_put_be64 Unexecuted instantiation: alac_decoder.c:psf_put_be64 Unexecuted instantiation: alac_encoder.c:psf_put_be64 Unexecuted instantiation: matrix_dec.c:psf_put_be64 Unexecuted instantiation: matrix_enc.c:psf_put_be64 Unexecuted instantiation: ag_dec.c:psf_put_be64 Unexecuted instantiation: ag_enc.c:psf_put_be64 |
188 | | |
189 | | static inline void |
190 | | psf_put_be32 (uint8_t *ptr, int offset, int32_t value) |
191 | 0 | { |
192 | 0 | ptr [offset] = (uint8_t) (value >> 24) ; |
193 | 0 | ptr [offset + 1] = (uint8_t) (value >> 16) ; |
194 | 0 | ptr [offset + 2] = (uint8_t) (value >> 8) ; |
195 | 0 | ptr [offset + 3] = (uint8_t) value ; |
196 | 0 | } /* psf_put_be32 */ Unexecuted instantiation: sndfile.c:psf_put_be32 Unexecuted instantiation: aiff.c:psf_put_be32 Unexecuted instantiation: au.c:psf_put_be32 Unexecuted instantiation: avr.c:psf_put_be32 Unexecuted instantiation: caf.c:psf_put_be32 Unexecuted instantiation: dwd.c:psf_put_be32 Unexecuted instantiation: g72x.c:psf_put_be32 Unexecuted instantiation: htk.c:psf_put_be32 Unexecuted instantiation: ircam.c:psf_put_be32 Unexecuted instantiation: mat4.c:psf_put_be32 Unexecuted instantiation: mat5.c:psf_put_be32 Unexecuted instantiation: nist.c:psf_put_be32 Unexecuted instantiation: paf.c:psf_put_be32 Unexecuted instantiation: pvf.c:psf_put_be32 Unexecuted instantiation: rx2.c:psf_put_be32 Unexecuted instantiation: sd2.c:psf_put_be32 Unexecuted instantiation: sds.c:psf_put_be32 Unexecuted instantiation: svx.c:psf_put_be32 Unexecuted instantiation: txw.c:psf_put_be32 Unexecuted instantiation: voc.c:psf_put_be32 Unexecuted instantiation: wve.c:psf_put_be32 Unexecuted instantiation: w64.c:psf_put_be32 Unexecuted instantiation: wavlike.c:psf_put_be32 Unexecuted instantiation: wav.c:psf_put_be32 Unexecuted instantiation: xi.c:psf_put_be32 Unexecuted instantiation: mpc2k.c:psf_put_be32 Unexecuted instantiation: rf64.c:psf_put_be32 Unexecuted instantiation: ogg.c:psf_put_be32 Unexecuted instantiation: alac.c:psf_put_be32 Unexecuted instantiation: chunk.c:psf_put_be32 Unexecuted instantiation: common.c:psf_put_be32 Unexecuted instantiation: dither.c:psf_put_be32 Unexecuted instantiation: double64.c:psf_put_be32 Unexecuted instantiation: dwvw.c:psf_put_be32 Unexecuted instantiation: float32.c:psf_put_be32 Unexecuted instantiation: gsm610.c:psf_put_be32 Unexecuted instantiation: id3.c:psf_put_be32 Unexecuted instantiation: ima_adpcm.c:psf_put_be32 Unexecuted instantiation: ms_adpcm.c:psf_put_be32 Unexecuted instantiation: nms_adpcm.c:psf_put_be32 Unexecuted instantiation: pcm.c:psf_put_be32 Unexecuted instantiation: vox_adpcm.c:psf_put_be32 Unexecuted instantiation: alac_decoder.c:psf_put_be32 Unexecuted instantiation: alac_encoder.c:psf_put_be32 Unexecuted instantiation: matrix_dec.c:psf_put_be32 Unexecuted instantiation: matrix_enc.c:psf_put_be32 Unexecuted instantiation: ag_dec.c:psf_put_be32 Unexecuted instantiation: ag_enc.c:psf_put_be32 |
197 | | |
198 | | static inline void |
199 | | psf_put_be16 (uint8_t *ptr, int offset, int16_t value) |
200 | 0 | { |
201 | 0 | ptr [offset] = (uint8_t) (value >> 8) ; |
202 | 0 | ptr [offset + 1] = (uint8_t) value ; |
203 | 0 | } /* psf_put_be16 */ Unexecuted instantiation: sndfile.c:psf_put_be16 Unexecuted instantiation: aiff.c:psf_put_be16 Unexecuted instantiation: au.c:psf_put_be16 Unexecuted instantiation: avr.c:psf_put_be16 Unexecuted instantiation: caf.c:psf_put_be16 Unexecuted instantiation: dwd.c:psf_put_be16 Unexecuted instantiation: g72x.c:psf_put_be16 Unexecuted instantiation: htk.c:psf_put_be16 Unexecuted instantiation: ircam.c:psf_put_be16 Unexecuted instantiation: mat4.c:psf_put_be16 Unexecuted instantiation: mat5.c:psf_put_be16 Unexecuted instantiation: nist.c:psf_put_be16 Unexecuted instantiation: paf.c:psf_put_be16 Unexecuted instantiation: pvf.c:psf_put_be16 Unexecuted instantiation: rx2.c:psf_put_be16 Unexecuted instantiation: sd2.c:psf_put_be16 Unexecuted instantiation: sds.c:psf_put_be16 Unexecuted instantiation: svx.c:psf_put_be16 Unexecuted instantiation: txw.c:psf_put_be16 Unexecuted instantiation: voc.c:psf_put_be16 Unexecuted instantiation: wve.c:psf_put_be16 Unexecuted instantiation: w64.c:psf_put_be16 Unexecuted instantiation: wavlike.c:psf_put_be16 Unexecuted instantiation: wav.c:psf_put_be16 Unexecuted instantiation: xi.c:psf_put_be16 Unexecuted instantiation: mpc2k.c:psf_put_be16 Unexecuted instantiation: rf64.c:psf_put_be16 Unexecuted instantiation: ogg.c:psf_put_be16 Unexecuted instantiation: alac.c:psf_put_be16 Unexecuted instantiation: chunk.c:psf_put_be16 Unexecuted instantiation: common.c:psf_put_be16 Unexecuted instantiation: dither.c:psf_put_be16 Unexecuted instantiation: double64.c:psf_put_be16 Unexecuted instantiation: dwvw.c:psf_put_be16 Unexecuted instantiation: float32.c:psf_put_be16 Unexecuted instantiation: gsm610.c:psf_put_be16 Unexecuted instantiation: id3.c:psf_put_be16 Unexecuted instantiation: ima_adpcm.c:psf_put_be16 Unexecuted instantiation: ms_adpcm.c:psf_put_be16 Unexecuted instantiation: nms_adpcm.c:psf_put_be16 Unexecuted instantiation: pcm.c:psf_put_be16 Unexecuted instantiation: vox_adpcm.c:psf_put_be16 Unexecuted instantiation: alac_decoder.c:psf_put_be16 Unexecuted instantiation: alac_encoder.c:psf_put_be16 Unexecuted instantiation: matrix_dec.c:psf_put_be16 Unexecuted instantiation: matrix_enc.c:psf_put_be16 Unexecuted instantiation: ag_dec.c:psf_put_be16 Unexecuted instantiation: ag_enc.c:psf_put_be16 |
204 | | |
205 | | static inline int64_t |
206 | | psf_get_be64 (const uint8_t *ptr, int offset) |
207 | 15.6k | { int64_t value ; |
208 | | |
209 | 15.6k | value = (int64_t) ((uint64_t) ptr [offset] << 24) ; |
210 | 15.6k | value += (int64_t) ((uint64_t) ptr [offset + 1] << 16) ; |
211 | 15.6k | value += (int64_t) ((uint64_t) ptr [offset + 2] << 8) ; |
212 | 15.6k | value += ptr [offset + 3] ; |
213 | | |
214 | 15.6k | value = (int64_t) (((uint64_t) value) << 32) ; |
215 | | |
216 | 15.6k | value += (int64_t) ((uint64_t) ptr [offset + 4] << 24) ; |
217 | 15.6k | value += (int64_t) ((uint64_t) ptr [offset + 5] << 16) ; |
218 | 15.6k | value += (int64_t) ((uint64_t) ptr [offset + 6] << 8) ; |
219 | 15.6k | value += ptr [offset + 7] ; |
220 | 15.6k | return value ; |
221 | 15.6k | } /* psf_get_be64 */ Unexecuted instantiation: sndfile.c:psf_get_be64 Unexecuted instantiation: aiff.c:psf_get_be64 Unexecuted instantiation: au.c:psf_get_be64 Unexecuted instantiation: avr.c:psf_get_be64 Unexecuted instantiation: caf.c:psf_get_be64 Unexecuted instantiation: dwd.c:psf_get_be64 Unexecuted instantiation: g72x.c:psf_get_be64 Unexecuted instantiation: htk.c:psf_get_be64 Unexecuted instantiation: ircam.c:psf_get_be64 Unexecuted instantiation: mat4.c:psf_get_be64 Unexecuted instantiation: mat5.c:psf_get_be64 Unexecuted instantiation: nist.c:psf_get_be64 Unexecuted instantiation: paf.c:psf_get_be64 Unexecuted instantiation: pvf.c:psf_get_be64 Unexecuted instantiation: rx2.c:psf_get_be64 Unexecuted instantiation: sd2.c:psf_get_be64 Unexecuted instantiation: sds.c:psf_get_be64 Unexecuted instantiation: svx.c:psf_get_be64 Unexecuted instantiation: txw.c:psf_get_be64 Unexecuted instantiation: voc.c:psf_get_be64 Unexecuted instantiation: wve.c:psf_get_be64 Unexecuted instantiation: w64.c:psf_get_be64 Unexecuted instantiation: wavlike.c:psf_get_be64 Unexecuted instantiation: wav.c:psf_get_be64 Unexecuted instantiation: xi.c:psf_get_be64 Unexecuted instantiation: mpc2k.c:psf_get_be64 Unexecuted instantiation: rf64.c:psf_get_be64 Unexecuted instantiation: ogg.c:psf_get_be64 Unexecuted instantiation: alac.c:psf_get_be64 Unexecuted instantiation: chunk.c:psf_get_be64 Line | Count | Source | 207 | 15.6k | { int64_t value ; | 208 | | | 209 | 15.6k | value = (int64_t) ((uint64_t) ptr [offset] << 24) ; | 210 | 15.6k | value += (int64_t) ((uint64_t) ptr [offset + 1] << 16) ; | 211 | 15.6k | value += (int64_t) ((uint64_t) ptr [offset + 2] << 8) ; | 212 | 15.6k | value += ptr [offset + 3] ; | 213 | | | 214 | 15.6k | value = (int64_t) (((uint64_t) value) << 32) ; | 215 | | | 216 | 15.6k | value += (int64_t) ((uint64_t) ptr [offset + 4] << 24) ; | 217 | 15.6k | value += (int64_t) ((uint64_t) ptr [offset + 5] << 16) ; | 218 | 15.6k | value += (int64_t) ((uint64_t) ptr [offset + 6] << 8) ; | 219 | 15.6k | value += ptr [offset + 7] ; | 220 | 15.6k | return value ; | 221 | 15.6k | } /* psf_get_be64 */ |
Unexecuted instantiation: dither.c:psf_get_be64 Unexecuted instantiation: double64.c:psf_get_be64 Unexecuted instantiation: dwvw.c:psf_get_be64 Unexecuted instantiation: float32.c:psf_get_be64 Unexecuted instantiation: gsm610.c:psf_get_be64 Unexecuted instantiation: id3.c:psf_get_be64 Unexecuted instantiation: ima_adpcm.c:psf_get_be64 Unexecuted instantiation: ms_adpcm.c:psf_get_be64 Unexecuted instantiation: nms_adpcm.c:psf_get_be64 Unexecuted instantiation: pcm.c:psf_get_be64 Unexecuted instantiation: vox_adpcm.c:psf_get_be64 Unexecuted instantiation: alac_decoder.c:psf_get_be64 Unexecuted instantiation: alac_encoder.c:psf_get_be64 Unexecuted instantiation: matrix_dec.c:psf_get_be64 Unexecuted instantiation: matrix_enc.c:psf_get_be64 Unexecuted instantiation: ag_dec.c:psf_get_be64 Unexecuted instantiation: ag_enc.c:psf_get_be64 |
222 | | |
223 | | static inline int64_t |
224 | | psf_get_le64 (const uint8_t *ptr, int offset) |
225 | 77.0k | { int64_t value = (int64_t) ((uint64_t) ptr [offset + 7] << 24) ; |
226 | 77.0k | value += (int64_t) ((uint64_t) ptr [offset + 6] << 16) ; |
227 | 77.0k | value += (int64_t) ((uint64_t) ptr [offset + 5] << 8) ; |
228 | 77.0k | value += ptr [offset + 4] ; |
229 | | |
230 | 77.0k | value = (int64_t) (((uint64_t) value) << 32) ; |
231 | | |
232 | 77.0k | value += (int64_t) ((uint64_t) ptr [offset + 3] << 24) ; |
233 | 77.0k | value += (int64_t) ((uint64_t) ptr [offset + 2] << 16) ; |
234 | 77.0k | value += (int64_t) ((uint64_t) ptr [offset + 1] << 8) ; |
235 | 77.0k | value += ptr [offset] ; |
236 | 77.0k | return value ; |
237 | 77.0k | } /* psf_get_le64 */ Unexecuted instantiation: sndfile.c:psf_get_le64 Unexecuted instantiation: aiff.c:psf_get_le64 Unexecuted instantiation: au.c:psf_get_le64 Unexecuted instantiation: avr.c:psf_get_le64 Unexecuted instantiation: caf.c:psf_get_le64 Unexecuted instantiation: dwd.c:psf_get_le64 Unexecuted instantiation: g72x.c:psf_get_le64 Unexecuted instantiation: htk.c:psf_get_le64 Unexecuted instantiation: ircam.c:psf_get_le64 Unexecuted instantiation: mat4.c:psf_get_le64 Unexecuted instantiation: mat5.c:psf_get_le64 Unexecuted instantiation: nist.c:psf_get_le64 Unexecuted instantiation: paf.c:psf_get_le64 Unexecuted instantiation: pvf.c:psf_get_le64 Unexecuted instantiation: rx2.c:psf_get_le64 Unexecuted instantiation: sd2.c:psf_get_le64 Unexecuted instantiation: sds.c:psf_get_le64 Unexecuted instantiation: svx.c:psf_get_le64 Unexecuted instantiation: txw.c:psf_get_le64 Unexecuted instantiation: voc.c:psf_get_le64 Unexecuted instantiation: wve.c:psf_get_le64 Unexecuted instantiation: w64.c:psf_get_le64 Unexecuted instantiation: wavlike.c:psf_get_le64 Unexecuted instantiation: wav.c:psf_get_le64 Unexecuted instantiation: xi.c:psf_get_le64 Unexecuted instantiation: mpc2k.c:psf_get_le64 Unexecuted instantiation: rf64.c:psf_get_le64 Unexecuted instantiation: ogg.c:psf_get_le64 Unexecuted instantiation: alac.c:psf_get_le64 Unexecuted instantiation: chunk.c:psf_get_le64 Line | Count | Source | 225 | 77.0k | { int64_t value = (int64_t) ((uint64_t) ptr [offset + 7] << 24) ; | 226 | 77.0k | value += (int64_t) ((uint64_t) ptr [offset + 6] << 16) ; | 227 | 77.0k | value += (int64_t) ((uint64_t) ptr [offset + 5] << 8) ; | 228 | 77.0k | value += ptr [offset + 4] ; | 229 | | | 230 | 77.0k | value = (int64_t) (((uint64_t) value) << 32) ; | 231 | | | 232 | 77.0k | value += (int64_t) ((uint64_t) ptr [offset + 3] << 24) ; | 233 | 77.0k | value += (int64_t) ((uint64_t) ptr [offset + 2] << 16) ; | 234 | 77.0k | value += (int64_t) ((uint64_t) ptr [offset + 1] << 8) ; | 235 | 77.0k | value += ptr [offset] ; | 236 | 77.0k | return value ; | 237 | 77.0k | } /* psf_get_le64 */ |
Unexecuted instantiation: dither.c:psf_get_le64 Unexecuted instantiation: double64.c:psf_get_le64 Unexecuted instantiation: dwvw.c:psf_get_le64 Unexecuted instantiation: float32.c:psf_get_le64 Unexecuted instantiation: gsm610.c:psf_get_le64 Unexecuted instantiation: id3.c:psf_get_le64 Unexecuted instantiation: ima_adpcm.c:psf_get_le64 Unexecuted instantiation: ms_adpcm.c:psf_get_le64 Unexecuted instantiation: nms_adpcm.c:psf_get_le64 Unexecuted instantiation: pcm.c:psf_get_le64 Unexecuted instantiation: vox_adpcm.c:psf_get_le64 Unexecuted instantiation: alac_decoder.c:psf_get_le64 Unexecuted instantiation: alac_encoder.c:psf_get_le64 Unexecuted instantiation: matrix_dec.c:psf_get_le64 Unexecuted instantiation: matrix_enc.c:psf_get_le64 Unexecuted instantiation: ag_dec.c:psf_get_le64 Unexecuted instantiation: ag_enc.c:psf_get_le64 |
238 | | |
239 | | static inline int32_t |
240 | | psf_get_be32 (const uint8_t *ptr, int offset) |
241 | 4.52M | { int32_t value = ((uint32_t) ptr [offset]) << 24 ; |
242 | 4.52M | value += ptr [offset + 1] << 16 ; |
243 | 4.52M | value += ptr [offset + 2] << 8 ; |
244 | 4.52M | value += ptr [offset + 3] ; |
245 | 4.52M | return value ; |
246 | 4.52M | } /* psf_get_be32 */ Unexecuted instantiation: sndfile.c:psf_get_be32 Unexecuted instantiation: aiff.c:psf_get_be32 Unexecuted instantiation: au.c:psf_get_be32 Unexecuted instantiation: avr.c:psf_get_be32 Unexecuted instantiation: caf.c:psf_get_be32 Unexecuted instantiation: dwd.c:psf_get_be32 Unexecuted instantiation: g72x.c:psf_get_be32 Unexecuted instantiation: htk.c:psf_get_be32 Unexecuted instantiation: ircam.c:psf_get_be32 Unexecuted instantiation: mat4.c:psf_get_be32 Unexecuted instantiation: mat5.c:psf_get_be32 Unexecuted instantiation: nist.c:psf_get_be32 Unexecuted instantiation: paf.c:psf_get_be32 Unexecuted instantiation: pvf.c:psf_get_be32 Unexecuted instantiation: rx2.c:psf_get_be32 Unexecuted instantiation: sd2.c:psf_get_be32 Unexecuted instantiation: sds.c:psf_get_be32 Unexecuted instantiation: svx.c:psf_get_be32 Unexecuted instantiation: txw.c:psf_get_be32 Unexecuted instantiation: voc.c:psf_get_be32 Unexecuted instantiation: wve.c:psf_get_be32 Unexecuted instantiation: w64.c:psf_get_be32 Unexecuted instantiation: wavlike.c:psf_get_be32 Unexecuted instantiation: wav.c:psf_get_be32 Unexecuted instantiation: xi.c:psf_get_be32 Unexecuted instantiation: mpc2k.c:psf_get_be32 Unexecuted instantiation: rf64.c:psf_get_be32 Unexecuted instantiation: ogg.c:psf_get_be32 Unexecuted instantiation: alac.c:psf_get_be32 Unexecuted instantiation: chunk.c:psf_get_be32 Line | Count | Source | 241 | 4.52M | { int32_t value = ((uint32_t) ptr [offset]) << 24 ; | 242 | 4.52M | value += ptr [offset + 1] << 16 ; | 243 | 4.52M | value += ptr [offset + 2] << 8 ; | 244 | 4.52M | value += ptr [offset + 3] ; | 245 | 4.52M | return value ; | 246 | 4.52M | } /* psf_get_be32 */ |
Unexecuted instantiation: dither.c:psf_get_be32 Unexecuted instantiation: double64.c:psf_get_be32 Unexecuted instantiation: dwvw.c:psf_get_be32 Unexecuted instantiation: float32.c:psf_get_be32 Unexecuted instantiation: gsm610.c:psf_get_be32 Unexecuted instantiation: id3.c:psf_get_be32 Unexecuted instantiation: ima_adpcm.c:psf_get_be32 Unexecuted instantiation: ms_adpcm.c:psf_get_be32 Unexecuted instantiation: nms_adpcm.c:psf_get_be32 Unexecuted instantiation: pcm.c:psf_get_be32 Unexecuted instantiation: vox_adpcm.c:psf_get_be32 alac_decoder.c:psf_get_be32 Line | Count | Source | 241 | 3.42k | { int32_t value = ((uint32_t) ptr [offset]) << 24 ; | 242 | 3.42k | value += ptr [offset + 1] << 16 ; | 243 | 3.42k | value += ptr [offset + 2] << 8 ; | 244 | 3.42k | value += ptr [offset + 3] ; | 245 | 3.42k | return value ; | 246 | 3.42k | } /* psf_get_be32 */ |
Unexecuted instantiation: alac_encoder.c:psf_get_be32 Unexecuted instantiation: matrix_dec.c:psf_get_be32 Unexecuted instantiation: matrix_enc.c:psf_get_be32 Unexecuted instantiation: ag_dec.c:psf_get_be32 Unexecuted instantiation: ag_enc.c:psf_get_be32 |
247 | | |
248 | | static inline int32_t |
249 | | psf_get_le32 (const uint8_t *ptr, int offset) |
250 | 3.00M | { int32_t value = ((uint32_t) ptr [offset + 3]) << 24 ; |
251 | 3.00M | value += ptr [offset + 2] << 16 ; |
252 | 3.00M | value += ptr [offset + 1] << 8 ; |
253 | 3.00M | value += ptr [offset] ; |
254 | 3.00M | return value ; |
255 | 3.00M | } /* psf_get_le32 */ Unexecuted instantiation: sndfile.c:psf_get_le32 Unexecuted instantiation: aiff.c:psf_get_le32 Unexecuted instantiation: au.c:psf_get_le32 Unexecuted instantiation: avr.c:psf_get_le32 Unexecuted instantiation: caf.c:psf_get_le32 Unexecuted instantiation: dwd.c:psf_get_le32 Unexecuted instantiation: g72x.c:psf_get_le32 Unexecuted instantiation: htk.c:psf_get_le32 Unexecuted instantiation: ircam.c:psf_get_le32 Unexecuted instantiation: mat4.c:psf_get_le32 Unexecuted instantiation: mat5.c:psf_get_le32 Unexecuted instantiation: nist.c:psf_get_le32 Unexecuted instantiation: paf.c:psf_get_le32 Unexecuted instantiation: pvf.c:psf_get_le32 Unexecuted instantiation: rx2.c:psf_get_le32 Unexecuted instantiation: sd2.c:psf_get_le32 Unexecuted instantiation: sds.c:psf_get_le32 Unexecuted instantiation: svx.c:psf_get_le32 Unexecuted instantiation: txw.c:psf_get_le32 Unexecuted instantiation: voc.c:psf_get_le32 Unexecuted instantiation: wve.c:psf_get_le32 Unexecuted instantiation: w64.c:psf_get_le32 Unexecuted instantiation: wavlike.c:psf_get_le32 Unexecuted instantiation: wav.c:psf_get_le32 Unexecuted instantiation: xi.c:psf_get_le32 Unexecuted instantiation: mpc2k.c:psf_get_le32 Unexecuted instantiation: rf64.c:psf_get_le32 Unexecuted instantiation: ogg.c:psf_get_le32 Unexecuted instantiation: alac.c:psf_get_le32 Unexecuted instantiation: chunk.c:psf_get_le32 Line | Count | Source | 250 | 3.00M | { int32_t value = ((uint32_t) ptr [offset + 3]) << 24 ; | 251 | 3.00M | value += ptr [offset + 2] << 16 ; | 252 | 3.00M | value += ptr [offset + 1] << 8 ; | 253 | 3.00M | value += ptr [offset] ; | 254 | 3.00M | return value ; | 255 | 3.00M | } /* psf_get_le32 */ |
Unexecuted instantiation: dither.c:psf_get_le32 Unexecuted instantiation: double64.c:psf_get_le32 Unexecuted instantiation: dwvw.c:psf_get_le32 Unexecuted instantiation: float32.c:psf_get_le32 Unexecuted instantiation: gsm610.c:psf_get_le32 Unexecuted instantiation: id3.c:psf_get_le32 Unexecuted instantiation: ima_adpcm.c:psf_get_le32 Unexecuted instantiation: ms_adpcm.c:psf_get_le32 Unexecuted instantiation: nms_adpcm.c:psf_get_le32 Unexecuted instantiation: pcm.c:psf_get_le32 Unexecuted instantiation: vox_adpcm.c:psf_get_le32 Unexecuted instantiation: alac_decoder.c:psf_get_le32 Unexecuted instantiation: alac_encoder.c:psf_get_le32 Unexecuted instantiation: matrix_dec.c:psf_get_le32 Unexecuted instantiation: matrix_enc.c:psf_get_le32 Unexecuted instantiation: ag_dec.c:psf_get_le32 Unexecuted instantiation: ag_enc.c:psf_get_le32 |
256 | | |
257 | | static inline int32_t |
258 | | psf_get_be24 (const uint8_t *ptr, int offset) |
259 | 3.55M | { int32_t value = ((uint32_t) ptr [offset]) << 24 ; |
260 | 3.55M | value += ptr [offset + 1] << 16 ; |
261 | 3.55M | value += ptr [offset + 2] << 8 ; |
262 | 3.55M | return value ; |
263 | 3.55M | } /* psf_get_be24 */ Unexecuted instantiation: sndfile.c:psf_get_be24 Unexecuted instantiation: aiff.c:psf_get_be24 Unexecuted instantiation: au.c:psf_get_be24 Unexecuted instantiation: avr.c:psf_get_be24 Unexecuted instantiation: caf.c:psf_get_be24 Unexecuted instantiation: dwd.c:psf_get_be24 Unexecuted instantiation: g72x.c:psf_get_be24 Unexecuted instantiation: htk.c:psf_get_be24 Unexecuted instantiation: ircam.c:psf_get_be24 Unexecuted instantiation: mat4.c:psf_get_be24 Unexecuted instantiation: mat5.c:psf_get_be24 Unexecuted instantiation: nist.c:psf_get_be24 Unexecuted instantiation: paf.c:psf_get_be24 Unexecuted instantiation: pvf.c:psf_get_be24 Unexecuted instantiation: rx2.c:psf_get_be24 Unexecuted instantiation: sd2.c:psf_get_be24 Unexecuted instantiation: sds.c:psf_get_be24 Unexecuted instantiation: svx.c:psf_get_be24 Unexecuted instantiation: txw.c:psf_get_be24 Unexecuted instantiation: voc.c:psf_get_be24 Unexecuted instantiation: wve.c:psf_get_be24 Unexecuted instantiation: w64.c:psf_get_be24 Unexecuted instantiation: wavlike.c:psf_get_be24 Unexecuted instantiation: wav.c:psf_get_be24 Unexecuted instantiation: xi.c:psf_get_be24 Unexecuted instantiation: mpc2k.c:psf_get_be24 Unexecuted instantiation: rf64.c:psf_get_be24 Unexecuted instantiation: ogg.c:psf_get_be24 Unexecuted instantiation: alac.c:psf_get_be24 Unexecuted instantiation: chunk.c:psf_get_be24 Unexecuted instantiation: common.c:psf_get_be24 Unexecuted instantiation: dither.c:psf_get_be24 Unexecuted instantiation: double64.c:psf_get_be24 Unexecuted instantiation: dwvw.c:psf_get_be24 Unexecuted instantiation: float32.c:psf_get_be24 Unexecuted instantiation: gsm610.c:psf_get_be24 Unexecuted instantiation: id3.c:psf_get_be24 Unexecuted instantiation: ima_adpcm.c:psf_get_be24 Unexecuted instantiation: ms_adpcm.c:psf_get_be24 Unexecuted instantiation: nms_adpcm.c:psf_get_be24 Line | Count | Source | 259 | 3.55M | { int32_t value = ((uint32_t) ptr [offset]) << 24 ; | 260 | 3.55M | value += ptr [offset + 1] << 16 ; | 261 | 3.55M | value += ptr [offset + 2] << 8 ; | 262 | 3.55M | return value ; | 263 | 3.55M | } /* psf_get_be24 */ |
Unexecuted instantiation: vox_adpcm.c:psf_get_be24 Unexecuted instantiation: alac_decoder.c:psf_get_be24 Unexecuted instantiation: alac_encoder.c:psf_get_be24 Unexecuted instantiation: matrix_dec.c:psf_get_be24 Unexecuted instantiation: matrix_enc.c:psf_get_be24 Unexecuted instantiation: ag_dec.c:psf_get_be24 Unexecuted instantiation: ag_enc.c:psf_get_be24 |
264 | | |
265 | | static inline int32_t |
266 | | psf_get_le24 (const uint8_t *ptr, int offset) |
267 | 5.73M | { int32_t value = ((uint32_t) ptr [offset + 2]) << 24 ; |
268 | 5.73M | value += ptr [offset + 1] << 16 ; |
269 | 5.73M | value += ptr [offset] << 8 ; |
270 | 5.73M | return value ; |
271 | 5.73M | } /* psf_get_le24 */ Unexecuted instantiation: sndfile.c:psf_get_le24 Unexecuted instantiation: aiff.c:psf_get_le24 Unexecuted instantiation: au.c:psf_get_le24 Unexecuted instantiation: avr.c:psf_get_le24 Unexecuted instantiation: caf.c:psf_get_le24 Unexecuted instantiation: dwd.c:psf_get_le24 Unexecuted instantiation: g72x.c:psf_get_le24 Unexecuted instantiation: htk.c:psf_get_le24 Unexecuted instantiation: ircam.c:psf_get_le24 Unexecuted instantiation: mat4.c:psf_get_le24 Unexecuted instantiation: mat5.c:psf_get_le24 Unexecuted instantiation: nist.c:psf_get_le24 Unexecuted instantiation: paf.c:psf_get_le24 Unexecuted instantiation: pvf.c:psf_get_le24 Unexecuted instantiation: rx2.c:psf_get_le24 Unexecuted instantiation: sd2.c:psf_get_le24 Unexecuted instantiation: sds.c:psf_get_le24 Unexecuted instantiation: svx.c:psf_get_le24 Unexecuted instantiation: txw.c:psf_get_le24 Unexecuted instantiation: voc.c:psf_get_le24 Unexecuted instantiation: wve.c:psf_get_le24 Unexecuted instantiation: w64.c:psf_get_le24 Unexecuted instantiation: wavlike.c:psf_get_le24 Unexecuted instantiation: wav.c:psf_get_le24 Unexecuted instantiation: xi.c:psf_get_le24 Unexecuted instantiation: mpc2k.c:psf_get_le24 Unexecuted instantiation: rf64.c:psf_get_le24 Unexecuted instantiation: ogg.c:psf_get_le24 Unexecuted instantiation: alac.c:psf_get_le24 Unexecuted instantiation: chunk.c:psf_get_le24 Unexecuted instantiation: common.c:psf_get_le24 Unexecuted instantiation: dither.c:psf_get_le24 Unexecuted instantiation: double64.c:psf_get_le24 Unexecuted instantiation: dwvw.c:psf_get_le24 Unexecuted instantiation: float32.c:psf_get_le24 Unexecuted instantiation: gsm610.c:psf_get_le24 Unexecuted instantiation: id3.c:psf_get_le24 Unexecuted instantiation: ima_adpcm.c:psf_get_le24 Unexecuted instantiation: ms_adpcm.c:psf_get_le24 Unexecuted instantiation: nms_adpcm.c:psf_get_le24 Line | Count | Source | 267 | 5.73M | { int32_t value = ((uint32_t) ptr [offset + 2]) << 24 ; | 268 | 5.73M | value += ptr [offset + 1] << 16 ; | 269 | 5.73M | value += ptr [offset] << 8 ; | 270 | 5.73M | return value ; | 271 | 5.73M | } /* psf_get_le24 */ |
Unexecuted instantiation: vox_adpcm.c:psf_get_le24 Unexecuted instantiation: alac_decoder.c:psf_get_le24 Unexecuted instantiation: alac_encoder.c:psf_get_le24 Unexecuted instantiation: matrix_dec.c:psf_get_le24 Unexecuted instantiation: matrix_enc.c:psf_get_le24 Unexecuted instantiation: ag_dec.c:psf_get_le24 Unexecuted instantiation: ag_enc.c:psf_get_le24 |
272 | | |
273 | | static inline int16_t |
274 | | psf_get_be16 (const uint8_t *ptr, int offset) |
275 | 848 | { return (int16_t) (ptr [offset] << 8) + ptr [offset + 1] ; |
276 | 848 | } /* psf_get_be16 */ Unexecuted instantiation: sndfile.c:psf_get_be16 Unexecuted instantiation: aiff.c:psf_get_be16 Unexecuted instantiation: au.c:psf_get_be16 Unexecuted instantiation: avr.c:psf_get_be16 Unexecuted instantiation: caf.c:psf_get_be16 Unexecuted instantiation: dwd.c:psf_get_be16 Unexecuted instantiation: g72x.c:psf_get_be16 Unexecuted instantiation: htk.c:psf_get_be16 Unexecuted instantiation: ircam.c:psf_get_be16 Unexecuted instantiation: mat4.c:psf_get_be16 Unexecuted instantiation: mat5.c:psf_get_be16 Unexecuted instantiation: nist.c:psf_get_be16 Unexecuted instantiation: paf.c:psf_get_be16 Unexecuted instantiation: pvf.c:psf_get_be16 Unexecuted instantiation: rx2.c:psf_get_be16 Unexecuted instantiation: sd2.c:psf_get_be16 Unexecuted instantiation: sds.c:psf_get_be16 Unexecuted instantiation: svx.c:psf_get_be16 Unexecuted instantiation: txw.c:psf_get_be16 Unexecuted instantiation: voc.c:psf_get_be16 Unexecuted instantiation: wve.c:psf_get_be16 Unexecuted instantiation: w64.c:psf_get_be16 Unexecuted instantiation: wavlike.c:psf_get_be16 Unexecuted instantiation: wav.c:psf_get_be16 Unexecuted instantiation: xi.c:psf_get_be16 Unexecuted instantiation: mpc2k.c:psf_get_be16 Unexecuted instantiation: rf64.c:psf_get_be16 Unexecuted instantiation: ogg.c:psf_get_be16 Unexecuted instantiation: alac.c:psf_get_be16 Unexecuted instantiation: chunk.c:psf_get_be16 Unexecuted instantiation: common.c:psf_get_be16 Unexecuted instantiation: dither.c:psf_get_be16 Unexecuted instantiation: double64.c:psf_get_be16 Unexecuted instantiation: dwvw.c:psf_get_be16 Unexecuted instantiation: float32.c:psf_get_be16 Unexecuted instantiation: gsm610.c:psf_get_be16 Unexecuted instantiation: id3.c:psf_get_be16 Unexecuted instantiation: ima_adpcm.c:psf_get_be16 Unexecuted instantiation: ms_adpcm.c:psf_get_be16 Unexecuted instantiation: nms_adpcm.c:psf_get_be16 Unexecuted instantiation: pcm.c:psf_get_be16 Unexecuted instantiation: vox_adpcm.c:psf_get_be16 alac_decoder.c:psf_get_be16 Line | Count | Source | 275 | 848 | { return (int16_t) (ptr [offset] << 8) + ptr [offset + 1] ; | 276 | 848 | } /* psf_get_be16 */ |
Unexecuted instantiation: alac_encoder.c:psf_get_be16 Unexecuted instantiation: matrix_dec.c:psf_get_be16 Unexecuted instantiation: matrix_enc.c:psf_get_be16 Unexecuted instantiation: ag_dec.c:psf_get_be16 Unexecuted instantiation: ag_enc.c:psf_get_be16 |
277 | | |
278 | | /*----------------------------------------------------------------------------------------------- |
279 | | ** Generic functions for performing endian swapping on integer arrays. |
280 | | */ |
281 | | |
282 | | static inline void |
283 | | endswap_short_array (short *ptr, int len) |
284 | 44 | { |
285 | 925k | for (int i = 0 ; i < len ; i++) |
286 | 925k | { short temp = ptr [i] ; |
287 | 925k | ptr [i] = ENDSWAP_16 (temp) ; |
288 | 925k | } ; |
289 | 44 | } /* endswap_short_array */ Unexecuted instantiation: sndfile.c:endswap_short_array Unexecuted instantiation: aiff.c:endswap_short_array Unexecuted instantiation: au.c:endswap_short_array Unexecuted instantiation: avr.c:endswap_short_array Unexecuted instantiation: caf.c:endswap_short_array Unexecuted instantiation: dwd.c:endswap_short_array Unexecuted instantiation: g72x.c:endswap_short_array Unexecuted instantiation: htk.c:endswap_short_array Unexecuted instantiation: ircam.c:endswap_short_array Unexecuted instantiation: mat4.c:endswap_short_array Unexecuted instantiation: mat5.c:endswap_short_array Unexecuted instantiation: nist.c:endswap_short_array Unexecuted instantiation: paf.c:endswap_short_array Unexecuted instantiation: pvf.c:endswap_short_array Unexecuted instantiation: rx2.c:endswap_short_array Unexecuted instantiation: sd2.c:endswap_short_array Unexecuted instantiation: sds.c:endswap_short_array Unexecuted instantiation: svx.c:endswap_short_array Unexecuted instantiation: txw.c:endswap_short_array Unexecuted instantiation: voc.c:endswap_short_array Unexecuted instantiation: wve.c:endswap_short_array Unexecuted instantiation: w64.c:endswap_short_array Unexecuted instantiation: wavlike.c:endswap_short_array Unexecuted instantiation: wav.c:endswap_short_array Unexecuted instantiation: xi.c:endswap_short_array Unexecuted instantiation: mpc2k.c:endswap_short_array Unexecuted instantiation: rf64.c:endswap_short_array Unexecuted instantiation: ogg.c:endswap_short_array Unexecuted instantiation: alac.c:endswap_short_array Unexecuted instantiation: chunk.c:endswap_short_array Unexecuted instantiation: common.c:endswap_short_array Unexecuted instantiation: dither.c:endswap_short_array Unexecuted instantiation: double64.c:endswap_short_array Unexecuted instantiation: dwvw.c:endswap_short_array Unexecuted instantiation: float32.c:endswap_short_array Unexecuted instantiation: gsm610.c:endswap_short_array Unexecuted instantiation: id3.c:endswap_short_array Unexecuted instantiation: ima_adpcm.c:endswap_short_array Unexecuted instantiation: ms_adpcm.c:endswap_short_array Unexecuted instantiation: nms_adpcm.c:endswap_short_array pcm.c:endswap_short_array Line | Count | Source | 284 | 44 | { | 285 | 925k | for (int i = 0 ; i < len ; i++) | 286 | 925k | { short temp = ptr [i] ; | 287 | | ptr [i] = ENDSWAP_16 (temp) ; | 288 | 925k | } ; | 289 | 44 | } /* endswap_short_array */ |
Unexecuted instantiation: vox_adpcm.c:endswap_short_array Unexecuted instantiation: alac_decoder.c:endswap_short_array Unexecuted instantiation: alac_encoder.c:endswap_short_array Unexecuted instantiation: matrix_dec.c:endswap_short_array Unexecuted instantiation: matrix_enc.c:endswap_short_array Unexecuted instantiation: ag_dec.c:endswap_short_array Unexecuted instantiation: ag_enc.c:endswap_short_array |
290 | | |
291 | | static inline void |
292 | | endswap_short_copy (short *dest, const short *src, int len) |
293 | 0 | { |
294 | 0 | for (int i = 0 ; i < len ; i++) |
295 | 0 | { dest [i] = ENDSWAP_16 (src [i]) ; |
296 | 0 | } ; |
297 | 0 | } /* endswap_short_copy */ Unexecuted instantiation: sndfile.c:endswap_short_copy Unexecuted instantiation: aiff.c:endswap_short_copy Unexecuted instantiation: au.c:endswap_short_copy Unexecuted instantiation: avr.c:endswap_short_copy Unexecuted instantiation: caf.c:endswap_short_copy Unexecuted instantiation: dwd.c:endswap_short_copy Unexecuted instantiation: g72x.c:endswap_short_copy Unexecuted instantiation: htk.c:endswap_short_copy Unexecuted instantiation: ircam.c:endswap_short_copy Unexecuted instantiation: mat4.c:endswap_short_copy Unexecuted instantiation: mat5.c:endswap_short_copy Unexecuted instantiation: nist.c:endswap_short_copy Unexecuted instantiation: paf.c:endswap_short_copy Unexecuted instantiation: pvf.c:endswap_short_copy Unexecuted instantiation: rx2.c:endswap_short_copy Unexecuted instantiation: sd2.c:endswap_short_copy Unexecuted instantiation: sds.c:endswap_short_copy Unexecuted instantiation: svx.c:endswap_short_copy Unexecuted instantiation: txw.c:endswap_short_copy Unexecuted instantiation: voc.c:endswap_short_copy Unexecuted instantiation: wve.c:endswap_short_copy Unexecuted instantiation: w64.c:endswap_short_copy Unexecuted instantiation: wavlike.c:endswap_short_copy Unexecuted instantiation: wav.c:endswap_short_copy Unexecuted instantiation: xi.c:endswap_short_copy Unexecuted instantiation: mpc2k.c:endswap_short_copy Unexecuted instantiation: rf64.c:endswap_short_copy Unexecuted instantiation: ogg.c:endswap_short_copy Unexecuted instantiation: alac.c:endswap_short_copy Unexecuted instantiation: chunk.c:endswap_short_copy Unexecuted instantiation: common.c:endswap_short_copy Unexecuted instantiation: dither.c:endswap_short_copy Unexecuted instantiation: double64.c:endswap_short_copy Unexecuted instantiation: dwvw.c:endswap_short_copy Unexecuted instantiation: float32.c:endswap_short_copy Unexecuted instantiation: gsm610.c:endswap_short_copy Unexecuted instantiation: id3.c:endswap_short_copy Unexecuted instantiation: ima_adpcm.c:endswap_short_copy Unexecuted instantiation: ms_adpcm.c:endswap_short_copy Unexecuted instantiation: nms_adpcm.c:endswap_short_copy Unexecuted instantiation: pcm.c:endswap_short_copy Unexecuted instantiation: vox_adpcm.c:endswap_short_copy Unexecuted instantiation: alac_decoder.c:endswap_short_copy Unexecuted instantiation: alac_encoder.c:endswap_short_copy Unexecuted instantiation: matrix_dec.c:endswap_short_copy Unexecuted instantiation: matrix_enc.c:endswap_short_copy Unexecuted instantiation: ag_dec.c:endswap_short_copy Unexecuted instantiation: ag_enc.c:endswap_short_copy |
298 | | |
299 | | static inline void |
300 | | endswap_int_array (int *ptr, int len) |
301 | 219k | { |
302 | 3.55M | for (int i = 0 ; i < len ; i++) |
303 | 3.33M | { int temp = ptr [i] ; |
304 | 3.33M | ptr [i] = ENDSWAP_32 (temp) ; |
305 | 3.33M | } ; |
306 | 219k | } /* endswap_int_array */ Unexecuted instantiation: sndfile.c:endswap_int_array Unexecuted instantiation: aiff.c:endswap_int_array Unexecuted instantiation: au.c:endswap_int_array Unexecuted instantiation: avr.c:endswap_int_array Unexecuted instantiation: caf.c:endswap_int_array Unexecuted instantiation: dwd.c:endswap_int_array Unexecuted instantiation: g72x.c:endswap_int_array Unexecuted instantiation: htk.c:endswap_int_array Unexecuted instantiation: ircam.c:endswap_int_array Unexecuted instantiation: mat4.c:endswap_int_array Unexecuted instantiation: mat5.c:endswap_int_array Unexecuted instantiation: nist.c:endswap_int_array Line | Count | Source | 301 | 218k | { | 302 | 1.97M | for (int i = 0 ; i < len ; i++) | 303 | 1.75M | { int temp = ptr [i] ; | 304 | | ptr [i] = ENDSWAP_32 (temp) ; | 305 | 1.75M | } ; | 306 | 218k | } /* endswap_int_array */ |
Unexecuted instantiation: pvf.c:endswap_int_array Unexecuted instantiation: rx2.c:endswap_int_array Unexecuted instantiation: sd2.c:endswap_int_array Unexecuted instantiation: sds.c:endswap_int_array Unexecuted instantiation: svx.c:endswap_int_array Unexecuted instantiation: txw.c:endswap_int_array Unexecuted instantiation: voc.c:endswap_int_array Unexecuted instantiation: wve.c:endswap_int_array Unexecuted instantiation: w64.c:endswap_int_array Unexecuted instantiation: wavlike.c:endswap_int_array Unexecuted instantiation: wav.c:endswap_int_array Unexecuted instantiation: xi.c:endswap_int_array Unexecuted instantiation: mpc2k.c:endswap_int_array Unexecuted instantiation: rf64.c:endswap_int_array Unexecuted instantiation: ogg.c:endswap_int_array Unexecuted instantiation: alac.c:endswap_int_array Unexecuted instantiation: chunk.c:endswap_int_array Unexecuted instantiation: common.c:endswap_int_array Unexecuted instantiation: dither.c:endswap_int_array Unexecuted instantiation: double64.c:endswap_int_array Unexecuted instantiation: dwvw.c:endswap_int_array float32.c:endswap_int_array Line | Count | Source | 301 | 874 | { | 302 | 1.58M | for (int i = 0 ; i < len ; i++) | 303 | 1.58M | { int temp = ptr [i] ; | 304 | | ptr [i] = ENDSWAP_32 (temp) ; | 305 | 1.58M | } ; | 306 | 874 | } /* endswap_int_array */ |
Unexecuted instantiation: gsm610.c:endswap_int_array Unexecuted instantiation: id3.c:endswap_int_array Unexecuted instantiation: ima_adpcm.c:endswap_int_array Unexecuted instantiation: ms_adpcm.c:endswap_int_array Unexecuted instantiation: nms_adpcm.c:endswap_int_array Line | Count | Source | 301 | 15 | { | 302 | 1.57k | for (int i = 0 ; i < len ; i++) | 303 | 1.55k | { int temp = ptr [i] ; | 304 | | ptr [i] = ENDSWAP_32 (temp) ; | 305 | 1.55k | } ; | 306 | 15 | } /* endswap_int_array */ |
Unexecuted instantiation: vox_adpcm.c:endswap_int_array Unexecuted instantiation: alac_decoder.c:endswap_int_array Unexecuted instantiation: alac_encoder.c:endswap_int_array Unexecuted instantiation: matrix_dec.c:endswap_int_array Unexecuted instantiation: matrix_enc.c:endswap_int_array Unexecuted instantiation: ag_dec.c:endswap_int_array Unexecuted instantiation: ag_enc.c:endswap_int_array |
307 | | |
308 | | static inline void |
309 | | endswap_int_copy (int *dest, const int *src, int len) |
310 | 0 | { |
311 | 0 | for (int i = 0 ; i < len ; i++) |
312 | 0 | { dest [i] = ENDSWAP_32 (src [i]) ; |
313 | 0 | } ; |
314 | 0 | } /* endswap_int_copy */ Unexecuted instantiation: sndfile.c:endswap_int_copy Unexecuted instantiation: aiff.c:endswap_int_copy Unexecuted instantiation: au.c:endswap_int_copy Unexecuted instantiation: avr.c:endswap_int_copy Unexecuted instantiation: caf.c:endswap_int_copy Unexecuted instantiation: dwd.c:endswap_int_copy Unexecuted instantiation: g72x.c:endswap_int_copy Unexecuted instantiation: htk.c:endswap_int_copy Unexecuted instantiation: ircam.c:endswap_int_copy Unexecuted instantiation: mat4.c:endswap_int_copy Unexecuted instantiation: mat5.c:endswap_int_copy Unexecuted instantiation: nist.c:endswap_int_copy Unexecuted instantiation: paf.c:endswap_int_copy Unexecuted instantiation: pvf.c:endswap_int_copy Unexecuted instantiation: rx2.c:endswap_int_copy Unexecuted instantiation: sd2.c:endswap_int_copy Unexecuted instantiation: sds.c:endswap_int_copy Unexecuted instantiation: svx.c:endswap_int_copy Unexecuted instantiation: txw.c:endswap_int_copy Unexecuted instantiation: voc.c:endswap_int_copy Unexecuted instantiation: wve.c:endswap_int_copy Unexecuted instantiation: w64.c:endswap_int_copy Unexecuted instantiation: wavlike.c:endswap_int_copy Unexecuted instantiation: wav.c:endswap_int_copy Unexecuted instantiation: xi.c:endswap_int_copy Unexecuted instantiation: mpc2k.c:endswap_int_copy Unexecuted instantiation: rf64.c:endswap_int_copy Unexecuted instantiation: ogg.c:endswap_int_copy Unexecuted instantiation: alac.c:endswap_int_copy Unexecuted instantiation: chunk.c:endswap_int_copy Unexecuted instantiation: common.c:endswap_int_copy Unexecuted instantiation: dither.c:endswap_int_copy Unexecuted instantiation: double64.c:endswap_int_copy Unexecuted instantiation: dwvw.c:endswap_int_copy Unexecuted instantiation: float32.c:endswap_int_copy Unexecuted instantiation: gsm610.c:endswap_int_copy Unexecuted instantiation: id3.c:endswap_int_copy Unexecuted instantiation: ima_adpcm.c:endswap_int_copy Unexecuted instantiation: ms_adpcm.c:endswap_int_copy Unexecuted instantiation: nms_adpcm.c:endswap_int_copy Unexecuted instantiation: pcm.c:endswap_int_copy Unexecuted instantiation: vox_adpcm.c:endswap_int_copy Unexecuted instantiation: alac_decoder.c:endswap_int_copy Unexecuted instantiation: alac_encoder.c:endswap_int_copy Unexecuted instantiation: matrix_dec.c:endswap_int_copy Unexecuted instantiation: matrix_enc.c:endswap_int_copy Unexecuted instantiation: ag_dec.c:endswap_int_copy Unexecuted instantiation: ag_enc.c:endswap_int_copy |
315 | | |
316 | | /*======================================================================================== |
317 | | */ |
318 | | |
319 | | static inline void |
320 | | endswap_int64_t_array (int64_t *ptr, int len) |
321 | 806 | { |
322 | 1.05M | for (int i = 0 ; i < len ; i++) |
323 | 1.05M | { int64_t value = ptr [i] ; |
324 | 1.05M | ptr [i] = ENDSWAP_64 (value) ; |
325 | 1.05M | } ; |
326 | 806 | } /* endswap_int64_t_array */ Unexecuted instantiation: sndfile.c:endswap_int64_t_array Unexecuted instantiation: aiff.c:endswap_int64_t_array Unexecuted instantiation: au.c:endswap_int64_t_array Unexecuted instantiation: avr.c:endswap_int64_t_array Unexecuted instantiation: caf.c:endswap_int64_t_array Unexecuted instantiation: dwd.c:endswap_int64_t_array Unexecuted instantiation: g72x.c:endswap_int64_t_array Unexecuted instantiation: htk.c:endswap_int64_t_array Unexecuted instantiation: ircam.c:endswap_int64_t_array Unexecuted instantiation: mat4.c:endswap_int64_t_array Unexecuted instantiation: mat5.c:endswap_int64_t_array Unexecuted instantiation: nist.c:endswap_int64_t_array Unexecuted instantiation: paf.c:endswap_int64_t_array Unexecuted instantiation: pvf.c:endswap_int64_t_array Unexecuted instantiation: rx2.c:endswap_int64_t_array Unexecuted instantiation: sd2.c:endswap_int64_t_array Unexecuted instantiation: sds.c:endswap_int64_t_array Unexecuted instantiation: svx.c:endswap_int64_t_array Unexecuted instantiation: txw.c:endswap_int64_t_array Unexecuted instantiation: voc.c:endswap_int64_t_array Unexecuted instantiation: wve.c:endswap_int64_t_array Unexecuted instantiation: w64.c:endswap_int64_t_array Unexecuted instantiation: wavlike.c:endswap_int64_t_array Unexecuted instantiation: wav.c:endswap_int64_t_array Unexecuted instantiation: xi.c:endswap_int64_t_array Unexecuted instantiation: mpc2k.c:endswap_int64_t_array Unexecuted instantiation: rf64.c:endswap_int64_t_array Unexecuted instantiation: ogg.c:endswap_int64_t_array Unexecuted instantiation: alac.c:endswap_int64_t_array Unexecuted instantiation: chunk.c:endswap_int64_t_array Unexecuted instantiation: common.c:endswap_int64_t_array Unexecuted instantiation: dither.c:endswap_int64_t_array double64.c:endswap_int64_t_array Line | Count | Source | 321 | 806 | { | 322 | 1.05M | for (int i = 0 ; i < len ; i++) | 323 | 1.05M | { int64_t value = ptr [i] ; | 324 | | ptr [i] = ENDSWAP_64 (value) ; | 325 | 1.05M | } ; | 326 | 806 | } /* endswap_int64_t_array */ |
Unexecuted instantiation: dwvw.c:endswap_int64_t_array Unexecuted instantiation: float32.c:endswap_int64_t_array Unexecuted instantiation: gsm610.c:endswap_int64_t_array Unexecuted instantiation: id3.c:endswap_int64_t_array Unexecuted instantiation: ima_adpcm.c:endswap_int64_t_array Unexecuted instantiation: ms_adpcm.c:endswap_int64_t_array Unexecuted instantiation: nms_adpcm.c:endswap_int64_t_array Unexecuted instantiation: pcm.c:endswap_int64_t_array Unexecuted instantiation: vox_adpcm.c:endswap_int64_t_array Unexecuted instantiation: alac_decoder.c:endswap_int64_t_array Unexecuted instantiation: alac_encoder.c:endswap_int64_t_array Unexecuted instantiation: matrix_dec.c:endswap_int64_t_array Unexecuted instantiation: matrix_enc.c:endswap_int64_t_array Unexecuted instantiation: ag_dec.c:endswap_int64_t_array Unexecuted instantiation: ag_enc.c:endswap_int64_t_array |
327 | | |
328 | | static inline void |
329 | | endswap_int64_t_copy (int64_t *dest, const int64_t *src, int len) |
330 | 0 | { |
331 | 0 | for (int i = 0 ; i < len ; i++) |
332 | 0 | { int64_t value = src [i] ; |
333 | 0 | dest [i] = ENDSWAP_64 (value) ; |
334 | 0 | } ; |
335 | 0 | } /* endswap_int64_t_copy */ Unexecuted instantiation: sndfile.c:endswap_int64_t_copy Unexecuted instantiation: aiff.c:endswap_int64_t_copy Unexecuted instantiation: au.c:endswap_int64_t_copy Unexecuted instantiation: avr.c:endswap_int64_t_copy Unexecuted instantiation: caf.c:endswap_int64_t_copy Unexecuted instantiation: dwd.c:endswap_int64_t_copy Unexecuted instantiation: g72x.c:endswap_int64_t_copy Unexecuted instantiation: htk.c:endswap_int64_t_copy Unexecuted instantiation: ircam.c:endswap_int64_t_copy Unexecuted instantiation: mat4.c:endswap_int64_t_copy Unexecuted instantiation: mat5.c:endswap_int64_t_copy Unexecuted instantiation: nist.c:endswap_int64_t_copy Unexecuted instantiation: paf.c:endswap_int64_t_copy Unexecuted instantiation: pvf.c:endswap_int64_t_copy Unexecuted instantiation: rx2.c:endswap_int64_t_copy Unexecuted instantiation: sd2.c:endswap_int64_t_copy Unexecuted instantiation: sds.c:endswap_int64_t_copy Unexecuted instantiation: svx.c:endswap_int64_t_copy Unexecuted instantiation: txw.c:endswap_int64_t_copy Unexecuted instantiation: voc.c:endswap_int64_t_copy Unexecuted instantiation: wve.c:endswap_int64_t_copy Unexecuted instantiation: w64.c:endswap_int64_t_copy Unexecuted instantiation: wavlike.c:endswap_int64_t_copy Unexecuted instantiation: wav.c:endswap_int64_t_copy Unexecuted instantiation: xi.c:endswap_int64_t_copy Unexecuted instantiation: mpc2k.c:endswap_int64_t_copy Unexecuted instantiation: rf64.c:endswap_int64_t_copy Unexecuted instantiation: ogg.c:endswap_int64_t_copy Unexecuted instantiation: alac.c:endswap_int64_t_copy Unexecuted instantiation: chunk.c:endswap_int64_t_copy Unexecuted instantiation: common.c:endswap_int64_t_copy Unexecuted instantiation: dither.c:endswap_int64_t_copy Unexecuted instantiation: double64.c:endswap_int64_t_copy Unexecuted instantiation: dwvw.c:endswap_int64_t_copy Unexecuted instantiation: float32.c:endswap_int64_t_copy Unexecuted instantiation: gsm610.c:endswap_int64_t_copy Unexecuted instantiation: id3.c:endswap_int64_t_copy Unexecuted instantiation: ima_adpcm.c:endswap_int64_t_copy Unexecuted instantiation: ms_adpcm.c:endswap_int64_t_copy Unexecuted instantiation: nms_adpcm.c:endswap_int64_t_copy Unexecuted instantiation: pcm.c:endswap_int64_t_copy Unexecuted instantiation: vox_adpcm.c:endswap_int64_t_copy Unexecuted instantiation: alac_decoder.c:endswap_int64_t_copy Unexecuted instantiation: alac_encoder.c:endswap_int64_t_copy Unexecuted instantiation: matrix_dec.c:endswap_int64_t_copy Unexecuted instantiation: matrix_enc.c:endswap_int64_t_copy Unexecuted instantiation: ag_dec.c:endswap_int64_t_copy Unexecuted instantiation: ag_enc.c:endswap_int64_t_copy |
336 | | |
337 | | /* A couple of wrapper functions. */ |
338 | | |
339 | | static inline void |
340 | | endswap_float_array (float *ptr, int len) |
341 | 0 | { endswap_int_array ((int *) ptr, len) ; |
342 | 0 | } /* endswap_float_array */ Unexecuted instantiation: sndfile.c:endswap_float_array Unexecuted instantiation: aiff.c:endswap_float_array Unexecuted instantiation: au.c:endswap_float_array Unexecuted instantiation: avr.c:endswap_float_array Unexecuted instantiation: caf.c:endswap_float_array Unexecuted instantiation: dwd.c:endswap_float_array Unexecuted instantiation: g72x.c:endswap_float_array Unexecuted instantiation: htk.c:endswap_float_array Unexecuted instantiation: ircam.c:endswap_float_array Unexecuted instantiation: mat4.c:endswap_float_array Unexecuted instantiation: mat5.c:endswap_float_array Unexecuted instantiation: nist.c:endswap_float_array Unexecuted instantiation: paf.c:endswap_float_array Unexecuted instantiation: pvf.c:endswap_float_array Unexecuted instantiation: rx2.c:endswap_float_array Unexecuted instantiation: sd2.c:endswap_float_array Unexecuted instantiation: sds.c:endswap_float_array Unexecuted instantiation: svx.c:endswap_float_array Unexecuted instantiation: txw.c:endswap_float_array Unexecuted instantiation: voc.c:endswap_float_array Unexecuted instantiation: wve.c:endswap_float_array Unexecuted instantiation: w64.c:endswap_float_array Unexecuted instantiation: wavlike.c:endswap_float_array Unexecuted instantiation: wav.c:endswap_float_array Unexecuted instantiation: xi.c:endswap_float_array Unexecuted instantiation: mpc2k.c:endswap_float_array Unexecuted instantiation: rf64.c:endswap_float_array Unexecuted instantiation: ogg.c:endswap_float_array Unexecuted instantiation: alac.c:endswap_float_array Unexecuted instantiation: chunk.c:endswap_float_array Unexecuted instantiation: common.c:endswap_float_array Unexecuted instantiation: dither.c:endswap_float_array Unexecuted instantiation: double64.c:endswap_float_array Unexecuted instantiation: dwvw.c:endswap_float_array Unexecuted instantiation: float32.c:endswap_float_array Unexecuted instantiation: gsm610.c:endswap_float_array Unexecuted instantiation: id3.c:endswap_float_array Unexecuted instantiation: ima_adpcm.c:endswap_float_array Unexecuted instantiation: ms_adpcm.c:endswap_float_array Unexecuted instantiation: nms_adpcm.c:endswap_float_array Unexecuted instantiation: pcm.c:endswap_float_array Unexecuted instantiation: vox_adpcm.c:endswap_float_array Unexecuted instantiation: alac_decoder.c:endswap_float_array Unexecuted instantiation: alac_encoder.c:endswap_float_array Unexecuted instantiation: matrix_dec.c:endswap_float_array Unexecuted instantiation: matrix_enc.c:endswap_float_array Unexecuted instantiation: ag_dec.c:endswap_float_array Unexecuted instantiation: ag_enc.c:endswap_float_array |
343 | | |
344 | | static inline void |
345 | | endswap_double_array (double *ptr, int len) |
346 | 806 | { endswap_int64_t_array ((int64_t *) ptr, len) ; |
347 | 806 | } /* endswap_double_array */ Unexecuted instantiation: sndfile.c:endswap_double_array Unexecuted instantiation: aiff.c:endswap_double_array Unexecuted instantiation: au.c:endswap_double_array Unexecuted instantiation: avr.c:endswap_double_array Unexecuted instantiation: caf.c:endswap_double_array Unexecuted instantiation: dwd.c:endswap_double_array Unexecuted instantiation: g72x.c:endswap_double_array Unexecuted instantiation: htk.c:endswap_double_array Unexecuted instantiation: ircam.c:endswap_double_array Unexecuted instantiation: mat4.c:endswap_double_array Unexecuted instantiation: mat5.c:endswap_double_array Unexecuted instantiation: nist.c:endswap_double_array Unexecuted instantiation: paf.c:endswap_double_array Unexecuted instantiation: pvf.c:endswap_double_array Unexecuted instantiation: rx2.c:endswap_double_array Unexecuted instantiation: sd2.c:endswap_double_array Unexecuted instantiation: sds.c:endswap_double_array Unexecuted instantiation: svx.c:endswap_double_array Unexecuted instantiation: txw.c:endswap_double_array Unexecuted instantiation: voc.c:endswap_double_array Unexecuted instantiation: wve.c:endswap_double_array Unexecuted instantiation: w64.c:endswap_double_array Unexecuted instantiation: wavlike.c:endswap_double_array Unexecuted instantiation: wav.c:endswap_double_array Unexecuted instantiation: xi.c:endswap_double_array Unexecuted instantiation: mpc2k.c:endswap_double_array Unexecuted instantiation: rf64.c:endswap_double_array Unexecuted instantiation: ogg.c:endswap_double_array Unexecuted instantiation: alac.c:endswap_double_array Unexecuted instantiation: chunk.c:endswap_double_array Unexecuted instantiation: common.c:endswap_double_array Unexecuted instantiation: dither.c:endswap_double_array double64.c:endswap_double_array Line | Count | Source | 346 | 806 | { endswap_int64_t_array ((int64_t *) ptr, len) ; | 347 | 806 | } /* endswap_double_array */ |
Unexecuted instantiation: dwvw.c:endswap_double_array Unexecuted instantiation: float32.c:endswap_double_array Unexecuted instantiation: gsm610.c:endswap_double_array Unexecuted instantiation: id3.c:endswap_double_array Unexecuted instantiation: ima_adpcm.c:endswap_double_array Unexecuted instantiation: ms_adpcm.c:endswap_double_array Unexecuted instantiation: nms_adpcm.c:endswap_double_array Unexecuted instantiation: pcm.c:endswap_double_array Unexecuted instantiation: vox_adpcm.c:endswap_double_array Unexecuted instantiation: alac_decoder.c:endswap_double_array Unexecuted instantiation: alac_encoder.c:endswap_double_array Unexecuted instantiation: matrix_dec.c:endswap_double_array Unexecuted instantiation: matrix_enc.c:endswap_double_array Unexecuted instantiation: ag_dec.c:endswap_double_array Unexecuted instantiation: ag_enc.c:endswap_double_array |
348 | | |
349 | | static inline void |
350 | | endswap_float_copy (float *dest, const float *src, int len) |
351 | 0 | { endswap_int_copy ((int *) dest, (const int *) src, len) ; |
352 | 0 | } /* endswap_float_copy */ Unexecuted instantiation: sndfile.c:endswap_float_copy Unexecuted instantiation: aiff.c:endswap_float_copy Unexecuted instantiation: au.c:endswap_float_copy Unexecuted instantiation: avr.c:endswap_float_copy Unexecuted instantiation: caf.c:endswap_float_copy Unexecuted instantiation: dwd.c:endswap_float_copy Unexecuted instantiation: g72x.c:endswap_float_copy Unexecuted instantiation: htk.c:endswap_float_copy Unexecuted instantiation: ircam.c:endswap_float_copy Unexecuted instantiation: mat4.c:endswap_float_copy Unexecuted instantiation: mat5.c:endswap_float_copy Unexecuted instantiation: nist.c:endswap_float_copy Unexecuted instantiation: paf.c:endswap_float_copy Unexecuted instantiation: pvf.c:endswap_float_copy Unexecuted instantiation: rx2.c:endswap_float_copy Unexecuted instantiation: sd2.c:endswap_float_copy Unexecuted instantiation: sds.c:endswap_float_copy Unexecuted instantiation: svx.c:endswap_float_copy Unexecuted instantiation: txw.c:endswap_float_copy Unexecuted instantiation: voc.c:endswap_float_copy Unexecuted instantiation: wve.c:endswap_float_copy Unexecuted instantiation: w64.c:endswap_float_copy Unexecuted instantiation: wavlike.c:endswap_float_copy Unexecuted instantiation: wav.c:endswap_float_copy Unexecuted instantiation: xi.c:endswap_float_copy Unexecuted instantiation: mpc2k.c:endswap_float_copy Unexecuted instantiation: rf64.c:endswap_float_copy Unexecuted instantiation: ogg.c:endswap_float_copy Unexecuted instantiation: alac.c:endswap_float_copy Unexecuted instantiation: chunk.c:endswap_float_copy Unexecuted instantiation: common.c:endswap_float_copy Unexecuted instantiation: dither.c:endswap_float_copy Unexecuted instantiation: double64.c:endswap_float_copy Unexecuted instantiation: dwvw.c:endswap_float_copy Unexecuted instantiation: float32.c:endswap_float_copy Unexecuted instantiation: gsm610.c:endswap_float_copy Unexecuted instantiation: id3.c:endswap_float_copy Unexecuted instantiation: ima_adpcm.c:endswap_float_copy Unexecuted instantiation: ms_adpcm.c:endswap_float_copy Unexecuted instantiation: nms_adpcm.c:endswap_float_copy Unexecuted instantiation: pcm.c:endswap_float_copy Unexecuted instantiation: vox_adpcm.c:endswap_float_copy Unexecuted instantiation: alac_decoder.c:endswap_float_copy Unexecuted instantiation: alac_encoder.c:endswap_float_copy Unexecuted instantiation: matrix_dec.c:endswap_float_copy Unexecuted instantiation: matrix_enc.c:endswap_float_copy Unexecuted instantiation: ag_dec.c:endswap_float_copy Unexecuted instantiation: ag_enc.c:endswap_float_copy |
353 | | |
354 | | static inline void |
355 | | endswap_double_copy (double *dest, const double *src, int len) |
356 | 0 | { endswap_int64_t_copy ((int64_t *) dest, (const int64_t *) src, len) ; |
357 | 0 | } /* endswap_double_copy */ Unexecuted instantiation: sndfile.c:endswap_double_copy Unexecuted instantiation: aiff.c:endswap_double_copy Unexecuted instantiation: au.c:endswap_double_copy Unexecuted instantiation: avr.c:endswap_double_copy Unexecuted instantiation: caf.c:endswap_double_copy Unexecuted instantiation: dwd.c:endswap_double_copy Unexecuted instantiation: g72x.c:endswap_double_copy Unexecuted instantiation: htk.c:endswap_double_copy Unexecuted instantiation: ircam.c:endswap_double_copy Unexecuted instantiation: mat4.c:endswap_double_copy Unexecuted instantiation: mat5.c:endswap_double_copy Unexecuted instantiation: nist.c:endswap_double_copy Unexecuted instantiation: paf.c:endswap_double_copy Unexecuted instantiation: pvf.c:endswap_double_copy Unexecuted instantiation: rx2.c:endswap_double_copy Unexecuted instantiation: sd2.c:endswap_double_copy Unexecuted instantiation: sds.c:endswap_double_copy Unexecuted instantiation: svx.c:endswap_double_copy Unexecuted instantiation: txw.c:endswap_double_copy Unexecuted instantiation: voc.c:endswap_double_copy Unexecuted instantiation: wve.c:endswap_double_copy Unexecuted instantiation: w64.c:endswap_double_copy Unexecuted instantiation: wavlike.c:endswap_double_copy Unexecuted instantiation: wav.c:endswap_double_copy Unexecuted instantiation: xi.c:endswap_double_copy Unexecuted instantiation: mpc2k.c:endswap_double_copy Unexecuted instantiation: rf64.c:endswap_double_copy Unexecuted instantiation: ogg.c:endswap_double_copy Unexecuted instantiation: alac.c:endswap_double_copy Unexecuted instantiation: chunk.c:endswap_double_copy Unexecuted instantiation: common.c:endswap_double_copy Unexecuted instantiation: dither.c:endswap_double_copy Unexecuted instantiation: double64.c:endswap_double_copy Unexecuted instantiation: dwvw.c:endswap_double_copy Unexecuted instantiation: float32.c:endswap_double_copy Unexecuted instantiation: gsm610.c:endswap_double_copy Unexecuted instantiation: id3.c:endswap_double_copy Unexecuted instantiation: ima_adpcm.c:endswap_double_copy Unexecuted instantiation: ms_adpcm.c:endswap_double_copy Unexecuted instantiation: nms_adpcm.c:endswap_double_copy Unexecuted instantiation: pcm.c:endswap_double_copy Unexecuted instantiation: vox_adpcm.c:endswap_double_copy Unexecuted instantiation: alac_decoder.c:endswap_double_copy Unexecuted instantiation: alac_encoder.c:endswap_double_copy Unexecuted instantiation: matrix_dec.c:endswap_double_copy Unexecuted instantiation: matrix_enc.c:endswap_double_copy Unexecuted instantiation: ag_dec.c:endswap_double_copy Unexecuted instantiation: ag_enc.c:endswap_double_copy |
358 | | |
359 | | #endif /* SFENDIAN_INCLUDED */ |
360 | | |