gfx_image_pixelformat.h File Reference

Classes

struct  IsZeroInitialized< PixelFormatGroup >
 
struct  PixelConstBuffer
 
struct  PixelMutableBuffer
 
struct  ConvertFuncChannelHelper
 
class  PixelFormatInterface
 
class  PixelFormatsInterface
 
struct  ImageBufferTemplate< BASECLASS >
 

Namespaces

 maxon
 
 maxon::PixelFormats
 

Typedefs

using ChannelOffsets = Block< const BITS >
 
using ImageConstBuffer = ImageBufferTemplate< PixelConstBuffer >
 
using ImageMutableBuffer = ImageBufferTemplate< PixelMutableBuffer >
 
using CONVERTPIXELFUNC = Delegate< Result< void >(const PixelMutableBuffer &dst, Int count, const PixelConstBuffer &src, GETPIXELFLAGS flags)>
 
using CONVERTPIXELFUNCSTATIC = Result< void >(*)(const PixelMutableBuffer &dst, Int count, const PixelConstBuffer &src, GETPIXELFLAGS flags, const ChannelOffsets &dstChannelOffset, const ChannelOffsets &srcChannelOffset)
 
using ConvertFuncChannelHelperRef = StrongRef< ConvertFuncChannelHelper >
 

Enumerations

enum class  CONVERTPIXELFLAGS {
  NONE ,
  FORCECOLORPROFILECONVERSION
}
 
enum class  GETPIXELHANDLERFLAGS {
  NONE ,
  FORCECOLORPROFILECONVERSION ,
  DEEPIMAGE ,
  DONTAPPLYMASK ,
  ALLOW_INVALIDATE_ALPHA
}
 
enum class  GETPIXELFLAGS {
  NONE ,
  DEEPIMAGE
}
 
enum class  SETPIXELHANDLERFLAGS {
  NONE ,
  FORCECOLORPROFILECONVERSION ,
  DEEPIMAGE
}
 
enum class  SETPIXELFLAGS {
  NONE ,
  DEEPIMAGE
}
 

Functions

enum maxon::CONVERTPIXELFLAGS MAXON_ENUM_FLAGS (CONVERTPIXELFLAGS)
 
enum maxon::GETPIXELHANDLERFLAGS MAXON_ENUM_FLAGS (GETPIXELHANDLERFLAGS)
 
enum maxon::GETPIXELFLAGS MAXON_ENUM_FLAGS (GETPIXELFLAGS)
 
enum maxon::SETPIXELHANDLERFLAGS MAXON_ENUM_FLAGS (SETPIXELHANDLERFLAGS)
 
enum maxon::SETPIXELFLAGS MAXON_ENUM_FLAGS (SETPIXELFLAGS)
 
Result< CONVERTPIXELFUNC > LambdaWrapper (CONVERTPIXELFUNCSTATIC func, const ChannelOffsets &dstChannelOffsets, const ChannelOffsets &srcChannelOffsets)
 
 MAXON_DECLARATION (Class< PixelFormat >, PixelFormatBaseClass, "net.maxon.image.class.pixelformatbase", MAXON_IMPLEMENTATION_MODULE("net.maxon.image"))
 
 MAXON_REGISTRY (PixelFormat, RGB, "net.maxon.image.registry.rgb")
 
Result< PixelFormat > JoinPixelFormats (const PixelFormat &format1, const PixelFormat &format2)
 

Variables

 NONE
 
 FORCECOLORPROFILECONVERSION
 
 DEEPIMAGE
 
 DONTAPPLYMASK
 
 ALLOW_INVALIDATE_ALPHA
 

Variable Documentation

◆ NONE

NONE

no options set.

No options set.

◆ FORCECOLORPROFILECONVERSION

FORCECOLORPROFILECONVERSION

if set it forces color profile conversion even if the color space are identical, otherwise the conversion will be performed only if the color spaces are different.

if set it forces color profile conversion even if the color space are identical, otherwise the conversion will be performed only if the color spaces are different.

◆ DEEPIMAGE

DEEPIMAGE

request a deep image pixel handler.

provided a DeepImagePixelConst/MutableBuffer.

provided a DeepImageConst/MutableBuffer structure.

◆ DONTAPPLYMASK

DONTAPPLYMASK

do not apply the alpha layer to the image data.

◆ ALLOW_INVALIDATE_ALPHA

ALLOW_INVALIDATE_ALPHA

Allow GetPixelCntP to invalidate the alpha. E.g. if the source image is RGB and the destination buffer is RGBA, the Alpha channel of the destination may contain garbage.