34 #ifndef __V4L2_NV_EXTENSIONS_H__
35 #define __V4L2_NV_EXTENSIONS_H__
55 #define V4L2_PIX_FMT_DIVX4 v4l2_fourcc('D', 'V', 'X', '4')
57 #define V4L2_PIX_FMT_DIVX5 v4l2_fourcc('D', 'V', 'X', '5')
61 #define V4L2_PIX_FMT_H265 v4l2_fourcc('H', '2', '6', '5')
66 #define V4L2_PIX_FMT_VP9 v4l2_fourcc('V', 'P', '9', '0')
71 #define V4L2_PIX_FMT_P010 v4l2_fourcc('P', '0', '1', '0')
76 #define V4L2_PIX_FMT_P010M v4l2_fourcc('P', 'M', '1', '0')
81 #define V4L2_PIX_FMT_P012 v4l2_fourcc('P', '0', '1', '2')
86 #define V4L2_PIX_FMT_P012M v4l2_fourcc('P', 'M', '1', '2')
91 #define V4L2_PIX_FMT_NV24M v4l2_fourcc('N', 'M', '2', '4')
96 #define V4L2_PIX_FMT_NV24_10LE v4l2_fourcc('N', 'V', '1', '0')
103 #define V4L2_PIX_FMT_YUV422RM v4l2_fourcc('4', '2', 'R', 'M')
106 #define V4L2_PIX_FMT_H264_SLICE v4l2_fourcc('S', '2', '6', '4')
107 #define V4L2_PIX_FMT_VP8_FRAME v4l2_fourcc('V', 'P', '8', 'F')
109 #define V4L2_CTRL_FLAG_CAN_STORE 0x0200
116 #define V4L2_EVENT_RESOLUTION_CHANGE 5
124 #define V4L2_CID_MPEG_VIDEO_H264_SPS (V4L2_CID_MPEG_BASE+383)
125 #define V4L2_CID_MPEG_VIDEO_H264_PPS (V4L2_CID_MPEG_BASE+384)
126 #define V4L2_CID_MPEG_VIDEO_H264_SCALING_MATRIX (V4L2_CID_MPEG_BASE+385)
127 #define V4L2_CID_MPEG_VIDEO_H264_SLICE_PARAM (V4L2_CID_MPEG_BASE+386)
128 #define V4L2_CID_MPEG_VIDEO_H264_DECODE_PARAM (V4L2_CID_MPEG_BASE+387)
130 #define V4L2_CID_MPEG_VIDEO_VP8_FRAME_HDR (V4L2_CID_MPEG_BASE+512)
139 #define V4L2_CID_MPEG_VIDEO_H265_PROFILE (V4L2_CID_MPEG_BASE+513)
157 #define V4L2_CID_MPEG_VIDEO_IDR_INTERVAL (V4L2_CID_MPEG_BASE+514)
165 #define V4L2_H264_SPS_CONSTRAINT_SET0_FLAG 0x01
166 #define V4L2_H264_SPS_CONSTRAINT_SET1_FLAG 0x02
167 #define V4L2_H264_SPS_CONSTRAINT_SET2_FLAG 0x04
168 #define V4L2_H264_SPS_CONSTRAINT_SET3_FLAG 0x08
169 #define V4L2_H264_SPS_CONSTRAINT_SET4_FLAG 0x10
170 #define V4L2_H264_SPS_CONSTRAINT_SET5_FLAG 0x20
172 #define V4L2_H264_SPS_FLAG_SEPARATE_COLOUR_PLANE 0x01
173 #define V4L2_H264_SPS_FLAG_QPPRIME_Y_ZERO_TRANSFORM_BYPASS 0x02
174 #define V4L2_H264_SPS_FLAG_DELTA_PIC_ORDER_ALWAYS_ZERO 0x04
175 #define V4L2_H264_SPS_FLAG_GAPS_IN_FRAME_NUM_VALUE_ALLOWED 0x08
176 #define V4L2_H264_SPS_FLAG_FRAME_MBS_ONLY 0x10
177 #define V4L2_H264_SPS_FLAG_MB_ADAPTIVE_FRAME_FIELD 0x20
178 #define V4L2_H264_SPS_FLAG_DIRECT_8X8_INFERENCE 0x40
179 struct v4l2_ctrl_h264_sps {
181 __u8 constraint_set_flags;
183 __u8 seq_parameter_set_id;
184 __u8 chroma_format_idc;
185 __u8 bit_depth_luma_minus8;
186 __u8 bit_depth_chroma_minus8;
187 __u8 log2_max_frame_num_minus4;
188 __u8 pic_order_cnt_type;
189 __u8 log2_max_pic_order_cnt_lsb_minus4;
190 __s32 offset_for_non_ref_pic;
191 __s32 offset_for_top_to_bottom_field;
192 __u8 num_ref_frames_in_pic_order_cnt_cycle;
193 __s32 offset_for_ref_frame[255];
194 __u8 max_num_ref_frames;
195 __u16 pic_width_in_mbs_minus1;
196 __u16 pic_height_in_map_units_minus1;
200 #define V4L2_H264_PPS_FLAG_ENTROPY_CODING_MODE 0x0001
201 #define V4L2_H264_PPS_FLAG_BOTTOM_FIELD_PIC_ORDER_IN_FRAME_PRESENT 0x0002
202 #define V4L2_H264_PPS_FLAG_WEIGHTED_PRED 0x0004
203 #define V4L2_H264_PPS_FLAG_DEBLOCKING_FILTER_CONTROL_PRESENT 0x0008
204 #define V4L2_H264_PPS_FLAG_CONSTRAINED_INTRA_PRED 0x0010
205 #define V4L2_H264_PPS_FLAG_REDUNDANT_PIC_CNT_PRESENT 0x0020
206 #define V4L2_H264_PPS_FLAG_TRANSFORM_8X8_MODE 0x0040
207 #define V4L2_H264_PPS_FLAG_PIC_SCALING_MATRIX_PRESENT 0x0080
208 struct v4l2_ctrl_h264_pps {
209 __u8 pic_parameter_set_id;
210 __u8 seq_parameter_set_id;
211 __u8 num_slice_groups_minus1;
212 __u8 num_ref_idx_l0_default_active_minus1;
213 __u8 num_ref_idx_l1_default_active_minus1;
214 __u8 weighted_bipred_idc;
215 __s8 pic_init_qp_minus26;
216 __s8 pic_init_qs_minus26;
217 __s8 chroma_qp_index_offset;
218 __s8 second_chroma_qp_index_offset;
222 struct v4l2_ctrl_h264_scaling_matrix {
223 __u8 scaling_list_4x4[6][16];
224 __u8 scaling_list_8x8[6][64];
227 struct v4l2_h264_weight_factors {
228 __s8 luma_weight[32];
229 __s8 luma_offset[32];
230 __s8 chroma_weight[32][2];
231 __s8 chroma_offset[32][2];
234 struct v4l2_h264_pred_weight_table {
235 __u8 luma_log2_weight_denom;
236 __u8 chroma_log2_weight_denom;
237 struct v4l2_h264_weight_factors weight_factors[2];
240 #define V4L2_SLICE_FLAG_FIELD_PIC 0x01
241 #define V4L2_SLICE_FLAG_BOTTOM_FIELD 0x02
242 #define V4L2_SLICE_FLAG_DIRECT_SPATIAL_MV_PRED 0x04
243 #define V4L2_SLICE_FLAG_SP_FOR_SWITCH 0x08
244 struct v4l2_ctrl_h264_slice_param {
248 __u32 header_bit_size;
250 __u16 first_mb_in_slice;
252 __u8 pic_parameter_set_id;
253 __u8 colour_plane_id;
256 __u16 pic_order_cnt_lsb;
257 __s32 delta_pic_order_cnt_bottom;
258 __s32 delta_pic_order_cnt0;
259 __s32 delta_pic_order_cnt1;
260 __u8 redundant_pic_cnt;
262 struct v4l2_h264_pred_weight_table pred_weight_table;
264 __u32 dec_ref_pic_marking_bit_size;
266 __u32 pic_order_cnt_bit_size;
271 __u8 disable_deblocking_filter_idc;
272 __s8 slice_alpha_c0_offset_div2;
273 __s8 slice_beta_offset_div2;
274 __u32 slice_group_change_cycle;
276 __u8 num_ref_idx_l0_active_minus1;
277 __u8 num_ref_idx_l1_active_minus1;
280 __u8 ref_pic_list0[32];
281 __u8 ref_pic_list1[32];
288 #define V4L2_H264_DPB_ENTRY_FLAG_ACTIVE 0x01
289 #define V4L2_H264_DPB_ENTRY_FLAG_LONG_TERM 0x02
290 struct v4l2_h264_dpb_entry {
295 __s32 top_field_order_cnt;
296 __s32 bottom_field_order_cnt;
300 struct v4l2_ctrl_h264_decode_param {
304 __s32 top_field_order_cnt;
305 __s32 bottom_field_order_cnt;
306 __u8 ref_pic_list_p0[32];
307 __u8 ref_pic_list_b0[32];
308 __u8 ref_pic_list_b1[32];
309 struct v4l2_h264_dpb_entry dpb[16];
312 #define V4L2_VP8_SEGMNT_HDR_FLAG_ENABLED 0x01
313 #define V4L2_VP8_SEGMNT_HDR_FLAG_UPDATE_MAP 0x02
314 #define V4L2_VP8_SEGMNT_HDR_FLAG_UPDATE_FEATURE_DATA 0x04
315 struct v4l2_vp8_sgmnt_hdr {
316 __u8 segment_feature_mode;
318 __s8 quant_update[4];
320 __u8 segment_probs[3];
325 #define V4L2_VP8_LF_HDR_ADJ_ENABLE 0x01
326 #define V4L2_VP8_LF_HDR_DELTA_UPDATE 0x02
327 struct v4l2_vp8_loopfilter_hdr {
330 __u8 sharpness_level;
331 __s8 ref_frm_delta_magnitude[4];
332 __s8 mb_mode_delta_magnitude[4];
337 struct v4l2_vp8_quantization_hdr {
344 __u16 dequant_factors[4][3][2];
347 struct v4l2_vp8_entropy_hdr {
348 __u8 coeff_probs[4][8][3][11];
349 __u8 y_mode_probs[4];
350 __u8 uv_mode_probs[3];
351 __u8 mv_probs[2][19];
354 #define V4L2_VP8_FRAME_HDR_FLAG_EXPERIMENTAL 0x01
355 #define V4L2_VP8_FRAME_HDR_FLAG_SHOW_FRAME 0x02
356 #define V4L2_VP8_FRAME_HDR_FLAG_MB_NO_SKIP_COEFF 0x04
357 struct v4l2_ctrl_vp8_frame_hdr {
364 __u8 horizontal_scale;
368 struct v4l2_vp8_sgmnt_hdr sgmnt_hdr;
369 struct v4l2_vp8_loopfilter_hdr lf_hdr;
370 struct v4l2_vp8_quantization_hdr quant_hdr;
371 struct v4l2_vp8_entropy_hdr entropy_hdr;
373 __u8 sign_bias_golden;
374 __u8 sign_bias_alternate;
376 __u8 prob_skip_false;
381 __u32 first_part_size;
386 __u32 first_part_offset;
387 __u32 macroblock_bit_offset;
390 __u32 dct_part_sizes[8];
496 #define V4L2_CID_MPEG_VIDEO_DISABLE_COMPLETE_FRAME_INPUT (V4L2_CID_MPEG_BASE+515)
508 #define V4L2_CID_MPEG_VIDEO_DISABLE_DPB (V4L2_CID_MPEG_BASE+516)
518 #define V4L2_CID_MPEG_VIDEO_ERROR_REPORTING (V4L2_CID_MPEG_BASE+517)
530 #define V4L2_CID_MPEG_VIDEO_SKIP_FRAMES (V4L2_CID_MPEG_BASE+518)
545 #define V4L2_CID_MPEG_VIDEODEC_METADATA (V4L2_CID_MPEG_BASE+519)
560 #define V4L2_CID_MPEG_VIDEODEC_INPUT_METADATA (V4L2_CID_MPEG_BASE+520)
568 #define V4L2_CID_VIDEODEC_DISPLAYDATA_PRESENT (V4L2_CID_MPEG_BASE+521)
577 #define V4L2_CID_VIDEODEC_HDR_MASTERING_DISPLAY_DATA (V4L2_CID_MPEG_BASE+522)
649 #define V4L2_CID_VIDEO_CONVERT_OUTPUT_PLANE_LAYOUT (V4L2_CID_MPEG_BASE+523)
658 #define V4L2_CID_VIDEO_CONVERT_CAPTURE_PLANE_LAYOUT (V4L2_CID_MPEG_BASE+524)
667 #define V4L2_CID_VIDEO_CONVERT_FLIP_METHOD (V4L2_CID_MPEG_BASE+525)
676 #define V4L2_CID_VIDEO_CONVERT_INTERPOLATION_METHOD (V4L2_CID_MPEG_BASE+526)
687 #define V4L2_CID_VIDEO_CONVERT_TNR_ALGORITHM (V4L2_CID_MPEG_BASE+527)
803 #define V4L2_CID_MPEG_VIDEOENC_TEMPORAL_TRADEOFF_LEVEL (V4L2_CID_MPEG_BASE+528)
814 #define V4L2_CID_MPEG_VIDEOENC_SLICE_LENGTH_PARAM (V4L2_CID_MPEG_BASE+529)
826 #define V4L2_CID_MPEG_VIDEOENC_ROI_PARAMS (V4L2_CID_MPEG_BASE+530)
837 #define V4L2_CID_MPEG_VIDEOENC_VIRTUALBUFFER_SIZE (V4L2_CID_MPEG_BASE+531)
847 #define V4L2_CID_MPEG_VIDEOENC_NUM_REFERENCE_FRAMES (V4L2_CID_MPEG_BASE+532)
858 #define V4L2_CID_MPEG_VIDEOENC_SLICE_INTRAREFRESH_PARAM (V4L2_CID_MPEG_BASE+533)
869 #define V4L2_CID_MPEG_VIDEOENC_NUM_BFRAMES (V4L2_CID_MPEG_BASE+534)
879 #define V4L2_CID_MPEG_VIDEOENC_INSERT_SPS_PPS_AT_IDR (V4L2_CID_MPEG_BASE+535)
891 #define V4L2_CID_MPEG_VIDEOENC_METADATA (V4L2_CID_MPEG_BASE+536)
901 #define V4L2_CID_MPEG_VIDEOENC_ENABLE_METADATA_MV (V4L2_CID_MPEG_BASE+537)
913 #define V4L2_CID_MPEG_VIDEOENC_METADATA_MV (V4L2_CID_MPEG_BASE+538)
924 #define V4L2_CID_MPEG_VIDEOENC_QP_RANGE (V4L2_CID_MPEG_BASE+539)
935 #define V4L2_CID_MPEG_VIDEOENC_HW_PRESET_TYPE_PARAM (V4L2_CID_MPEG_BASE+540)
948 #define V4L2_CID_MPEG_VIDEOENC_INPUT_METADATA (V4L2_CID_MPEG_BASE+541)
960 #define V4L2_CID_MPEG_VIDEOENC_ENABLE_EXTERNAL_RPS_CONTROL (V4L2_CID_MPEG_BASE+542)
971 #define V4L2_CID_MPEG_VIDEOENC_ENABLE_EXTERNAL_RATE_CONTROL (V4L2_CID_MPEG_BASE+543)
982 #define V4L2_CID_MPEG_VIDEOENC_ENABLE_ROI_PARAM (V4L2_CID_MPEG_BASE+544)
993 #define V4L2_CID_MPEG_VIDEOENC_ENABLE_RECONCRC_PARAM (V4L2_CID_MPEG_BASE+545)
1003 #define V4L2_CID_MPEG_VIDEOENC_INSERT_VUI (V4L2_CID_MPEG_BASE+546)
1013 #define V4L2_CID_MPEG_VIDEOENC_INSERT_AUD (V4L2_CID_MPEG_BASE+547)
1024 #define V4L2_CID_MPEG_VIDEOENC_EXTEDED_COLORFORMAT (V4L2_CID_MPEG_BASE+548)
1037 #define V4L2_CID_MPEG_VIDEO_DECODE_INSTANCE (V4L2_CID_MPEG_BASE+549)
1046 #define V4L2_CID_MPEG_VIDEO_DEVICE_POLL (V4L2_CID_MPEG_BASE+550)
1059 #define V4L2_CID_MPEG_SET_POLL_INTERRUPT (V4L2_CID_MPEG_BASE+551)
1069 #define V4L2_CID_MPEG_VIDEOENC_TWO_PASS_CBR (V4L2_CID_MPEG_BASE+552)
1078 #define V4L2_CID_VIDEO_CONVERT_YUV_RESCALE_METHOD (V4L2_CID_MPEG_BASE+553)
1088 #define V4L2_CID_MPEG_VIDEO_MAX_PERFORMANCE (V4L2_CID_MPEG_BASE+554)
1098 #define V4L2_CID_MPEG_VIDEOENC_ENABLE_ALLIFRAME_ENCODE (V4L2_CID_MPEG_BASE+555)
1110 #define V4L2_CID_MPEG_VIDEO_BUF_API_TYPE (V4L2_CID_MPEG_BASE+556)
1121 #define V4L2_CID_MPEG_VIDEO_CUDA_MEM_TYPE (V4L2_CID_MPEG_BASE+557)
1131 #define V4L2_CID_MPEG_VIDEO_CUDA_GPU_ID (V4L2_CID_MPEG_BASE+558)
1143 #define V4L2_CID_MPEG_VIDEODEC_DROP_FRAME_INTERVAL (V4L2_CID_MPEG_BASE+559)
1155 #define V4L2_CID_MPEG_VIDEOENC_VPX_HEADERS_WITH_FRAME (V4L2_CID_MPEG_BASE+560)
1162 #define V4L2_CID_MPEG_VIDEOENC_H265_LEVEL (V4L2_CID_MPEG_BASE+561)
1172 #define V4L2_CID_MPEG_VIDEOENC_ENABLE_SLICE_LEVEL_ENCODE (V4L2_CID_MPEG_BASE+562)
1183 #define V4L2_CID_MPEG_VIDEOENC_POC_TYPE (V4L2_CID_MPEG_BASE+563)
1195 #define V4L2_CID_MPEG_VIDEOENC_H265_VUI_EXT_SAR_WIDTH (V4L2_CID_MPEG_BASE+564)
1207 #define V4L2_CID_MPEG_VIDEOENC_H265_VUI_EXT_SAR_HEIGHT (V4L2_CID_MPEG_BASE+565)
1217 #define V4L2_CID_MPEG_VIDEOENC_FORCE_INTRA_FRAME (V4L2_CID_MPEG_BASE+566)
1227 #define V4L2_CID_MPEG_VIDEOENC_FORCE_IDR_FRAME (V4L2_CID_MPEG_BASE+567)
1306 #define V4L2_CID_ARGUS_AUTO_WHITE_BALANCE_MODE (V4L2_CID_CAMERA_CLASS_BASE+20)
1316 #define V4L2_CID_ARGUS_SENSOR_MODE (V4L2_CID_CAMERA_CLASS_BASE+32)
1327 #define V4L2_CID_ARGUS_DENOISE_STRENGTH (V4L2_CID_CAMERA_CLASS_BASE+33)
1338 #define V4L2_CID_ARGUS_DENOISE_MODE (V4L2_CID_CAMERA_CLASS_BASE+34)
1349 #define V4L2_CID_ARGUS_EE_STRENGTH (V4L2_CID_CAMERA_CLASS_BASE+35)
1360 #define V4L2_CID_ARGUS_EE_MODE (V4L2_CID_CAMERA_CLASS_BASE+36)
1371 #define V4L2_CID_ARGUS_AE_ANTIBANDING_MODE (V4L2_CID_CAMERA_CLASS_BASE+37)
1382 #define V4L2_CID_ARGUS_EXPOSURE_COMPENSATION (V4L2_CID_CAMERA_CLASS_BASE+38)
1393 #define V4L2_CID_ARGUS_ISP_DIGITAL_GAIN_RANGE (V4L2_CID_CAMERA_CLASS_BASE+39)
1406 #define V4L2_CID_ARGUS_COLOR_SATURATION (V4L2_CID_CAMERA_CLASS_BASE+40)
1417 #define V4L2_CID_ARGUS_GAIN_RANGE (V4L2_CID_CAMERA_CLASS_BASE+41)
1428 #define V4L2_CID_ARGUS_EXPOSURE_TIME_RANGE (V4L2_CID_CAMERA_CLASS_BASE+42)
1440 #define V4L2_CID_ARGUS_METADATA (V4L2_CID_CAMERA_CLASS_BASE+43)
1780 #define V4L2_MAX_ROI_REGIONS 8
1836 #define V4L2_MAX_REF_FRAMES 8
2081 #define QP_RETAIN_VAL -1
__s32 mv_y
Number of pixels the macro block moved in vertical direction.
Holds the value for gain range.
__u8 bEnableExternalPictureRC
Boolean value indicating if enabled External Picture RC.
Encoder HWPreset DISABLED.
Holds the motion vector parameters for a single block.
struct v4l2_ctrl_videodec_statusmetadata_ v4l2_ctrl_videodec_statusmetadata
Holds the decoder error status metadata for the frame.
Holds the strength value for edge enhancement operation.
__u32 nFrameMinQp
Frame min QP.
Indoor Low Light TNR algorithm.
__u32 masteringdisplaydatapresent
Holds the encoder frame ROI parameters to be used with V4L2_CID_MPEG_VIDEOENC_ROI_PARAMS IOCTL...
10-Tap interpolation method
__u32 MaxQpI
Maximum QP value for I frame.
struct v4l2_ctrl_videoenc_input_metadata_ v4l2_ctrl_videoenc_input_metadata
Holds the encoder frame input metadata parameters.
v4l2_nv_buffer_layout
Enum specifying types of buffer layouts.
Drop 1 in every 3 buffers.
Holds the value for exposure range.
__u32 nLTRFrameIdx
LongTermFrameIdx of a picture.
Holds the encoder frame property.
__u32 MinQpB
Minimum QP value for B frame.
Holds encoder HW Preset type parameters to be used with V4L2_CID_MPEG_VIDEOENC_HW_PRESET_TYPE_PARAM I...
struct v4l2_ctrl_videodec_dpbinfometadata_ v4l2_ctrl_videodec_dpbinfometadata
Holds the decoder DPB info metadata.
__u32 nFrameQP
Frame start QP.
struct _v4l2_argus_gainrange v4l2_argus_gainrange
Holds the value for gain range.
Encoder HWPreset with per frame encode time Medium.
struct v4l2_rect ROIRect
Region of interest rectangle.
__u8 bLTRefFrame
Boolean value indicating if current frame long Term Ref Flag.
__u32 min_display_parameter_luminance
__u32 nsessionMaxQP
Max QP per session when external picture RC enabled.
__u8 bEnableROI
Boolean value to indicating ROI param encoding.
v4l2_enc_temporal_tradeoff_level_type
Specifies the types of encoder temporal tradeoff levels.
__u32 nPictureOrderCnt
Picture Order Count.
v4l2_tnr_algorithm
Specifies the types of TNR algorithms.
Slice size is specified in terms of number of macroblocks.
__u32 MinQpI
Minimum QP value for I frame.
struct v4l2_ctrl_videoenc_outputbuf_metadata_ v4l2_ctrl_videoenc_outputbuf_metadata
Holds the encoder output metadata for a frame, to be used with V4L2_CID_MPEG_VIDEOENC_METADATA IOCTL...
__u8 bIdrFrame
Boolean value indicating if current frame is an IDR.
Drop 2 in every 3 buffers.
5-Tap interpolation method
Flip across upper left/lower right diagonal.
Holds the RPS List parameters of encoded frame.
v4l2_mpeg_video_h265_profile
Defines the possible profiles for H.265 encoder.
__u32 weight
Temporal hints used by hardware for Motion Estimation.
struct v4l2_enc_frame_ext_rps_ctrl_params_ v4l2_enc_frame_ext_rps_ctrl_params
Holds the encoder frame external rps control parameters to be used with V4L2_CID_MPEG_VIDEOENC_INPUT_...
v4l2_argus_ae_state
Enum specifying types of AE states.
__u32 nMaxQPDeviation
Frame min QP deviation.
struct _v4l2_ctrl_video_device_poll v4l2_ctrl_video_device_poll
Poll device.
struct v4l2_ctrl_videodec_outputbuf_metadata_ v4l2_ctrl_videodec_outputbuf_metadata
Holds the video decoder output metadata for a frame.
v4l2_enc_slice_length_type
Enum specifying the type of slice length.
float MinGainRange
Analog Gain Range start limit.
Skip all frames except IDR.
Drop 1 in every 5 buffers.
Drop 1 in every 2 buffers.
Holds encoder virtual buffer size parameters, to be used with V4L2_CID_MPEG_VIDEOENC_VIRTUALBUFFER_SI...
float EdgeEnhanceStrength
Edge Enhance Strength.
__u32 MinQpP
Minimum QP value for P frame.
struct v4l2_enc_enable_roi_param_ v4l2_enc_enable_roi_param
Holds the params to configure encoder for ROI parameters encoding.
struct _v4l2_enc_frame_prop v4l2_enc_frame_prop
Holds the encoder frame property.
Holds the params to configure encoder for external rps control to be used with V4L2_CID_MPEG_VIDEOENC...
struct MVInfo_ MVInfo
Holds the motion vector parameters for a single block.
struct v4l2_enc_enable_reconcrc_param_ v4l2_enc_enable_reconcrc_param
Holds the params to configure encoder for Reconstructed CRC encoding.
__u32 nFrameId
unique Id of current frame.
float DenoiseStrength
Denoise Strength.
__u8 bLTRefFrame
Boolean value indicating if set Long Term Ref Flag.
Holds the params to configure encoder for external rate control mode to be used with V4L2_CID_MPEG_VI...
v4l2_cuda_mem_type
Enum v4l2_cuda_mem_type, possible methods for cuda memory tpye.
struct _v4l2_argus_ispdigital_gainrange v4l2_argus_ispdigital_gainrange
Holds the value for Isp Digital gain range.
Encoder HWPreset with per frame encode time Slow.
__u8 bEnableExternalRPS
Boolean value indicating if enabled External RPS control.
Holds the encoder quality parameters for a single ROI region.
Nicest interpolation method.
Indoor Medium Light TNR algorithm.
Holds the encoder frame external rate control parameters to be used with V4L2_CID_MPEG_VIDEOENC_INPUT...
__u32 nFrameId
Unique frame ID.
Holds encoder number of reference frame parameters, to be used with V4L2_CID_MPEG_VIDEOENC_NUM_REFERE...
struct v4l2_enc_num_ref_frames_ v4l2_enc_num_ref_frames
Holds encoder number of reference frame parameters, to be used with V4L2_CID_MPEG_VIDEOENC_NUM_REFERE...
struct v4l2_enc_frame_ext_rate_ctrl_params_ v4l2_enc_frame_ext_rate_ctrl_params
Holds the encoder frame external rate control parameters to be used with V4L2_CID_MPEG_VIDEOENC_INPUT...
Holds the encoder GDR parameters to be used with V4L2_CID_MPEG_VIDEOENC_INPUT_METADATA IOCTL...
float ExposureCompensation
Exposure Compensation.
struct _v4l2_ctrl_video_qp_range v4l2_ctrl_video_qp_range
Holds the encoder frame min/max QP parameters.
__u8 EnableSaturation
Boolean value to indicate enable of user-specified absolute color saturation.
struct _v4l2_ctrl_video_hdrmasteringdisplaydata v4l2_ctrl_video_hdrmasteringdisplaydata
HDR Metadata.
Extension(full range [0 255] to standard(limited range [16 235])
Holds the encoder frame external rps control parameters to be used with V4L2_CID_MPEG_VIDEOENC_INPUT_...
__u8 bLTRefFrame
Long Term Ref Flag.
__u32 slice_length
Size of the slice in either number of bytes or number of macro blocks.
__u32 frames
Number of reference frames.
v4l2_argus_edge_enhance_mode
Enum specifying types of edge enhancement modes.
v4l2_enc_ROI_param ROI_params[V4L2_MAX_ROI_REGIONS]
Array of indiviudal ROI parameters.
Holds the strength value for denoise operation.
Rotate counter-clockwise 90 degrees.
struct v4l2_rect ReconCRCRect
Rectangle to specify the co-ordinates of the input frame used to calculate reconstructed picture CRC...
__u8 set_max_enc_clock
Boolean value indicating if encoder set to max clock.
__u8 bRefFrame
Boolean value indicating if current frame referenced or non-referenced.
__u32 nCurrentRefFrameId
frame id of reference frame to be used for motion search, ignored for IDR.
v4l2_skip_frames_type
Enum v4l2_skip_frames_type, possible methods for decoder skip frames.
__u32 nFrameMaxQp
Frame max QP.
Encoder HWPreset with per frame encode time UltraFast.
struct _v4l2_argus_denoise_strength v4l2_argus_denoise_strength
Holds the strength value for denoise operation.
struct v4l2_enc_virtual_buffer_size_ v4l2_enc_virtual_buffer_size
Holds encoder virtual buffer size parameters, to be used with V4L2_CID_MPEG_VIDEOENC_VIRTUALBUFFER_SI...
Input metadata structure contains External RC parameters.
struct v4l2_enc_frame_full_prop_ v4l2_enc_frame_full_prop
Holds the RPS List parameters of encoded frame.
float MinISPDigitalGainRange
Range: {1, 256}.
struct _v4l2_argus_exposure_compensation v4l2_argus_exposure_compensation
Holds the value for exposure compensation.
float ColorSaturation
Specified absolute color saturation.
v4l2_yuv_rescale_method
Specifies the types of YUV rescale methods.
Holds the params to configure encoder for ROI parameters encoding.
struct v4l2_enc_slice_length_param_ v4l2_enc_slice_length_param
Holds encoder slice length parameters, to be used with V4L2_CID_MPEG_VIDEOENC_SLICE_LENGTH_PARAM IOCT...
struct v4l2_ctrl_video_displaydata_ v4l2_ctrl_video_displaydata
v4l2_interpolation_method
Specifies the types of interpolation methods.
struct v4l2_ctrl_hevcdec_bufmetadata_ v4l2_ctrl_hevcdec_bufmetadata
Holds H.265 specific decoder metadata for the frame.
enum v4l2_enc_hw_preset_type hw_preset_type
Type in which the encoder hw preset is specified, one of type v4l2_enc_hw_preset_type.
Rotate clockwise 90 degrees.
Input metadata structure contains GDR parameters.
struct v4l2_ctrl_videoenc_outputbuf_metadata_MV_ v4l2_ctrl_videoenc_outputbuf_metadata_MV
Holds the motion vector parameters for one complete frame.
v4l2_argus_awb_state
Enum specifying types of AWB states.
struct v4l2_enc_enable_ext_rate_ctrl_ v4l2_enc_enable_ext_rate_ctr
Holds the params to configure encoder for external rate control mode to be used with V4L2_CID_MPEG_VI...
Smart interpolation method.
Input metadata structure contains ReconCRC parameters.
v4l2_argus_denoise_mode
Enum specifying types of denoise modes.
v4l2_videodec_input_error_type
Enum v4l2_videodec_input_error_type, possible error types for input stream.
H.265 MainStillPicture profile.
Holds the value for absolute color saturation.
float MaxISPDigitalGainRange
Digital Gain Range end limit.
Holds the encoder frame Reconstructed CRC parameters.
Nearest interpolation method.
__u8 bGapsInFrameNumAllowed
Boolean value indicating if allowed gap in frame number.
Encoder HWPreset with per frame encode time Fast.
v4l2_enc_hw_preset_type
Specifies the encoder HW Preset type.
Input metadata structure contains ROI parameters.
__u16 display_primaries_y[3]
float MaxGainRange
Analog Gain Range end limit.
Outdoor Low Light TNR algorithm.
Flip across upper right/lower left diagonal.
Bi-Linear interpolation method.
struct _v4l2_argus_edge_enhance_strength v4l2_argus_edge_enhance_strength
Holds the strength value for edge enhancement operation.
Holds the value for Isp Digital gain range.
Holds the encoder frame min/max QP parameters.
struct v4l2_enc_hw_preset_type_param_ v4l2_enc_hw_preset_type_param
Holds encoder HW Preset type parameters to be used with V4L2_CID_MPEG_VIDEOENC_HW_PRESET_TYPE_PARAM I...
Skip all non-reference frames.
struct v4l2_ctrl_videodec_refframe_metadata_ v4l2_ctrl_videodec_refframe_metadata
Holds the the frame specific metadata for a reference frame.
#define V4L2_MAX_ROI_REGIONS
Defines the maximum number of ROI regions supported by the encoder.
struct _v4l2_argus_color_saturation v4l2_argus_color_saturation
Holds the value for absolute color saturation.
struct v4l2_ctrl_video_metadata_ v4l2_ctrl_video_metadata
Holds the metadata parameters for video encoder and decoder.
missing reference frame error.
__u32 config_store
Config store integer to which this control is to be applied.
Holds the value for exposure compensation.
Outdoor High Light TNR algorithm.
__u32 size
Size of the virtual buffer, in bits.
Slice size is specified in terms of number of bytes.
struct v4l2_enc_enable_ext_rps_ctrl_ v4l2_enc_enable_ext_rps_ctr
Holds the params to configure encoder for external rps control to be used with V4L2_CID_MPEG_VIDEOENC...
__u32 nTargetFrameBits
Target frame bits.
__u32 nGDRFrames
Parameter for GDR (Intra Refresh) for specified number of frames.
struct v4l2_enc_slice_intrarefresh_param_ v4l2_enc_slice_intrarefresh_param
Holds encoder slice intrareferesh parameters, to be used with V4L2_CID_MPEG_VIDEOENC_SLICE_INTRAREFRE...
struct v4l2_enc_gdr_params_ v4l2_enc_gdr_params
Holds the encoder GDR parameters to be used with V4L2_CID_MPEG_VIDEOENC_INPUT_METADATA IOCTL...
__s32 QPdelta
QP delta for the region.
__u32 MaxQpB
Maximum QP value for B frame.
__s32 mv_x
Number of pixels the macro block moved in horizontal direction.
v4l2_enc_input_metadata_param
Specifies the input buffer metadata flag.
v4l2_mpeg_video_h265_level
Defines the possible levels for H.265 encoder.
enum v4l2_enc_slice_length_type slice_length_type
Type in which the slice length is specified, one of type v4l2_enc_slice_length_type.
__u32 max_display_parameter_luminance
Holds encoder slice length parameters, to be used with V4L2_CID_MPEG_VIDEOENC_SLICE_LENGTH_PARAM IOCT...
Holds encoder slice intrareferesh parameters, to be used with V4L2_CID_MPEG_VIDEOENC_SLICE_INTRAREFRE...
v4l2_enc_frame_prop RPSList[V4L2_MAX_REF_FRAMES]
Array of RPS.
__u32 nActiveRefFrames
of valid entries in RPS, 0 means IDR.
struct _v4l2_argus_ctrl_metadata v4l2_argus_ctrl_metadata
Holds the value for camera output metadata.
__u64 MinExposureTimeRange
Exposure Time Range start limit.
v4l2_flip_method
Specifies the types of rotation/flip algorithms.
struct v4l2_enc_ROI_param_ v4l2_enc_ROI_param
Holds the encoder quality parameters for a single ROI region.
__u32 interval
Slice intrarefresh interval, in number of slices.
__u16 display_primaries_x[3]
Outdoor Medium Light TNR algorithm.
struct v4l2_ctrl_h264dec_bufmetadata_ v4l2_ctrl_h264dec_bufmetadata
Holds H.264 specific decoder metadata for the frame.
#define V4L2_MAX_REF_FRAMES
Maximum number of reference frames supported by the encoder.
__u32 MaxQpP
Maximum QP value for P frame.
__u64 MaxExposureTimeRange
Exposure Time Range end limit.
__u8 bEnableReconCRC
Boolean value to indicating Reconstructed CRC encoding.
Input metadata structure contains External RPS parameters.
struct v4l2_ctrl_videodec_currentframe_metadata_ v4l2_ctrl_videodec_currentframe_metadata
Holds the the frame specific metadata for the current frame.
v4l2_argus_ac_ae_antibanding_mode
Enum specifying types of AE antibanding modes.
Indoor High Light TNR algorithm.
struct _v4l2_argus_exposure_timerange v4l2_argus_exposure_timerange
Holds the value for exposure range.
struct v4l2_enc_frame_ROI_params_ v4l2_enc_frame_ROI_params
Holds the encoder frame ROI parameters to be used with V4L2_CID_MPEG_VIDEOENC_ROI_PARAMS IOCTL...
v4l2_argus_ac_awb_mode
Enum specifying types of AC AWB modes.
Holds the params to configure encoder for Reconstructed CRC encoding.
struct v4l2_enc_frame_ReconCRC_params_ v4l2_enc_frame_ReconCRC_params
Holds the encoder frame Reconstructed CRC parameters.
__u32 nMaxRefFrames
Max Number of reference frames to use for inter-motion search.
__u32 num_ROI_regions
Number of regions.
struct v4l2_ctrl_videodec_inputbuf_metadata_ v4l2_ctrl_videodec_inputbuf_metadata
Holds the video decoder input header error metadata for a frame.