int tgetp(int x, int y)
Returns the pixel value at the specified image coordinates
This function lets you read a whole pixel from the first tile buffer. Unlike tget the returned value includes the values of all color channels (including the transparency channel if one is available) of the pixel. Using tgetp instead of tget takes only approximately half as much time. To decode the individual color values from the returned pixel value you have to use the Rval, Gval, Bval and Aval functions. Currently only works with 8 bit images.
srcp, pgetp, psetp, tsetp, t2getp, t2setp, Rval, Gval, Bval, Aval
Everyone can add his comments about his experiences with this function here. Tips for using it are welcome, too.