Return a longer format name (1920x1080p @ 29.97 fps (16:9))
| 205 | |
| 206 | // Return a longer format name (1920x1080p @ 29.97 fps (16:9)) |
| 207 | std::string Profile::LongName() { |
| 208 | std::string progressive_str = info.interlaced_frame ? "i" : "p"; |
| 209 | std::string fps_string = formattedFPS(true); |
| 210 | std::string result = std::to_string(info.width) + "x" + std::to_string(info.height) + |
| 211 | progressive_str + " @ " + fps_string + |
| 212 | " fps (" + std::to_string(info.display_ratio.num) + ":" + |
| 213 | std::to_string(info.display_ratio.den) + ")"; |
| 214 | |
| 215 | if (info.spherical) |
| 216 | result += " 360°"; |
| 217 | return result; |
| 218 | } |
| 219 | |
| 220 | // Return a longer format name (1920x1080p @ 29.97 fps (16:9) HD 1080i 29.97 fps) |
| 221 | std::string Profile::LongNameWithDesc() { |