playerc_camera_t Struct Reference

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

Member Data Documentation

◆ bpp

◆ compression

◆ fdiv

int playerc_camera_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).

◆ format

◆ 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().

◆ info

playerc_device_t playerc_camera_t::info

Device info; must be at the start of all device structures.

◆ norm

char playerc_camera_t::norm[16]

Norm and source channel, filled by playerc_camera_get_source().

◆ width


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