Back to index

scribus-ng  1.3.4.dfsg+svn20071115
Classes | Defines | Typedefs | Functions
scimgdataloader_jpeg.cpp File Reference
#include <qfile.h>
#include <qfileinfo.h>
#include <qobject.h>
#include <setjmp.h>
#include "scconfig.h"
#include "scimgdataloader_jpeg.h"
#include "exif.h"

Go to the source code of this file.

Classes

struct  my_error_mgr

Defines

#define ICC_MARKER   (JPEG_APP0 + 2) /* JPEG marker code for ICC */
#define PHOTOSHOP_MARKER   (JPEG_APP0 + 13) /* JPEG marker code for PHOTOSHOP */
#define ICC_OVERHEAD_LEN   14 /* size of non-profile data in APP2 */
#define MAX_BYTES_IN_MARKER   65533 /* maximum data len of a JPEG marker */
#define MAX_DATA_BYTES_IN_MARKER   (MAX_BYTES_IN_MARKER - ICC_OVERHEAD_LEN)
#define MAX_SEQ_NO   255 /* sufficient since marker numbers are bytes */

Typedefs

typedef struct my_error_mgrmy_error_ptr

Functions

static void my_error_exit (j_common_ptr cinfo)

Class Documentation

struct my_error_mgr

Definition at line 35 of file scimage.cpp.

Class Members
jmp_buf setjmp_buffer

Define Documentation

#define ICC_MARKER   (JPEG_APP0 + 2) /* JPEG marker code for ICC */

Definition at line 30 of file scimgdataloader_jpeg.cpp.

#define ICC_OVERHEAD_LEN   14 /* size of non-profile data in APP2 */

Definition at line 32 of file scimgdataloader_jpeg.cpp.

#define MAX_BYTES_IN_MARKER   65533 /* maximum data len of a JPEG marker */

Definition at line 33 of file scimgdataloader_jpeg.cpp.

Definition at line 34 of file scimgdataloader_jpeg.cpp.

#define MAX_SEQ_NO   255 /* sufficient since marker numbers are bytes */
#define PHOTOSHOP_MARKER   (JPEG_APP0 + 13) /* JPEG marker code for PHOTOSHOP */

Definition at line 31 of file scimgdataloader_jpeg.cpp.


Typedef Documentation

typedef struct my_error_mgr * my_error_ptr

Function Documentation

static void my_error_exit ( j_common_ptr  cinfo) [static]

Definition at line 23 of file scimgdataloader_jpeg.cpp.

{
       my_error_ptr myerr = (my_error_ptr) cinfo->err;
       (*cinfo->err->output_message) (cinfo);
       longjmp (myerr->setjmp_buffer, 1);
}

Here is the caller graph for this function: