\r
struct video_format_desc sealed\r
{\r
- video_format format; // video output format\r
+ video_format format; \r
\r
- int width; // output frame width\r
- int height; // output frame height\r
+ int width; \r
+ int height; \r
int square_width;\r
int square_height;\r
field_mode field_mode; // progressive, interlaced upper field first, interlaced lower field first\r
- double fps; // actual framerate, e.g. i50 = 25 fps, p50 = 50 fps\r
+ double fps; // actual framerate = duration/time_scale, e.g. i50 = 25 fps, p50 = 50 fps\r
int time_scale;\r
int duration;\r
int field_count;\r
- int size; // output frame size in bytes \r
+ int size; // frame size in bytes \r
std::wstring name; // name of output format\r
\r
int audio_sample_rate;\r