summaryrefslogtreecommitdiff
path: root/libavcodec/bintext.h
diff options
context:
space:
mode:
authorPeter Ross <pross@xvid.org>2011-09-16 04:50:26 +0200
committerMichael Niedermayer <michaelni@gmx.at>2011-09-16 05:53:14 +0200
commit07a70caba7cb2fac69bf9541914d4bffce61d1ea (patch)
treef9346e947d2275a6e495252f6b9d216bf90c12dc /libavcodec/bintext.h
parentea8de109af46ae8e6751217977ae8f7becf94ba5 (diff)
downloadffmpeg-07a70caba7cb2fac69bf9541914d4bffce61d1ea.tar.gz
Binary text decoder
Decoder and demuxer for various binary text formats. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/bintext.h')
-rw-r--r--libavcodec/bintext.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/libavcodec/bintext.h b/libavcodec/bintext.h
new file mode 100644
index 0000000000..ea834a00e3
--- /dev/null
+++ b/libavcodec/bintext.h
@@ -0,0 +1,37 @@
+/*
+ * Binary text decoder
+ * Copyright (c) 2010 Peter Ross (pross@xvid.org)
+ *
+ * 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
+ */
+
+/**
+ * @file
+ * Binary text decoder
+ */
+
+#ifndef AVCODEC_BINTEXT_H
+#define AVCODEC_BINTEXT_H
+
+/* flag values passed between avformat and avcodec;
+ * while these are identical to the XBIN flags, they are are also used
+ * for the BINTEXT and IDF decoders.
+ */
+#define BINTEXT_PALETTE 0x1
+#define BINTEXT_FONT 0x2
+
+#endif /* AVCODEC_BINTEXT_H */