| 2073 | } |
| 2074 | |
| 2075 | Format |
| 2076 | AppManager::findExistingFormat(int w, |
| 2077 | int h, |
| 2078 | double par) const |
| 2079 | { |
| 2080 | for (U32 i = 0; i < _imp->_formats.size(); ++i) { |
| 2081 | const Format& frmt = _imp->_formats[i]; |
| 2082 | if ( (frmt.width() == w) && (frmt.height() == h) && (frmt.getPixelAspectRatio() == par) ) { |
| 2083 | return frmt; |
| 2084 | } |
| 2085 | } |
| 2086 | |
| 2087 | return Format(); |
| 2088 | } |
| 2089 | |
| 2090 | void |
| 2091 | AppManager::setAsTopLevelInstance(int appID) |
no test coverage detected