qp.cpp will not allow values to over-run an unsigned char.  values > 255 are set to 255.