MSWSP: add two more Property Sets
[wireshark-wip.git] / epan / iax2_codec_type.h
blob31d02e683730ce1af32d59b0d21673472606f8d5
1 /* iax2_codec_type.h
2 * Defines IAX2 codec types
4 * $Id$
6 * Wireshark - Network traffic analyzer
7 * By Gerald Combs <gerald@wireshark.org>
8 * Copyright 1998 Gerald Combs
10 * This program is free software; you can redistribute it and/or
11 * modify it under the terms of the GNU General Public License
12 * as published by the Free Software Foundation; either version 2
13 * of the License, or (at your option) any later version.
15 * This program is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU General Public License for more details.
20 * You should have received a copy of the GNU General Public License
21 * along with this program; if not, write to the Free Software
22 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
25 #ifndef __IAX2_CODEC_TYPE_H__
26 #define __IAX2_CODEC_TYPE_H__
29 /* Ref: frame.h from Asterisk source */
31 /* Data formats for capabilities and frames alike */
32 /* suitable for use in iax2.codec dissector table */
33 /*! G.723.1 compression */
34 #define AST_FORMAT_G723_1 (1 << 0)
35 /*! GSM compression */
36 #define AST_FORMAT_GSM (1 << 1)
37 /*! Raw mu-law data (G.711) */
38 #define AST_FORMAT_ULAW (1 << 2)
39 /*! Raw A-law data (G.711) */
40 #define AST_FORMAT_ALAW (1 << 3)
41 /*! ADPCM (G.726, 32kbps) */
42 #define AST_FORMAT_G726_AAL2 (1 << 4)
43 /*! ADPCM (IMA) */
44 #define AST_FORMAT_ADPCM (1 << 5)
45 /*! Raw 16-bit Signed Linear (8000 Hz) PCM */
46 #define AST_FORMAT_SLINEAR (1 << 6)
47 /*! LPC10, 180 samples/frame */
48 #define AST_FORMAT_LPC10 (1 << 7)
49 /*! G.729A audio */
50 #define AST_FORMAT_G729A (1 << 8)
51 /*! SpeeX Free Compression */
52 #define AST_FORMAT_SPEEX (1 << 9)
53 /*! iLBC Free Compression */
54 #define AST_FORMAT_ILBC (1 << 10)
55 /*! ADPCM (G.726, 32kbps, RFC3551 codeword packing) */
56 #define AST_FORMAT_G726 (1 << 11)
57 /*! G.722 */
58 #define AST_FORMAT_G722 (1 << 12)
59 /*! G.722.1 (also known as Siren7, 32kbps assumed) */
60 #define AST_FORMAT_SIREN7 (1 << 13)
61 /*! G.722.1 Annex C (also known as Siren14, 48kbps assumed) */
62 #define AST_FORMAT_SIREN14 (1 << 14)
63 /*! Raw 16-bit Signed Linear (16000 Hz) PCM */
64 #define AST_FORMAT_SLINEAR16 (1 << 15)
65 /*! Maximum audio format */
66 #define AST_FORMAT_MAX_AUDIO (1 << 15)
67 /*! JPEG Images */
68 #define AST_FORMAT_JPEG (1 << 16)
69 /*! PNG Images */
70 #define AST_FORMAT_PNG (1 << 17)
71 /*! H.261 Video */
72 #define AST_FORMAT_H261 (1 << 18)
73 /*! H.263 Video */
74 #define AST_FORMAT_H263 (1 << 19)
75 /*! H.263+ Video */
76 #define AST_FORMAT_H263_PLUS (1 << 20)
77 /*! H.264 Video */
78 #define AST_FORMAT_H264 (1 << 21)
79 /*! MPEG4 Video */
80 #define AST_FORMAT_MP4_VIDEO (1 << 22)
81 /*! Max one */
82 #define AST_FORMAT_MAX_VIDEO (1 << 24)
83 /*! G.719 (64 kbps assumed) */
84 #define AST_FORMAT_G719 (1 << 32)
85 /*! SpeeX Wideband (16kHz) Free Compression */
86 #define AST_FORMAT_SPEEX16 (1 << 33)
89 /* data format for IAX_IE_DATAFORMAT ie */
90 /* suitable for use in iax2.dataformat dissector table */
91 typedef enum {
92 AST_DATAFORMAT_NULL, /* N/A: analogue call etc */
93 AST_DATAFORMAT_V110, /* ITU-T V.110 rate adaption */
94 AST_DATAFORMAT_H223_H245 /* ITU-T H.223/H.245 */
95 } iax_dataformat_t;
97 #endif