camera_frame_gray8_t

A frame descriptor for 8-bits per pixel grayscale frame types.

Synopsis:

#include <camera/camera_api.h>
typedef struct  {
    uint32_t height ;
    uint32_t width ;
    uint32_t stride ;
}camera_frame_gray8_t;

Since:

BlackBerry 10.0.0

Data:

uint32_t height
The height of the frame in pixels.
uint32_t width
The width of the frame in pixels.
uint32_t stride
The number of bytes between the first pixel of the first row in memory and the first pixel of the second row in memory.

Stride is often called pitch.

Library:

libcamapi (For the qcc command, use the -l camapi option to link against this library)

Description:

Use this frame descriptor when CAMERA_FRAMETYPE_GRAY8 is reported as the camera_frametype_t.

Last modified: 2014-05-14



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus