int8/12 converter