summaryrefslogtreecommitdiff
path: root/libavcodec/speedhq.h
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-10-18 14:29:03 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-10-21 21:12:45 +0200
commit0d1028f63f0e1050806e3b1b69e1d8a87a975c70 (patch)
tree8444b20e61475a0b0a9e1041870a66de7693c136 /libavcodec/speedhq.h
parent1490ba6f4167f9d83a5f3a33ff44772572bce2cf (diff)
downloadffmpeg-0d1028f63f0e1050806e3b1b69e1d8a87a975c70.tar.gz
avcodec/speedhq: Rename file to speedhqdec.c, move ff_rl_speedhq out
Renaming the decoder to speedhqdec.c makes sense since we have an encoder in speedhqenc.c. Given that ff_rl_speedhq is also used by the encoder, it is kept in speedhq.c and a proper header for it is created to replace the ad-hoc declaration in speedhqenc.c. This also allows to remove the check for CONFIG_SPEEDHQ_DECODER, as it is always true when speedhqdec.c is compiled. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/speedhq.h')
-rw-r--r--libavcodec/speedhq.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/libavcodec/speedhq.h b/libavcodec/speedhq.h
new file mode 100644
index 0000000000..94879eda65
--- /dev/null
+++ b/libavcodec/speedhq.h
@@ -0,0 +1,29 @@
+/*
+ * NewTek SpeedHQ common header
+ *
+ * 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_SPEEDHQ_H
+#define AVCODEC_SPEEDHQ_H
+
+#include "rl.h"
+#include "libavutil/attributes_internal.h"
+
+extern RLTable attribute_visibility_hidden ff_rl_speedhq;
+
+#endif /* AVCODEC_SPEEDHQ_H */