| 390 | } |
| 391 | |
| 392 | static int put_runcode(PutBitContext *pb, int count, const Runbook *const rb) |
| 393 | { |
| 394 | while (count > 0) { |
| 395 | const int index = FFMIN(320, count); |
| 396 | |
| 397 | put_bits(pb, rb[index].size, rb[index].bits); |
| 398 | count -= rb[index].run; |
| 399 | } |
| 400 | |
| 401 | return 0; |
| 402 | } |
| 403 | |
| 404 | static void process_alpha(const int16_t *src, int width, int height, ptrdiff_t stride, int16_t *dst) |
| 405 | { |
no test coverage detected