camera_h264avc_level_t

Updated: October 26, 2022

The supported levels for H.264/AVC

Synopsis:

#include <camera/camera_h264avc.h>
typedef enum {
    CAMERA_H264AVC_LEVEL_AUTOMATIC = 0,
    CAMERA_H264AVC_LEVEL_1,
    CAMERA_H264AVC_LEVEL_1B,
    CAMERA_H264AVC_LEVEL_11,
    CAMERA_H264AVC_LEVEL_12,
    CAMERA_H264AVC_LEVEL_13,
    CAMERA_H264AVC_LEVEL_2,
    CAMERA_H264AVC_LEVEL_21,
    CAMERA_H264AVC_LEVEL_22,
    CAMERA_H264AVC_LEVEL_3,
    CAMERA_H264AVC_LEVEL_31,
    CAMERA_H264AVC_LEVEL_32,
    CAMERA_H264AVC_LEVEL_4,
    CAMERA_H264AVC_LEVEL_41,
    CAMERA_H264AVC_LEVEL_42,
    CAMERA_H264AVC_LEVEL_5,
    CAMERA_H264AVC_LEVEL_51
} camera_h264avc_level_t;

Data:

CAMERA_H264AVC_LEVEL_AUTOMATIC
The encoder automatically selects the level based on the configuration and video resolution.
CAMERA_H264AVC_LEVEL_1
Level 1 of H.264/AVC.
CAMERA_H264AVC_LEVEL_1B
Level 1B of H.264/AVC.
CAMERA_H264AVC_LEVEL_11
Level 1.1 of H.264/AVC.
CAMERA_H264AVC_LEVEL_12
Level 1.2 of H.264/AVC.
CAMERA_H264AVC_LEVEL_13
Level 1.3 of H.264/AVC.
CAMERA_H264AVC_LEVEL_2
Level 2 of H.264/AVC.
CAMERA_H264AVC_LEVEL_21
Level 2.1 of H.264/AVC.
CAMERA_H264AVC_LEVEL_22
Level 2.2 of H.264/AVC.
CAMERA_H264AVC_LEVEL_3
Level 3 of H.264/AVC.
CAMERA_H264AVC_LEVEL_31
Level 3.1 of H.264/AVC.
CAMERA_H264AVC_LEVEL_32
Level 3.2 of H.264/AVC.
CAMERA_H264AVC_LEVEL_4
Level 4 of H.264/AVC.
CAMERA_H264AVC_LEVEL_41
Level 4.1 of H.264/AVC.
CAMERA_H264AVC_LEVEL_42
Level 4.2 of H.264/AVC.
CAMERA_H264AVC_LEVEL_5
Level 5 of H.264/AVC.
CAMERA_H264AVC_LEVEL_51
Level 5.1 of H.264/AVC.

Library:

libcamapi

Description:

These are the valid values for configuring the CAMERA_H264AVC_LEVEL parameter. For more information about these levels, refer to the H.264/AVC standard. Use camera_get_supported_videoencoder_parameter_values() to determine the supported values at runtime.