18 destPixel.
Red = (pTop->
Red >> 2) + (pCurrent->
Red >> 1) + (pBottom->
Red >> 2);
20 destPixel.
Blue = (pTop->
Blue >> 2) + (pCurrent->
Blue >> 1) + (pBottom->
Blue >> 2);
32 destPixel.
Red = (pTop->
Red + pBottom->
Red) >> 1;
48 for (
LWord pixelCount = 0; pixelCount < numPixels; pixelCount++ )
64 for (
LWord pixelCount = 0; pixelCount < numPixels; pixelCount++ )
Declares the AJAMemory class.
static RGBAlphaPixel VerticalFilterPixel(RGBAlphaPixel *pTop, RGBAlphaPixel *pCurrent, RGBAlphaPixel *pBottom)
Declares the VerticalFilterLine and FieldInterpolateLine functions.
void FieldInterpolateLine(RGBAlphaPixel *topLine, RGBAlphaPixel *bottomLine, RGBAlphaPixel *destLine, LWord numPixels)
void VerticalFilterLine(RGBAlphaPixel *topLine, RGBAlphaPixel *midLine, RGBAlphaPixel *bottomLine, RGBAlphaPixel *destLine, LWord numPixels)
static RGBAlphaPixel FieldInterpolatePixel(RGBAlphaPixel *pTop, RGBAlphaPixel *pBottom)