summaryrefslogtreecommitdiffstats
path: root/tests/check/elements/aacparse_data.h
diff options
context:
space:
mode:
authorStefan Kost <ensonic@users.sourceforge.net>2008-11-17 09:33:50 +0000
committerStefan Kost <ensonic@users.sourceforge.net>2008-11-17 09:33:50 +0000
commit8e100b0c3d72933d1b4f70b0ebc8189cbc06b646 (patch)
tree6adaae659d9bbbce9b7880dfc3bbac56266ede17 /tests/check/elements/aacparse_data.h
parent0dd5875f421b31379de0f69d75b6cf2bd86b2eea (diff)
downloadgst-plugins-bad-8e100b0c3d72933d1b4f70b0ebc8189cbc06b646.tar.gz
gst-plugins-bad-8e100b0c3d72933d1b4f70b0ebc8189cbc06b646.tar.bz2
gst-plugins-bad-8e100b0c3d72933d1b4f70b0ebc8189cbc06b646.zip
tests/check/elements/: Add missing files.
Original commit message from CVS: * tests/check/elements/aacparse_data.h: * tests/check/elements/amrparse_data.h: Add missing files.
Diffstat (limited to 'tests/check/elements/aacparse_data.h')
-rw-r--r--tests/check/elements/aacparse_data.h52
1 files changed, 52 insertions, 0 deletions
diff --git a/tests/check/elements/aacparse_data.h b/tests/check/elements/aacparse_data.h
new file mode 100644
index 00000000..17e0914e
--- /dev/null
+++ b/tests/check/elements/aacparse_data.h
@@ -0,0 +1,52 @@
+/*
+ * GStreamer
+ *
+ * unit test data for aacparse
+ *
+ * Copyright (C) 2008 Nokia Corporation. All rights reserved.
+ *
+ * Contact: Stefan Kost <stefan.kost@nokia.com>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library 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
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
+
+#define ADIF_HEADER_LEN 4
+
+static const unsigned char adif_header[]=
+{
+ 'A','D','I','F'
+};
+
+#define ADTS_FRAME_LEN 15
+
+static const unsigned char adts_frame_mpeg2[]=
+{
+ 0xff, 0xf9, 0x4c, 0x80, 0x01, 0xff, 0xfc, 0x21, 0x10, 0xd3, 0x20, 0x0c,
+ 0x32, 0x00, 0xc7
+};
+
+static const unsigned char adts_frame_mpeg4[]=
+{
+ 0xff, 0xf1, 0x4c, 0x80, 0x01, 0xff, 0xfc, 0x21, 0x10, 0xd3, 0x20, 0x0c,
+ 0x32, 0x00, 0xc7
+};
+
+#define GARBAGE_FRAME_LEN 5
+
+static const unsigned char garbage_frame[]=
+{
+ 0xff, 0xff, 0xff, 0xff, 0xff
+};