| 3162 | } |
| 3163 | |
| 3164 | VideoFormatProperties parseVideoFormatProperties( tinyxml2::XMLElement const * element ) |
| 3165 | { |
| 3166 | int const line = element->GetLineNum(); |
| 3167 | std::map<std::string, std::string> attributes = getAttributes( element ); |
| 3168 | checkAttributes( "vk.xml", line, attributes, { { "struct", {} } }, {} ); |
| 3169 | checkElements( "vk.xml", line, getChildElements( element ), {}, {} ); |
| 3170 | |
| 3171 | VideoFormatProperties videoFormatProperties{ .xmlLine = line }; |
| 3172 | for ( auto const & attribute : attributes ) |
| 3173 | { |
| 3174 | if ( attribute.first == "struct" ) |
| 3175 | { |
| 3176 | checkNoList( attribute.second, line ); |
| 3177 | videoFormatProperties.structure = attribute.second; |
| 3178 | } |
| 3179 | } |
| 3180 | return videoFormatProperties; |
| 3181 | } |
| 3182 | |
| 3183 | VideoProfile parseVideoProfile( tinyxml2::XMLElement const * element ) |
| 3184 | { |
no test coverage detected