Home
last modified time | relevance | path

Searched refs:real_w (Results 1 - 1 of 1) sorted by relevance

/third_party/backends/backend/escl/
H A Descl_crop.c42 int real_w = 0; in escl_crop_surface() local
56 real_w = scanner->caps[scanner->source].width - x_off; in escl_crop_surface()
68 *width = real_w; in escl_crop_surface()
71 if (x_off > 0 || real_w < scanner->caps[scanner->source].width || in escl_crop_surface()
73 surface_crop = (unsigned char *)malloc (sizeof (unsigned char) * real_w in escl_crop_surface()
83 for (x = 0; x < real_w; x++) in escl_crop_surface()
85 surface_crop[(y * real_w * bps) + (x * bps)] = in escl_crop_surface()
87 surface_crop[(y * real_w * bps) + (x * bps) + 1] = in escl_crop_surface()
89 surface_crop[(y * real_w * bps) + (x * bps) + 2] = in escl_crop_surface()
98 scanner->img_size = (int)(real_w * real_ in escl_crop_surface()
[all...]

Completed in 1 milliseconds