aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-h263.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2014-10-02 17:47:19 -0400
committerBill Meier <wmeier@newsguy.com>2014-10-02 22:30:52 +0000
commit482e8e565125cc8f595aa80e8ba08299f9c410fe (patch)
treec2e3ce7ba52055ee59a6fa15fbb8520493b1f962 /epan/dissectors/packet-h263.c
parent70abd39bb756c6d2567188691c29ededa6aa714e (diff)
Add editor modelines & adjust indentation/whitespace as needed.
Change-Id: Ice2d93632cd42dfcef3bfbf0e15f2a8a147278fc Reviewed-on: https://code.wireshark.org/review/4433 Reviewed-by: Bill Meier <wmeier@newsguy.com>
Diffstat (limited to 'epan/dissectors/packet-h263.c')
-rw-r--r--epan/dissectors/packet-h263.c107
1 files changed, 60 insertions, 47 deletions
diff --git a/epan/dissectors/packet-h263.c b/epan/dissectors/packet-h263.c
index a06b785cea..1b842f06b0 100644
--- a/epan/dissectors/packet-h263.c
+++ b/epan/dissectors/packet-h263.c
@@ -85,15 +85,15 @@ static gint ett_h263_optype = -1;
const value_string h263_srcformat_vals[] =
{
- { H263_SRCFORMAT_FORB, "forbidden" },
- { H263_SRCFORMAT_SQCIF, "sub-QCIF 128x96" },
- { H263_SRCFORMAT_QCIF, "QCIF 176x144" },
- { H263_SRCFORMAT_CIF, "CIF 352x288" },
- { H263_SRCFORMAT_4CIF, "4CIF 704x576" },
- { H263_SRCFORMAT_16CIF, "16CIF 1408x1152" },
- { 6, "Reserved",},
- { H263_PLUSPTYPE, "extended PTYPE" },
- { 0, NULL },
+ { H263_SRCFORMAT_FORB, "forbidden" },
+ { H263_SRCFORMAT_SQCIF, "sub-QCIF 128x96" },
+ { H263_SRCFORMAT_QCIF, "QCIF 176x144" },
+ { H263_SRCFORMAT_CIF, "CIF 352x288" },
+ { H263_SRCFORMAT_4CIF, "4CIF 704x576" },
+ { H263_SRCFORMAT_16CIF, "16CIF 1408x1152" },
+ { 6, "Reserved",},
+ { H263_PLUSPTYPE, "extended PTYPE" },
+ { 0, NULL },
};
/*
@@ -103,67 +103,67 @@ const value_string h263_srcformat_vals[] =
*/
static const value_string ext_srcformat_vals[] =
{
- { 0, "reserved" },
- { H263_SRCFORMAT_SQCIF, "sub-QCIF 128x96" },
- { H263_SRCFORMAT_QCIF, "QCIF 176x144" },
- { H263_SRCFORMAT_CIF, "CIF 352x288" },
- { H263_SRCFORMAT_4CIF, "4CIF 704x576" },
- { H263_SRCFORMAT_16CIF, "16CIF 1408x1152" },
- { 6, "Custom source format",},
- { 7, "Reserved" },
- { 0, NULL },
+ { 0, "reserved" },
+ { H263_SRCFORMAT_SQCIF, "sub-QCIF 128x96" },
+ { H263_SRCFORMAT_QCIF, "QCIF 176x144" },
+ { H263_SRCFORMAT_CIF, "CIF 352x288" },
+ { H263_SRCFORMAT_4CIF, "4CIF 704x576" },
+ { H263_SRCFORMAT_16CIF, "16CIF 1408x1152" },
+ { 6, "Custom source format",},
+ { 7, "Reserved" },
+ { 0, NULL },
};
static const value_string h263_ufep_vals[] =
{
- { 0, "Only MPPTYPE included" },
- { 1, "All extended PTYPE fields are included" },
- { 0, NULL },
+ { 0, "Only MPPTYPE included" },
+ { 1, "All extended PTYPE fields are included" },
+ { 0, NULL },
};
static const true_false_string on_off_flg = {
- "On",
- "Off"
+ "On",
+ "Off"
};
static const true_false_string picture_coding_type_flg = {
- "INTER (P-picture)",
- "INTRA (I-picture)"
+ "INTER (P-picture)",
+ "INTRA (I-picture)"
};
static const value_string picture_coding_type_vals[] =
{
- { 0, "I-Frame" },
- { 1, "P-frame" },
- { 0, NULL },
+ { 0, "I-Frame" },
+ { 1, "P-frame" },
+ { 0, NULL },
};
static const true_false_string PB_frames_mode_flg = {
- "PB-frame",
- "Normal I- or P-picture"
+ "PB-frame",
+ "Normal I- or P-picture"
};
static const true_false_string cpm_flg = {
- "On",
- "Off"
+ "On",
+ "Off"
};
static const true_false_string custom_pcf_flg = {
- "Custom PCF",
- "CIF PCF"
+ "Custom PCF",
+ "CIF PCF"
};
/* Bits 1-3 Picture Type Code:*/
static const value_string picture_type_code_vals[] =
{
- { 0, "I-picture (INTRA)" },
- { 1, "P-picture (INTER)" },
- { 2, "Improved PB-frame (see Annex M)" },
- { 3, "B-picture (see Annex O)" },
- { 4, "EI-picture (see Annex O)" },
- { 5, "EP-picture (see Annex O)" },
- { 6, "Reserved" },
- { 7, "Reserved" },
- { 0, NULL },
+ { 0, "I-picture (INTRA)" },
+ { 1, "P-picture (INTER)" },
+ { 2, "Improved PB-frame (see Annex M)" },
+ { 3, "B-picture (see Annex O)" },
+ { 4, "EI-picture (see Annex O)" },
+ { 5, "EP-picture (see Annex O)" },
+ { 6, "Reserved" },
+ { 7, "Reserved" },
+ { 0, NULL },
};
@@ -1011,16 +1011,29 @@ proto_register_h263_data(void)
},
};
- static gint *ett[] =
+ static gint *ett[] =
{
- &ett_h263_payload,
- &ett_h263_optype,
+ &ett_h263_payload,
+ &ett_h263_optype,
};
- proto_register_subtree_array(ett, array_length(ett));
+ proto_register_subtree_array(ett, array_length(ett));
proto_h263_data = proto_register_protocol("ITU-T Recommendation H.263",
"H.263", "h263");
proto_register_field_array(proto_h263_data, hf, array_length(hf));
register_dissector("h263data", dissect_h263_data, proto_h263_data);
}
+
+/*
+ * Editor modelines - http://www.wireshark.org/tools/modelines.html
+ *
+ * Local variables:
+ * c-basic-offset: 8
+ * tab-width: 8
+ * indent-tabs-mode: t
+ * End:
+ *
+ * vi: set shiftwidth=8 tabstop=8 noexpandtab:
+ * :indentSize=8:tabSize=8:noTabs=false:
+ */