TAP_Osd_GetPixel

Topfield Documentation

int TAP_Osd_GetPixel(word rgn, dword x, dword y, void *pix);

It reads the pixel value.

Additional Documentation

Topfield MasterPiece TF5100PVRc FW: TF-NNCPCf 1.52 (Oct 05 2005) TAP API: 1.22

TAP_Osd_GetPixel( word rgn, dword x, dword y, void *pix );

Pixel goes high part of argument void *pix

Example:

dword pix;
TAP_Osd_GetPixel( rgn, x, y, &pix);
pix = pix >> 16; // Need to shift: rgb-pixel goes high 
TAP_Osd_PutPixel( rgn, x, y, pix);