Home
last modified time | relevance | path

Searched refs:yres (Results 1 – 11 of 11) sorted by relevance

/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/tools/
A Dfax2ps.c203 float xres, yres, scale = 1.0; in printTIF() local
218 if (!TIFFGetField(tif, TIFFTAG_YRESOLUTION, &yres) || !yres) { in printTIF()
221 yres = defyres; /* XXX */ in printTIF()
226 yres *= 2.54F; in printTIF()
231 pageHeight = h / yres; in printTIF()
255 scale = pageHeight / (h/yres) < pageWidth / (w/xres) ? in printTIF()
256 pageHeight / (h/yres) : pageWidth / (w/xres); in printTIF()
259 points * (scale*h/yres + (pageHeight - scale*h/yres) * half)); in printTIF()
260 printf("%g %g scale\n", points/xres*scale, -points/yres*scale); in printTIF()
A Dtiff2ps.c628 float xres = 0.0F, yres = 0.0F; in setupPageState() local
641 if (!TIFFGetField(tif, TIFFTAG_YRESOLUTION, &yres) in setupPageState()
642 || fabs(yres) < 0.0000001) in setupPageState()
643 yres = PS_UNIT_SIZE; in setupPageState()
646 xres *= 2.54F, yres *= 2.54F; in setupPageState()
668 if ((yres > 1.0) && (yres != PS_UNIT_SIZE)) in setupPageState()
669 *pprh = PSUNITS(*ph, yres); in setupPageState()
A Dtiffcrop.c398 float yres; member
5022 image->yres = 0.0; in initImageData()
5095 float xres, yres; in computeInputPixelOffsets() local
5108 yres = 1.0; in computeInputPixelOffsets()
5122 yres = image->yres; in computeInputPixelOffsets()
5640 page->vres = image->yres; in computeOutputPixelOffsets()
5828 float xres = 0.0, yres = 0.0; in loadImage() local
5937 image->yres = yres; in loadImage()
8568 image->xres = image->yres; in rotateImage()
8569 image->yres = res_temp; in rotateImage()
[all …]
/AliOS-Things-master/components/udisplay/src/
A Dudisplay.c49 if ((x1 > ctx->var.xres) || (y1 > ctx->var.yres) || \ in display_draw_rect()
50 ((x1 + w) > ctx->var.xres) || ((y1 + h) > ctx->var.yres)) { in display_draw_rect()
224 (fb_var.xres * fb_var.yres) == 2) ? in udisplay_init()
254 var->yoffset = (fb_id > 0) ? fb_id * var->yres : 0; in udisplay_pan_display()
307 ctx->var.yres * \ in udisplay_show_rect()
372 buf = (uint8_t *)aos_malloc(var->xres * var->yres * \ in udisplay_pattern_rgb32()
379 udisplay_draw_rgb32(buf, 0, 0, var->yres, var->xres, color); in udisplay_pattern_rgb32()
395 udisplay_draw_rgb32(buf, 0, 0, var->xres, var->yres, color); in udisplay_pattern_rgb32()
417 buf = (uint8_t *)aos_malloc(var->xres * var->yres * in udisplay_pattern_rgb16()
435 udisplay_draw_rgb16(buf, 0, 0, var->yres, var->xres, color); in udisplay_pattern_rgb16()
/AliOS-Things-master/components/amp/engine/duktape_engine/addons/hardware/lcd/
A Dmodule_lcd.c97 uint16_t yres = 0; in lcd_draw_str() local
102 yres = lcd_handle->height; in lcd_draw_str()
109 if (ystart > yres) { in lcd_draw_str()
/AliOS-Things-master/components/drivers/external_device/ili9341/src/
A Dili9341_fb.c157 info->var.yres = _lcd.height; in ili9341_fb_init()
169 info->screen_size = info->var.xres * info->var.yres * info->var.bits_per_pixel / 8; in ili9341_fb_init()
/AliOS-Things-master/components/drivers/core/fbdev/include/
A Dfb_define.h78 uint32_t yres; member
A Dfb.h78 uint32_t yres; member
/AliOS-Things-master/components/drivers/core/fbdev/src/
A Dfb.c166 uint32_t yres = info->var.yres; in fb_pan_display() local
177 var->yoffset > info->var.yres_virtual - yres || in fb_pan_display()
/AliOS-Things-master/components/udisplay/example/
A Dudisplay_example.c105 ctx->var.xres, ctx->var.yres, \ in udisplay_comp_example()
/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/
A DChangeLog3368 * tools/tiffcrop.c: initialize xres/yres values.

Completed in 35 milliseconds