camera_h264avc_slicetype_t

The supported slice types for H.264/AVC.

Synopsis:

#include <camera/camera_h264avc.h>
 
typedef enum {
      CAMERA_H264AVC_SLICE_FRAME = 0   
      CAMERA_H264AVC_SLICE_BYTES   
      CAMERA_H264AVC_SLICE_MACROBLOCKS   
} camera_h264avc_slicetype_t;

Since:

BlackBerry 10.2.0

Data:

CAMERA_H264AVC_SLICE_FRAME
The frame is encoded as a single slice NAL.
CAMERA_H264AVC_SLICE_BYTES
The frame is encoded as multiple slice NALs where each slice NAL size does not exceed the configured CAMERA_H264AVC_SLICESIZE in bytes.
CAMERA_H264AVC_SLICE_MACROBLOCKS
The frame is encoded as multiple slice NALs where each slice NAL size does not exceed the configured number of CAMERA_H264AVC_SLICESIZE macroblocks.

Library:

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

Description:

These are acceptable values to use when you configure the CAMERA_H264AVC_SLICETYPE parameter in parameter-value pairs that you pass in encoding functions. 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