[Openchrome-users] Question about Upd_Video()

Florian Hühn matercpp
Mon Oct 13 03:20:07 PDT 2008


Hi,

because of some trouble with interpolation i had a quick look over the
source code and came across the following lines in src/via_swov.c (line
1953 in svn rev 596):

            if (haveHQVzoomH) {
                miniCtl = V1_X_INTERPOLY;
                /* Disable X interpolation if the height exceeds 
                 * the maximum supported by the hardware */
                if (srcHeight >= pVia->swov.maxHInterp)
                    miniCtl &= ~V1_X_INTERPOLY;
                tmp = zoomCtl & 0xffff0000;
            }

Is this really intended to be a >= sign? For my understanding
"srcHeight > pVia->swov.maxHInterp" makes more sense, or am i missing
something? (Same would apply to srcWidth btw.)

Please enlighten me...

FH




More information about the Openchrome-users mailing list