Home
last modified time | relevance | path

Searched refs:pixel_width (Results 1 – 3 of 3) sorted by relevance

/packages/services/BuiltInPrintService/jni/plugins/
Dlib_pwg.c38 static void _write_header_pwg(int pixel_width, int pixel_height, cups_page_header2_t *h, in _write_header_pwg() argument
49 h->cupsPageSize[0] = (float) ((pixel_width * STANDARD_SCALE_FOR_PDF) / h->HWResolution[0]); in _write_header_pwg()
73 h->cupsWidth = pixel_width; in _write_header_pwg()
78 h->cupsBytesPerLine = (h->cupsBitsPerPixel * pixel_width + 7) / 8; in _write_header_pwg()
179 job_info->pixel_width = job_info->pixel_height = job_info->page_number = job_info->num_rows = 0; in _start_job()
239 static int _start_page(pcl_job_info_t *job_info, int pixel_width, int pixel_height) { in _start_page() argument
241 _START_PAGE(job_info, pixel_width, pixel_height); in _start_page()
244 page_info->sourceWidth = (float) pixel_width / job_info->standard_scale; in _start_page()
246 "scaled height=%f", page_info->stripHeight, pixel_width, pixel_height, in _start_page()
263 job_info->scan_line_width = BYTES_PER_PIXEL(pixel_width); in _start_page()
[all …]
Dlib_pclm.c127 job_info->pixel_width = job_info->pixel_height = job_info->page_number = job_info->num_rows = 0; in _start_job()
180 static int _start_page(pcl_job_info_t *job_info, int pixel_width, int pixel_height) { in _start_page() argument
185 _START_PAGE(job_info, pixel_width, pixel_height); in _start_page()
186 job_info->pixel_width = pixel_width; in _start_page()
189 page_info->sourceWidth = (float) pixel_width / job_info->standard_scale; in _start_page()
191 "scaled height=%f", page_info->stripHeight, pixel_width, pixel_height, in _start_page()
207 job_info->scan_line_width = pixel_width * job_info->num_components; in _start_page()
209 page_info->SourceWidthPixels = MIN(pixel_width, job_info->pclm_page_info.mediaWidthInPixels); in _start_page()
276 _start_page(job_info, job_info->pixel_width, job_info->strip_height); in _end_page()
277 size_t blank_data_size = (size_t) job_info->strip_height * job_info->pixel_width * in _end_page()
Dlib_pcl.h100 int pixel_width, pixel_height; member
144 int pixel_width,