Make 'Ys I & II Eternal Story' playable.
Posted on 2006-01-16 00:00:00
Added support for the "Macroblock Type" for an I-picture variable length code table to the VDEC command.

It now issues a BDEC command which is supposed to decode 4 Y (luminance), 1 Cb (chrominance blue) and 1 Cr (chrominance red) blocks and perform an IDCT (inverse discrete cosine transform) on them. The resulting coefficients are stored in the out FIFO and then transfered by the DMAC through DMA channel 3. This is the second most complicated command of the IPU.

I don't know if that's going to take long though... I'll try to have at least the decoding of the DCT coefficients done tomorrow.