Home
last modified time | relevance | path

Searched refs:newaspect (Results 1 – 5 of 5) sorted by relevance

/dports/graphics/xfractint/xfractint-20.04p16/common/
H A Dzoom.c533 void aspectratio_crop(float oldaspect,float newaspect) in aspectratio_crop() argument
536 if (newaspect > oldaspect) { /* new ratio is taller, crop x */ in aspectratio_crop()
537 ftemp = (1.0 - oldaspect / newaspect) / 2; in aspectratio_crop()
544 ftemp = (1.0 - newaspect / oldaspect) / 2; in aspectratio_crop()
/dports/multimedia/dvdauthor/dvdauthor-d5bb0b/src/
H A Ddvdvob.c565 int hsize, vsize, aspect, framerate, newaspect; in scanvideoptr() local
623 newaspect = in scanvideoptr()
629 if (newaspect == 11) in scanvideoptr()
630 newaspect++; in scanvideoptr()
631 buf[7] = (buf[7] & 0xf) | (newaspect << 4); // reset the aspect ratio in scanvideoptr()
/dports/games/SRB2/SRB2-SRB2_release_2.2.9/src/hardware/r_opengl/
H A Dr_opengl.c3438 float origaspect, newaspect; in HWRAPI() local
3455 newaspect = (float)width / height; in HWRAPI()
3456 if (origaspect < newaspect) in HWRAPI()
3458 xoff = origaspect / newaspect; in HWRAPI()
3461 else if (origaspect > newaspect) in HWRAPI()
3464 yoff = newaspect / origaspect; in HWRAPI()
/dports/graphics/openimageio/oiio-Release-2.2.16.0/src/libOpenImageIO/
H A Dimagebufalgo_xform.cpp561 float newaspect = float(fit_full_width) / fit_full_height; in fit() local
568 if (newaspect >= oldaspect) { // same or wider than original in fit()
/dports/graphics/py-openimageio/oiio-Release-2.2.16.0/src/libOpenImageIO/
H A Dimagebufalgo_xform.cpp561 float newaspect = float(fit_full_width) / fit_full_height; in fit() local
568 if (newaspect >= oldaspect) { // same or wider than original in fit()