During operation, the RI computation block receives coded video data from BL encoder 8 and then decodes that coded video data.
residual images 12 are generated based on a difference between pixels in this decoded video data and pixels in the original video data.