Lines Matching refs:current_run
479 int current_run = 0;
492 current_run = 0;
495 if (s->theora && current_run == MAXIMUM_LONG_BIT_RUN)
500 current_run = get_vlc2(gb, s->superblock_run_length_vlc.table,
502 if (current_run == 34)
503 current_run += get_bits(gb, 12);
505 if (current_run > s->superblock_count - current_superblock) {
511 memset(s->superblock_coding + current_superblock, bit, current_run);
513 current_superblock += current_run;
515 num_partial_superblocks += current_run;
525 current_run = 0;
529 if (s->theora && current_run == MAXIMUM_LONG_BIT_RUN)
534 current_run = get_vlc2(gb, s->superblock_run_length_vlc.table,
536 if (current_run == 34)
537 current_run += get_bits(gb, 12);
539 for (j = 0; j < current_run; current_superblock++) {
552 superblocks_decoded += current_run;
559 current_run = 0;
612 if (current_run-- == 0) {
614 current_run = get_vlc2(gb, s->fragment_run_length_vlc.table, 5, 2);
702 int bit, current_run, has_partial;
711 for (i = 0; i < s->yuv_macroblock_count; i += current_run) {
714 current_run = vp4_get_mb_count(s, gb);
715 if (current_run > s->yuv_macroblock_count - i)
717 memset(s->superblock_coding + i, 2 * bit, current_run);
726 current_run = vp4_get_mb_count(s, gb);
729 if (!current_run) {
731 current_run = vp4_get_mb_count(s, gb);
734 current_run--;
737 if (current_run) /* handle situation when vp4_get_mb_count() fails */