aboutsummaryrefslogtreecommitdiff
path: root/libavcodec/dca.h
diff options
context:
space:
mode:
authorDiego Biurrun2007-05-03 23:50:24 +0000
committerDiego Biurrun2007-05-03 23:50:24 +0000
commit98c98e04ccae75ccaf0f3ebf18588bc0090dff8b (patch)
tree5e745b7649f4dcff0266848be37d3c4507270195 /libavcodec/dca.h
parentf5a756ef2665359752b2cfc8923b53138df31a13 (diff)
Move dca parser to its own file.
Originally committed as revision 8881 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/dca.h')
-rw-r--r--libavcodec/dca.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/libavcodec/dca.h b/libavcodec/dca.h
new file mode 100644
index 0000000000..5e9b8a9cf0
--- /dev/null
+++ b/libavcodec/dca.h
@@ -0,0 +1,29 @@
+/*
+ * DCA compatible decoder
+ * Copyright (C) 2004 Gildas Bazin
+ * Copyright (C) 2004 Benjamin Zores
+ * Copyright (C) 2006 Benjamin Larsson
+ * Copyright (C) 2007 Konstantin Shishkov
+ *
+ * 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
+ */
+
+/** DCA syncwords, also used for bitstream type detection */
+#define DCA_MARKER_RAW_BE 0x7FFE8001
+#define DCA_MARKER_RAW_LE 0xFE7F0180
+#define DCA_MARKER_14B_BE 0x1FFFE800
+#define DCA_MARKER_14B_LE 0xFF1F00E8