diff options
Diffstat (limited to 'src/iso11172-1.h')
-rw-r--r-- | src/iso11172-1.h | 17 |
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"; |