aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/x86/simple_idct.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-07-19 13:56:08 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-07-19 13:56:29 +0200
commit776647360db37628ccfcaf9a624544b2be45eb7a (patch)
tree540ad3ad2b6e8793bc50e7d8e9708fe473c924ca /libavcodec/x86/simple_idct.h
parent6da96a9fc9cf423994eb6b16c241788c759444f4 (diff)
parent5dcc201505f71b1e73e9eef12ce89d4eed252ad0 (diff)
downloadffmpeg-776647360db37628ccfcaf9a624544b2be45eb7a.tar.gz
Merge commit '5dcc201505f71b1e73e9eef12ce89d4eed252ad0'
* commit '5dcc201505f71b1e73e9eef12ce89d4eed252ad0': simple_idct: Move x86-specific declarations to a header in the x86 directory Conflicts: libavcodec/x86/simple_idct.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/x86/simple_idct.h')
-rw-r--r--libavcodec/x86/simple_idct.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/libavcodec/x86/simple_idct.h b/libavcodec/x86/simple_idct.h
new file mode 100644
index 0000000000..4a98732503
--- /dev/null
+++ b/libavcodec/x86/simple_idct.h
@@ -0,0 +1,28 @@
+/*
+ * 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_X86_SIMPLE_IDCT_H
+#define AVCODEC_X86_SIMPLE_IDCT_H
+
+#include <stdint.h>
+
+void ff_simple_idct_mmx(int16_t *block);
+void ff_simple_idct_add_mmx(uint8_t *dest, int line_size, int16_t *block);
+void ff_simple_idct_put_mmx(uint8_t *dest, int line_size, int16_t *block);
+
+#endif /* AVCODEC_X86_SIMPLE_IDCT_H */