camera_frame_compressedvideo_t

A frame descriptor for compressed video frame types.

Synopsis:

#include <camera/camera_api.h>
typedef struct  {
    uint64_t bufsize ;
    camera_videocodec_t codec ;
    bool keyframe ;
    uint64_t bitrate ;
}camera_frame_compressedvideo_t;

Since:

BlackBerry 10.0.0

Data:

uint64_t bufsize
The size of the buffer as a 64-bit integer.
camera_videocodec_t codec
The format of the compressed video.
bool keyframe
A flag indicating whether this frame is a keyframe.
uint64_t bitrate
Bitrate expressed in bits per second.

Library:

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

Description:

Use this frame descriptor when CAMERA_FRAMETYPE_COMPRESSEDVIDEO 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