Enums


Public Member Functions

  • void
    load (ImageTargetRef target) override
  • int32_t
    getWidth () const
  • int32_t
    getHeight () const
  • getColorModel () const
  • getDataType () const
  • getChannelOrder () const
  • bool
    hasAlpha () const

Static Public Member Functions

  • create (DataSourceRef dataSource, ImageSource::Options options=ImageSource::Options())
  • void
    registerSelf ()
  • void
    translateRgbColorModelToOffsets (ChannelOrder channelOrder, int8_t *red, int8_t *green, int8_t *blue, int8_t *alpha, int8_t *inc)
  • void
    translateGrayColorModelToOffsets (ChannelOrder channelOrder, int8_t *gray, int8_t *alpha, int8_t *inc)
  • bool
    channelOrderHasAlpha (ChannelOrder channelOrder)
  • int8_t
    channelOrderNumChannels (ChannelOrder channelOrder)
  • uint8_t
    dataTypeBytes (DataType dataType)

Protected Member Functions

  • ImageSourceFileTinyExr (DataSourceRef dataSourceRef, ImageSource::Options options)
  • void
    setPixelAspectRatio (float pixelAspectRatio)
  • void
    setPremultiplied (bool premult=true)
  • void
    setFrameCount (int32_t frameCount)
  • setupRowFunc (ImageTargetRef target)
  • void
    setupRowFuncRgbSource (ImageTargetRef target)
  • void
    setupRowFuncGraySource (ImageTargetRef target)
  • setupRowFuncForTypesAndTargetColorModel (ImageTargetRef target)
  • setupRowFuncForTypes (ImageTargetRef target)
  • setupRowFuncForSourceType (ImageTargetRef target)
  • void
    rowFuncSourceRgb (ImageTargetRef target, int32_t row, const void *data)
  • void
    rowFuncSourceGray (ImageTargetRef target, int32_t row, const void *data)
  • void
    setSize (int32_t width, int32_t height)
  • void
    setColorModel (ColorModel colorModel)
  • void
    setDataType (DataType aDataType)
  • void
    setChannelOrder (ChannelOrder aChannelOrder)

Protected Attributes

  • std::unique_ptr< EXRHeader, std::function< int(EXRHeader *)> >
    mExrHeader
  • std::unique_ptr< EXRImage, std::function< int(EXRImage *)> >
    mExrImage
  • float
    mPixelAspectRatio
  • bool
    mIsPremultiplied
  • int8_t
    mCustomPixelInc
  • int32_t
    mFrameCount
  • int8_t
    mRowFuncSourceRed
  • int8_t
    mRowFuncSourceGreen
  • int8_t
    mRowFuncSourceBlue
  • int8_t
    mRowFuncSourceAlpha
  • int8_t
    mRowFuncTargetRed
  • int8_t
    mRowFuncTargetGreen
  • int8_t
    mRowFuncTargetBlue
  • int8_t
    mRowFuncTargetAlpha
  • int8_t
    mRowFuncSourceGray
  • int8_t
    mRowFuncTargetGray
  • int8_t
    mRowFuncSourceInc
  • int8_t
    mRowFuncTargetInc
  • int32_t
    mWidth
  • int32_t
    mHeight
  • mColorModel
  • mDataType
  • mChannelOrder