5 namespace caspar { namespace core {
\r
22 struct pixel_format_desc
\r
39 plane(size_t width, size_t height, size_t channels)
\r
40 : linesize(width*channels)
\r
43 , size(width*height*channels)
\r
44 , channels(channels){}
\r
47 pixel_format_desc() : pix_fmt(pixel_format::invalid){}
\r
49 pixel_format::type pix_fmt;
\r
50 std::vector<plane> planes;
\r