summaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-h263.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-10 20:34:10 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-10 20:34:10 +0000
commite4ba6dbc3f1e76890b22773807ea37fe8fa2b1bc (patch)
tree68cb5ef9081156392f1dd62a00c6ccc1451b93df /epan/dissectors/packet-h263.h
parentInitial commit. (diff)
downloadwireshark-e4ba6dbc3f1e76890b22773807ea37fe8fa2b1bc.tar.xz
wireshark-e4ba6dbc3f1e76890b22773807ea37fe8fa2b1bc.zip
Adding upstream version 4.2.2.upstream/4.2.2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'epan/dissectors/packet-h263.h')
-rw-r--r--epan/dissectors/packet-h263.h40
1 files changed, 40 insertions, 0 deletions
diff --git a/epan/dissectors/packet-h263.h b/epan/dissectors/packet-h263.h
new file mode 100644
index 00000000..add3b75e
--- /dev/null
+++ b/epan/dissectors/packet-h263.h
@@ -0,0 +1,40 @@
+/* packet-h263.h
+ *
+ * Common variables for H.263 dissectors
+ *
+ * Copyright 2003 Niklas Ogren <niklas.ogren@7l.se>
+ * Seven Levels Consultants AB
+ *
+ * Copyright 2008 Richard van der Hoff, MX Telecom
+ * <richardv@mxtelecom.com>
+ *
+ * Wireshark - Network traffic analyzer
+ * By Gerald Combs <gerald@wireshark.org>
+ * Copyright 1998 Gerald Combs
+ *
+ * Copied structure from packet-h261.c
+ *
+ * SPDX-License-Identifier: GPL-2.0-or-later
+ */
+
+#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
+