summaryrefslogtreecommitdiffstats
path: root/libavdevice/tests
diff options
context:
space:
mode:
authorClément Bœsch <u@pkh.me>2017-03-19 16:08:27 +0100
committerClément Bœsch <u@pkh.me>2017-03-19 16:08:27 +0100
commitb2c5f5054b5cbb8bcb118632d0b62ee6006e0b85 (patch)
treeaeba38992e41ccb11a69afd7494dbdfc7ab21f0f /libavdevice/tests
parentadef752f1b187a12c0bfdfc8ce1b1ee7e5a2fb22 (diff)
parent93fed46a92bab8be176d3e67be4354189a8dbe7f (diff)
downloadffmpeg-streaming-b2c5f5054b5cbb8bcb118632d0b62ee6006e0b85.zip
ffmpeg-streaming-b2c5f5054b5cbb8bcb118632d0b62ee6006e0b85.tar.gz
Merge commit '93fed46a92bab8be176d3e67be4354189a8dbe7f'
* commit '93fed46a92bab8be176d3e67be4354189a8dbe7f': timefilter: test: Drop some disabled debug cruft Merged-by: Clément Bœsch <u@pkh.me>
Diffstat (limited to 'libavdevice/tests')
-rw-r--r--libavdevice/tests/timefilter.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/libavdevice/tests/timefilter.c b/libavdevice/tests/timefilter.c
index 7c1ed0a..9aee91c 100644
--- a/libavdevice/tests/timefilter.c
+++ b/libavdevice/tests/timefilter.c
@@ -77,20 +77,7 @@ int main(void)
}
}
} while (better);
-#if 0
- double lastfil = 9;
- TimeFilter *tf = ff_timefilter_new(1, bestpar0, bestpar1);
- for (i = 0; i < SAMPLES; i++) {
- double filtered;
- filtered = ff_timefilter_update(tf, samples[i], 1);
- printf("%f %f %f %f\n", i - samples[i] + 10, filtered - samples[i],
- samples[FFMAX(i, 1)] - samples[FFMAX(i - 1, 0)], filtered - lastfil);
- lastfil = filtered;
- }
- ff_timefilter_destroy(tf);
-#else
printf(" [%12f %11f %9f]", bestpar0, bestpar1, best_error);
-#endif
}
printf("\n");
}
OpenPOWER on IntegriCloud