Home
last modified time | relevance | path

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

/external/libvncserver/x11vnc/
Dscreen.h50 extern void parse_scale_string(char *str, double *factor_x, double *factor_y, int *scaling, int *bl…
Dscan.h46 extern void scale_rect(double factor_x, double factor_y, int blend, int interpolate, int Bpp,
Dscreen.c78 void parse_scale_string(char *str, double *factor_x, double *factor_y, int *scaling, int *blend,
2800 void parse_scale_string(char *str, double *factor_x, double *factor_y, int *scaling, int *blend, in parse_scale_string() argument
2808 *factor_y = 1.0; in parse_scale_string()
2852 *factor_y = (double) f2; in parse_scale_string()
2859 *factor_y = (double) f; in parse_scale_string()
2862 if (*factor_x == *factor_y) { in parse_scale_string()
2886 *factor_y = ((double) n) / ((double) h_in); in parse_scale_string()
2904 *factor_y = ((double) m)/ n; in parse_scale_string()
2913 if (*factor_x == 1.0 && *factor_y == 1.0) { in parse_scale_string()
2915 rfbLog("scaling disabled for factor %f %f\n", *factor_x, *factor_y); in parse_scale_string()
Dscan.c59 void scale_rect(double factor_x, double factor_y, int blend, int interpolate, int Bpp,
777 void scale_rect(double factor_x, double factor_y, int blend, int interpolate, int Bpp, in scale_rect() argument
813 if (factor_x <= 1.0 && factor_y <= 1.0) { in scale_rect()
828 dy = 1.0/factor_y; in scale_rect()
844 if (constant_weights < 0 && factor_x != factor_y) { in scale_rect()
/external/libvncserver/x11vnc/misc/enhanced_tightvnc_viewer/src/patches/
Dtight-vncviewer-full.patch4700 +static void scale_rect(double factor_x, double factor_y, int blend, int interpolate,
4734 + int ny = scale_round(Ny, factor_y);
4750 + double fmax = factor_x > factor_y ? factor_x : factor_y;
4752 + double fmin = factor_x < factor_y ? factor_x : factor_y;
4768 + *py = (int) (*py * factor_y);
4770 + *ph = scale_round(*ph, factor_y);
4784 + if (factor_x <= 1.0 || factor_y <= 1.0) {
4800 + dy = 1.0/factor_y;
4817 + if (constant_weights < 0 && factor_x != factor_y) {