summaryrefslogtreecommitdiff
path: root/libavcodec/ppc/hpeldsp_altivec.h
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2014-01-29 16:06:28 -0800
committerDiego Biurrun <diego@biurrun.de>2014-03-22 06:17:29 -0700
commitae116cd3ed908d28b69d5198712217ec743d74f6 (patch)
tree047036653d336746700c5f3561a00086dc3c376d /libavcodec/ppc/hpeldsp_altivec.h
parent6655c933a887a2d20707fff657b614aa1d86a25b (diff)
ppc: dsputil: Move hpeldsp-related declarations to a separate header
Diffstat (limited to 'libavcodec/ppc/hpeldsp_altivec.h')
-rw-r--r--libavcodec/ppc/hpeldsp_altivec.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/libavcodec/ppc/hpeldsp_altivec.h b/libavcodec/ppc/hpeldsp_altivec.h
new file mode 100644
index 0000000000..98dd80ea1c
--- /dev/null
+++ b/libavcodec/ppc/hpeldsp_altivec.h
@@ -0,0 +1,34 @@
+/*
+ * Copyright (c) 2002 Brian Foley
+ * Copyright (c) 2002 Dieter Shirley
+ * Copyright (c) 2003-2004 Romain Dolbeau <romain@dolbeau.org>
+ *
+ * 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_PPC_HPELDSP_ALTIVEC_H
+#define AVCODEC_PPC_HPELDSP_ALTIVEC_H
+
+#include <stddef.h>
+#include <stdint.h>
+
+void ff_avg_pixels16_altivec(uint8_t *block, const uint8_t *pixels,
+ ptrdiff_t line_size, int h);
+void ff_put_pixels16_altivec(uint8_t *block, const uint8_t *pixels,
+ ptrdiff_t line_size, int h);
+
+#endif /* AVCODEC_PPC_HPELDSP_ALTIVEC_H */