raw: change the use of the quality parameter
- Use the quality between 0 and 100 trying to leave what was done previously compatible.
- Set bit 31 to 1 (quality is negative) to work with flags. For Qt -1 indicates the default so it should be contemplated.
- Do on master only.
Edited by Mirco Miranda