st/va: add check for P010 and P016 encode/decode support