$OpenBSD: patch-src_dvdnav_internal_h,v 1.1 2012/09/26 00:04:09 brad Exp $

Bit fields for ILVU

--- src/dvdnav_internal.h.orig	Wed Sep  5 14:23:14 2012
+++ src/dvdnav_internal.h	Wed Sep  5 14:23:26 2012
@@ -76,6 +76,14 @@ static inline int _private_gettimeofday( struct timeva
 #define DVD_VIDEO_LB_LEN 2048
 #endif
 
+typedef enum {
+  DSI_ILVU_PRE   = 1 << 15, /* set during the last 3 VOBU preceeding an interleaved block. */
+  DSI_ILVU_BLOCK = 1 << 14, /* set for all VOBU in an interleaved block */
+  DSI_ILVU_FIRST = 1 << 13, /* set for the first VOBU for a given angle or scene within a ILVU, or the first VOBU in the preparation (PREU) sequence */
+  DSI_ILVU_LAST  = 1 << 12, /* set for the last VOBU for a given angle or scene within a ILVU, or the last VOBU in the preparation (PREU) sequence */
+  DSI_ILVU_MASK  = 0xf000
+} DSI_ILVU;
+
 typedef struct read_cache_s read_cache_t;
 
 /*
