preliminary 10 bit depth decoding support, still miss generic api to export picture...