]> git.decadent.org.uk Git - videolink.git/blobdiff - video.hpp
Release versions 1.2.11 and 1.2.11-1
[videolink.git] / video.hpp
index 7b76b17860d86ef460071ccb44bd027a9bf758d5..94a21b775c352ee95d5e3f4be9e8935a5ccabc05 100644 (file)
--- a/video.hpp
+++ b/video.hpp
@@ -3,10 +3,15 @@
 
 namespace video
 {
-    const int pal_oscan_width = 720;
-    const int pal_oscan_height = 576;
-    const int ntsc_oscan_width = 720;
-    const int ntsc_oscan_height = 480;
+    struct frame_params
+    {
+       const char * common_name;
+       unsigned int width, height;
+       unsigned int rate_numer, rate_denom;
+       unsigned int pixel_ratio_width, pixel_ratio_height;
+    };
+
+    extern const frame_params frame_params_625, frame_params_525;
 }
 
 #endif // !INC_VIDEO_HPP