


This means that software taking advantage of that feature can do hardware accelerated image decoding - which is generally much faster than purely CPU-based image decoding.Īpple engineers spent a lot of time and effort optimising the software for decoding HEIC-files as they are widely used throughout the iOS system. iPhone 7 and newer) has hardware decoding built-in. IOS devices with an A10 or newer CPU (i.e. There are several reasons why the built-in iOS photo viewer is fast whereas your own libheif-based decoder is slow: I'm going to assume you mean "libheif" where you wrote "libheic" (the former is a popular library for decoding HEIC files, whereas the latter is not something that can be found anywhere).
