VideoDimensions
视频尺寸。
struct VideoDimensions { int width; int height; VideoDimensions() : width(640), height(480) {} VideoDimensions(int w, int h) : width(w), height(h) {} bool operator==(const VideoDimensions& rhs) const { return width == rhs.width && height == rhs.height; } };
属性
- width
-
视频宽度,单位为像素。
- height
- 视频高度,单位为像素。