sceVideodecDecode and sceVideodecFlush copy the picture libSceVideodec2
decodes as 8-bit NV12: one byte per sample and a pitch aligned from the
width in pixels. For a High 10 H.264 stream libSceVideodec2 writes two
bytes per sample and reports it in the picture header's bit depth, which
the copy ignored. A small 10-bit picture, whose rows fit the staging
buffer, was therefore returned as a valid 8-bit picture holding the
first half of each row's bytes, with success.
The picture header's bit depth is now checked, and a picture deeper than
8 bits throws, as the console's output for it is not known. The debt
file records it.
AI-assisted: yes