diff options
author | Ramiro Polla <ramiro.polla@gmail.com> | 2024-04-17 20:01:38 +0200 |
---|---|---|
committer | Ramiro Polla <ramiro.polla@gmail.com> | 2024-05-13 14:54:10 +0200 |
commit | d4d09c8e4220ec0872784c44b9ca299bc30244e7 (patch) | |
tree | 43c8b5ced2dfd8d1439512322ed94063b943cf46 /libavcodec/aarch64/fdct.h | |
parent | 27f6211c74f3343008669494dc2f852ea7de7754 (diff) | |
download | ffmpeg-d4d09c8e4220ec0872784c44b9ca299bc30244e7.tar.gz |
lavc/aarch64/fdct: add neon-optimized fdct for aarch64
The code is imported from libjpeg-turbo-3.0.1. The neon registers used
have been changed to avoid modifying v8-v15.
Reviewed-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavcodec/aarch64/fdct.h')
-rw-r--r-- | libavcodec/aarch64/fdct.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/libavcodec/aarch64/fdct.h b/libavcodec/aarch64/fdct.h new file mode 100644 index 0000000000..0901b53a83 --- /dev/null +++ b/libavcodec/aarch64/fdct.h @@ -0,0 +1,26 @@ +/* + * 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 + */ + +#ifndef AVCODEC_AARCH64_FDCT_H +#define AVCODEC_AARCH64_FDCT_H + +#include <stdint.h> + +void ff_fdct_neon(int16_t *block); + +#endif /* AVCODEC_AARCH64_FDCT_H */ |