Classes | Defines | Typedefs | Enumerations | Functions | Variables
jpegbase.h File Reference
#include "ippdefs.h"
#include "ippcore.h"
#include "ipps.h"
#include "ippi.h"
#include "ippj.h"
Include dependency graph for jpegbase.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _bitstream
struct  _image

Defines

#define DIB_ALIGN   (sizeof(int) - 1)
#define DIB_AWIDTH(width, nchannels)   ( ((DIB_UWIDTH(width,nchannels) + DIB_ALIGN) & (~DIB_ALIGN)) )
#define DIB_PAD_BYTES(width, nchannels)   ( DIB_AWIDTH(width,nchannels) - DIB_UWIDTH(width,nchannels) )
#define DIB_UWIDTH(width, nchannels)   ((width) * (nchannels))
#define LOG(msg)
#define LOG0(msg)
#define LOG1(msg, p1)
#define OWN_ALIGN_PTR(ptr, align)   ippAlignPtr(ptr,align)
#define TRC(msg)
#define TRC0(msg)
#define TRC1(msg, p1)

Typedefs

typedef struct _bitstream BITSTREAM
typedef struct _image IMAGE
typedef enum _JPEG_COLOR JCOLOR
typedef enum _JPEG_ERROR JERRCODE
typedef enum _JPEG_MARKER JMARKER
typedef enum _JPEG_MODE JMODE
typedef enum _JPEG_OPERATION JOPERATION
typedef enum _JPEG_SAMPLING JSS

Enumerations

enum  _JPEG_COLOR {
  JC_UNKNOWN = 0, JC_GRAY = 1, JC_RGB = 2, JC_BGR = 3,
  JC_YCBCR = 4, JC_CMYK = 5, JC_YCCK = 6
}
enum  _JPEG_ERROR {
  JPEG_OK = 0, JPEG_NOT_IMPLEMENTED = -1, JPEG_INTERNAL_ERROR = -2, JPEG_BUFF_TOO_SMALL = -3,
  JPEG_OUT_OF_MEMORY = -4, JPEG_BAD_SEGMENT_LENGTH = -5, JPEG_BAD_HUFF_TBL = -6, JPEG_BAD_QUANT_SEGMENT = -7,
  JPEG_BAD_SCAN_SEGMENT = -8, JPEG_BAD_FRAME_SEGMENT = -9, JPEG_BAD_COMPONENT_ID = -10, JPEG_BAD_SAMPLING = -11,
  JPEG_BAD_RESTART = -12
}
enum  _JPEG_MARKER {
  JM_NONE = 0, JM_SOI = 0xd8, JM_EOI = 0xd9, JM_SOF0 = 0xc0,
  JM_SOF1 = 0xc1, JM_SOF2 = 0xc2, JM_SOF3 = 0xc3, JM_SOF5 = 0xc5,
  JM_SOF6 = 0xc6, JM_SOF7 = 0xc7, JM_SOF9 = 0xc9, JM_SOFA = 0xca,
  JM_SOFB = 0xcb, JM_SOFD = 0xcd, JM_SOFE = 0xce, JM_SOFF = 0xcf,
  JM_SOS = 0xda, JM_DQT = 0xdb, JM_DHT = 0xc4, JM_APP0 = 0xe0,
  JM_APP1 = 0xe1, JM_APP2 = 0xe2, JM_APP3 = 0xe3, JM_APP4 = 0xe4,
  JM_APP5 = 0xe5, JM_APP6 = 0xe6, JM_APP7 = 0xe7, JM_APP8 = 0xe8,
  JM_APP9 = 0xe9, JM_APP10 = 0xea, JM_APP11 = 0xeb, JM_APP12 = 0xec,
  JM_APP13 = 0xed, JM_APP14 = 0xee, JM_APP15 = 0xef, JM_RST0 = 0xd0,
  JM_RST1 = 0xd1, JM_RST2 = 0xd2, JM_RST3 = 0xd3, JM_RST4 = 0xd4,
  JM_RST5 = 0xd5, JM_RST6 = 0xd6, JM_RST7 = 0xd7, JM_DRI = 0xdd,
  JM_COM = 0xfe
}
enum  _JPEG_MODE { JPEG_BASELINE = 0, JPEG_PROGRESSIVE = 1, JPEG_LOSSLESS = 2 }
enum  _JPEG_OPERATION { JO_READ_HEADER = 0, JO_READ_DATA = 1 }
enum  _JPEG_SAMPLING { JS_444 = 0, JS_422 = 1, JS_411 = 2, JS_OTHER = 3 }

