73 LTIPixel(
const LTIPixel &pixel,
97 LTIPixel(
const LTIPixel&);
107 LTIPixel& operator=(
const LTIPixel&);
112 bool operator==(
const LTIPixel&)
const;
117 bool operator!=(
const LTIPixel&)
const;
137 lt_uint16 getNumBandsWithoutAlpha()
const;
149 bool isSignedData()
const;
174 bool hasAlphaBand()
const;
181 bool hasPreMultipliedAlphaBand()
const;
205 lt_uint32 getNumBytesWithoutAlpha()
const;
226 LT_STATUS checkImpedance(
const LTIPixel& pixel,
227 bool enforceColorSpace =
true)
const;
228 LT_STATUS checkImpedanceWithoutAlpha(
const LTIPixel& pixel)
const;
234 #ifndef DEPRECATE_PIXEL_HELPERS
249 const void* getSampleValueAddr(
lt_uint16 band)
const;
326 float getSampleValueFloat32(
lt_uint16 band)
const;
337 double getSampleValueFloat64(
lt_uint16 band)
const;
345 bool areSampleValuesMin()
const;
352 bool areSampleValuesMax()
const;
367 void setSampleValuesToMin();
374 void setSampleValuesToMax();
376 #ifndef DEPRECATE_PIXEL_HELPERS
385 void setSampleValueAddr(
lt_uint16 band,
const void* data)
const;
395 void setSampleValuesUint8(
lt_uint8 value);
405 void setSampleValuesSint8(
lt_int8 value);
415 void setSampleValuesUint16(
lt_uint16 value);
425 void setSampleValuesSint16(
lt_int16 value);
435 void setSampleValuesUint32(
lt_uint32 value);
445 void setSampleValuesSint32(
lt_int32 value);
455 void setSampleValuesFloat32(
float value);
465 void setSampleValuesFloat64(
double value);
474 void setSampleValuesFromDouble(
double value);
476 #ifndef DEPRECATE_PIXEL_HELPERS
552 void setSampleValueFloat32(
lt_uint16 band,
float value);
563 void setSampleValueFloat64(
lt_uint16 band,
double value);
573 void setSampleValuesUint8(
const lt_uint8 values[]);
583 void setSampleValuesSint8(
const lt_int8 values[]);
593 void setSampleValuesUint16(
const lt_uint16 values[]);
603 void setSampleValuesSint16(
const lt_int16 values[]);
613 void setSampleValuesUint32(
const lt_uint32 values[]);
623 void setSampleValuesSint32(
const lt_int32 values[]);
633 void setSampleValuesFloat32(
const float values[]);
643 void setSampleValuesFloat64(
const double values[]);
649 static LT_STATUS checkCompatible(
const LTIPixel &dstPixelProps,
650 const LTIPixel &srcPixelProps);
667 #endif // LTI_PIXEL_H