QSV: let's be safer
QSV: prepare decoding infrastructure, part 1