aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2013-02-07 21:33:31 +0100
committerDiego Biurrun <diego@biurrun.de>2013-02-07 22:08:19 +0100
commit75d5156ac1526c732464d11329cd63a0258b1cae (patch)
treedb6156100b38e0fb968f79df8174165510cf7c4a /libavcodec
parent6a4430407404bfe55581e66a86a496c9adf6fb44 (diff)
downloadffmpeg-75d5156ac1526c732464d11329cd63a0258b1cae.tar.gz
dsputil: Move ff_svq3 function declarations to a separate header
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/dsputil.h3
-rw-r--r--libavcodec/h264.c1
-rw-r--r--libavcodec/svq3.c1
-rw-r--r--libavcodec/svq3.h27
4 files changed, 29 insertions, 3 deletions
diff --git a/libavcodec/dsputil.h b/libavcodec/dsputil.h
index 8b42eee638..aadb9a811a 100644
--- a/libavcodec/dsputil.h
+++ b/libavcodec/dsputil.h
@@ -50,9 +50,6 @@ void ff_fdct_mmx(int16_t *block);
void ff_fdct_mmxext(int16_t *block);
void ff_fdct_sse2(int16_t *block);
-void ff_svq3_luma_dc_dequant_idct_c(int16_t *output, int16_t *input, int qp);
-void ff_svq3_add_idct_c(uint8_t *dst, int16_t *block, int stride, int qp, int dc);
-
/* encoding scans */
extern const uint8_t ff_alternate_horizontal_scan[64];
extern const uint8_t ff_alternate_vertical_scan[64];
diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index d52b932222..464c40338c 100644
--- a/libavcodec/h264.c
+++ b/libavcodec/h264.c
@@ -39,6 +39,7 @@
#include "golomb.h"
#include "mathops.h"
#include "rectangle.h"
+#include "svq3.h"
#include "thread.h"
#include "vdpau_internal.h"
#include "libavutil/avassert.h"
diff --git a/libavcodec/svq3.c b/libavcodec/svq3.c
index 4b5a8d03eb..2fbf40d7a8 100644
--- a/libavcodec/svq3.c
+++ b/libavcodec/svq3.c
@@ -57,6 +57,7 @@
#endif
#include "svq1.h"
+#include "svq3.h"
/**
* @file
diff --git a/libavcodec/svq3.h b/libavcodec/svq3.h
new file mode 100644
index 0000000000..8c67a23789
--- /dev/null
+++ b/libavcodec/svq3.h
@@ -0,0 +1,27 @@
+/*
+ * This file is part of Libav.
+ *
+ * Libav 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.
+ *
+ * Libav 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 Libav; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+#ifndef AVCODEC_SVQ3_H
+#define AVCODEC_SVQ3_H
+
+#include <stdint.h>
+
+void ff_svq3_luma_dc_dequant_idct_c(int16_t *output, int16_t *input, int qp);
+void ff_svq3_add_idct_c(uint8_t *dst, int16_t *block, int stride, int qp, int dc);
+
+#endif /* AVCODEC_DSPUTIL_H */