Home
last modified time | relevance | path

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

/dports/graphics/quat-gui/quat-1.20/kernel/
H A Dcolors.c89 rshift=8-disppal->rdepth; in FindNearestColor()
90 gshift=8-disppal->gdepth; in FindNearestColor()
91 bshift=8-disppal->bdepth; in FindNearestColor()
96 dist1 = (disppal->cols[i].r<<rshift)-r; in FindNearestColor()
121 struct disppal_struct *disppal; in CreateDispPal()
152 disppal->brightnum = (int)floor(sqrt(disppal->btoc*(double)maxcol));
161 if (maxbright<disppal->brightnum) disppal->brightnum=maxbright; /* No. */
162 disppal->colnum = (int)((double)maxcol/(double)disppal->brightnum);
163 if ((oswcols==1)&&(disppal->colnum>requiredcols)) disppal->colnum = requiredcols;
167 if (disppal->brightnum<7) return(-1);
[all …]
H A Dquat.c629 disppal->btoc = 1; in InitGraphics()
648 if (SetColors!=NULL) SetColors(disppal); in InitGraphics()
898 disppal->brightnum-1, line2, CBuf, BBuf); in CalculateFractal()
1033 struct disppal_struct disppal; in CalculateINI() local
1097 &disppal, &realpal, colscheme, cutbuf, zflag)) in CalculateINI()
1122 struct disppal_struct disppal; in CreateImage() local
1174 struct disppal_struct disppal; in CreateZBuf() local
1212 &cutbuf[0], &vidinfo, &disppal); in CreateZBuf()
1233 struct disppal_struct disppal; in CalculatePNG() local
1391 &disppal, &realpal, colscheme, cutbuf, zflag)) in CalculatePNG()
[all …]
H A Dcolors.h4 int CreateDispPal(struct disppal_struct *disppal, struct realpal_struct *realpal, int maxcol, doubl…
9 int FindNearestColor(struct disppal_struct *disppal, unsigned char r, unsigned char g, unsigned cha…
H A Dquat.h5 typedef int (*VER_SetColors) (struct disppal_struct *disppal);
24 int DUMMY_SetColors(struct disppal_struct *disppal);
55 struct disppal_struct *disppal, struct frac_struct *f, struct view_struct *v,
/dports/graphics/quat/quat-1.20/kernel/
H A Dcolors.c89 rshift=8-disppal->rdepth; in FindNearestColor()
90 gshift=8-disppal->gdepth; in FindNearestColor()
91 bshift=8-disppal->bdepth; in FindNearestColor()
96 dist1 = (disppal->cols[i].r<<rshift)-r; in FindNearestColor()
121 struct disppal_struct *disppal; in CreateDispPal()
152 disppal->brightnum = (int)floor(sqrt(disppal->btoc*(double)maxcol));
161 if (maxbright<disppal->brightnum) disppal->brightnum=maxbright; /* No. */
162 disppal->colnum = (int)((double)maxcol/(double)disppal->brightnum);
163 if ((oswcols==1)&&(disppal->colnum>requiredcols)) disppal->colnum = requiredcols;
167 if (disppal->brightnum<7) return(-1);
[all …]
H A Dquat.c629 disppal->btoc = 1; in InitGraphics()
648 if (SetColors!=NULL) SetColors(disppal); in InitGraphics()
898 disppal->brightnum-1, line2, CBuf, BBuf); in CalculateFractal()
1033 struct disppal_struct disppal; in CalculateINI() local
1097 &disppal, &realpal, colscheme, cutbuf, zflag)) in CalculateINI()
1122 struct disppal_struct disppal; in CreateImage() local
1174 struct disppal_struct disppal; in CreateZBuf() local
1212 &cutbuf[0], &vidinfo, &disppal); in CreateZBuf()
1233 struct disppal_struct disppal; in CalculatePNG() local
1391 &disppal, &realpal, colscheme, cutbuf, zflag)) in CalculatePNG()
[all …]
H A Dcolors.h4 int CreateDispPal(struct disppal_struct *disppal, struct realpal_struct *realpal, int maxcol, doubl…
9 int FindNearestColor(struct disppal_struct *disppal, unsigned char r, unsigned char g, unsigned cha…
H A Dquat.h5 typedef int (*VER_SetColors) (struct disppal_struct *disppal);
24 int DUMMY_SetColors(struct disppal_struct *disppal);
55 struct disppal_struct *disppal, struct frac_struct *f, struct view_struct *v,