first pass ETC1 decoder