|
enum | PixelFormat {
yuv420,
argb,
abgr,
rgba,
bgra,
rgb,
bgr,
count
} |
|
enum | Handle { none = 0,
glTexture,
eglImage,
user = 1000
} |
|
◆ handle()
virtual int nx::sdk::analytics::UncompressedVideoFrame::handle |
( |
| ) |
const |
|
pure virtual |
- Returns
- Handle, or 0 if there is no handle for this frame.
◆ height()
virtual int nx::sdk::analytics::UncompressedVideoFrame::height |
( |
| ) |
const |
|
pure virtual |
- Returns
- height of decoded frame in pixels.
◆ lineSize()
virtual int nx::sdk::analytics::UncompressedVideoFrame::lineSize |
( |
int |
plane | ) |
const |
|
pure virtual |
- Parameters
-
plane | Number of the plane, in range 0..planesCount(). |
- Returns
- Number of bytes in each pixel line of the plane, or 0 if the data is not accessible.
◆ map()
virtual bool nx::sdk::analytics::UncompressedVideoFrame::map |
( |
| ) |
const |
|
pure virtual |
Maps the raw data of the video frame to the system (CPU addressable) memory. If handle() is non-zero, data() should be called only after map call, otherwise data() returns null.
- Returns
- Success.
◆ sampleAspectRatio()
virtual Ratio nx::sdk::analytics::UncompressedVideoFrame::sampleAspectRatio |
( |
| ) |
const |
|
pure virtual |
- Returns
- aspect ratio of frame pixels.
◆ width()
virtual int nx::sdk::analytics::UncompressedVideoFrame::width |
( |
| ) |
const |
|
pure virtual |
- Returns
- width of decoded frame in pixels.
The documentation for this class was generated from the following file: