Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MagicSR: MagicCode AI Super-Resolution, 1080P@240fps on iPhone14Pro

MagicSR is MagicCode's AI super-resolution solution for mobile video and image enhancement.

MagicCode developed a fast convolution method called PACA, which accelerates convolution computation by dozens of times without sacrificing numerical accuracy. Based on this method, we designed MagicSR to provide strong visual quality with production-ready speed.

The MagicSR network delivers the ultra-fast processing speed typically associated with traditional image-processing algorithms, while preserving the strong AI super-resolution quality of neural approaches. To cover most mobile devices from low-end to high-end, we provide two MagicSR modes: HighSpeed and Speed. Speed produces higher image quality and is better suited to mid- to high-end devices, while HighSpeed runs faster(1080P@240fps on iPhone14Pro) and enables smooth performance on lower-compute devices.

Official page: https://www.magiccode-ai.com/products/video-super-resolution

Note: the comparison videos in the "MagicSR Overview" section are intentionally omitted here.

MagicSR Performance

To evaluate MagicSR, we compared it with benchmark mobile SR solutions including Apple MetalFX and Qualcomm SGSR (2x super-resolution).

iOS / iPadOS

  • Image quality: MagicSR-Speed > MagicSR-HighSpeed >= MetalFX-Temporal > MetalFX-Spatial
  • Processing speed: MagicSR-HighSpeed > MagicSR-Speed > MetalFX-Spatial > MetalFX-Temporal

Android

  • Image quality: MagicSR-Speed > MagicSR-HighSpeed > SGSR2.0 > SGSR1.0
  • Processing speed: MagicSR-HighSpeed ≈ SGSR1.0 > MagicSR-Speed > SGSR2.0

2x Super-Resolution Speed Data

iOS Super-Resolution Speed Comparison (A16 Pro, ms)

Method Time (ms)
MagicSR HighSpeed 3.47
MagicSR Speed 4.83
MetalFX Spatial 8.82
MetalFX Temporal 15.28

Android Vulkan Super-Resolution Speed Comparison (Snapdragon 888, ms)

Method Time (ms)
SGSR1.0 4.678
MagicSR HighSpeed 4.581
MagicSR Speed 9.91
SGSR2.0 13.47

MagicSR Speed vs Apple MetalFx

Side-by-side real-time 2× super-resolution in a 3D game on iPhone 14 Pro. Both pipelines render at 1920×1080 and upscale to 3840×2160.

Left — MagicSR Speed 2× Right — MetalFX 2×
~59.7 FPS, ~4.3 ms SR ~36.6 FPS, ~14.6 ms SR
MagicSR Speed vs Apple MetalFx — side-by-side 2x super-resolution demo

▶ Watch full video (MP4)

Image Comparison Samples

Comparison 1

SGSR1.0 SGSR2.0
SGSR1.0 Comparison 1 SGSR2.0 Comparison 1
MagicSR HighSpeed MagicSR Speed
MagicSR HighSpeed Comparison 1 MagicSR Speed Comparison 1
MetalFX Spatial MetalFX Temporal
MetalFX Spatial Comparison 1 MetalFX Temporal Comparison 1

Comparison 2

SGSR1.0 SGSR2.0
SGSR1.0 Comparison 2 SGSR2.0 Comparison 2
MagicSR HighSpeed MagicSR Speed
MagicSR HighSpeed Comparison 2 MagicSR Speed Comparison 2
MetalFX Spatial MetalFX Temporal
MetalFX Spatial Comparison 2 MetalFX Temporal Comparison 2

Comparison 3

SGSR1.0 SGSR2.0
SGSR1.0 Comparison 3 SGSR2.0 Comparison 3
MagicSR HighSpeed MagicSR Speed
MagicSR HighSpeed Comparison 3 MagicSR Speed Comparison 3
MetalFX Spatial MetalFX Temporal
MetalFX Spatial Comparison 3 MetalFX Temporal Comparison 3

Game Demo: Original Res vs Low Res+MagicSR

In-game clip with on-screen HUD comparing the original stream against MagicSR.

Original Res vs Low Res+MagicSR game clip with HUD

▶ Watch full video (MP4)

Productization Support

MagicSR supports mainstream CPU and GPU backends:

  • X86 SIMD
  • Neon
  • Metal
  • Vulkan
  • OpenGLES
  • OpenGL

And provides integration support for:

  • Unity plugin (supports Unity 2022.3.62f2c1)
  • Unreal Engine plugin (supports UE 5.0, 5.1, 5.2, 5.3, 5.4, 5.6, 5.7, 5.8)

Quick Start

Quick integration via the Enable API: include the header, set the model directory, enable with an input texture and scale, then disable when finished.

#include "mc_enable.h"
MC_Enable_SetModelDir("/path/to/MagicSRModels");  // or MC_Enable_SetModelPath(".../model.bin")
void* output = MC_Enable(input, scale);           // use output
MC_Disable(output);

Unity / Unreal plugins follow the same flow as SetModelDirEnable(input, scale)Disable().

MagicSR quick integration tutorial

▶ Watch full tutorial (MP4)

For full details, see the User Guide.

License

MagicSR is free to download and use under the End User License Agreement (EULA) v1.1.

The EULA grants a no-charge license to the Software itself. Professional services — such as integration assistance, custom development, consulting, training, priority support, and SLA commitments — are not included in the free Software license and require a separate paid Services Agreement.

Community feedback may be submitted via GitHub Issues on an as-is basis without guaranteed response times.

Related legal documents are available in the doc/ directory, including the Privacy Policy and Data Reporting Notice.

Contact

  • Website: https://www.magiccode-ai.com/
  • Software download and documentation: this repository
  • Professional services and business cooperation: contact us through the official website

© 2026 MagicCode Technology Limited. All rights reserved.

About

MagicSR: MagicCode AI Super-Resolution

Resources

Stars

7 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages