except filter_length == 1 odd filter_length gives worse frequency response, even when compared with shorter filter_length also makes build_filter simpler
Unified · Split
| @@ -155,6 +155,8 @@ static int build_filter(ResampleContext *c, void *filter, double factor, int tap · 154 unmodified lines | ||
| 155 | 155 | if (!tab || !sin_lut) |
| 156 | 156 | goto fail; |
| 157 | 157 | |
| 158 | + av_assert0(tap_count == 1 || tap_count % 2 == 0); | |
| 159 | + | |
| 158 | 160 | /* if upsampling, only need to interpolate, no filter */ |
| 159 | 161 | if (factor > 1.0) |
| 160 | 162 | factor = 1.0; |
| @@ -165,7 +167,7 @@ static int build_filter(ResampleContext *c, void *filter, double factor, int tap · 4 unmodified lines | ||
| 165 | 167 | } |
| 166 | 168 | for(ph = 0; ph < ph_nb; ph++) { |
| 167 | 169 | s = sin_lut[ph]; |
| 168 | − for(i=0;i<=tap_count;i++) { | |
| 170 | + for(i=0;i<tap_count;i++) { | |
| 169 | 171 | x = M_PI * ((double)(i - center) - (double)ph / phase_count) * factor; |
| 170 | 172 | if (x == 0) y = 1.0; |
| 171 | 173 | else if (factor == 1.0) |
| @@ -194,7 +196,7 @@ static int build_filter(ResampleContext *c, void *filter, double factor, int tap · 22 unmodified lines | ||
| 194 | 196 | |
| 195 | 197 | tab[i] = y; |
| 196 | 198 | s = -s; |
| 197 | − if (!ph && i < tap_count) | |
| 199 | + if (!ph) | |
| 198 | 200 | norm += y; |
| 199 | 201 | } |
| 200 | 202 | |
| @@ -204,55 +206,29 @@ static int build_filter(ResampleContext *c, void *filter, double factor, int tap · 3 unmodified lines | ||
| 204 | 206 | for(i=0;i<tap_count;i++) |
| 205 | 207 | ((int16_t*)filter)[ph * alloc + i] = av_clip_int16(lrintf(tab[i] * scale / norm)); |
| 206 | 208 | if (phase_count % 2) break; |
| 207 | − if (tap_count % 2 == 0 || tap_count == 1) { | |
| 208 | − for (i = 0; i < tap_count; i++) | |
| 209 | − ((int16_t*)filter)[(phase_count-ph) * alloc + tap_count-1-i] = ((int16_t*)filter)[ph * alloc + i]; | |
| 210 | − } | |
| 211 | − else { | |
| 212 | − for (i = 1; i <= tap_count; i++) | |
| 213 | − ((int16_t*)filter)[(phase_count-ph) * alloc + tap_count-i] = | |
| 214 | − av_clip_int16(lrintf(tab[i] * scale / norm)); | |
| 215 | − } | |
| 209 | + for (i = 0; i < tap_count; i++) | |
| 210 | + ((int16_t*)filter)[(phase_count-ph) * alloc + tap_count-1-i] = ((int16_t*)filter)[ph * alloc + i]; | |
| 216 | 211 | break; |
| 217 | 212 | case AV_SAMPLE_FMT_S32P: |
| 218 | 213 | for(i=0;i<tap_count;i++) |
| 219 | 214 | ((int32_t*)filter)[ph * alloc + i] = av_clipl_int32(llrint(tab[i] * scale / norm)); |
| 220 | 215 | if (phase_count % 2) break; |
| 221 | − if (tap_count % 2 == 0 || tap_count == 1) { | |
| 222 | − for (i = 0; i < tap_count; i++) | |
| 223 | − ((int32_t*)filter)[(phase_count-ph) * alloc + tap_count-1-i] = ((int32_t*)filter)[ph * alloc + i]; | |
| 224 | − } | |
| 225 | − else { | |
| 226 | − for (i = 1; i <= tap_count; i++) | |
| 227 | − ((int32_t*)filter)[(phase_count-ph) * alloc + tap_count-i] = | |
| 228 | − av_clipl_int32(llrint(tab[i] * scale / norm)); | |
| 229 | − } | |
| 216 | + for (i = 0; i < tap_count; i++) | |
| 217 | + ((int32_t*)filter)[(phase_count-ph) * alloc + tap_count-1-i] = ((int32_t*)filter)[ph * alloc + i]; | |
| 230 | 218 | break; |
| 231 | 219 | case AV_SAMPLE_FMT_FLTP: |
| 232 | 220 | for(i=0;i<tap_count;i++) |
| 233 | 221 | ((float*)filter)[ph * alloc + i] = tab[i] * scale / norm; |
| 234 | 222 | if (phase_count % 2) break; |
| 235 | − if (tap_count % 2 == 0 || tap_count == 1) { | |
| 236 | − for (i = 0; i < tap_count; i++) | |
| 237 | − ((float*)filter)[(phase_count-ph) * alloc + tap_count-1-i] = ((float*)filter)[ph * alloc + i]; | |
| 238 | − } | |
| 239 | − else { | |
| 240 | − for (i = 1; i <= tap_count; i++) | |
| 241 | − ((float*)filter)[(phase_count-ph) * alloc + tap_count-i] = tab[i] * scale / norm; | |
| 242 | − } | |
| 223 | + for (i = 0; i < tap_count; i++) | |
| 224 | + ((float*)filter)[(phase_count-ph) * alloc + tap_count-1-i] = ((float*)filter)[ph * alloc + i]; | |
| 243 | 225 | break; |
| 244 | 226 | case AV_SAMPLE_FMT_DBLP: |
| 245 | 227 | for(i=0;i<tap_count;i++) |
| 246 | 228 | ((double*)filter)[ph * alloc + i] = tab[i] * scale / norm; |
| 247 | 229 | if (phase_count % 2) break; |
| 248 | − if (tap_count % 2 == 0 || tap_count == 1) { | |
| 249 | − for (i = 0; i < tap_count; i++) | |
| 250 | − ((double*)filter)[(phase_count-ph) * alloc + tap_count-1-i] = ((double*)filter)[ph * alloc + i]; | |
| 251 | − } | |
| 252 | − else { | |
| 253 | − for (i = 1; i <= tap_count; i++) | |
| 254 | − ((double*)filter)[(phase_count-ph) * alloc + tap_count-i] = tab[i] * scale / norm; | |
| 255 | − } | |
| 230 | + for (i = 0; i < tap_count; i++) | |
| 231 | + ((double*)filter)[(phase_count-ph) * alloc + tap_count-1-i] = ((double*)filter)[ph * alloc + i]; | |
| 256 | 232 | break; |
| 257 | 233 | } |
| 258 | 234 | } |
| @@ -308,6 +284,10 @@ static ResampleContext *resample_init(ResampleContext *c, int out_rate, int in_r · 49 unmodified lines | ||
| 308 | 284 | double factor= FFMIN(out_rate * cutoff / in_rate, 1.0); |
| 309 | 285 | int phase_count= 1<<phase_shift; |
| 310 | 286 | int phase_count_compensation = phase_count; |
| 287 | + int filter_length = FFMAX((int)ceil(filter_size/factor), 1); | |
| 288 | + | |
| 289 | + if (filter_length > 1) | |
| 290 | + filter_length = FFALIGN(filter_length, 2); | |
| 311 | 291 | |
| 312 | 292 | if (exact_rational) { |
| 313 | 293 | int phase_count_exact, phase_count_exact_den; |
| @@ -320,7 +300,7 @@ static ResampleContext *resample_init(ResampleContext *c, int out_rate, int in_r · 6 unmodified lines | ||
| 320 | 300 | } |
| 321 | 301 | |
| 322 | 302 | if (!c || c->phase_count != phase_count || c->linear!=linear || c->factor != factor |
| 323 | − || c->filter_length != FFMAX((int)ceil(filter_size/factor), 1) || c->format != format | |
| 303 | + || c->filter_length != filter_length || c->format != format | |
| 324 | 304 | || c->filter_type != filter_type || c->kaiser_beta != kaiser_beta) { |
| 325 | 305 | c = av_mallocz(sizeof(*c)); |
| 326 | 306 | if (!c) |
| @@ -354,7 +334,7 @@ static ResampleContext *resample_init(ResampleContext *c, int out_rate, int in_r · 27 unmodified lines | ||
| 354 | 334 | c->phase_count = phase_count; |
| 355 | 335 | c->linear = linear; |
| 356 | 336 | c->factor = factor; |
| 357 | − c->filter_length = FFMAX((int)ceil(filter_size/factor), 1); | |
| 337 | + c->filter_length = filter_length; | |
| 358 | 338 | c->filter_alloc = FFALIGN(c->filter_length, 8); |
| 359 | 339 | c->filter_bank = av_calloc(c->filter_alloc, (phase_count+1)*c->felem_size); |
| 360 | 340 | c->filter_type = filter_type; |
| @@ -26,16 +26,16 @@ endef · 25 unmodified lines | ||
| 26 | 26 | #you can use this if you need to update it! |
| 27 | 27 | #make -k `make fate-list | grep swr` | egrep 'TEST|stddev' | tr '\n' '@' | sed 's#TEST *\([^@]*\)@stddev: *\([0-9.]*\)[^b@]*bytes: *\([0-9]*\) */ *\([0-9]*\)@#fate-\1: CMP_TARGET = \2@fate-\1: SIZE_TOLERANCE = \3 - \4@@#g' | tr '@' '\n' |
| 28 | 28 | |
| 29 | −fate-swr-resample-dblp-2626-44100: CMP_TARGET = 1352.69 | |
| 29 | +fate-swr-resample-dblp-2626-44100: CMP_TARGET = 1352.67 | |
| 30 | 30 | fate-swr-resample-dblp-2626-44100: SIZE_TOLERANCE = 31512 - 20480 |
| 31 | 31 | |
| 32 | 32 | fate-swr-resample-dblp-2626-48000: CMP_TARGET = 1352.66 |
| 33 | 33 | fate-swr-resample-dblp-2626-48000: SIZE_TOLERANCE = 31512 - 20480 |
| 34 | 34 | |
| 35 | −fate-swr-resample-dblp-2626-8000: CMP_TARGET = 1353.09 | |
| 35 | +fate-swr-resample-dblp-2626-8000: CMP_TARGET = 1352.56 | |
| 36 | 36 | fate-swr-resample-dblp-2626-8000: SIZE_TOLERANCE = 31512 - 20482 |
| 37 | 37 | |
| 38 | −fate-swr-resample-dblp-2626-96000: CMP_TARGET = 1352.68 | |
| 38 | +fate-swr-resample-dblp-2626-96000: CMP_TARGET = 1352.67 | |
| 39 | 39 | fate-swr-resample-dblp-2626-96000: SIZE_TOLERANCE = 31512 - 20480 |
| 40 | 40 | |
| 41 | 41 | fate-swr-resample-dblp-44100-2626: CMP_TARGET = 185.82 |
| @@ -62,7 +62,7 @@ fate-swr-resample-dblp-48000-8000: SIZE_TOLERANCE = 576000 - 20484 · 20 unmodified lines | ||
| 62 | 62 | fate-swr-resample-dblp-48000-96000: CMP_TARGET = 0.47 |
| 63 | 63 | fate-swr-resample-dblp-48000-96000: SIZE_TOLERANCE = 576000 - 20480 |
| 64 | 64 | |
| 65 | −fate-swr-resample-dblp-8000-2626: CMP_TARGET = 2506.02 | |
| 65 | +fate-swr-resample-dblp-8000-2626: CMP_TARGET = 2503.33 | |
| 66 | 66 | fate-swr-resample-dblp-8000-2626: SIZE_TOLERANCE = 96000 - 20486 |
| 67 | 67 | |
| 68 | 68 | fate-swr-resample-dblp-8000-44100: CMP_TARGET = 15.09 |
| @@ -74,7 +74,7 @@ fate-swr-resample-dblp-8000-48000: SIZE_TOLERANCE = 96000 - 20480 · 5 unmodified lines | ||
| 74 | 74 | fate-swr-resample-dblp-8000-96000: CMP_TARGET = 13.81 |
| 75 | 75 | fate-swr-resample-dblp-8000-96000: SIZE_TOLERANCE = 96000 - 20480 |
| 76 | 76 | |
| 77 | −fate-swr-resample-dblp-96000-2626: CMP_TARGET = 675.08 | |
| 77 | +fate-swr-resample-dblp-96000-2626: CMP_TARGET = 675.07 | |
| 78 | 78 | fate-swr-resample-dblp-96000-2626: SIZE_TOLERANCE = 1152000 - 20474 |
| 79 | 79 | |
| 80 | 80 | fate-swr-resample-dblp-96000-44100: CMP_TARGET = 1.44 |
| @@ -86,16 +86,16 @@ fate-swr-resample-dblp-96000-48000: SIZE_TOLERANCE = 1152000 - 20480 · 5 unmodified lines | ||
| 86 | 86 | fate-swr-resample-dblp-96000-8000: CMP_TARGET = 58.57 |
| 87 | 87 | fate-swr-resample-dblp-96000-8000: SIZE_TOLERANCE = 1152000 - 20496 |
| 88 | 88 | |
| 89 | −fate-swr-resample-fltp-2626-44100: CMP_TARGET = 1352.69 | |
| 89 | +fate-swr-resample-fltp-2626-44100: CMP_TARGET = 1352.67 | |
| 90 | 90 | fate-swr-resample-fltp-2626-44100: SIZE_TOLERANCE = 31512 - 20480 |
| 91 | 91 | |
| 92 | 92 | fate-swr-resample-fltp-2626-48000: CMP_TARGET = 1352.66 |
| 93 | 93 | fate-swr-resample-fltp-2626-48000: SIZE_TOLERANCE = 31512 - 20480 |
| 94 | 94 | |
| 95 | −fate-swr-resample-fltp-2626-8000: CMP_TARGET = 1353.09 | |
| 95 | +fate-swr-resample-fltp-2626-8000: CMP_TARGET = 1352.56 | |
| 96 | 96 | fate-swr-resample-fltp-2626-8000: SIZE_TOLERANCE = 31512 - 20482 |
| 97 | 97 | |
| 98 | −fate-swr-resample-fltp-2626-96000: CMP_TARGET = 1352.68 | |
| 98 | +fate-swr-resample-fltp-2626-96000: CMP_TARGET = 1352.67 | |
| 99 | 99 | fate-swr-resample-fltp-2626-96000: SIZE_TOLERANCE = 31512 - 20480 |
| 100 | 100 | |
| 101 | 101 | fate-swr-resample-fltp-44100-2626: CMP_TARGET = 185.82 |
| @@ -122,7 +122,7 @@ fate-swr-resample-fltp-48000-8000: SIZE_TOLERANCE = 576000 - 20484 · 20 unmodified lines | ||
| 122 | 122 | fate-swr-resample-fltp-48000-96000: CMP_TARGET = 0.47 |
| 123 | 123 | fate-swr-resample-fltp-48000-96000: SIZE_TOLERANCE = 576000 - 20480 |
| 124 | 124 | |
| 125 | −fate-swr-resample-fltp-8000-2626: CMP_TARGET = 2506.02 | |
| 125 | +fate-swr-resample-fltp-8000-2626: CMP_TARGET = 2503.33 | |
| 126 | 126 | fate-swr-resample-fltp-8000-2626: SIZE_TOLERANCE = 96000 - 20486 |
| 127 | 127 | |
| 128 | 128 | fate-swr-resample-fltp-8000-44100: CMP_TARGET = 15.09 |
| @@ -134,7 +134,7 @@ fate-swr-resample-fltp-8000-48000: SIZE_TOLERANCE = 96000 - 20480 · 5 unmodified lines | ||
| 134 | 134 | fate-swr-resample-fltp-8000-96000: CMP_TARGET = 13.81 |
| 135 | 135 | fate-swr-resample-fltp-8000-96000: SIZE_TOLERANCE = 96000 - 20480 |
| 136 | 136 | |
| 137 | −fate-swr-resample-fltp-96000-2626: CMP_TARGET = 675.08 | |
| 137 | +fate-swr-resample-fltp-96000-2626: CMP_TARGET = 675.07 | |
| 138 | 138 | fate-swr-resample-fltp-96000-2626: SIZE_TOLERANCE = 1152000 - 20474 |
| 139 | 139 | |
| 140 | 140 | fate-swr-resample-fltp-96000-44100: CMP_TARGET = 1.44 |
| @@ -146,16 +146,16 @@ fate-swr-resample-fltp-96000-48000: SIZE_TOLERANCE = 1152000 - 20480 · 5 unmodified lines | ||
| 146 | 146 | fate-swr-resample-fltp-96000-8000: CMP_TARGET = 58.57 |
| 147 | 147 | fate-swr-resample-fltp-96000-8000: SIZE_TOLERANCE = 1152000 - 20496 |
| 148 | 148 | |
| 149 | −fate-swr-resample-s16p-2626-44100: CMP_TARGET = 1393.02 | |
| 149 | +fate-swr-resample-s16p-2626-44100: CMP_TARGET = 1392.98 | |
| 150 | 150 | fate-swr-resample-s16p-2626-44100: SIZE_TOLERANCE = 31512 - 20480 |
| 151 | 151 | |
| 152 | 152 | fate-swr-resample-s16p-2626-48000: CMP_TARGET = 1393.01 |
| 153 | 153 | fate-swr-resample-s16p-2626-48000: SIZE_TOLERANCE = 31512 - 20480 |
| 154 | 154 | |
| 155 | −fate-swr-resample-s16p-2626-8000: CMP_TARGET = 1393.91 | |
| 155 | +fate-swr-resample-s16p-2626-8000: CMP_TARGET = 1393.36 | |
| 156 | 156 | fate-swr-resample-s16p-2626-8000: SIZE_TOLERANCE = 31512 - 20482 |
| 157 | 157 | |
| 158 | −fate-swr-resample-s16p-2626-96000: CMP_TARGET = 1393.09 | |
| 158 | +fate-swr-resample-s16p-2626-96000: CMP_TARGET = 1393.07 | |
| 159 | 159 | fate-swr-resample-s16p-2626-96000: SIZE_TOLERANCE = 31512 - 20480 |
| 160 | 160 | |
| 161 | 161 | fate-swr-resample-s16p-44100-2626: CMP_TARGET = 185.84 |
| @@ -182,7 +182,7 @@ fate-swr-resample-s16p-48000-8000: SIZE_TOLERANCE = 576000 - 20484 · 20 unmodified lines | ||
| 182 | 182 | fate-swr-resample-s16p-48000-96000: CMP_TARGET = 0.73 |
| 183 | 183 | fate-swr-resample-s16p-48000-96000: SIZE_TOLERANCE = 576000 - 20480 |
| 184 | 184 | |
| 185 | −fate-swr-resample-s16p-8000-2626: CMP_TARGET = 2506.02 | |
| 185 | +fate-swr-resample-s16p-8000-2626: CMP_TARGET = 2503.32 | |
| 186 | 186 | fate-swr-resample-s16p-8000-2626: SIZE_TOLERANCE = 96000 - 20486 |
| 187 | 187 | |
| 188 | 188 | fate-swr-resample-s16p-8000-44100: CMP_TARGET = 15.13 |
| @@ -206,16 +206,16 @@ fate-swr-resample-s16p-96000-48000: SIZE_TOLERANCE = 1152000 - 20480 · 17 unmodified lines | ||
| 206 | 206 | fate-swr-resample-s16p-96000-8000: CMP_TARGET = 58.60 |
| 207 | 207 | fate-swr-resample-s16p-96000-8000: SIZE_TOLERANCE = 1152000 - 20496 |
| 208 | 208 | |
| 209 | −fate-swr-resample-s32p-2626-44100: CMP_TARGET = 1393.02 | |
| 209 | +fate-swr-resample-s32p-2626-44100: CMP_TARGET = 1392.99 | |
| 210 | 210 | fate-swr-resample-s32p-2626-44100: SIZE_TOLERANCE = 31512 - 20480 |
| 211 | 211 | |
| 212 | 212 | fate-swr-resample-s32p-2626-48000: CMP_TARGET = 1393.01 |
| 213 | 213 | fate-swr-resample-s32p-2626-48000: SIZE_TOLERANCE = 31512 - 20480 |
| 214 | 214 | |
| 215 | −fate-swr-resample-s32p-2626-8000: CMP_TARGET = 1393.90 | |
| 215 | +fate-swr-resample-s32p-2626-8000: CMP_TARGET = 1393.36 | |
| 216 | 216 | fate-swr-resample-s32p-2626-8000: SIZE_TOLERANCE = 31512 - 20482 |
| 217 | 217 | |
| 218 | −fate-swr-resample-s32p-2626-96000: CMP_TARGET = 1393.01 | |
| 218 | +fate-swr-resample-s32p-2626-96000: CMP_TARGET = 1393.00 | |
| 219 | 219 | fate-swr-resample-s32p-2626-96000: SIZE_TOLERANCE = 31512 - 20480 |
| 220 | 220 | |
| 221 | 221 | fate-swr-resample-s32p-44100-2626: CMP_TARGET = 185.82 |
| @@ -242,7 +242,7 @@ fate-swr-resample-s32p-48000-8000: SIZE_TOLERANCE = 576000 - 20484 · 20 unmodified lines | ||
| 242 | 242 | fate-swr-resample-s32p-48000-96000: CMP_TARGET = 0.47 |
| 243 | 243 | fate-swr-resample-s32p-48000-96000: SIZE_TOLERANCE = 576000 - 20480 |
| 244 | 244 | |
| 245 | −fate-swr-resample-s32p-8000-2626: CMP_TARGET = 2506.02 | |
| 245 | +fate-swr-resample-s32p-8000-2626: CMP_TARGET = 2503.33 | |
| 246 | 246 | fate-swr-resample-s32p-8000-2626: SIZE_TOLERANCE = 96000 - 20486 |
| 247 | 247 | |
| 248 | 248 | fate-swr-resample-s32p-8000-44100: CMP_TARGET = 15.09 |
| @@ -254,7 +254,7 @@ fate-swr-resample-s32p-8000-48000: SIZE_TOLERANCE = 96000 - 20480 · 5 unmodified lines | ||
| 254 | 254 | fate-swr-resample-s32p-8000-96000: CMP_TARGET = 13.81 |
| 255 | 255 | fate-swr-resample-s32p-8000-96000: SIZE_TOLERANCE = 96000 - 20480 |
| 256 | 256 | |
| 257 | −fate-swr-resample-s32p-96000-2626: CMP_TARGET = 675.08 | |
| 257 | +fate-swr-resample-s32p-96000-2626: CMP_TARGET = 675.07 | |
| 258 | 258 | fate-swr-resample-s32p-96000-2626: SIZE_TOLERANCE = 1152000 - 20474 |
| 259 | 259 | |
| 260 | 260 | fate-swr-resample-s32p-96000-44100: CMP_TARGET = 1.44 |
| @@ -389,16 +389,16 @@ fate-swr-resample_exact-$(3)-$(1)-$(2): FUZZ = 0.1 · 128 unmodified lines | ||
| 389 | 389 | fate-swr-resample_exact-$(3)-$(1)-$(2): REF = tests/data/asynth-$(1)-1.wav |
| 390 | 390 | endef |
| 391 | 391 | |
| 392 | −fate-swr-resample_exact-dblp-2626-44100: CMP_TARGET = 1352.69 | |
| 392 | +fate-swr-resample_exact-dblp-2626-44100: CMP_TARGET = 1352.67 | |
| 393 | 393 | fate-swr-resample_exact-dblp-2626-44100: SIZE_TOLERANCE = 31512 - 20480 |
| 394 | 394 | |
| 395 | 395 | fate-swr-resample_exact-dblp-2626-48000: CMP_TARGET = 1352.66 |
| 396 | 396 | fate-swr-resample_exact-dblp-2626-48000: SIZE_TOLERANCE = 31512 - 20480 |
| 397 | 397 | |
| 398 | −fate-swr-resample_exact-dblp-2626-8000: CMP_TARGET = 1353.09 | |
| 398 | +fate-swr-resample_exact-dblp-2626-8000: CMP_TARGET = 1352.56 | |
| 399 | 399 | fate-swr-resample_exact-dblp-2626-8000: SIZE_TOLERANCE = 31512 - 20482 |
| 400 | 400 | |
| 401 | −fate-swr-resample_exact-dblp-2626-96000: CMP_TARGET = 1352.68 | |
| 401 | +fate-swr-resample_exact-dblp-2626-96000: CMP_TARGET = 1352.67 | |
| 402 | 402 | fate-swr-resample_exact-dblp-2626-96000: SIZE_TOLERANCE = 31512 - 20480 |
| 403 | 403 | |
| 404 | 404 | fate-swr-resample_exact-dblp-44100-2626: CMP_TARGET = 185.82 |
| @@ -425,7 +425,7 @@ fate-swr-resample_exact-dblp-48000-8000: SIZE_TOLERANCE = 576000 - 20484 · 20 unmodified lines | ||
| 425 | 425 | fate-swr-resample_exact-dblp-48000-96000: CMP_TARGET = 0.47 |
| 426 | 426 | fate-swr-resample_exact-dblp-48000-96000: SIZE_TOLERANCE = 576000 - 20480 |
| 427 | 427 | |
| 428 | −fate-swr-resample_exact-dblp-8000-2626: CMP_TARGET = 2506.02 | |
| 428 | +fate-swr-resample_exact-dblp-8000-2626: CMP_TARGET = 2503.33 | |
| 429 | 429 | fate-swr-resample_exact-dblp-8000-2626: SIZE_TOLERANCE = 96000 - 20486 |
| 430 | 430 | |
| 431 | 431 | fate-swr-resample_exact-dblp-8000-44100: CMP_TARGET = 14.59 |
| @@ -437,7 +437,7 @@ fate-swr-resample_exact-dblp-8000-48000: SIZE_TOLERANCE = 96000 - 20480 · 5 unmodified lines | ||
| 437 | 437 | fate-swr-resample_exact-dblp-8000-96000: CMP_TARGET = 13.62 |
| 438 | 438 | fate-swr-resample_exact-dblp-8000-96000: SIZE_TOLERANCE = 96000 - 20480 |
| 439 | 439 | |
| 440 | −fate-swr-resample_exact-dblp-96000-2626: CMP_TARGET = 675.08 | |
| 440 | +fate-swr-resample_exact-dblp-96000-2626: CMP_TARGET = 675.07 | |
| 441 | 441 | fate-swr-resample_exact-dblp-96000-2626: SIZE_TOLERANCE = 1152000 - 20474 |
| 442 | 442 | |
| 443 | 443 | fate-swr-resample_exact-dblp-96000-44100: CMP_TARGET = 1.23 |
| @@ -449,16 +449,16 @@ fate-swr-resample_exact-dblp-96000-48000: SIZE_TOLERANCE = 1152000 - 20480 · 5 unmodified lines | ||
| 449 | 449 | fate-swr-resample_exact-dblp-96000-8000: CMP_TARGET = 58.52 |
| 450 | 450 | fate-swr-resample_exact-dblp-96000-8000: SIZE_TOLERANCE = 1152000 - 20496 |
| 451 | 451 | |
| 452 | −fate-swr-resample_exact-fltp-2626-44100: CMP_TARGET = 1352.69 | |
| 452 | +fate-swr-resample_exact-fltp-2626-44100: CMP_TARGET = 1352.67 | |
| 453 | 453 | fate-swr-resample_exact-fltp-2626-44100: SIZE_TOLERANCE = 31512 - 20480 |
| 454 | 454 | |
| 455 | 455 | fate-swr-resample_exact-fltp-2626-48000: CMP_TARGET = 1352.66 |
| 456 | 456 | fate-swr-resample_exact-fltp-2626-48000: SIZE_TOLERANCE = 31512 - 20480 |
| 457 | 457 | |
| 458 | −fate-swr-resample_exact-fltp-2626-8000: CMP_TARGET = 1353.09 | |
| 458 | +fate-swr-resample_exact-fltp-2626-8000: CMP_TARGET = 1352.56 | |
| 459 | 459 | fate-swr-resample_exact-fltp-2626-8000: SIZE_TOLERANCE = 31512 - 20482 |
| 460 | 460 | |
| 461 | −fate-swr-resample_exact-fltp-2626-96000: CMP_TARGET = 1352.68 | |
| 461 | +fate-swr-resample_exact-fltp-2626-96000: CMP_TARGET = 1352.67 | |
| 462 | 462 | fate-swr-resample_exact-fltp-2626-96000: SIZE_TOLERANCE = 31512 - 20480 |
| 463 | 463 | |
| 464 | 464 | fate-swr-resample_exact-fltp-44100-2626: CMP_TARGET = 185.82 |
| @@ -485,7 +485,7 @@ fate-swr-resample_exact-fltp-48000-8000: SIZE_TOLERANCE = 576000 - 20484 · 20 unmodified lines | ||
| 485 | 485 | fate-swr-resample_exact-fltp-48000-96000: CMP_TARGET = 0.47 |
| 486 | 486 | fate-swr-resample_exact-fltp-48000-96000: SIZE_TOLERANCE = 576000 - 20480 |
| 487 | 487 | |
| 488 | −fate-swr-resample_exact-fltp-8000-2626: CMP_TARGET = 2506.02 | |
| 488 | +fate-swr-resample_exact-fltp-8000-2626: CMP_TARGET = 2503.33 | |
| 489 | 489 | fate-swr-resample_exact-fltp-8000-2626: SIZE_TOLERANCE = 96000 - 20486 |
| 490 | 490 | |
| 491 | 491 | fate-swr-resample_exact-fltp-8000-44100: CMP_TARGET = 14.59 |
| @@ -497,7 +497,7 @@ fate-swr-resample_exact-fltp-8000-48000: SIZE_TOLERANCE = 96000 - 20480 · 5 unmodified lines | ||
| 497 | 497 | fate-swr-resample_exact-fltp-8000-96000: CMP_TARGET = 13.62 |
| 498 | 498 | fate-swr-resample_exact-fltp-8000-96000: SIZE_TOLERANCE = 96000 - 20480 |
| 499 | 499 | |
| 500 | −fate-swr-resample_exact-fltp-96000-2626: CMP_TARGET = 675.08 | |
| 500 | +fate-swr-resample_exact-fltp-96000-2626: CMP_TARGET = 675.07 | |
| 501 | 501 | fate-swr-resample_exact-fltp-96000-2626: SIZE_TOLERANCE = 1152000 - 20474 |
| 502 | 502 | |
| 503 | 503 | fate-swr-resample_exact-fltp-96000-44100: CMP_TARGET = 1.23 |
| @@ -509,16 +509,16 @@ fate-swr-resample_exact-fltp-96000-48000: SIZE_TOLERANCE = 1152000 - 20480 · 5 unmodified lines | ||
| 509 | 509 | fate-swr-resample_exact-fltp-96000-8000: CMP_TARGET = 58.52 |
| 510 | 510 | fate-swr-resample_exact-fltp-96000-8000: SIZE_TOLERANCE = 1152000 - 20496 |
| 511 | 511 | |
| 512 | −fate-swr-resample_exact-s16p-2626-44100: CMP_TARGET = 1393.02 | |
| 512 | +fate-swr-resample_exact-s16p-2626-44100: CMP_TARGET = 1392.98 | |
| 513 | 513 | fate-swr-resample_exact-s16p-2626-44100: SIZE_TOLERANCE = 31512 - 20480 |
| 514 | 514 | |
| 515 | 515 | fate-swr-resample_exact-s16p-2626-48000: CMP_TARGET = 1393.01 |
| 516 | 516 | fate-swr-resample_exact-s16p-2626-48000: SIZE_TOLERANCE = 31512 - 20480 |
| 517 | 517 | |
| 518 | −fate-swr-resample_exact-s16p-2626-8000: CMP_TARGET = 1393.91 | |
| 518 | +fate-swr-resample_exact-s16p-2626-8000: CMP_TARGET = 1393.36 | |
| 519 | 519 | fate-swr-resample_exact-s16p-2626-8000: SIZE_TOLERANCE = 31512 - 20482 |
| 520 | 520 | |
| 521 | −fate-swr-resample_exact-s16p-2626-96000: CMP_TARGET = 1393.09 | |
| 521 | +fate-swr-resample_exact-s16p-2626-96000: CMP_TARGET = 1393.07 | |
| 522 | 522 | fate-swr-resample_exact-s16p-2626-96000: SIZE_TOLERANCE = 31512 - 20480 |
| 523 | 523 | |
| 524 | 524 | fate-swr-resample_exact-s16p-44100-2626: CMP_TARGET = 185.84 |
| @@ -545,7 +545,7 @@ fate-swr-resample_exact-s16p-48000-8000: SIZE_TOLERANCE = 576000 - 20484 · 20 unmodified lines | ||
| 545 | 545 | fate-swr-resample_exact-s16p-48000-96000: CMP_TARGET = 0.73 |
| 546 | 546 | fate-swr-resample_exact-s16p-48000-96000: SIZE_TOLERANCE = 576000 - 20480 |
| 547 | 547 | |
| 548 | −fate-swr-resample_exact-s16p-8000-2626: CMP_TARGET = 2506.02 | |
| 548 | +fate-swr-resample_exact-s16p-8000-2626: CMP_TARGET = 2503.32 | |
| 549 | 549 | fate-swr-resample_exact-s16p-8000-2626: SIZE_TOLERANCE = 96000 - 20486 |
| 550 | 550 | |
| 551 | 551 | fate-swr-resample_exact-s16p-8000-44100: CMP_TARGET = 14.63 |
| @@ -569,16 +569,16 @@ fate-swr-resample_exact-s16p-96000-48000: SIZE_TOLERANCE = 1152000 - 20480 · 17 unmodified lines | ||
| 569 | 569 | fate-swr-resample_exact-s16p-96000-8000: CMP_TARGET = 58.56 |
| 570 | 570 | fate-swr-resample_exact-s16p-96000-8000: SIZE_TOLERANCE = 1152000 - 20496 |
| 571 | 571 | |
| 572 | −fate-swr-resample_exact-s32p-2626-44100: CMP_TARGET = 1393.02 | |
| 572 | +fate-swr-resample_exact-s32p-2626-44100: CMP_TARGET = 1392.99 | |
| 573 | 573 | fate-swr-resample_exact-s32p-2626-44100: SIZE_TOLERANCE = 31512 - 20480 |
| 574 | 574 | |
| 575 | 575 | fate-swr-resample_exact-s32p-2626-48000: CMP_TARGET = 1393.01 |
| 576 | 576 | fate-swr-resample_exact-s32p-2626-48000: SIZE_TOLERANCE = 31512 - 20480 |
| 577 | 577 | |
| 578 | −fate-swr-resample_exact-s32p-2626-8000: CMP_TARGET = 1393.90 | |
| 578 | +fate-swr-resample_exact-s32p-2626-8000: CMP_TARGET = 1393.36 | |
| 579 | 579 | fate-swr-resample_exact-s32p-2626-8000: SIZE_TOLERANCE = 31512 - 20482 |
| 580 | 580 | |
| 581 | −fate-swr-resample_exact-s32p-2626-96000: CMP_TARGET = 1393.01 | |
| 581 | +fate-swr-resample_exact-s32p-2626-96000: CMP_TARGET = 1393.00 | |
| 582 | 582 | fate-swr-resample_exact-s32p-2626-96000: SIZE_TOLERANCE = 31512 - 20480 |
| 583 | 583 | |
| 584 | 584 | fate-swr-resample_exact-s32p-44100-2626: CMP_TARGET = 185.82 |
| @@ -605,7 +605,7 @@ fate-swr-resample_exact-s32p-48000-8000: SIZE_TOLERANCE = 576000 - 20484 · 20 unmodified lines | ||
| 605 | 605 | fate-swr-resample_exact-s32p-48000-96000: CMP_TARGET = 0.47 |
| 606 | 606 | fate-swr-resample_exact-s32p-48000-96000: SIZE_TOLERANCE = 576000 - 20480 |
| 607 | 607 | |
| 608 | −fate-swr-resample_exact-s32p-8000-2626: CMP_TARGET = 2506.02 | |
| 608 | +fate-swr-resample_exact-s32p-8000-2626: CMP_TARGET = 2503.33 | |
| 609 | 609 | fate-swr-resample_exact-s32p-8000-2626: SIZE_TOLERANCE = 96000 - 20486 |
| 610 | 610 | |
| 611 | 611 | fate-swr-resample_exact-s32p-8000-44100: CMP_TARGET = 14.59 |
| @@ -617,7 +617,7 @@ fate-swr-resample_exact-s32p-8000-48000: SIZE_TOLERANCE = 96000 - 20480 · 5 unmodified lines | ||
| 617 | 617 | fate-swr-resample_exact-s32p-8000-96000: CMP_TARGET = 13.62 |
| 618 | 618 | fate-swr-resample_exact-s32p-8000-96000: SIZE_TOLERANCE = 96000 - 20480 |
| 619 | 619 | |
| 620 | −fate-swr-resample_exact-s32p-96000-2626: CMP_TARGET = 675.08 | |
| 620 | +fate-swr-resample_exact-s32p-96000-2626: CMP_TARGET = 675.07 | |
| 621 | 621 | fate-swr-resample_exact-s32p-96000-2626: SIZE_TOLERANCE = 1152000 - 20474 |
| 622 | 622 | |
| 623 | 623 | fate-swr-resample_exact-s32p-96000-44100: CMP_TARGET = 1.23 |