Defines | Functions

libvncserver/scale.c File Reference

#include <string.h>
#include <rfb/rfb.h>
#include <rfb/rfbregion.h>
#include "private.h"
#include <pwd.h>
Include dependency graph for scale.c:

Go to the source code of this file.

Defines

#define DEBUGPROTO(x)
#define CEIL(x)
#define FLOOR(x)   ( (double) ((int) (x)) )

Functions

int ScaleX (rfbScreenInfoPtr from, rfbScreenInfoPtr to, int x)
int ScaleY (rfbScreenInfoPtr from, rfbScreenInfoPtr to, int y)
void rfbScaledCorrection (rfbScreenInfoPtr from, rfbScreenInfoPtr to, int *x, int *y, int *w, int *h, const char *function)
void rfbScaledScreenUpdateRect (rfbScreenInfoPtr screen, rfbScreenInfoPtr ptr, int x0, int y0, int w0, int h0)
void rfbScaledScreenUpdate (rfbScreenInfoPtr screen, int x1, int y1, int x2, int y2)
rfbScreenInfoPtr rfbScaledScreenAllocate (rfbClientPtr cl, int width, int height)
rfbScreenInfoPtr rfbScalingFind (rfbClientPtr cl, int width, int height)
void rfbScalingSetup (rfbClientPtr cl, int width, int height)
int rfbSendNewScaleSize (rfbClientPtr cl)

Define Documentation

#define CEIL (   x  ) 
Value:
( (double) ((int) (x)) == (x) ? \
        (double) ((int) (x)) : (double) ((int) (x) + 1) )

Definition at line 65 of file scale.c.

#define DEBUGPROTO (   x  ) 

Definition at line 61 of file scale.c.

#define FLOOR (   x  )     ( (double) ((int) (x)) )

Definition at line 67 of file scale.c.


Function Documentation

void rfbScaledCorrection ( rfbScreenInfoPtr  from,
rfbScreenInfoPtr  to,
int *  x,
int *  y,
int *  w,
int *  h,
const char *  function 
)

Definition at line 85 of file scale.c.

Here is the caller graph for this function:

rfbScreenInfoPtr rfbScaledScreenAllocate ( rfbClientPtr  cl,
int  width,
int  height 
)

Definition at line 278 of file scale.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void rfbScaledScreenUpdate ( rfbScreenInfoPtr  screen,
int  x1,
int  y1,
int  x2,
int  y2 
)

Definition at line 257 of file scale.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void rfbScaledScreenUpdateRect ( rfbScreenInfoPtr  screen,
rfbScreenInfoPtr  ptr,
int  x0,
int  y0,
int  w0,
int  h0 
)

Definition at line 134 of file scale.c.

Here is the call graph for this function:

Here is the caller graph for this function:

rfbScreenInfoPtr rfbScalingFind ( rfbClientPtr  cl,
int  width,
int  height 
)

Definition at line 324 of file scale.c.

Here is the caller graph for this function:

void rfbScalingSetup ( rfbClientPtr  cl,
int  width,
int  height 
)

Definition at line 337 of file scale.c.

Here is the call graph for this function:

int rfbSendNewScaleSize ( rfbClientPtr  cl  ) 

Definition at line 370 of file scale.c.

Here is the call graph for this function:

int ScaleX ( rfbScreenInfoPtr  from,
rfbScreenInfoPtr  to,
int  x 
)

Definition at line 70 of file scale.c.

Here is the caller graph for this function:

int ScaleY ( rfbScreenInfoPtr  from,
rfbScreenInfoPtr  to,
int  y 
)

Definition at line 76 of file scale.c.

Here is the caller graph for this function:

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines