Port of libmad for embedded ARM