camera_h264avc_profile_t

Updated: April 19, 2023

The supported profiles for H.264/AVC

Synopsis:

#include <camera/camera_h264avc.h>
typedef enum {
    CAMERA_H264AVC_PROFILE_AUTOMATIC = 0,
    CAMERA_H264AVC_PROFILE_BASELINE,
    CAMERA_H264AVC_PROFILE_HIGH,
    CAMERA_H264AVC_PROFILE_CONSTRAINEDBASELINE,
    CAMERA_H264AVC_PROFILE_CONSTRAINEDHIGH,
    CAMERA_H264AVC_PROFILE_MAIN,
    CAMERA_H264AVC_PROFILE_EXTENDED
} camera_h264avc_profile_t;

Data:

CAMERA_H264AVC_PROFILE_AUTOMATIC
The encoder automatically selects the profile based on the configuration and video resolution.
CAMERA_H264AVC_PROFILE_BASELINE
Baseline profile of H.264/AVC.
CAMERA_H264AVC_PROFILE_HIGH
High profile of H.264/AVC.
CAMERA_H264AVC_PROFILE_CONSTRAINEDBASELINE
Constrained Baseline profile (CBP) of H.264/AVC.
CAMERA_H264AVC_PROFILE_CONSTRAINEDHIGH
Constrained High profile (CHP) of H.264/AVC.
CAMERA_H264AVC_PROFILE_MAIN
Main profile of H.264/AVC.
CAMERA_H264AVC_PROFILE_EXTENDED
Extended profile of H.264/AVC.

Library:

libcamapi

Description:

These are the acceptable values for the CAMERA_H264AVC_PROFILE parameter in a parameter-value pair. For information about these profiles, refer to the H.264/AVC standard. Use camera_get_supported_videoencoder_parameter_values() to determine the supported values at runtime.