Dev:AppleJPEGDriver

AppleJPEGDriver is a kernel-extension providing the acceleration of encoding and decoding JPEG images via s, especially for ones with YUV color space. It powers the for decoding,  for encoding, and  for both.

Methods
where

For best results, use an IOSurface that has the kIOSurfaceCacheMode property set to kIOMapInhibitCache.

Code making use of this interface

 * AppleJPEGDriver-memleak calls AppleJPEGDriver to perform an exploit on iOS 10.1.1.
 * demo.m from Alyssa Rosenzweig uses the memleak struct definition to decode an image on M1.

It is unknown why the struct definitions appear to differ from the above in the two examples (probably just an upgrade). As with other IOKit classes, you use  to call the methods.