Lines Matching refs:bptr
645 jvirt_barray_ptr bptr; in realize_virt_arrays() local
665 for (bptr = mem->virt_barray_list; bptr != NULL; bptr = bptr->next) { in realize_virt_arrays()
666 if (bptr->mem_buffer == NULL) { /* if not realized yet */ in realize_virt_arrays()
667 size_t new_space = (long) bptr->rows_in_array * in realize_virt_arrays()
668 (long) bptr->blocksperrow * sizeof(JBLOCK); in realize_virt_arrays()
670 space_per_minheight += (long) bptr->maxaccess * in realize_virt_arrays()
671 (long) bptr->blocksperrow * sizeof(JBLOCK); in realize_virt_arrays()
726 for (bptr = mem->virt_barray_list; bptr != NULL; bptr = bptr->next) { in realize_virt_arrays()
727 if (bptr->mem_buffer == NULL) { /* if not realized yet */ in realize_virt_arrays()
728 minheights = ((long) bptr->rows_in_array - 1L) / bptr->maxaccess + 1L; in realize_virt_arrays()
731 bptr->rows_in_mem = bptr->rows_in_array; in realize_virt_arrays()
734 bptr->rows_in_mem = (JDIMENSION) (max_minheights * bptr->maxaccess); in realize_virt_arrays()
735 jpeg_open_backing_store(cinfo, & bptr->b_s_info, in realize_virt_arrays()
736 (long) bptr->rows_in_array * in realize_virt_arrays()
737 (long) bptr->blocksperrow * in realize_virt_arrays()
739 bptr->b_s_open = TRUE; in realize_virt_arrays()
741 bptr->mem_buffer = alloc_barray(cinfo, JPOOL_IMAGE, in realize_virt_arrays()
742 bptr->blocksperrow, bptr->rows_in_mem); in realize_virt_arrays()
743 bptr->rowsperchunk = mem->last_rowsperchunk; in realize_virt_arrays()
744 bptr->cur_start_row = 0; in realize_virt_arrays()
745 bptr->first_undef_row = 0; in realize_virt_arrays()
746 bptr->dirty = FALSE; in realize_virt_arrays()
1011 jvirt_barray_ptr bptr; in free_pool() local
1020 for (bptr = mem->virt_barray_list; bptr != NULL; bptr = bptr->next) { in free_pool()
1021 if (bptr->b_s_open) { /* there may be no backing store */ in free_pool()
1022 bptr->b_s_open = FALSE; /* prevent recursive close if error */ in free_pool()
1023 (*bptr->b_s_info.close_backing_store) (cinfo, & bptr->b_s_info); in free_pool()