Lines Matching refs:bptr
642 jvirt_barray_ptr bptr; in realize_virt_arrays() local
662 for (bptr = mem->virt_barray_list; bptr != NULL; bptr = bptr->next) { in realize_virt_arrays()
663 if (bptr->mem_buffer == NULL) { /* if not realized yet */ in realize_virt_arrays()
664 size_t new_space = (long)bptr->rows_in_array * in realize_virt_arrays()
665 (long)bptr->blocksperrow * sizeof(JBLOCK); in realize_virt_arrays()
667 space_per_minheight += (long)bptr->maxaccess * in realize_virt_arrays()
668 (long)bptr->blocksperrow * sizeof(JBLOCK); in realize_virt_arrays()
723 for (bptr = mem->virt_barray_list; bptr != NULL; bptr = bptr->next) { in realize_virt_arrays()
724 if (bptr->mem_buffer == NULL) { /* if not realized yet */ in realize_virt_arrays()
725 minheights = ((long)bptr->rows_in_array - 1L) / bptr->maxaccess + 1L; in realize_virt_arrays()
728 bptr->rows_in_mem = bptr->rows_in_array; in realize_virt_arrays()
731 bptr->rows_in_mem = (JDIMENSION)(max_minheights * bptr->maxaccess); in realize_virt_arrays()
732 jpeg_open_backing_store(cinfo, &bptr->b_s_info, in realize_virt_arrays()
733 (long)bptr->rows_in_array * in realize_virt_arrays()
734 (long)bptr->blocksperrow * in realize_virt_arrays()
736 bptr->b_s_open = TRUE; in realize_virt_arrays()
738 bptr->mem_buffer = alloc_barray(cinfo, JPOOL_IMAGE, in realize_virt_arrays()
739 bptr->blocksperrow, bptr->rows_in_mem); in realize_virt_arrays()
740 bptr->rowsperchunk = mem->last_rowsperchunk; in realize_virt_arrays()
741 bptr->cur_start_row = 0; in realize_virt_arrays()
742 bptr->first_undef_row = 0; in realize_virt_arrays()
743 bptr->dirty = FALSE; in realize_virt_arrays()
1006 jvirt_barray_ptr bptr; in free_pool() local
1015 for (bptr = mem->virt_barray_list; bptr != NULL; bptr = bptr->next) { in free_pool()
1016 if (bptr->b_s_open) { /* there may be no backing store */ in free_pool()
1017 bptr->b_s_open = FALSE; /* prevent recursive close if error */ in free_pool()
1018 (*bptr->b_s_info.close_backing_store) (cinfo, &bptr->b_s_info); in free_pool()