| 254 | } |
| 255 | |
| 256 | static inline int predict(int_fast16_t *src, int_fast16_t *last){ |
| 257 | const int LT= last[-1]; |
| 258 | const int T= last[ 0]; |
| 259 | const int L = src[-1]; |
| 260 | |
| 261 | return mid_pred(L, L + T - LT, T); |
| 262 | } |
| 263 | |
| 264 | static inline int get_context(FFV1Context *f, int_fast16_t *src, int_fast16_t *last, int_fast16_t *last2){ |
| 265 | const int LT= last[-1]; |
no test coverage detected