3 * Common variables for H.263 dissectors
5 * Copyright 2003 Niklas Ogren <niklas.ogren@7l.se>
6 * Seven Levels Consultants AB
8 * Copyright 2008 Richard van der Hoff, MX Telecom
9 * <richardv@mxtelecom.com>
13 * Wireshark - Network traffic analyzer
14 * By Gerald Combs <gerald@wireshark.org>
15 * Copyright 1998 Gerald Combs
17 * Copied structure from packet-h261.c
19 * This program is free software; you can redistribute it and/or
20 * modify it under the terms of the GNU General Public License
21 * as published by the Free Software Foundation; either version 2
22 * of the License, or (at your option) any later version.
24 * This program is distributed in the hope that it will be useful,
25 * but WITHOUT ANY WARRANTY; without even the implied warranty of
26 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
27 * GNU General Public License for more details.
29 * You should have received a copy of the GNU General Public License
30 * along with this program; if not, write to the Free Software
31 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
34 #ifndef __PACKET_H263_H__
35 #define __PACKET_H263_H__
37 /* Source format types */
38 #define H263_SRCFORMAT_FORB 0 /* forbidden */
39 #define H263_SRCFORMAT_SQCIF 1
40 #define H263_SRCFORMAT_QCIF 2
41 #define H263_SRCFORMAT_CIF 3
42 #define H263_SRCFORMAT_4CIF 4
43 #define H263_SRCFORMAT_16CIF 5
44 #define H263_PLUSPTYPE 7
46 extern const value_string h263_srcformat_vals
[];
48 /* XXX: these ought to be reworked to use the normal call_dissector interface. */
49 int dissect_h263_picture_layer( tvbuff_t
*tvb
, packet_info
*pinfo
, proto_tree
*tree
, gint offset
, gint length
, gboolean is_rfc4626
);
50 int dissect_h263_group_of_blocks_layer( tvbuff_t
*tvb
, proto_tree
*tree
, gint offset
, gboolean is_rfc4626
);