Functions

const char * GetErrorStr (JERRCODE code)

Variables

const int CPU_CACHE_LINE = 32
const int DCTSIZE2 = 64
const Ipp8u DefaultChrominanceACBits []
const Ipp8u DefaultChrominanceACValues []
const Ipp8u DefaultChrominanceDCBits []
const Ipp8u DefaultChrominanceDCValues []
const Ipp8u DefaultChrominanceQuant [64]
const Ipp8u DefaultLuminanceACBits []
const Ipp8u DefaultLuminanceACValues []
const Ipp8u DefaultLuminanceDCBits []
const Ipp8u DefaultLuminanceDCValues []
const Ipp8u DefaultLuminanceQuant [64]
const int MAX_BLOCKS_PER_MCU = 10
const int MAX_BYTES_PER_MCU = DCTSIZE2*sizeof(Ipp16s)*MAX_BLOCKS_PER_MCU
const int MAX_COMPS_PER_FRAME = 255
const int MAX_COMPS_PER_SCAN = 4
const int MAX_HUFF_BITS = 16
const int MAX_HUFF_TABLES = 4
const int MAX_HUFF_VALS = 256
const int MAX_QUANT_TABLES = 4

Define Documentation

#define DIB_ALIGN   (sizeof(int) - 1)

Definition at line 57 of file jpegbase.h.

#define DIB_AWIDTH (   width,
  nchannels 
)    ( ((DIB_UWIDTH(width,nchannels) + DIB_ALIGN) & (~DIB_ALIGN)) )

Definition at line 62 of file jpegbase.h.

#define DIB_PAD_BYTES (   width,
  nchannels 
)    ( DIB_AWIDTH(width,nchannels) - DIB_UWIDTH(width,nchannels) )

Definition at line 65 of file jpegbase.h.

#define DIB_UWIDTH (   width,
  nchannels 
)    ((width) * (nchannels))

Definition at line 59 of file jpegbase.h.

#define LOG (   msg)

Definition at line 104 of file jpegbase.h.

#define LOG0 (   msg)

Definition at line 105 of file jpegbase.h.

#define LOG1 (   msg,
  p1 
)

Definition at line 106 of file jpegbase.h.

#define OWN_ALIGN_PTR (   ptr,
  align 
)    ippAlignPtr(ptr,align)

Definition at line 53 of file jpegbase.h.

#define TRC (   msg)

Definition at line 84 of file jpegbase.h.

#define TRC0 (   msg)

Definition at line 85 of file jpegbase.h.

#define TRC1 (   msg,
  p1 
)

Definition at line 86 of file jpegbase.h.


Typedef Documentation

typedef struct _bitstream BITSTREAM
typedef struct _image IMAGE
typedef enum _JPEG_COLOR JCOLOR
typedef enum _JPEG_ERROR JERRCODE
typedef enum _JPEG_MARKER JMARKER
typedef enum _JPEG_MODE JMODE
typedef enum _JPEG_SAMPLING JSS

Enumeration Type Documentation

Enumerator:
JC_UNKNOWN 
JC_GRAY 
JC_RGB 
JC_BGR 
JC_YCBCR 
JC_CMYK 
JC_YCCK 

Definition at line 128 of file jpegbase.h.

Enumerator:
JPEG_OK 
JPEG_NOT_IMPLEMENTED 
JPEG_INTERNAL_ERROR 
JPEG_BUFF_TOO_SMALL 
JPEG_OUT_OF_MEMORY 
JPEG_BAD_SEGMENT_LENGTH 
JPEG_BAD_HUFF_TBL 
JPEG_BAD_QUANT_SEGMENT 
JPEG_BAD_SCAN_SEGMENT 
JPEG_BAD_FRAME_SEGMENT 
JPEG_BAD_COMPONENT_ID 
JPEG_BAD_SAMPLING 
JPEG_BAD_RESTART 

Definition at line 208 of file jpegbase.h.

Enumerator:
JM_NONE 
JM_SOI 
JM_EOI 
JM_SOF0 
JM_SOF1 
JM_SOF2 
JM_SOF3 
JM_SOF5 
JM_SOF6 
JM_SOF7 
JM_SOF9 
JM_SOFA 
JM_SOFB 
JM_SOFD 
JM_SOFE 
JM_SOFF 
JM_SOS 
JM_DQT 
JM_DHT 
JM_APP0 
JM_APP1 
JM_APP2 
JM_APP3 
JM_APP4 
JM_APP5 
JM_APP6 
JM_APP7 
JM_APP8 
JM_APP9 
JM_APP10 
JM_APP11 
JM_APP12 
JM_APP13 
JM_APP14 
JM_APP15 
JM_RST0 
JM_RST1 
JM_RST2 
JM_RST3 
JM_RST4 
JM_RST5 
JM_RST6 
JM_RST7 
JM_DRI 
JM_COM 

Definition at line 151 of file jpegbase.h.

enum _JPEG_MODE
Enumerator:
JPEG_BASELINE 
JPEG_PROGRESSIVE 
JPEG_LOSSLESS 

Definition at line 111 of file jpegbase.h.

Enumerator:
JO_READ_HEADER 
JO_READ_DATA 

Definition at line 120 of file jpegbase.h.

Enumerator:
JS_444 
JS_422 
JS_411 
JS_OTHER 

Definition at line 141 of file jpegbase.h.


Function Documentation

const char* GetErrorStr ( JERRCODE  code)

Definition at line 154 of file jpegbase.cpp.


Variable Documentation

const int CPU_CACHE_LINE = 32

Definition at line 257 of file jpegbase.h.

const int DCTSIZE2 = 64

Definition at line 258 of file jpegbase.h.

const Ipp8u DefaultChrominanceACBits[]

Definition at line 121 of file jpegbase.cpp.

Definition at line 128 of file jpegbase.cpp.

const Ipp8u DefaultChrominanceDCBits[]

Definition at line 74 of file jpegbase.cpp.

Definition at line 81 of file jpegbase.cpp.

const Ipp8u DefaultChrominanceQuant[64]

Definition at line 47 of file jpegbase.cpp.

const Ipp8u DefaultLuminanceACBits[]

Definition at line 88 of file jpegbase.cpp.

const Ipp8u DefaultLuminanceACValues[]

Definition at line 95 of file jpegbase.cpp.

const Ipp8u DefaultLuminanceDCBits[]

Definition at line 60 of file jpegbase.cpp.

const Ipp8u DefaultLuminanceDCValues[]

Definition at line 67 of file jpegbase.cpp.

const Ipp8u DefaultLuminanceQuant[64]

Definition at line 33 of file jpegbase.cpp.

const int MAX_BLOCKS_PER_MCU = 10

Definition at line 265 of file jpegbase.h.

const int MAX_BYTES_PER_MCU = DCTSIZE2*sizeof(Ipp16s)*MAX_BLOCKS_PER_MCU

Definition at line 266 of file jpegbase.h.

const int MAX_COMPS_PER_FRAME = 255

Definition at line 262 of file jpegbase.h.

const int MAX_COMPS_PER_SCAN = 4

Definition at line 261 of file jpegbase.h.

const int MAX_HUFF_BITS = 16

Definition at line 263 of file jpegbase.h.

const int MAX_HUFF_TABLES = 4

Definition at line 260 of file jpegbase.h.

const int MAX_HUFF_VALS = 256

Definition at line 264 of file jpegbase.h.

const int MAX_QUANT_TABLES = 4

Definition at line 259 of file jpegbase.h.



canon_vbc50i
Author(s): Cedric Pradalier
autogenerated on Sun Oct 5 2014 23:47:45