QSV: allocate buffers for decoding.