| 1239 | } |
| 1240 | |
| 1241 | int64_t View::get_min_offset() |
| 1242 | { |
| 1243 | int width = get_view_width(); |
| 1244 | assert(width > 0); |
| 1245 | |
| 1246 | if (MaxViewRate > 1) |
| 1247 | return floor(width * (1 - MaxViewRate)); |
| 1248 | else |
| 1249 | return 0; |
| 1250 | } |
| 1251 | |
| 1252 | int64_t View::get_max_offset() |
| 1253 | { |
no outgoing calls
no test coverage detected