summaryrefslogtreecommitdiff
path: root/libavcodec/dcadct.h
diff options
context:
space:
mode:
authorfoo86 <foobaz86@gmail.com>2016-01-08 00:48:57 +0300
committerHendrik Leppkes <h.leppkes@gmail.com>2016-01-31 17:09:38 +0100
commit4a53b83691ac1c1feefe8749756b149c31ad4ccb (patch)
tree0ad6ef792bb89fb40f14619dce162e574c8295f6 /libavcodec/dcadct.h
parent9a0a3bbeaaf498061c357755443beab16b25c4f5 (diff)
avcodec/dca: add math helpers and fixed point DCT
Diffstat (limited to 'libavcodec/dcadct.h')
-rw-r--r--libavcodec/dcadct.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/libavcodec/dcadct.h b/libavcodec/dcadct.h
new file mode 100644
index 0000000000..518c9f9032
--- /dev/null
+++ b/libavcodec/dcadct.h
@@ -0,0 +1,32 @@
+/*
+ * Copyright (C) 2016 foo86
+ *
+ * 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_DCADCT_H
+#define AVCODEC_DCADCT_H
+
+#include "libavutil/common.h"
+
+typedef struct DCADCTContext {
+ void (*imdct_half[2])(int32_t *output, const int32_t *input);
+} DCADCTContext;
+
+av_cold void ff_dcadct_init(DCADCTContext *c);
+
+#endif