Picture.
More...
#include <camera_plugin.h>
|
virtual PixelFormat | pixelFormat () const =0 |
| Returns pixel format.
|
|
virtual int | planeCount () const =0 |
| Returns number of planes in picture (this depends on format)
|
|
virtual int | width () const =0 |
| Width (pixels)
|
|
virtual int | height () const =0 |
| Height (pixels)
|
|
virtual int | xStride (int planeNumber) const =0 |
| Length of horizontal line (in bytes) of plane planeNumber.
|
|
virtual const void * | scanLine (int planeNumber, int lineNumber) const =0 |
| Returns pointer to horizontal line lineNumber (starting with 0) of plane planeNumber.
|
|
virtual void * | scanLine (int planeNumber, int lineNumber)=0 |
| Returns pointer to horizontal line lineNumber (starting with 0) of plane planeNumber.
|
|
virtual void * | data ()=0 |
|
virtual const void * | data () const =0 |
|
virtual void * | queryInterface (const nxpl::NX_GUID &interfaceID)=0 |
| Cast to type, specified by interfaceID. More...
|
|
virtual int | addRef () const =0 |
| Increment reference counter. More...
|
|
virtual int | releaseRef () const =0 |
| Decrement reference counter. More...
|
|
◆ data()
virtual void* nxcip::Picture::data |
( |
| ) |
|
|
pure virtual |
- Returns
- Picture data. Returned buffer MUST be aligned on MEDIA_DATA_BUFFER_ALIGNMENT - byte boundary (this restriction helps for some optimization). nx::kit::utils::mallocAligned and nx::kit::utils::freeAligned routines can be used for that purpose
The documentation for this class was generated from the following file: