• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • graphics API Reference
  • KDE Home
  • Contact Us
 

digikam

  • extragear
  • graphics
  • digikam
  • core
  • libs
  • pgfutils
  • libpgf
Classes | Macros | Typedefs | Enumerations
PGFtypes.h File Reference
#include "PGFplatform.h"
Include dependency graph for PGFtypes.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  IOException
 
struct  PGFHeader
 
struct  PGFMagicVersion
 
struct  PGFPostHeader
 
struct  PGFPreHeader
 
struct  PGFRect
 
struct  PGFVersionNumber
 
struct  ROIBlockHeader::RBH
 
union  ROIBlockHeader
 

Macros

#define BufferSize   16384
 
#define ColorTableLen   256
 
#define ColorTableSize   (ColorTableLen*sizeof(RGBQUAD))
 
#define DataTSize   sizeof(DataT)
 
#define DownsampleThreshold   3
 
#define HeaderSize   sizeof(PGFHeader)
 
#define InterBlockSize   4
 
#define LinBlockSize   8
 
#define MagicVersionSize   sizeof(PGFMagicVersion)
 
#define MaxBitPlanes   31
 
#define MaxBitPlanesLog   5
 
#define MaxChannels   8
 
#define MaxLevel   30
 
#define MaxQuality   MaxBitPlanes
 
#define MaxUserDataSize   0x7FFFFFFF
 
#define NSubbands   4
 
#define PGF32   4
 
#define PGFCodecVersion   STRINGIZE(PPCAT(PPCAT(PPCAT(PPCAT(PGFMajorNumber, .), PGFYear), .), PGFWeek))
 
#define PGFCodecVersionID   PPCAT(PPCAT(PPCAT(0x0, PGFMajorNumber), PGFYear), PGFWeek)
 
#define PGFMagic   "PGF"
 
#define PGFMajorNumber   7
 
#define PGFROI   8
 
#define PGFVersion   (Version2 | PGF32 | Version5 | Version6 | Version7)
 
#define PGFWeek   03
 
#define PGFYear   19
 
#define PPCAT(A, B)   PPCAT_NX(A, B)
 
#define PPCAT_NX(A, B)   A ## B
 
#define PreHeaderSize   sizeof(PGFPreHeader)
 
#define RLblockSizeLen   15
 
#define STRINGIZE(A)   STRINGIZE_NX(A)
 
#define STRINGIZE_NX(A)   #A
 
#define Version2   2
 
#define Version5   16
 
#define Version6   32
 
#define Version7   64
 

Typedefs

typedef INT32 DataT
 
typedef void(* RefreshCB )(void *p)
 

Enumerations

enum  Orientation { LL = 0, HL = 1, LH = 2, HH = 3 }
 
enum  ProgressMode { PM_Relative, PM_Absolute }
 
enum  UserdataPolicy { UP_Skip = 0, UP_CachePrefix = 1, UP_CacheAll = 2 }
 

Detailed Description

PGF definitions.

Author
C. Stamm

Definition in file PGFtypes.h.

Macro Definition Documentation

#define BufferSize   16384

must be a multiple of WordWidth, BufferSize <= UINT16_MAX

Definition at line 84 of file PGFtypes.h.

#define ColorTableLen   256

size of color lookup table (clut)

Definition at line 66 of file PGFtypes.h.

#define ColorTableSize   (ColorTableLen*sizeof(RGBQUAD))

Definition at line 286 of file PGFtypes.h.

#define DataTSize   sizeof(DataT)

Definition at line 287 of file PGFtypes.h.

#define DownsampleThreshold   3

if quality is larger than this threshold than downsampling is used

Definition at line 65 of file PGFtypes.h.

#define HeaderSize   sizeof(PGFHeader)

Definition at line 285 of file PGFtypes.h.

#define InterBlockSize   4

side length of a coefficient block in a HL or LH subband

Definition at line 87 of file PGFtypes.h.

#define LinBlockSize   8

side length of a coefficient block in a HH or LL subband

Definition at line 86 of file PGFtypes.h.

#define MagicVersionSize   sizeof(PGFMagicVersion)

Definition at line 283 of file PGFtypes.h.

#define MaxBitPlanes   31

maximum number of bit planes of m_value: 32 minus sign bit

Definition at line 89 of file PGFtypes.h.

#define MaxBitPlanesLog   5

number of bits to code the maximum number of bit planes (in 32 or 16 bit mode)

Definition at line 93 of file PGFtypes.h.

#define MaxChannels   8

maximum number of (color) channels

Definition at line 64 of file PGFtypes.h.

