Lines Matching refs:n_blocks
553 int n_blocks; in rpza_encode_stream() local
583 n_blocks = 0; in rpza_encode_stream()
586 while (n_blocks < 32 && block_counter + n_blocks < total_blocks) { in rpza_encode_stream()
588 block_offset = get_block_info(&bi, block_counter + n_blocks); in rpza_encode_stream()
606 if (n_blocks) { in rpza_encode_stream()
609 put_bits(&s->pb, 8, 0x80 | (n_blocks - 1)); in rpza_encode_stream()
610 block_counter += n_blocks; in rpza_encode_stream()
626 n_blocks++; in rpza_encode_stream()
631 if (n_blocks) { in rpza_encode_stream()
633 put_bits(&s->pb, 8, 0x80 | (n_blocks - 1)); in rpza_encode_stream()
634 block_counter += n_blocks; in rpza_encode_stream()
650 n_blocks = 1; in rpza_encode_stream()
654 &prev_pixels[block_offset], &bi, block_counter + n_blocks); in rpza_encode_stream()
657 while (n_blocks < 32 && block_counter + n_blocks < total_blocks) { in rpza_encode_stream()
658 block_offset = get_block_info(&bi, block_counter + n_blocks); in rpza_encode_stream()
676 … &prev_pixels[block_offset], &bi, block_counter + n_blocks); in rpza_encode_stream()
678 n_blocks++; in rpza_encode_stream()
682 put_bits(&s->pb, 8, 0xa0 | (n_blocks - 1)); in rpza_encode_stream()
686 block_counter += n_blocks; in rpza_encode_stream()