Multi-frame reconstruction using super-resolution, inpainting, segmentation and codecs