GPU-oriented architecture for an end-to-end image/video codec based on JPEG2000