Home
last modified time | relevance | path

Searched refs:factor_x (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,
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()
827 dx = 1.0/factor_x; in scale_rect()
837 if (factor_x != last_factor || Nx != last_Nx || Ny != last_Ny) { in scale_rect()
842 last_factor = factor_x; in scale_rect()
844 if (constant_weights < 0 && factor_x != factor_y) { in scale_rect()
857 diff = factor_x - test; in scale_rect()
882 diff = factor_x - test; in scale_rect()
888 if (! blend && factor_x > 1.0 && n) { in scale_rect()
[all …]
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
2807 *factor_x = 1.0; in parse_scale_string()
2851 *factor_x = (double) f; in parse_scale_string()
2858 *factor_x = (double) f; in parse_scale_string()
2862 if (*factor_x == *factor_y) { in parse_scale_string()
2866 diff = *factor_x - test; in parse_scale_string()
2878 if (*factor_x < 0.01) { in parse_scale_string()
2880 rfbLog("-scale factor too small: %f\n", *factor_x); in parse_scale_string()
2885 *factor_x = ((double) m) / ((double) w_in); in parse_scale_string()
[all …]
/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,
4733 + int nx = scale_round(Nx, factor_x);
4750 + double fmax = factor_x > factor_y ? factor_x : factor_y;
4752 + double fmin = factor_x < factor_y ? factor_x : factor_y;
4767 + *px = (int) (*px * factor_x);
4769 + *pw = scale_round(*pw, factor_x);
4784 + if (factor_x <= 1.0 || factor_y <= 1.0) {
4799 + dx = 1.0/factor_x;
4809 + if (factor_x != last_factor || Nx != last_Nx || Ny != last_Ny) {
4814 + last_factor = factor_x;
[all …]