Home
last modified time | relevance | path

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

/packages/services/BuiltInPrintService/jni/plugins/
Dwprint_image.c155 unsigned int image_output_height; in wprint_image_set_output_properties() local
181 image_output_height = image_info->width; in wprint_image_set_output_properties()
187 image_output_height = image_info->height; in wprint_image_set_output_properties()
205 unsigned int native_image_output_height = image_output_height; in wprint_image_set_output_properties()
213 native_image_output_height = (int) floorf(image_output_height * native_scaling); in wprint_image_set_output_properties()
233 next_height = image_output_height >> 1; in wprint_image_set_output_properties()
256 image_output_height /= image_info->scaled_sample_size; in wprint_image_set_output_properties()
266 (image_output_height >= image_info->printable_height)) || in wprint_image_set_output_properties()
268 (image_output_height < image_info->printable_height)))) { in wprint_image_set_output_properties()
271 } else if ((image_output_height == image_info->printable_height) && in wprint_image_set_output_properties()
[all …]
Dwprint_scaler.h91 uint16 image_output_height, scaler_config_t *pscaler_config);
Dwprint_scaler.c41 uint16 image_output_height, scaler_config_t *pscaler_config) { in scaler_make_image_scaler_tables() argument
45 pscaler_config->iOutHeight = image_output_height; in scaler_make_image_scaler_tables()
48 (image_input_height >= image_output_height)) { // scale DOWN in scaler_make_image_scaler_tables()
51 (image_input_height <= image_output_height)) { // scale UP in scaler_make_image_scaler_tables()