Service::Y2R: Support for grayscale decoding of specific formats

Implements unrotated planar YUV 4:2:0 -> RGB24 conversions in Y2R.
Currently only the Y (luma) channel is used, so the results don't
contain color. This will be added in a later PR at some point.

This is enough to get all currently know Moflex videos to decode. (Some
don't display on-screen due to seemingly unrelated reasons.)

Thanks to @archshift for doing the initial implementation which I
cleaned up and then fixed the 8x8 block mode.
This commit is contained in:
Yuri Kunde Schlesner 2015-05-21 23:27:48 -03:00
parent bf5e1d08bc
commit 9108482888
3 changed files with 268 additions and 36 deletions

View file

@ -45,6 +45,7 @@ namespace Log {
SUB(Service, DSP) \
SUB(Service, HID) \
SUB(Service, SOC) \
SUB(Service, Y2R) \
CLS(HW) \
SUB(HW, Memory) \
SUB(HW, LCD) \