boolean function ( short arg0 , short arg1 ) { return ( arg0 & 0xFFFF ) <= ( arg1 & 0xFFFF ) ; }
for dxt1 only the short need to be treated as unsigned and value compared c0 and c1 is a signed short , but we need to treat it as unsigned for comparision it 's 16 bits of info not a short at all concode_field_sep int r concode_elem_sep int b concode_elem_sep int pix888 concode_elem_sep int g concode_field_sep Color24[] expandLookupTableAlphable concode_elem_sep Color24[] expandLookupTable concode_elem_sep void set concode_elem_sep Color24 fromShort565