Data: state (PLAYER_CAMERA_DATA_STATE) More...
#include <player_interfaces.h>
Detailed Description
Data: state (PLAYER_CAMERA_DATA_STATE)
Public Attributes | |
uint32_t | width |
Image dimensions [pixels]. More... | |
uint32_t | height |
Image dimensions [pixels]. More... | |
uint32_t | bpp |
Image bits-per-pixel (8, 16, 24, 32). More... | |
uint32_t | format |
Image format (must be compatible with depth). More... | |
uint32_t | fdiv |
Some images (such as disparity maps) use scaled pixel values; for these images, fdiv specifies the scale divisor (i.e., divide the integer pixel value by fdiv to recover the real pixel value). More... | |
uint32_t | compression |
Image compression; PLAYER_CAMERA_COMPRESS_RAW indicates no compression. More... | |
uint32_t | image_count |
Size of image data as stored in image buffer (bytes) | |
uint8_t * | image |
Compressed image data (byte-aligned, row major order). More... | |
Member Data Documentation
◆ bpp
uint32_t player_camera_data::bpp |
Image bits-per-pixel (8, 16, 24, 32).
Referenced by SphereDriver::ProcessMessage(), and ImageBase::ProcessMessage().
◆ compression
uint32_t player_camera_data::compression |
Image compression; PLAYER_CAMERA_COMPRESS_RAW indicates no compression.
Referenced by SphereDriver::ProcessMessage(), and ImageBase::ProcessMessage().
◆ fdiv
uint32_t player_camera_data::fdiv |
Some images (such as disparity maps) use scaled pixel values; for these images, fdiv specifies the scale divisor (i.e., divide the integer pixel value by fdiv to recover the real pixel value).
Referenced by ImageBase::ProcessMessage().
◆ format
uint32_t player_camera_data::format |
Image format (must be compatible with depth).
Referenced by SphereDriver::MainSetup(), and ImageBase::ProcessMessage().
◆ height
uint32_t player_camera_data::height |
Image dimensions [pixels].
Referenced by SphereDriver::ProcessMessage(), and ImageBase::ProcessMessage().
◆ image
uint8_t* player_camera_data::image |
Compressed image data (byte-aligned, row major order).
Multi-byte image formats (such as MONO16) must be converted to network byte ordering.
Referenced by SphereDriver::ProcessMessage(), and ImageBase::ProcessMessage().
◆ width
uint32_t player_camera_data::width |
Image dimensions [pixels].
Referenced by SphereDriver::ProcessMessage(), and ImageBase::ProcessMessage().
The documentation for this struct was generated from the following file: