rg_etc1: Fix rare artifacts + add comments
authorJean-Philippe Andre <jp.andre@samsung.com>
Fri, 18 Apr 2014 09:17:57 +0000 (18:17 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Fri, 18 Apr 2014 09:46:55 +0000 (18:46 +0900)
commite120d42742b583dbe797170dd8f64022b2d11ea8
treee95da3548b1a0808e8819d8f204b945f57221ca5
parent356939a8fdd7b7e30acfb0826d5c37d5661da179
rg_etc1: Fix rare artifacts + add comments

Add some comments as I'm reading and understanding the code.
Fix some rare artifacts happening mostly with medium quality
encoding, where a few pixels (2x2, 2x4 or 4x2) will have a
horrible contrast with their surroundings (eg. pink over black).
src/static_libs/rg_etc/rg_etc1.c