10 #include <PvBufferLib.h> 28 const uint8_t *GetDataPointer()
const;
29 uint8_t *GetDataPointer();
31 uint32_t GetWidth()
const;
32 uint32_t GetHeight()
const;
34 uint32_t GetBitsPerPixel()
const;
36 static uint32_t GetPixelSize(
PvPixelType aPixelType );
38 static bool IsPixelHighRes(
PvPixelType aPixelType );
39 static uint32_t GetBitsPerComponent(
PvPixelType aPixelType );
42 uint32_t GetRequiredSize()
const;
43 uint32_t GetImageSize()
const;
44 uint32_t GetEffectiveImageSize()
const;
46 uint32_t GetOffsetX()
const;
47 uint32_t GetOffsetY()
const;
48 uint16_t GetPaddingX()
const;
49 uint16_t GetPaddingY()
const;
51 void SetOffsetX( uint32_t aValue );
52 void SetOffsetY( uint32_t aValue );
54 PvResult Alloc( uint32_t aSizeX, uint32_t aSizeY,
PvPixelType aPixelType, uint16_t aPaddingX = 0, uint16_t aPaddingY = 0,
55 uint32_t aMaximumChunkLength = 0 );
58 PvResult Attach(
void * aRawBuffer, uint32_t aSizeX, uint32_t aSizeY,
PvPixelType aPixelType, uint16_t aPaddingX = 0,
59 uint16_t aPaddingY = 0, uint32_t aMaximumChunkLength = 0 );
62 bool IsPartialLineMissing()
const;
63 bool IsFullLineMissing()
const;
64 void SetEOFByLineCount(
bool aValue =
true );
65 bool IsEOFByLineCount()
const;
66 bool IsInterlacedEven()
const;
67 bool IsInterlacedOdd()
const;
68 bool IsImageDropped()
const;
69 bool IsDataOverrun()
const;
75 PvImage( PvBufferLib::Image *aImage );
80 friend class PvBufferLib::Buffer;
83 PvBufferLib::Image * mThis;
String class.
Definition: PvString.h:21
Result information.
Definition: PvResult.h:13
PvPixelType
Definition: PvPixelType.h:51
Converts images from TRUESENSE(TM) to RGB.
Definition: PvTruesenseConverter.h:21
Represents a block of GigE Vision or USB3 Vision data in memory.
Definition: PvBuffer.h:37
Image interface to a PvBuffer.
Definition: PvImage.h:24
Definition: PvBuffer.h:18