summaryrefslogtreecommitdiffstats
path: root/debian/transcode/transcode-1.1.7/aclib/img_internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'debian/transcode/transcode-1.1.7/aclib/img_internal.h')
-rw-r--r--debian/transcode/transcode-1.1.7/aclib/img_internal.h40
1 files changed, 40 insertions, 0 deletions
diff --git a/debian/transcode/transcode-1.1.7/aclib/img_internal.h b/debian/transcode/transcode-1.1.7/aclib/img_internal.h
new file mode 100644
index 00000000..153a2fb6
--- /dev/null
+++ b/debian/transcode/transcode-1.1.7/aclib/img_internal.h
@@ -0,0 +1,40 @@
+/*
+ * img_internal.h - imgconvert internal use header
+ * Written by Andrew Church <achurch@achurch.org>
+ *
+ * This file is part of transcode, a video stream processing tool.
+ * transcode is free software, distributable under the terms of the GNU
+ * General Public License (version 2 or later). See the file COPYING
+ * for details.
+ */
+
+#ifndef ACLIB_IMG_INTERNAL_H
+#define ACLIB_IMG_INTERNAL_H
+
+/* Type of a conversion function */
+typedef int (*ConversionFunc)(uint8_t **src, uint8_t **dest,
+ int width, int height);
+
+/* Function to register a conversion */
+extern int register_conversion(ImageFormat srcfmt, ImageFormat destfmt,
+ ConversionFunc function);
+
+/* Initialization routines */
+extern int ac_imgconvert_init(int accel);
+extern int ac_imgconvert_init_yuv_planar(int accel);
+extern int ac_imgconvert_init_yuv_packed(int accel);
+extern int ac_imgconvert_init_yuv_mixed(int accel);
+extern int ac_imgconvert_init_yuv_rgb(int accel);
+extern int ac_imgconvert_init_rgb_packed(int accel);
+
+#endif /* ACLIB_IMG_INTERNAL_H */
+
+/*
+ * Local variables:
+ * c-file-style: "stroustrup"
+ * c-file-offsets: ((case-label . *) (statement-case-intro . *))
+ * indent-tabs-mode: nil
+ * End:
+ *
+ * vim: expandtab shiftwidth=4:
+ */