| Updated: October 28, 2024 |
The supported video encoder parameters for H.264/AVC
#include <camera/camera_h264avc.h>
typedef enum {
CAMERA_H264AVC_BITRATE = 0,
CAMERA_H264AVC_KEYFRAMEINTERVAL,
CAMERA_H264AVC_SLICETYPE,
CAMERA_H264AVC_SLICESIZE,
CAMERA_H264AVC_PROFILE,
CAMERA_H264AVC_LEVEL,
CAMERA_H264AVC_ENTROPYCODING,
CAMERA_H264AVC_RATECONTROL,
CAMERA_H264AVC_QPI,
CAMERA_H264AVC_QPP,
CAMERA_H264AVC_NUMPARAMETERS
} camera_h264avc_parameters_t;
The units are in bits per second as an unsigned int value.
The parameter must be set to a camera_h264avc_slicetype_t value, and can be modified only before you start to encode video.
On some devices, this parameter can only be modified before you start encoding video.
The parameter must be set to a value from camera_h264avc_profile_t. You can modify this parameter only before you start encoding video.
The parameter must be set to a value from camera_h264avc_level_t. You can modify this parameter only before you start encoding video.
The parameter must be set to a value from camera_h264avc_entropycoding_t. You can modify this parameter only before you start encoding video.
The parameter must be set to a value from camera_h264avc_ratecontrol_t. You can modify this parameter only before you start encoding video.
For other rate control methods, this parameter has no impact. The value being set is an unsigned int value.
For other rate control methods, this parameter has no impact. The value being set is an unsigned int value.
Use these as parameters in parameter-value pairs that you pass as an argument list to video encoder configuration functions.