77 if ( NULL != pBuffer )
86 LOG_FREE_TEXT(
"No valid buffer passed when constructing frame." )
92 m_frame.ancillarySize = 0;
93 m_frame.buffer = NULL;
94 m_frame.bufferSize = 0;
95 for (
int i=0; i<4; ++i)
97 m_frame.context[i] = NULL;
101 m_frame.imageSize = 0;
104 m_frame.pixelFormat = 0;
107 m_frame.timestamp = 0;
275 rnBufferSize =
m_pImpl-> m_frame.bufferSize;
IMEXPORT VmbErrorType GetAncillaryData(AncillaryDataPtr &pAncillaryData)
IMEXPORT VmbErrorType RegisterObserver(const IFrameObserverPtr &pObserver)
ConditionHelper m_observerConditionHelper
bool EnterWriteLock(BasicLockable &rLockable, bool bExclusive=false)
IFrameObserverPtr m_pObserver
IMEXPORT VmbErrorType GetOffsetY(VmbUint32_t &offsetY) const
NetPointer< AncillaryData, AVT::VmbAPINET::AncillaryData > AncillaryDataPtr
bool GetObserver(IFrameObserverPtr &observer) const
VmbUint32_t ancillarySize
void ExitWriteLock(BasicLockable &rLockable)
IMEXPORT VmbErrorType GetBuffer(VmbUchar_t *&pBuffer)
IMEXPORT VmbErrorType GetFrameID(VmbUint64_t &frameID) const
IMEXPORT VmbErrorType GetHeight(VmbUint32_t &height) const
IMEXPORT VmbErrorType GetImageSize(VmbUint32_t &imageSize) const
#define LOG_FREE_TEXT(txt)
IMEXPORT VmbErrorType GetReceiveStatus(VmbFrameStatusType &status) const
unsigned long long VmbUint64_t
VmbFrameStatus_t receiveStatus
IMEXPORT VmbErrorType UnregisterObserver()
IMEXPORT VmbErrorType GetBufferSize(VmbUint32_t &bufferSize) const
#define SP_SET(sp, rawPtr)
MutexPtr m_pObserverMutex
void ExitReadLock(BasicLockable &rLockable)
IMEXPORT VmbErrorType GetWidth(VmbUint32_t &width) const
bool EnterReadLock(BasicLockable &rLockable)
IMEXPORT VmbErrorType GetAncillarySize(VmbUint32_t &ancillarySize) const
Frame & operator=(const Frame &)
IMEXPORT VmbErrorType GetImage(VmbUchar_t *&pBuffer)
IMEXPORT VmbErrorType GetTimestamp(VmbUint64_t ×tamp) const
IMEXPORT VmbErrorType GetOffsetX(VmbUint32_t &offsetX) const
VmbPixelFormat_t pixelFormat
NetPointer< AncillaryData, AVT::VmbAPINET::AncillaryData > ConstAncillaryDataPtr
IMEXPORT VmbErrorType GetPixelFormat(VmbPixelFormatType &pixelFormat) const