#NEWLINE# def decode565( bits ) : #NEWLINE# #INDENT# a = ( ( ( bits >> 11 ) & 31 ) << 3 ) #NEWLINE# b = ( ( ( bits >> 5 ) & 63 ) << 2 ) #NEWLINE# c = ( ( bits & 31 ) << 3 ) #NEWLINE# return ( bits , b , c )