camera_h264avc_ratecontrol_t

The supported rate control algorithms for H.264/AVC.

Synopsis:

#include <camera/camera_h264avc.h>
 
typedef enum {
      CAMERA_H264AVC_RATECONTROL_NONE = 0   
      CAMERA_H264AVC_RATECONTROL_CBR   
      CAMERA_H264AVC_RATECONTROL_VBR   
} camera_h264avc_ratecontrol_t;

Since:

BlackBerry 10.2.0

Data:

CAMERA_H264AVC_RATECONTROL_NONE
No rate control algorithm is used and as such, disables rate control (referred to as constant quality encoding).

Constant quality encoding means that the bitrate varies with the scene content but the quality stays constant.

CAMERA_H264AVC_RATECONTROL_CBR
Constant Bit Rate (CBR) encoding is used.

This control algorithm indicates that the bitrate will remain constant while quality will vary. The bitrate that is maintained is specified by the CAMERA_H264AVC_BITRATE parameter.

CAMERA_H264AVC_RATECONTROL_VBR
Variable Bit Rate (VBR) encoding is used.

This control algorithm indicates that the average bitrate remains constant while quality may vary. The average bitrate that is maintained is specified by the CAMERA_H264AVC_BITRATE parameter.

Library:

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

Description:

These are the valid values to use to configure the CAMERA_H264AVC_RATECONTROL parameter. Use camera_get_supported_videoencoder_parameter_values() to determine the supported values at runtime.

Last modified: 2014-06-24



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

comments powered by Disqus