• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdelibs
  • Sitemap
  • Contact Us
 

KImgIO

hdr.cpp File Reference

#include "hdr.h"
#include <QtGui/QImage>
#include <QtCore/QDataStream>
#include <kdebug.h>
#include <kglobal.h>

Include dependency graph for hdr.cpp:

Go to the source code of this file.


Defines

#define MAXELEN   0x7fff
#define MAXLINE   1024
#define MINELEN   8

Typedefs

typedef Q_UINT8 uchar

Functions

static uchar ClipToByte (float value)
void kimgio_hdr_read (QImageIO *io)
void kimgio_hdr_write (QImageIO *)
static bool LoadHDR (QDataStream &s, const int width, const int height, QImage &img)
static bool Read_Old_Line (uchar *image, int width, QDataStream &s)
static void RGBE_To_QRgbLine (uchar *image, QRgb *scanline, int width)

Define Documentation

#define MAXELEN   0x7fff

Definition at line 25 of file hdr.cpp.

#define MAXLINE   1024

Definition at line 23 of file hdr.cpp.

#define MINELEN   8

Definition at line 24 of file hdr.cpp.


Typedef Documentation

typedef Q_UINT8 uchar

Definition at line 19 of file hdr.cpp.


Function Documentation

static uchar @9::ClipToByte ( float  value  )  [inline, static]

Definition at line 27 of file hdr.cpp.

void kimgio_hdr_read ( QImageIO *  io  ) 

validHeader ||

Definition at line 202 of file hdr.cpp.

void kimgio_hdr_write ( QImageIO *   ) 

Definition at line 261 of file hdr.cpp.

static bool @9::LoadHDR ( QDataStream &  s,
const int  width,
const int  height,
QImage &  img 
) [static]

Definition at line 97 of file hdr.cpp.

static bool @9::Read_Old_Line ( uchar *  image,
int  width,
QDataStream &  s 
) [static]

Definition at line 36 of file hdr.cpp.

static void @9::RGBE_To_QRgbLine ( uchar *  image,
QRgb *  scanline,
int  width 
) [static]

Definition at line 72 of file hdr.cpp.

KImgIO

Skip menu "KImgIO"
  • Main Page
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • Kross
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.5.7
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal