Camera proxy data. More...

#include <playerc.h>

Collaboration diagram for playerc_camera_t:
Collaboration graph

Detailed Description

Camera proxy data.

Public Attributes

playerc_device_t info
 Device info; must be at the start of all device structures.
 
int width
 Image dimensions (pixels).
 
int height
 
int bpp
 Image bits-per-pixel (8, 16, 24).
 
int format
 Image format (e.g., RGB888).
 
int 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).
 
int compression
 Image compression method.
 
int image_count
 Size of image data (bytes)
 
uint8_t * image
 Image data (byte aligned, row major order).
 
char norm [16]
 Norm and source channel, filled by playerc_camera_get_source().
 
int source
 

Member Data Documentation

◆ image

uint8_t* playerc_camera_t::image

Image data (byte aligned, row major order).

Multi-byte image formats (such as MONO16) are automatically converted to the correct host byte ordering.

Referenced by PlayerCc::StereoProxy::GetDisparityImage(), PlayerCc::CameraProxy::GetImage(), PlayerCc::StereoProxy::GetLeftImage(), and PlayerCc::StereoProxy::GetRightImage().


The documentation for this struct was generated from the following file: