Home | History | Annotate | Download | only in svga

Lines Matching defs:fh

367    float fh = flip * viewport->scale[1] * 2.0f;
382 fh);
410 if (fh < 0.0) {
413 prescale.translate[1] = fh + fy * 2.0f;
417 prescale.translate[1] = fh - 1.0f + fy * 2.0f;
419 fh = -fh;
420 fy -= fh;
439 prescale.scale[1] *= fh / (fh + fy);
440 fh += fy;
451 if (fy + fh > fb_height) {
452 prescale.scale[1] *= fh / (fb_height - fy);
455 float out = fy + fh - fb_height; /* number of vp pixels out of view */
459 prescale.translate[1] -= fy * (fh / (fb_height - fy));
462 fh = fb_height - fy;
465 if (fw < 0 || fh < 0) {
466 fw = fh = fx = fy = 0;
480 rect.h = (uint32) fh;
487 fabs((float)rect.h - fh));