| 146 | } |
| 147 | |
| 148 | static bool detectIsPaa(const std::string& path) |
| 149 | { |
| 150 | auto dot = path.find_last_of('.'); |
| 151 | if (dot == std::string::npos) |
| 152 | return false; |
| 153 | auto ext = path.substr(dot); |
| 154 | std::transform(ext.begin(), ext.end(), ext.begin(), ::tolower); |
| 155 | return ext == ".paa"; |
| 156 | } |
| 157 | |
| 158 | // --- Pixel format converters --- |
| 159 |
no outgoing calls
no test coverage detected