Also allow specifying thresholds that are bit depth independant Previous version reviewed by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>