#define MaxLevel   30

maximum number of transform levels

Definition at line 62 of file PGFtypes.h.

#define MaxQuality   MaxBitPlanes

maximum quality

Definition at line 94 of file PGFtypes.h.

#define MaxUserDataSize   0x7FFFFFFF

Definition at line 288 of file PGFtypes.h.

#define NSubbands   4

number of subbands per level

Definition at line 63 of file PGFtypes.h.

#define PGF32   4

32 bit values are used -> allows at maximum 31 bits, otherwise 16 bit values are used -> allows at maximum 15 bits

Definition at line 69 of file PGFtypes.h.

#define PGFCodecVersion   STRINGIZE(PPCAT(PPCAT(PPCAT(PPCAT(PGFMajorNumber, .), PGFYear), .), PGFWeek))

Definition at line 56 of file PGFtypes.h.

#define PGFCodecVersionID   PPCAT(PPCAT(PPCAT(0x0, PGFMajorNumber), PGFYear), PGFWeek)

Definition at line 54 of file PGFtypes.h.

#define PGFMagic   "PGF"

PGF identification.

Definition at line 61 of file PGFtypes.h.

#define PGFMajorNumber   7

Definition at line 44 of file PGFtypes.h.

#define PGFROI   8

supports Regions Of Interest

Definition at line 70 of file PGFtypes.h.

#define PGFVersion   (Version2 | PGF32 | Version5 | Version6 | Version7)

current standard version

Definition at line 76 of file PGFtypes.h.

#define PGFWeek   03

Definition at line 46 of file PGFtypes.h.

#define PGFYear   19

Definition at line 45 of file PGFtypes.h.

#define PPCAT (   A,
  B 
)    PPCAT_NX(A, B)

Definition at line 49 of file PGFtypes.h.

#define PPCAT_NX (   A,
  B 
)    A ## B

Definition at line 48 of file PGFtypes.h.

#define PreHeaderSize   sizeof(PGFPreHeader)

Definition at line 284 of file PGFtypes.h.

#define RLblockSizeLen   15

block size length (< 16): ld(BufferSize) < RLblockSizeLen <= 2*ld(BufferSize)

Definition at line 85 of file PGFtypes.h.

#define STRINGIZE (   A)    STRINGIZE_NX(A)

Definition at line 51 of file PGFtypes.h.

#define STRINGIZE_NX (   A)    #A

Definition at line 50 of file PGFtypes.h.

#define Version2   2

data structure PGFHeader of major version 2

Definition at line 68 of file PGFtypes.h.

#define Version5   16

new coding scheme since major version 5

Definition at line 71 of file PGFtypes.h.

#define Version6   32

hSize in PGFPreHeader uses 32 bits instead of 16 bits

Definition at line 72 of file PGFtypes.h.

#define Version7   64

Codec major and minor version number stored in PGFHeader.

Definition at line 73 of file PGFtypes.h.

Typedef Documentation

typedef INT32 DataT

Definition at line 273 of file PGFtypes.h.

typedef void(* RefreshCB)(void *p)

Definition at line 278 of file PGFtypes.h.

Enumeration Type Documentation

enum Orientation
Enumerator
LL 
HL 
LH 
HH 

Definition at line 99 of file PGFtypes.h.

enum ProgressMode
Enumerator
PM_Relative 
PM_Absolute 

Definition at line 100 of file PGFtypes.h.

enum UserdataPolicy
Enumerator
UP_Skip 
UP_CachePrefix 
UP_CacheAll 

Definition at line 101 of file PGFtypes.h.

This file is part of the KDE documentation.
Documentation copyright © 1996-2019 The KDE developers.
Generated on Mon Dec 9 2019 02:25:21 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

digikam

Skip menu "digikam"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Modules
  • Related Pages
-->

graphics API Reference

Skip menu "graphics API Reference"
  • digikam
  • KDiagram
  •     KChart
  •     KGantt
  • KPhotoAlbum
  •   AndroidRemoteControl
  • Krita
  •   libs
  •     KritaBasicFlakes
  •     brush
  •     KritaUndo2
  •     KritaFlake
  •     image
  •     KritaPlugin
  •     Krita
  •     KritaOdf
  •     KritaPigment
  •     KritaStore
  •     ui
  •     KritaWidgets
  •     KritaWidgetUtils
  •   plugins
  •     Assitants
  •     Extensions
  •     Filters
  •         KritaText
  •         KritaTextLayout
  •     Generators
  •     Formats
  •             src
  •     PaintOps
  •       libpaintop
Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal