Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/extensions/Variables/includes/ExtVariables.php on line 198
AppleJPEGDriver: Difference between revisions - iPhone Development Wiki

AppleJPEGDriver: Difference between revisions

From iPhone Development Wiki
(Created page with ''''AppleJPEGDriver''' is a kernel-extension providing accelerating encoding and decoding JPEG images via {{fwlink|IOSurface}}s, esp. for those with [http://en.wikipedia.org/wiki/…')
(No difference)

Revision as of 22:32, 2 January 2010

AppleJPEGDriver is a kernel-extension providing accelerating encoding and decoding JPEG images via IOSurfaces, esp. for those with YUV color space. It powers the AppleJPEG for decoding, Camera for encoding, and Celestial for both.

Methods

Selector Action Input Output
0 initializeDecoder - -
1 startDecoder struct JPEGDriverArgs (40 bytes) 40 bytes of stuff
2 initializeEncoder - -
3 startEncoder struct JPEGDriverArgs (40 bytes) 40 bytes of stuff.

where

struct JPEGDriverArgs {
  int must_be_zero_1;
  IOSurfaceID src_surface;
  size_t src_size;
  int must_be_zero_2;
  IOSurfaceID dest_surface;
  size_t dest_size;
  void* unknown_1;
  size_t dest_width;
  size_t dest_height;
  void* unknown_2;
};