X-Git-Url: https://git.decadent.org.uk/gitweb/?p=videolink.git;a=blobdiff_plain;f=video.hpp;h=1c546e5de164c9b34455a43119d2ccfdc50d6bac;hp=7b76b17860d86ef460071ccb44bd027a9bf758d5;hb=6afd65acff8fba3d5b98813ff040deb1261f06b2;hpb=410c2b9017bc26a7e79269c1f7fc606ad89249bb diff --git a/video.hpp b/video.hpp index 7b76b17..1c546e5 100644 --- 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 * ffmpeg_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