/* This function converts the a and b samples of Lab data from signed to unsigned.  */
tsize_t t2p_sample_lab_signed_to_unsigned(tdata_t, uint32)
/* This function converts the a and b samples of Lab data from signed to unsigned.  */
tsize_t t2p_sample_lab_signed_to_unsigned(tdata_t, uint32)
{
		if( (((unsigned char*)buffer)[(i*3)+1] & 0x80) !=0){
			((unsigned char*)buffer)[(i*3)+1] =
				(unsigned char)(0x80 + ((char*)buffer)[(i*3)+1]);
		} else {
			((unsigned char*)buffer)[(i*3)+1] |= 0x80;
		}
		if( (((unsigned char*)buffer)[(i*3)+2] & 0x80) !=0){
			((unsigned char*)buffer)[(i*3)+2] =
				(unsigned char)(0x80 + ((char*)buffer)[(i*3)+2]);
		} else {
			((unsigned char*)buffer)[(i*3)+2] |= 0x80;
		}
	}
	return(samplecount*3);
}