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')
93 #define V4L2_PIX_FMT_YUV422RM v4l2_fourcc('4', '2', 'R', 'M')
96 #define V4L2_PIX_FMT_H264_SLICE v4l2_fourcc('S', '2', '6', '4')
97 #define V4L2_PIX_FMT_VP8_FRAME v4l2_fourcc('V', 'P', '8', 'F')
99 #define V4L2_CTRL_FLAG_CAN_STORE 0x0200
106 #define V4L2_EVENT_RESOLUTION_CHANGE 5
114 #define V4L2_CID_MPEG_VIDEO_H264_SPS (V4L2_CID_MPEG_BASE+383)
115 #define V4L2_CID_MPEG_VIDEO_H264_PPS (V4L2_CID_MPEG_BASE+384)
116 #define V4L2_CID_MPEG_VIDEO_H264_SCALING_MATRIX (V4L2_CID_MPEG_BASE+385)
117 #define V4L2_CID_MPEG_VIDEO_H264_SLICE_PARAM (V4L2_CID_MPEG_BASE+386)
118 #define V4L2_CID_MPEG_VIDEO_H264_DECODE_PARAM (V4L2_CID_MPEG_BASE+387)
120 #define V4L2_CID_MPEG_VIDEO_VP8_FRAME_HDR (V4L2_CID_MPEG_BASE+512)
129 #define V4L2_CID_MPEG_VIDEO_H265_PROFILE (V4L2_CID_MPEG_BASE+513)
147 #define V4L2_CID_MPEG_VIDEO_IDR_INTERVAL (V4L2_CID_MPEG_BASE+514)
155 #define V4L2_H264_SPS_CONSTRAINT_SET0_FLAG 0x01
156 #define V4L2_H264_SPS_CONSTRAINT_SET1_FLAG 0x02
157 #define V4L2_H264_SPS_CONSTRAINT_SET2_FLAG 0x04
158 #define V4L2_H264_SPS_CONSTRAINT_SET3_FLAG 0x08
159 #define V4L2_H264_SPS_CONSTRAINT_SET4_FLAG 0x10
160 #define V4L2_H264_SPS_CONSTRAINT_SET5_FLAG 0x20
162 #define V4L2_H264_SPS_FLAG_SEPARATE_COLOUR_PLANE 0x01
163 #define V4L2_H264_SPS_FLAG_QPPRIME_Y_ZERO_TRANSFORM_BYPASS 0x02
164 #define V4L2_H264_SPS_FLAG_DELTA_PIC_ORDER_ALWAYS_ZERO 0x04
165 #define V4L2_H264_SPS_FLAG_GAPS_IN_FRAME_NUM_VALUE_ALLOWED 0x08
166 #define V4L2_H264_SPS_FLAG_FRAME_MBS_ONLY 0x10
167 #define V4L2_H264_SPS_FLAG_MB_ADAPTIVE_FRAME_FIELD 0x20
168 #define V4L2_H264_SPS_FLAG_DIRECT_8X8_INFERENCE 0x40
169 struct v4l2_ctrl_h264_sps {
171 __u8 constraint_set_flags;
173 __u8 seq_parameter_set_id;
174 __u8 chroma_format_idc;
175 __u8 bit_depth_luma_minus8;
176 __u8 bit_depth_chroma_minus8;
177 __u8 log2_max_frame_num_minus4;
178 __u8 pic_order_cnt_type;
179 __u8 log2_max_pic_order_cnt_lsb_minus4;
180 __s32 offset_for_non_ref_pic;
181 __s32 offset_for_top_to_bottom_field;
182 __u8 num_ref_frames_in_pic_order_cnt_cycle;
183 __s32 offset_for_ref_frame[255];
184 __u8 max_num_ref_frames;
185 __u16 pic_width_in_mbs_minus1;
186 __u16 pic_height_in_map_units_minus1;
190 #define V4L2_H264_PPS_FLAG_ENTROPY_CODING_MODE 0x0001
191 #define V4L2_H264_PPS_FLAG_BOTTOM_FIELD_PIC_ORDER_IN_FRAME_PRESENT 0x0002
192 #define V4L2_H264_PPS_FLAG_WEIGHTED_PRED 0x0004
193 #define V4L2_H264_PPS_FLAG_DEBLOCKING_FILTER_CONTROL_PRESENT 0x0008
194 #define V4L2_H264_PPS_FLAG_CONSTRAINED_INTRA_PRED 0x0010
195 #define V4L2_H264_PPS_FLAG_REDUNDANT_PIC_CNT_PRESENT 0x0020
196 #define V4L2_H264_PPS_FLAG_TRANSFORM_8X8_MODE 0x0040
197 #define V4L2_H264_PPS_FLAG_PIC_SCALING_MATRIX_PRESENT 0x0080
198 struct v4l2_ctrl_h264_pps {
199 __u8 pic_parameter_set_id;
200 __u8 seq_parameter_set_id;
201 __u8 num_slice_groups_minus1;
202 __u8 num_ref_idx_l0_default_active_minus1;
203 __u8 num_ref_idx_l1_default_active_minus1;
204 __u8 weighted_bipred_idc;
205 __s8 pic_init_qp_minus26;
206 __s8 pic_init_qs_minus26;
207 __s8 chroma_qp_index_offset;
208 __s8 second_chroma_qp_index_offset;
212 struct v4l2_ctrl_h264_scaling_matrix {
213 __u8 scaling_list_4x4[6][16];
214 __u8 scaling_list_8x8[6][64];
217 struct v4l2_h264_weight_factors {
218 __s8 luma_weight[32];
219 __s8 luma_offset[32];
220 __s8 chroma_weight[32][2];
221 __s8 chroma_offset[32][2];
224 struct v4l2_h264_pred_weight_table {
225 __u8 luma_log2_weight_denom;
226 __u8 chroma_log2_weight_denom;
227 struct v4l2_h264_weight_factors weight_factors[2];
230 #define V4L2_SLICE_FLAG_FIELD_PIC 0x01
231 #define V4L2_SLICE_FLAG_BOTTOM_FIELD 0x02
232 #define V4L2_SLICE_FLAG_DIRECT_SPATIAL_MV_PRED 0x04
233 #define V4L2_SLICE_FLAG_SP_FOR_SWITCH 0x08
234 struct v4l2_ctrl_h264_slice_param {
238 __u32 header_bit_size;
240 __u16 first_mb_in_slice;
242 __u8 pic_parameter_set_id;
243 __u8 colour_plane_id;
246 __u16 pic_order_cnt_lsb;
247 __s32 delta_pic_order_cnt_bottom;
248 __s32 delta_pic_order_cnt0;
249 __s32 delta_pic_order_cnt1;
250 __u8 redundant_pic_cnt;
252 struct v4l2_h264_pred_weight_table pred_weight_table;
254 __u32 dec_ref_pic_marking_bit_size;
256 __u32 pic_order_cnt_bit_size;
261 __u8 disable_deblocking_filter_idc;
262 __s8 slice_alpha_c0_offset_div2;
263 __s8 slice_beta_offset_div2;
264 __u32 slice_group_change_cycle;
266 __u8 num_ref_idx_l0_active_minus1;
267 __u8 num_ref_idx_l1_active_minus1;
270 __u8 ref_pic_list0[32];
271 __u8 ref_pic_list1[32];
278 #define V4L2_H264_DPB_ENTRY_FLAG_ACTIVE 0x01
279 #define V4L2_H264_DPB_ENTRY_FLAG_LONG_TERM 0x02
280 struct v4l2_h264_dpb_entry {
285 __s32 top_field_order_cnt;
286 __s32 bottom_field_order_cnt;
290 struct v4l2_ctrl_h264_decode_param {
294 __s32 top_field_order_cnt;
295 __s32 bottom_field_order_cnt;
296 __u8 ref_pic_list_p0[32];
297 __u8 ref_pic_list_b0[32];
298 __u8 ref_pic_list_b1[32];
299 struct v4l2_h264_dpb_entry dpb[16];
302 #define V4L2_VP8_SEGMNT_HDR_FLAG_ENABLED 0x01
303 #define V4L2_VP8_SEGMNT_HDR_FLAG_UPDATE_MAP 0x02
304 #define V4L2_VP8_SEGMNT_HDR_FLAG_UPDATE_FEATURE_DATA 0x04
305 struct v4l2_vp8_sgmnt_hdr {
306 __u8 segment_feature_mode;
308 __s8 quant_update[4];
310 __u8 segment_probs[3];
315 #define V4L2_VP8_LF_HDR_ADJ_ENABLE 0x01
316 #define V4L2_VP8_LF_HDR_DELTA_UPDATE 0x02
317 struct v4l2_vp8_loopfilter_hdr {
320 __u8 sharpness_level;
321 __s8 ref_frm_delta_magnitude[4];
322 __s8 mb_mode_delta_magnitude[4];
327 struct v4l2_vp8_quantization_hdr {
334 __u16 dequant_factors[4][3][2];
337 struct v4l2_vp8_entropy_hdr {
338 __u8 coeff_probs[4][8][3][11];
339 __u8 y_mode_probs[4];
340 __u8 uv_mode_probs[3];
341 __u8 mv_probs[2][19];
344 #define V4L2_VP8_FRAME_HDR_FLAG_EXPERIMENTAL 0x01
345 #define V4L2_VP8_FRAME_HDR_FLAG_SHOW_FRAME 0x02
346 #define V4L2_VP8_FRAME_HDR_FLAG_MB_NO_SKIP_COEFF 0x04
347 struct v4l2_ctrl_vp8_frame_hdr {
354 __u8 horizontal_scale;
358 struct v4l2_vp8_sgmnt_hdr sgmnt_hdr;
359 struct v4l2_vp8_loopfilter_hdr lf_hdr;
360 struct v4l2_vp8_quantization_hdr quant_hdr;
361 struct v4l2_vp8_entropy_hdr entropy_hdr;
363 __u8 sign_bias_golden;
364 __u8 sign_bias_alternate;
366 __u8 prob_skip_false;
371 __u32 first_part_size;
376 __u32 first_part_offset;
377 __u32 macroblock_bit_offset;
380 __u32 dct_part_sizes[8];
486 #define V4L2_CID_MPEG_VIDEO_DISABLE_COMPLETE_FRAME_INPUT (V4L2_CID_MPEG_BASE+515)
498 #define V4L2_CID_MPEG_VIDEO_DISABLE_DPB (V4L2_CID_MPEG_BASE+516)
508 #define V4L2_CID_MPEG_VIDEO_ERROR_REPORTING (V4L2_CID_MPEG_BASE+517)
520 #define V4L2_CID_MPEG_VIDEO_SKIP_FRAMES (V4L2_CID_MPEG_BASE+518)
535 #define V4L2_CID_MPEG_VIDEODEC_METADATA (V4L2_CID_MPEG_BASE+519)
550 #define V4L2_CID_MPEG_VIDEODEC_INPUT_METADATA (V4L2_CID_MPEG_BASE+520)
558 #define V4L2_CID_VIDEODEC_DISPLAYDATA_PRESENT (V4L2_CID_MPEG_BASE+521)
567 #define V4L2_CID_VIDEODEC_HDR_MASTERING_DISPLAY_DATA (V4L2_CID_MPEG_BASE+522)
639 #define V4L2_CID_VIDEO_CONVERT_OUTPUT_PLANE_LAYOUT (V4L2_CID_MPEG_BASE+523)
648 #define V4L2_CID_VIDEO_CONVERT_CAPTURE_PLANE_LAYOUT (V4L2_CID_MPEG_BASE+524)
657 #define V4L2_CID_VIDEO_CONVERT_FLIP_METHOD (V4L2_CID_MPEG_BASE+525)
666 #define V4L2_CID_VIDEO_CONVERT_INTERPOLATION_METHOD (V4L2_CID_MPEG_BASE+526)
677 #define V4L2_CID_VIDEO_CONVERT_TNR_ALGORITHM (V4L2_CID_MPEG_BASE+527)
793 #define V4L2_CID_MPEG_VIDEOENC_TEMPORAL_TRADEOFF_LEVEL (V4L2_CID_MPEG_BASE+528)
804 #define V4L2_CID_MPEG_VIDEOENC_SLICE_LENGTH_PARAM (V4L2_CID_MPEG_BASE+529)
816 #define V4L2_CID_MPEG_VIDEOENC_ROI_PARAMS (V4L2_CID_MPEG_BASE+530)
827 #define V4L2_CID_MPEG_VIDEOENC_VIRTUALBUFFER_SIZE (V4L2_CID_MPEG_BASE+531)
837 #define V4L2_CID_MPEG_VIDEOENC_NUM_REFERENCE_FRAMES (V4L2_CID_MPEG_BASE+532)
848 #define V4L2_CID_MPEG_VIDEOENC_SLICE_INTRAREFRESH_PARAM (V4L2_CID_MPEG_BASE+533)
859 #define V4L2_CID_MPEG_VIDEOENC_NUM_BFRAMES (V4L2_CID_MPEG_BASE+534)
869 #define V4L2_CID_MPEG_VIDEOENC_INSERT_SPS_PPS_AT_IDR (V4L2_CID_MPEG_BASE+535)
881 #define V4L2_CID_MPEG_VIDEOENC_METADATA (V4L2_CID_MPEG_BASE+536)
891 #define V4L2_CID_MPEG_VIDEOENC_ENABLE_METADATA_MV (V4L2_CID_MPEG_BASE+537)
903 #define V4L2_CID_MPEG_VIDEOENC_METADATA_MV (V4L2_CID_MPEG_BASE+538)
914 #define V4L2_CID_MPEG_VIDEOENC_QP_RANGE (V4L2_CID_MPEG_BASE+539)
925 #define V4L2_CID_MPEG_VIDEOENC_HW_PRESET_TYPE_PARAM (V4L2_CID_MPEG_BASE+540)
938 #define V4L2_CID_MPEG_VIDEOENC_INPUT_METADATA (V4L2_CID_MPEG_BASE+541)
950 #define V4L2_CID_MPEG_VIDEOENC_ENABLE_EXTERNAL_RPS_CONTROL (V4L2_CID_MPEG_BASE+542)
961 #define V4L2_CID_MPEG_VIDEOENC_ENABLE_EXTERNAL_RATE_CONTROL (V4L2_CID_MPEG_BASE+543)
972 #define V4L2_CID_MPEG_VIDEOENC_ENABLE_ROI_PARAM (V4L2_CID_MPEG_BASE+544)
983 #define V4L2_CID_MPEG_VIDEOENC_ENABLE_RECONCRC_PARAM (V4L2_CID_MPEG_BASE+545)
993 #define V4L2_CID_MPEG_VIDEOENC_INSERT_VUI (V4L2_CID_MPEG_BASE+546)
1003 #define V4L2_CID_MPEG_VIDEOENC_INSERT_AUD (V4L2_CID_MPEG_BASE+547)
1014 #define V4L2_CID_MPEG_VIDEOENC_EXTEDED_COLORFORMAT (V4L2_CID_MPEG_BASE+548)
1027 #define V4L2_CID_MPEG_VIDEO_DECODE_INSTANCE (V4L2_CID_MPEG_BASE+549)
1036 #define V4L2_CID_MPEG_VIDEO_DEVICE_POLL (V4L2_CID_MPEG_BASE+550)
1049 #define V4L2_CID_MPEG_SET_POLL_INTERRUPT (V4L2_CID_MPEG_BASE+551)
1059 #define V4L2_CID_MPEG_VIDEOENC_TWO_PASS_CBR (V4L2_CID_MPEG_BASE+552)
1068 #define V4L2_CID_VIDEO_CONVERT_YUV_RESCALE_METHOD (V4L2_CID_MPEG_BASE+553)
1078 #define V4L2_CID_MPEG_VIDEO_MAX_PERFORMANCE (V4L2_CID_MPEG_BASE+554)
1088 #define V4L2_CID_MPEG_VIDEOENC_ENABLE_ALLIFRAME_ENCODE (V4L2_CID_MPEG_BASE+555)
1100 #define V4L2_CID_MPEG_VIDEO_BUF_API_TYPE (V4L2_CID_MPEG_BASE+556)
1111 #define V4L2_CID_MPEG_VIDEO_CUDA_MEM_TYPE (V4L2_CID_MPEG_BASE+557)
1121 #define V4L2_CID_MPEG_VIDEO_CUDA_GPU_ID (V4L2_CID_MPEG_BASE+558)
1133 #define V4L2_CID_MPEG_VIDEODEC_DROP_FRAME_INTERVAL (V4L2_CID_MPEG_BASE+559)
1145 #define V4L2_CID_MPEG_VIDEOENC_VPX_HEADERS_WITH_FRAME (V4L2_CID_MPEG_BASE+560)
1152 #define V4L2_CID_MPEG_VIDEOENC_H265_LEVEL (V4L2_CID_MPEG_BASE+561)
1162 #define V4L2_CID_MPEG_VIDEOENC_ENABLE_SLICE_LEVEL_ENCODE (V4L2_CID_MPEG_BASE+562)
1173 #define V4L2_CID_MPEG_VIDEOENC_POC_TYPE (V4L2_CID_MPEG_BASE+563)
1252 #define V4L2_CID_ARGUS_AUTO_WHITE_BALANCE_MODE (V4L2_CID_CAMERA_CLASS_BASE+20)
1262 #define V4L2_CID_ARGUS_SENSOR_MODE (V4L2_CID_CAMERA_CLASS_BASE+32)
1273 #define V4L2_CID_ARGUS_DENOISE_STRENGTH (V4L2_CID_CAMERA_CLASS_BASE+33)
1284 #define V4L2_CID_ARGUS_DENOISE_MODE (V4L2_CID_CAMERA_CLASS_BASE+34)
1295 #define V4L2_CID_ARGUS_EE_STRENGTH (V4L2_CID_CAMERA_CLASS_BASE+35)
1306 #define V4L2_CID_ARGUS_EE_MODE (V4L2_CID_CAMERA_CLASS_BASE+36)
1317 #define V4L2_CID_ARGUS_AE_ANTIBANDING_MODE (V4L2_CID_CAMERA_CLASS_BASE+37)
1328 #define V4L2_CID_ARGUS_EXPOSURE_COMPENSATION (V4L2_CID_CAMERA_CLASS_BASE+38)
1339 #define V4L2_CID_ARGUS_ISP_DIGITAL_GAIN_RANGE (V4L2_CID_CAMERA_CLASS_BASE+39)
1352 #define V4L2_CID_ARGUS_COLOR_SATURATION (V4L2_CID_CAMERA_CLASS_BASE+40)
1363 #define V4L2_CID_ARGUS_GAIN_RANGE (V4L2_CID_CAMERA_CLASS_BASE+41)
1374 #define V4L2_CID_ARGUS_EXPOSURE_TIME_RANGE (V4L2_CID_CAMERA_CLASS_BASE+42)
1386 #define V4L2_CID_ARGUS_METADATA (V4L2_CID_CAMERA_CLASS_BASE+43)
1726 #define V4L2_MAX_ROI_REGIONS 8
1782 #define V4L2_MAX_REF_FRAMES 8
2027 #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.