4 ms·
That's because JPEG decoders use poor upscaling algorithms. I think libjpeg uses nearest neighbor. It's pretty easy to write a better one since the full resolu
by astrange 5y ago
That's because JPEG decoders use poor upscaling algorithms. I think libjpeg uses nearest neighbor.
It's pretty easy to write a better one since the full resolution image is already available for the Y plane, you can do super resolution.
- contravariant 5y agoWell easy is relative, but yeah you can do quite a lot better than the basic bilinear or bicubic upsampling that seems to be common. However most common image tools (and video players) don't seem to put in the effort, with very few exceptions.