Lines Matching refs:phtc

68     gs_ht_component *phtc;  in gs_ht_build()  local
84 phtc = gs_alloc_struct_array(pmem, in gs_ht_build()
90 if (phtc == 0) { in gs_ht_build()
97 pht->params.ht_multiple.components = phtc; in gs_ht_build()
101 phtc[i].comp_number = i; in gs_ht_build()
102 phtc[i].cname = 0; in gs_ht_build()
103 phtc[i].type = ht_type_none; in gs_ht_build()
126 gs_ht_component *phtc = &(pht->params.ht_multiple.components[comp]); in gs_ht_set_spot_comp() local
130 if (phtc->type != ht_type_none) in gs_ht_set_spot_comp()
133 phtc->type = ht_type_spot; in gs_ht_set_spot_comp()
134 phtc->params.ht_spot.screen.frequency = freq; in gs_ht_set_spot_comp()
135 phtc->params.ht_spot.screen.angle = angle; in gs_ht_set_spot_comp()
136 phtc->params.ht_spot.screen.spot_function = spot_func; in gs_ht_set_spot_comp()
137 phtc->params.ht_spot.accurate_screens = accurate; in gs_ht_set_spot_comp()
138 phtc->params.ht_spot.transfer = gs_mapped_transfer; in gs_ht_set_spot_comp()
140 phtc->params.ht_spot.transfer_closure.proc = in gs_ht_set_spot_comp()
142 phtc->params.ht_spot.transfer_closure.data = client_data; in gs_ht_set_spot_comp()
162 gs_ht_component *phtc = &(pht->params.ht_multiple.components[comp]); in gs_ht_set_threshold_comp() local
166 if (phtc->type != ht_type_none) in gs_ht_set_threshold_comp()
169 phtc->type = ht_type_threshold; in gs_ht_set_threshold_comp()
170 phtc->params.ht_threshold.width = width; in gs_ht_set_threshold_comp()
171 phtc->params.ht_threshold.height = height; in gs_ht_set_threshold_comp()
172 phtc->params.ht_threshold.thresholds = *thresholds; in gs_ht_set_threshold_comp()
173 phtc->params.ht_threshold.transfer = gs_mapped_transfer; in gs_ht_set_threshold_comp()
175 phtc->params.ht_threshold.transfer_closure.proc = in gs_ht_set_threshold_comp()
177 phtc->params.ht_threshold.transfer_closure.data = client_data; in gs_ht_set_threshold_comp()
220 gs_ht_component *phtc = &(pht->params.ht_multiple.components[i]); in check_ht() local
221 if ((phtc->type != ht_type_spot) && (phtc->type != ht_type_threshold)) in check_ht()
232 gs_ht_component * phtc, in build_transfer_map() argument
241 if (phtc->type == ht_type_spot) { in build_transfer_map()
242 proc = phtc->params.ht_spot.transfer_closure.proc; in build_transfer_map()
243 client_info = phtc->params.ht_spot.transfer_closure.data; in build_transfer_map()
245 proc = phtc->params.ht_threshold.transfer_closure.proc; in build_transfer_map()
246 client_info = phtc->params.ht_threshold.transfer_closure.data; in build_transfer_map()
287 gs_ht_component *phtc = &(pht->params.ht_multiple.components[i]); in alloc_ht_order() local
308 pocs[inext].cname = phtc->cname; in alloc_ht_order()
309 pocs[inext].comp_number = phtc->comp_number; in alloc_ht_order()
321 gs_ht_component * phtc, in build_component() argument
327 if (phtc->type == ht_type_spot) { in build_component()
333 &phtc->params.ht_spot.screen, in build_component()
334 phtc->params.ht_spot.accurate_screens, in build_component()
348 porder->params.M = phtc->params.ht_threshold.width; in build_component()
351 porder->params.M1 = phtc->params.ht_threshold.height; in build_component()
355 phtc->params.ht_threshold.width, in build_component()
356 phtc->params.ht_threshold.height, in build_component()
364 phtc->params.ht_threshold.thresholds.data in build_component()
373 build_transfer_map(phtc, porder->transfer); in build_component()
563 gs_ht_component *phtc = in gs_ht_set_mask_comp() local
568 if (phtc->type != ht_type_none) in gs_ht_set_mask_comp()
571 phtc->type = ht_type_client_order; in gs_ht_set_mask_comp()
572 phtc->params.client_order.width = width; in gs_ht_set_mask_comp()
573 phtc->params.client_order.height = height; in gs_ht_set_mask_comp()
574 phtc->params.client_order.num_levels = num_levels; in gs_ht_set_mask_comp()
575 phtc->params.client_order.procs = &mask_order_procs; in gs_ht_set_mask_comp()
576 phtc->params.client_order.client_data = masks; in gs_ht_set_mask_comp()
577 phtc->params.client_order.transfer_closure.proc = in gs_ht_set_mask_comp()
579 phtc->params.client_order.transfer_closure.data = client_data; in gs_ht_set_mask_comp()