mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
lavc/tests/dct/aarch64: add ff_simple_idct_neon test
This commit is contained in:
parent
4c8e528d19
commit
0c6105dde0
30
libavcodec/tests/aarch64/dct.c
Normal file
30
libavcodec/tests/aarch64/dct.c
Normal file
@ -0,0 +1,30 @@
|
||||
/*
|
||||
* This file is part of FFmpeg.
|
||||
*
|
||||
* FFmpeg is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* FFmpeg is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with FFmpeg; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include "libavcodec/aarch64/idct.h"
|
||||
|
||||
static const struct algo fdct_tab_arch[] = {
|
||||
{ 0 }
|
||||
};
|
||||
|
||||
static const struct algo idct_tab_arch[] = {
|
||||
{ "SIMPLE-NEON", ff_simple_idct_neon, FF_IDCT_PERM_PARTTRANS, AV_CPU_FLAG_NEON },
|
||||
{ 0 }
|
||||
};
|
@ -94,7 +94,9 @@ static const struct algo idct_tab[] = {
|
||||
#endif /* CONFIG_MPEG4_DECODER */
|
||||
};
|
||||
|
||||
#if ARCH_ARM
|
||||
#if ARCH_AARCH64
|
||||
#include "aarch64/dct.c"
|
||||
#elif ARCH_ARM
|
||||
#include "arm/dct.c"
|
||||
#elif ARCH_PPC
|
||||
#include "ppc/dct.c"
|
||||
|
Loading…
Reference in New Issue
Block a user