Searched refs:fyc (Results 1 – 2 of 2) sorted by relevance
74 std::string fyc; in GetResizeCode() local77 fyc = "(Y + 0.5f) * args.scale_factor_y"; in GetResizeCode()80 fyc = "Y * args.scale_factor_y"; in GetResizeCode()84 fyc += " + 0.5f"; in GetResizeCode()88 c += " coord.y = INIT_INT(" + fyc + ");\n"; in GetResizeCode()213 std::string fyc; in GetResize3DCode() local217 fyc = "(Y + 0.5f) * args.scale_factor_y"; in GetResize3DCode()221 fyc = "Y * args.scale_factor_y"; in GetResize3DCode()226 fyc += " + 0.5f"; in GetResize3DCode()231 c += " coord.y = INIT_INT(" + fyc + ");\n"; in GetResize3DCode()
101 std::string fyc; in GenerateCode() local104 fyc = "(float(gid.y) + 0.5) * $scale_factor.y$"; in GenerateCode()107 fyc = "float(gid.y) * $scale_factor.y$"; in GenerateCode()111 fyc += " + 0.5"; in GenerateCode()115 source += " coord.y = int(" + fyc + ");\n"; in GenerateCode()