summaryrefslogtreecommitdiff
path: root/src/iso11172-1.h
diff options
context:
space:
mode:
authordeva <deva>2005-09-15 19:31:16 +0000
committerdeva <deva>2005-09-15 19:31:16 +0000
commit0ef298aa78a315f64a6a686407f8f10694f0ea5d (patch)
treefc593bbee27eec1118d9d86131bea0757bf429ae /src/iso11172-1.h
parent2a6d51ad49faa39af5e627df605d3365503b5cb4 (diff)
*** empty log message ***
Diffstat (limited to 'src/iso11172-1.h')
-rw-r--r--src/iso11172-1.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/iso11172-1.h b/src/iso11172-1.h
index f284410..e01b45b 100644
--- a/src/iso11172-1.h
+++ b/src/iso11172-1.h
@@ -38,6 +38,23 @@
namespace ISO11172_1 {
////////////////////////////////////////////////////
+ // Types
+ ////////////////////////////////////////////////////
+ // 64 bits (8 bytes)
+ typedef struct {
+ unsigned long long int marker_bit5:1;
+ unsigned long long int mux_rate:22;
+ unsigned long long int marker_bit4:1;
+ unsigned long long int marker_bit3:1;
+ unsigned long long int system_clock_reference3:15;
+ unsigned long long int marker_bit2:1;
+ unsigned long long int system_clock_reference2:15;
+ unsigned long long int marker_bit1:1;
+ unsigned long long int system_clock_reference1:3;
+ unsigned long long int padding:4;
+ } pack_header;
+
+ ////////////////////////////////////////////////////
// Constants
////////////////////////////////////////////////////
const char pack_start_code[] = "\x00\x00\x01\xBA";