Menu

About

AlikberOFF

In present time the AlphaFill.lib library includes two functions:

hyper  AlphaScan(
    RGBQUAD *pDst,  // Destination frame pointer
    RGBQUAD *pSmp,  // Sample frame
    long    iGritty,// Accuracy factor of separation [0..255]
    long    nPixels // Square of bitmap: width * height
)                   // The rdtsc instruction ticks employed by function

and

hyper  AlphaFill(
    RGBQUAD *pDst,  // Destination frame pointer
    long    iAmount // Minimal number of linked pixels in spot for indexing
)                   // The rdtsc instruction ticks employed by function

Important/!\: Before use the AlphaFill You must to call the AlphaScan and then set first pixel by width & height of frame, like as:

   DWORD(PDWORD(pDst))[0] = MAKELONG(width, height);