Logo Search packages:      
Sourcecode: timfx version File versions  Download package

kino::color_traits< double > Class Template Reference

#include <kino_plugin_types.h>

List of all members.


Detailed Description

template<>
class kino::color_traits< double >

Specialization of color_traits for double samples.

Definition at line 104 of file kino_plugin_types.h.


Public Types

typedef double sample_type
 Defines the sample type for this specialization.

Static Public Member Functions

static sample_type convert (const sample_type Sample)
 Converts a sample from a double.
static sample_type convert (const uint8_t Sample)
 Converts a sample from a uint8_t.
static sample_type invert (const sample_type &Sample)
 Inverts the value of a sample.
static sample_type maximum ()
 Returns the maximum value of a sample.
static sample_type minimum ()
 Returns the minimum value of a sample.
static sample_type opaque ()
 Returns the sample value corresponding to opaque alpha.
static sample_type transparent ()
 Returns the sample value corresponding to transparent alpha.

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index