vlc | branch: master | Thomas Guillem <[email protected]> | Tue Nov 21 14:38:41 2017 +0100| [b40c161a0828ca589d0d4a1a556e2ac8740f7aef] | committer: Thomas Guillem
chroma: copy: remove old debug code > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b40c161a0828ca589d0d4a1a556e2ac8740f7aef --- modules/video_chroma/copy.c | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) diff --git a/modules/video_chroma/copy.c b/modules/video_chroma/copy.c index deb7a6df40..72e6b03783 100644 --- a/modules/video_chroma/copy.c +++ b/modules/video_chroma/copy.c @@ -1019,29 +1019,17 @@ static picture_t *pic_new_unaligned(const video_format_t *fmt) int main(void) { + alarm(10); + unsigned cpu = vlc_CPU(); -#if defined (COPY_TEST_SSE4) - if (!vlc_CPU_SSE4_1()) - { - fprintf(stderr, "WARNING: could not test SSE4\n"); - return 0; - } -#elif defined (COPY_TEST_SSE3) - if (!vlc_CPU_SSSE3()) - { - fprintf(stderr, "WARNING: could not test SSSE3\n"); - return 0; - } -#elif defined (COPY_TEST_SSE2) +#ifndef COPY_TEST_NOOTPIM if (!vlc_CPU_SSE2()) { - fprintf(stderr, "WARNING: could not test SSE2\n"); + fprintf(stderr, "WARNING: could not test SSE\n"); return 0; } #endif - alarm(10); - for (size_t i = 0; i < NB_CONVS; ++i) { const struct test_conv *conv = &convs[i]; _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
