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

libs/libksane/libksane

  • sources
  • kde-4.14
  • kdegraphics
  • libs
  • libksane
  • libksane
Namespaces | Macros
ksane_preview_thread.cpp File Reference
#include "ksane_preview_thread.moc"
#include <KDebug>
#include <QMutexLocker>
Include dependency graph for ksane_preview_thread.cpp:

Go to the source code of this file.

Namespaces

 KSaneIface
 

Macros

#define inc_color_index(index)   { index++; if (index==3) index=0;}
 
#define inc_pixel(x, y, ppl)   { x++; if (x>=ppl) { y++; x=0;} }
 
#define index_blue16_to_argb8(i)   (i*2)
 
#define index_blue8_to_argb8(i)   (i*4)
 
#define index_green16_to_argb8(i)   (i*2 + 1)
 
#define index_green8_to_argb8(i)   (i*4 + 1)
 
#define index_red16_to_argb8(i)   (i*2 + 2)
 
#define index_red8_to_argb8(i)   (i*4 + 2)
 

Macro Definition Documentation

#define inc_color_index (   index)    { index++; if (index==3) index=0;}

Definition at line 212 of file ksane_preview_thread.cpp.

#define inc_pixel (   x,
  y,
  ppl 
)    { x++; if (x>=ppl) { y++; x=0;} }

Definition at line 211 of file ksane_preview_thread.cpp.

#define index_blue16_to_argb8 (   i)    (i*2)

Definition at line 221 of file ksane_preview_thread.cpp.

#define index_blue8_to_argb8 (   i)    (i*4)

Definition at line 220 of file ksane_preview_thread.cpp.

#define index_green16_to_argb8 (   i)    (i*2 + 1)

Definition at line 218 of file ksane_preview_thread.cpp.

#define index_green8_to_argb8 (   i)    (i*4 + 1)

Definition at line 217 of file ksane_preview_thread.cpp.

#define index_red16_to_argb8 (   i)    (i*2 + 2)

Definition at line 215 of file ksane_preview_thread.cpp.

#define index_red8_to_argb8 (   i)    (i*4 + 2)

Definition at line 214 of file ksane_preview_thread.cpp.

This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:19:47 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

libs/libksane/libksane

Skip menu "libs/libksane/libksane"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdegraphics API Reference

Skip menu "kdegraphics API Reference"
  •     libkdcraw
  •     libkexiv2
  •     libkipi
  •     libksane
  • okular

Search



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