X-Git-Url: https://git.decadent.org.uk/gitweb/?p=videolink.git;a=blobdiff_plain;f=video.hpp;h=8319ea09fc21bf95518b3b99a6cd37a1ed1aeb64;hp=7b76b17860d86ef460071ccb44bd027a9bf758d5;hb=90012acc26c4a8210c4bce3dac69a09309cce9f8;hpb=8d0ade32b10e040e462b244332afad1a0961d25b diff --git a/video.hpp b/video.hpp index 7b76b17..8319ea0 100644 --- a/video.hpp +++ b/video.hpp @@ -3,10 +3,14 @@ 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 + { + unsigned int width, height; + unsigned int rate_numer, rate_denom; + unsigned int pixel_ratio_width, pixel_ratio_height; + }; + + extern const frame_params pal_params, ntsc_params; } #endif // !INC_VIDEO_HPP