JPEG encoder architectures for wireless networks