aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-h263.h
diff options
context:
space:
mode:
authorRichard van der Hoff <richardv@mxtelecom.com>2008-04-15 14:52:15 +0000
committerRichard van der Hoff <richardv@mxtelecom.com>2008-04-15 14:52:15 +0000
commit5dcbfbf8001aaefb9502eb77470cf5f5e244310a (patch)
tree1172cc6b9236b0f1d9862721dd51d987afb3504a /epan/dissectors/packet-h263.h
parent74a602085e368fdf86ecefd78500b4ffdf418e5d (diff)
split the various bits of h263 dissector into separate files, so that we
can see which fields belong to which bit. Also make sure that we can filter on the fields in the rfc2190 dissector by actually parsing them even when tree=NULL. svn path=/trunk/; revision=25046
Diffstat (limited to 'epan/dissectors/packet-h263.h')
-rw-r--r--epan/dissectors/packet-h263.h54
1 files changed, 54 insertions, 0 deletions
diff --git a/epan/dissectors/packet-h263.h b/epan/dissectors/packet-h263.h
new file mode 100644
index 0000000000..157a0db81a
--- /dev/null
+++ b/epan/dissectors/packet-h263.h
@@ -0,0 +1,54 @@
+/* packet-h263.h
+ *
+ * Common variables for H.263 dissectors
+ *
+ * Copyright 2003 Niklas ™gren <niklas.ogren@7l.se>
+ * Seven Levels Consultants AB
+ *
+ * Copyright 2008 Richard van der Hoff, MX Telecom
+ * <richardv@mxtelecom.com>
+ *
+ * $Id$
+ *
+ * Wireshark - Network traffic analyzer
+ * By Gerald Combs <gerald@wireshark.org>
+ * Copyright 1998 Gerald Combs
+ *
+ * Copied structure from packet-h261.c
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __PACKET_H263_H__
+#define __PACKET_H263_H__
+
+/* Source format types */
+#define H263_SRCFORMAT_FORB 0 /* forbidden */
+#define H263_SRCFORMAT_SQCIF 1
+#define H263_SRCFORMAT_QCIF 2
+#define H263_SRCFORMAT_CIF 3
+#define H263_SRCFORMAT_4CIF 4
+#define H263_SRCFORMAT_16CIF 5
+#define H263_PLUSPTYPE 7
+
+extern const value_string h263_srcformat_vals[];
+
+/* XXX: these ought to be reworked to use the normal call_dissector interface. */
+int dissect_h263_picture_layer( tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, gint offset, gint length, gboolean is_rfc4626);
+int dissect_h263_group_of_blocks_layer( tvbuff_t *tvb, proto_tree *tree, gint offset, gboolean is_rfc4626);
+
+
+#endif
+