simplify pixel unpack
latch hdmi testpattern index calculation
Merge branch 'master' of github.com:cambridgehackers/xbsv