+#define BD_1920x1080_2997i 0
+#define BD_1920x1080_2500i 1
+#define BD_1920x1080_2400p 2
+#define BD_1920x1080_23976p 3
+#define BD_1280x720_5997p 4
+#define BD_1280x720_5000p 5
+#define BD_1280x720_23976p 6
+#define BD_1280x720_2400p 7
+#define BD_720x576_2500i 8
+#define BD_720x480_2997i 9
+
+static struct bd_format {
+ const char *name;
+ int w, h;
+ double framerate;
+} bd_formats[] = {
+ { "1920x1080 29.97i", 1920,1080, 29.97 },
+ { "1920x1080 25i", 1920,1080, 25 },
+ { "1920x1080 24p", 1920,1080, 24 },
+ { "1920x1080 23.976p", 1920,1080, 23.976 },
+ { "1280x720 59.97p", 1280,720, 59.97 },
+ { "1280x720 50p", 1280,720, 50 },
+ { "1280x720 23.976p", 1280,720, 23.976 },
+ { "1280x720 24p", 1280,720, 24 },
+ { "720x576 25i (PAL)", 720,576, 25 },
+ { "720x480 29.97i (NTSC)", 720,480, 29.97 },
+};
+