playerc_camera_t Struct Reference

Camera proxy data. More...

#include <playerc.h>

Collaboration diagram for playerc_camera_t:

List of all members.


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 bits-per-pixel (8, 16, 24).

Image compression method.

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

Image format (e.g., RGB888).

Image data (byte aligned, row major order).

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

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

Norm and source channel, filled by playerc_camera_get_source().

Image dimensions (pixels).


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