Home
last modified time | relevance | path

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

/dports/emulators/mednafen/mednafen/src/drivers/
H A Dnongl.cpp435 double dh_to_sh_ratio = (double)dr.h / sr.h; in MDFN_StretchBlitSurface() local
437 …NeedClipping && floor(dw_to_sw_ratio) == dw_to_sw_ratio && floor(dh_to_sh_ratio) == dh_to_sh_ratio) in MDFN_StretchBlitSurface()
441 case -1: if((dw_to_sw_ratio == dh_to_sh_ratio) && dw_to_sw_ratio <= 5) in MDFN_StretchBlitSurface()
444 BlitIScale<uint32, 31>(src_surface, sr, dest_surface, dr, dw_to_sw_ratio, dh_to_sh_ratio); in MDFN_StretchBlitSurface()
447 … BlitIScale<uint32, 0>(src_surface, sr, dest_surface, dr, dw_to_sw_ratio, dh_to_sh_ratio); break; in MDFN_StretchBlitSurface()
448 … BlitIScale<uint32, 8>(src_surface, sr, dest_surface, dr, dw_to_sw_ratio, dh_to_sh_ratio); break; in MDFN_StretchBlitSurface()
449 …: BlitIScale<uint32, 16>(src_surface, sr, dest_surface, dr, dw_to_sw_ratio, dh_to_sh_ratio); break; in MDFN_StretchBlitSurface()
450 …: BlitIScale<uint32, 24>(src_surface, sr, dest_surface, dr, dw_to_sw_ratio, dh_to_sh_ratio); break; in MDFN_StretchBlitSurface()