Enums


Public Member Functions

  • ~ImageTargetCvPixelBuffer ()
  • getRowPointer (int32_t row)
  • finalize ()
  • ::CVPixelBufferRef
    getCvPixelBuffer () const
  • setRow (int32_t, const void *)
  • int32_t
    getWidth () const
  • int32_t
    getHeight () const
  • getColorModel () const
  • getDataType () const
  • getChannelOrder () const
  • bool
    hasAlpha () const

Static Public Member Functions

  • createRef (ImageSourceRef imageSource, bool convertToYpCbCr=false)
  • translateRgbColorModelToOffsets (ChannelOrder channelOrder, int8_t *red, int8_t *green, int8_t *blue, int8_t *alpha, int8_t *inc)
  • 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

  • ImageTargetCvPixelBuffer (ImageSourceRef imageSource, bool convertToYpCbCr)
  • convertDataToYpCbCr ()
  • convertDataToAYpCbCr ()
  • setSize (int32_t width, int32_t height)
  • setColorModel (ColorModel colorModel)
  • setDataType (DataType aDataType)
  • setChannelOrder (ChannelOrder aChannelOrder)

Protected Attributes

  • ::CVPixelBufferRef
    mPixelBufferRef
  • size_t
    mRowBytes
  • uint8_t *
    mData
  • bool
    mConvertToYpCbCr
  • int32_t
    mWidth
  • int32_t
    mHeight
  • mColorModel
  • mDataType
  • mChannelOrder