Lines Matching defs:run
166 av_log(avctx, AV_LOG_ERROR, "uncompressed run overrun\n");
170 av_log(avctx, AV_LOG_ERROR, "uncompressed run went out of bounds\n");
183 av_log(avctx, AV_LOG_ERROR, "uncompressed run overrun\n");
189 av_log(avctx, AV_LOG_ERROR, "uncompressed run went out of boundsE\n");
198 av_log(avctx, AV_LOG_ERROR, "uncompressed run overrun\n");
211 unsigned int run = 0;
217 run += t;
219 *runs++ = run;
224 if (pix_left <= run) {
225 if (pix_left == run)
230 pix_left -= run;
231 run = 0;
258 unsigned int offs = 0, run = 0;
272 run = run_off - offs;
280 saved_run += run;
284 run = 0;
293 run += t;
297 *runs++ = run + saved_run;
303 offs += run;
304 if (offs > width || run > width) {
320 av_log(avctx, AV_LOG_ERROR, "saved run %d on entering uncompressed mode\n", saved_run);
334 run = run_off - offs + (cmode - 5);
336 offs += run;
337 if (offs > width || run > width) {
341 *runs++ = run + saved_run;
369 int run, mode = ~0, pix_left = width, run_idx = 0;
373 run = runs[run_idx++];
375 pix_left -= run;
376 for (; run > 16; run -= 16)
378 if (run)
379 put_sbits(&pb, run, mode);