|
Jetson Linux API Reference
|
32.7.5 Release
|
Go to the documentation of this file.
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')
102 #define V4L2_PIX_FMT_YUV422RM v4l2_fourcc('4', '2', 'R', 'M')
105 #define V4L2_PIX_FMT_H264_SLICE v4l2_fourcc('S', '2', '6', '4')
106 #define V4L2_PIX_FMT_VP8_FRAME v4l2_fourcc('V', 'P', '8', 'F')
108 #define V4L2_CTRL_FLAG_CAN_STORE 0x0200
115 #define V4L2_EVENT_RESOLUTION_CHANGE 5
123 #define V4L2_CID_MPEG_VIDEO_H264_SPS (V4L2_CID_MPEG_BASE+383)
124 #define V4L2_CID_MPEG_VIDEO_H264_PPS (V4L2_CID_MPEG_BASE+384)
125 #define V4L2_CID_MPEG_VIDEO_H264_SCALING_MATRIX (V4L2_CID_MPEG_BASE+385)
126 #define V4L2_CID_MPEG_VIDEO_H264_SLICE_PARAM (V4L2_CID_MPEG_BASE+386)
127 #define V4L2_CID_MPEG_VIDEO_H264_DECODE_PARAM (V4L2_CID_MPEG_BASE+387)
129 #define V4L2_CID_MPEG_VIDEO_VP8_FRAME_HDR (V4L2_CID_MPEG_BASE+512)
138 #define V4L2_CID_MPEG_VIDEO_H265_PROFILE (V4L2_CID_MPEG_BASE+513)
156 #define V4L2_CID_MPEG_VIDEO_IDR_INTERVAL (V4L2_CID_MPEG_BASE+514)
164 #define V4L2_H264_SPS_CONSTRAINT_SET0_FLAG 0x01
165 #define V4L2_H264_SPS_CONSTRAINT_SET1_FLAG 0x02
166 #define V4L2_H264_SPS_CONSTRAINT_SET2_FLAG 0x04
167 #define V4L2_H264_SPS_CONSTRAINT_SET3_FLAG 0x08
168 #define V4L2_H264_SPS_CONSTRAINT_SET4_FLAG 0x10
169 #define V4L2_H264_SPS_CONSTRAINT_SET5_FLAG 0x20
171 #define V4L2_H264_SPS_FLAG_SEPARATE_COLOUR_PLANE 0x01
172 #define V4L2_H264_SPS_FLAG_QPPRIME_Y_ZERO_TRANSFORM_BYPASS 0x02
173 #define V4L2_H264_SPS_FLAG_DELTA_PIC_ORDER_ALWAYS_ZERO 0x04
174 #define V4L2_H264_SPS_FLAG_GAPS_IN_FRAME_NUM_VALUE_ALLOWED 0x08
175 #define V4L2_H264_SPS_FLAG_FRAME_MBS_ONLY 0x10
176 #define V4L2_H264_SPS_FLAG_MB_ADAPTIVE_FRAME_FIELD 0x20
177 #define V4L2_H264_SPS_FLAG_DIRECT_8X8_INFERENCE 0x40
178 struct v4l2_ctrl_h264_sps {
180 __u8 constraint_set_flags;
182 __u8 seq_parameter_set_id;
183 __u8 chroma_format_idc;
184 __u8 bit_depth_luma_minus8;
185 __u8 bit_depth_chroma_minus8;
186 __u8 log2_max_frame_num_minus4;
187 __u8 pic_order_cnt_type;
188 __u8 log2_max_pic_order_cnt_lsb_minus4;
189 __s32 offset_for_non_ref_pic;
190 __s32 offset_for_top_to_bottom_field;
191 __u8 num_ref_frames_in_pic_order_cnt_cycle;
192 __s32 offset_for_ref_frame[255];
193 __u8 max_num_ref_frames;
194 __u16 pic_width_in_mbs_minus1;
195 __u16 pic_height_in_map_units_minus1;
199 #define V4L2_H264_PPS_FLAG_ENTROPY_CODING_MODE 0x0001
200 #define V4L2_H264_PPS_FLAG_BOTTOM_FIELD_PIC_ORDER_IN_FRAME_PRESENT 0x0002
201 #define V4L2_H264_PPS_FLAG_WEIGHTED_PRED 0x0004
202 #define V4L2_H264_PPS_FLAG_DEBLOCKING_FILTER_CONTROL_PRESENT 0x0008
203 #define V4L2_H264_PPS_FLAG_CONSTRAINED_INTRA_PRED 0x0010
204 #define V4L2_H264_PPS_FLAG_REDUNDANT_PIC_CNT_PRESENT 0x0020
205 #define V4L2_H264_PPS_FLAG_TRANSFORM_8X8_MODE 0x0040
206 #define V4L2_H264_PPS_FLAG_PIC_SCALING_MATRIX_PRESENT 0x0080
207 struct v4l2_ctrl_h264_pps {
208 __u8 pic_parameter_set_id;
209 __u8 seq_parameter_set_id;
210 __u8 num_slice_groups_minus1;
211 __u8 num_ref_idx_l0_default_active_minus1;
212 __u8 num_ref_idx_l1_default_active_minus1;
213 __u8 weighted_bipred_idc;
214 __s8 pic_init_qp_minus26;
215 __s8 pic_init_qs_minus26;
216 __s8 chroma_qp_index_offset;
217 __s8 second_chroma_qp_index_offset;
221 struct v4l2_ctrl_h264_scaling_matrix {
222 __u8 scaling_list_4x4[6][16];
223 __u8 scaling_list_8x8[6][64];
226 struct v4l2_h264_weight_factors {
227 __s8 luma_weight[32];
228 __s8 luma_offset[32];
229 __s8 chroma_weight[32][2];
230 __s8 chroma_offset[32][2];
233 struct v4l2_h264_pred_weight_table {
234 __u8 luma_log2_weight_denom;
235 __u8 chroma_log2_weight_denom;
236 struct v4l2_h264_weight_factors weight_factors[2];
239 #define V4L2_SLICE_FLAG_FIELD_PIC 0x01
240 #define V4L2_SLICE_FLAG_BOTTOM_FIELD 0x02
241 #define V4L2_SLICE_FLAG_DIRECT_SPATIAL_MV_PRED 0x04
242 #define V4L2_SLICE_FLAG_SP_FOR_SWITCH 0x08
243 struct v4l2_ctrl_h264_slice_param {
247 __u32 header_bit_size;
249 __u16 first_mb_in_slice;
251 __u8 pic_parameter_set_id;
252 __u8 colour_plane_id;
255 __u16 pic_order_cnt_lsb;
256 __s32 delta_pic_order_cnt_bottom;
257 __s32 delta_pic_order_cnt0;
258 __s32 delta_pic_order_cnt1;
259 __u8 redundant_pic_cnt;
261 struct v4l2_h264_pred_weight_table pred_weight_table;
263 __u32 dec_ref_pic_marking_bit_size;
265 __u32 pic_order_cnt_bit_size;
270 __u8 disable_deblocking_filter_idc;
271 __s8 slice_alpha_c0_offset_div2;
272 __s8 slice_beta_offset_div2;
273 __u32 slice_group_change_cycle;
275 __u8 num_ref_idx_l0_active_minus1;
276 __u8 num_ref_idx_l1_active_minus1;
279 __u8 ref_pic_list0[32];
280 __u8 ref_pic_list1[32];
287 #define V4L2_H264_DPB_ENTRY_FLAG_ACTIVE 0x01
288 #define V4L2_H264_DPB_ENTRY_FLAG_LONG_TERM 0x02
289 struct v4l2_h264_dpb_entry {
294 __s32 top_field_order_cnt;
295 __s32 bottom_field_order_cnt;
299 struct v4l2_ctrl_h264_decode_param {
303 __s32 top_field_order_cnt;
304 __s32 bottom_field_order_cnt;
305 __u8 ref_pic_list_p0[32];
306 __u8 ref_pic_list_b0[32];
307 __u8 ref_pic_list_b1[32];
308 struct v4l2_h264_dpb_entry dpb[16];
311 #define V4L2_VP8_SEGMNT_HDR_FLAG_ENABLED 0x01
312 #define V4L2_VP8_SEGMNT_HDR_FLAG_UPDATE_MAP 0x02
313 #define V4L2_VP8_SEGMNT_HDR_FLAG_UPDATE_FEATURE_DATA 0x04
314 struct v4l2_vp8_sgmnt_hdr {
315 __u8 segment_feature_mode;
317 __s8 quant_update[4];
319 __u8 segment_probs[3];
324 #define V4L2_VP8_LF_HDR_ADJ_ENABLE 0x01
325 #define V4L2_VP8_LF_HDR_DELTA_UPDATE 0x02
326 struct v4l2_vp8_loopfilter_hdr {
329 __u8 sharpness_level;
330 __s8 ref_frm_delta_magnitude[4];
331 __s8 mb_mode_delta_magnitude[4];
336 struct v4l2_vp8_quantization_hdr {
343 __u16 dequant_factors[4][3][2];
346 struct v4l2_vp8_entropy_hdr {
347 __u8 coeff_probs[4][8][3][11];
348 __u8 y_mode_probs[4];
349 __u8 uv_mode_probs[3];
350 __u8 mv_probs[2][19];
353 #define V4L2_VP8_FRAME_HDR_FLAG_EXPERIMENTAL 0x01
354 #define V4L2_VP8_FRAME_HDR_FLAG_SHOW_FRAME 0x02
355 #define V4L2_VP8_FRAME_HDR_FLAG_MB_NO_SKIP_COEFF 0x04
356 struct v4l2_ctrl_vp8_frame_hdr {
363 __u8 horizontal_scale;
367 struct v4l2_vp8_sgmnt_hdr sgmnt_hdr;
368 struct v4l2_vp8_loopfilter_hdr lf_hdr;
369 struct v4l2_vp8_quantization_hdr quant_hdr;
370 struct v4l2_vp8_entropy_hdr entropy_hdr;
372 __u8 sign_bias_golden;
373 __u8 sign_bias_alternate;
375 __u8 prob_skip_false;
380 __u32 first_part_size;
385 __u32 first_part_offset;
386 __u32 macroblock_bit_offset;
389 __u32 dct_part_sizes[8];
495 #define V4L2_CID_MPEG_VIDEO_DISABLE_COMPLETE_FRAME_INPUT (V4L2_CID_MPEG_BASE+515)
507 #define V4L2_CID_MPEG_VIDEO_DISABLE_DPB (V4L2_CID_MPEG_BASE+516)
517 #define V4L2_CID_MPEG_VIDEO_ERROR_REPORTING (V4L2_CID_MPEG_BASE+517)
529 #define V4L2_CID_MPEG_VIDEO_SKIP_FRAMES (V4L2_CID_MPEG_BASE+518)
544 #define V4L2_CID_MPEG_VIDEODEC_METADATA (V4L2_CID_MPEG_BASE+519)
559 #define V4L2_CID_MPEG_VIDEODEC_INPUT_METADATA (V4L2_CID_MPEG_BASE+520)
567 #define V4L2_CID_VIDEODEC_DISPLAYDATA_PRESENT (V4L2_CID_MPEG_BASE+521)
576 #define V4L2_CID_VIDEODEC_HDR_MASTERING_DISPLAY_DATA (V4L2_CID_MPEG_BASE+522)
586 #define V4L2_CID_MPEG_VIDEODEC_SAR_WIDTH (V4L2_CID_MPEG_BASE+580)
596 #define V4L2_CID_MPEG_VIDEODEC_SAR_HEIGHT (V4L2_CID_MPEG_BASE+581)
668 #define V4L2_CID_VIDEO_CONVERT_OUTPUT_PLANE_LAYOUT (V4L2_CID_MPEG_BASE+523)
677 #define V4L2_CID_VIDEO_CONVERT_CAPTURE_PLANE_LAYOUT (V4L2_CID_MPEG_BASE+524)
686 #define V4L2_CID_VIDEO_CONVERT_FLIP_METHOD (V4L2_CID_MPEG_BASE+525)
695 #define V4L2_CID_VIDEO_CONVERT_INTERPOLATION_METHOD (V4L2_CID_MPEG_BASE+526)
706 #define V4L2_CID_VIDEO_CONVERT_TNR_ALGORITHM (V4L2_CID_MPEG_BASE+527)
822 #define V4L2_CID_MPEG_VIDEOENC_TEMPORAL_TRADEOFF_LEVEL (V4L2_CID_MPEG_BASE+528)
833 #define V4L2_CID_MPEG_VIDEOENC_SLICE_LENGTH_PARAM (V4L2_CID_MPEG_BASE+529)
845 #define V4L2_CID_MPEG_VIDEOENC_ROI_PARAMS (V4L2_CID_MPEG_BASE+530)
856 #define V4L2_CID_MPEG_VIDEOENC_VIRTUALBUFFER_SIZE (V4L2_CID_MPEG_BASE+531)
866 #define V4L2_CID_MPEG_VIDEOENC_NUM_REFERENCE_FRAMES (V4L2_CID_MPEG_BASE+532)
877 #define V4L2_CID_MPEG_VIDEOENC_SLICE_INTRAREFRESH_PARAM (V4L2_CID_MPEG_BASE+533)
888 #define V4L2_CID_MPEG_VIDEOENC_NUM_BFRAMES (V4L2_CID_MPEG_BASE+534)
898 #define V4L2_CID_MPEG_VIDEOENC_INSERT_SPS_PPS_AT_IDR (V4L2_CID_MPEG_BASE+535)
910 #define V4L2_CID_MPEG_VIDEOENC_METADATA (V4L2_CID_MPEG_BASE+536)
920 #define V4L2_CID_MPEG_VIDEOENC_ENABLE_METADATA_MV (V4L2_CID_MPEG_BASE+537)
932 #define V4L2_CID_MPEG_VIDEOENC_METADATA_MV (V4L2_CID_MPEG_BASE+538)
943 #define V4L2_CID_MPEG_VIDEOENC_QP_RANGE (V4L2_CID_MPEG_BASE+539)
954 #define V4L2_CID_MPEG_VIDEOENC_HW_PRESET_TYPE_PARAM (V4L2_CID_MPEG_BASE+540)
967 #define V4L2_CID_MPEG_VIDEOENC_INPUT_METADATA (V4L2_CID_MPEG_BASE+541)
979 #define V4L2_CID_MPEG_VIDEOENC_ENABLE_EXTERNAL_RPS_CONTROL (V4L2_CID_MPEG_BASE+542)
990 #define V4L2_CID_MPEG_VIDEOENC_ENABLE_EXTERNAL_RATE_CONTROL (V4L2_CID_MPEG_BASE+543)
1001 #define V4L2_CID_MPEG_VIDEOENC_ENABLE_ROI_PARAM (V4L2_CID_MPEG_BASE+544)
1012 #define V4L2_CID_MPEG_VIDEOENC_ENABLE_RECONCRC_PARAM (V4L2_CID_MPEG_BASE+545)
1022 #define V4L2_CID_MPEG_VIDEOENC_INSERT_VUI (V4L2_CID_MPEG_BASE+546)
1032 #define V4L2_CID_MPEG_VIDEOENC_INSERT_AUD (V4L2_CID_MPEG_BASE+547)
1043 #define V4L2_CID_MPEG_VIDEOENC_EXTEDED_COLORFORMAT (V4L2_CID_MPEG_BASE+548)
1056 #define V4L2_CID_MPEG_VIDEO_DECODE_INSTANCE (V4L2_CID_MPEG_BASE+549)
1065 #define V4L2_CID_MPEG_VIDEO_DEVICE_POLL (V4L2_CID_MPEG_BASE+550)
1078 #define V4L2_CID_MPEG_SET_POLL_INTERRUPT (V4L2_CID_MPEG_BASE+551)
1088 #define V4L2_CID_MPEG_VIDEOENC_TWO_PASS_CBR (V4L2_CID_MPEG_BASE+552)
1097 #define V4L2_CID_VIDEO_CONVERT_YUV_RESCALE_METHOD (V4L2_CID_MPEG_BASE+553)
1107 #define V4L2_CID_MPEG_VIDEO_MAX_PERFORMANCE (V4L2_CID_MPEG_BASE+554)
1117 #define V4L2_CID_MPEG_VIDEOENC_ENABLE_ALLIFRAME_ENCODE (V4L2_CID_MPEG_BASE+555)
1129 #define V4L2_CID_MPEG_VIDEO_BUF_API_TYPE (V4L2_CID_MPEG_BASE+556)
1140 #define V4L2_CID_MPEG_VIDEO_CUDA_MEM_TYPE (V4L2_CID_MPEG_BASE+557)
1150 #define V4L2_CID_MPEG_VIDEO_CUDA_GPU_ID (V4L2_CID_MPEG_BASE+558)
1162 #define V4L2_CID_MPEG_VIDEODEC_DROP_FRAME_INTERVAL (V4L2_CID_MPEG_BASE+559)
1174 #define V4L2_CID_MPEG_VIDEOENC_VPX_HEADERS_WITH_FRAME (V4L2_CID_MPEG_BASE+560)
1181 #define V4L2_CID_MPEG_VIDEOENC_H265_LEVEL (V4L2_CID_MPEG_BASE+561)
1191 #define V4L2_CID_MPEG_VIDEOENC_ENABLE_SLICE_LEVEL_ENCODE (V4L2_CID_MPEG_BASE+562)
1202 #define V4L2_CID_MPEG_VIDEOENC_POC_TYPE (V4L2_CID_MPEG_BASE+563)
1214 #define V4L2_CID_MPEG_VIDEOENC_H265_VUI_EXT_SAR_WIDTH (V4L2_CID_MPEG_BASE+564)
1226 #define V4L2_CID_MPEG_VIDEOENC_H265_VUI_EXT_SAR_HEIGHT (V4L2_CID_MPEG_BASE+565)
1236 #define V4L2_CID_MPEG_VIDEOENC_FORCE_INTRA_FRAME (V4L2_CID_MPEG_BASE+566)
1246 #define V4L2_CID_MPEG_VIDEOENC_FORCE_IDR_FRAME (V4L2_CID_MPEG_BASE+567)
1256 #define V4L2_CID_MPEG_VIDEO_CUDA_LOW_LATENCY (V4L2_CID_MPEG_BASE+568)
1269 #define V4L2_CID_MPEG_VIDEOENC_ENABLE_LOSSLESS (V4L2_CID_MPEG_BASE+569)
1280 #define V4L2_CID_MPEG_VIDEOENC_H265_CHROMA_FACTOR_IDC (V4L2_CID_MPEG_BASE+570)
1291 #define V4L2_CID_MPEG_VIDEOENC_H265_DISABLE_AMP (V4L2_CID_MPEG_BASE + 571)
1370 #define V4L2_CID_ARGUS_AUTO_WHITE_BALANCE_MODE (V4L2_CID_CAMERA_CLASS_BASE+20)
1380 #define V4L2_CID_ARGUS_SENSOR_MODE (V4L2_CID_CAMERA_CLASS_BASE+32)
1391 #define V4L2_CID_ARGUS_DENOISE_STRENGTH (V4L2_CID_CAMERA_CLASS_BASE+33)
1402 #define V4L2_CID_ARGUS_DENOISE_MODE (V4L2_CID_CAMERA_CLASS_BASE+34)
1413 #define V4L2_CID_ARGUS_EE_STRENGTH (V4L2_CID_CAMERA_CLASS_BASE+35)
1424 #define V4L2_CID_ARGUS_EE_MODE (V4L2_CID_CAMERA_CLASS_BASE+36)
1435 #define V4L2_CID_ARGUS_AE_ANTIBANDING_MODE (V4L2_CID_CAMERA_CLASS_BASE+37)
1446 #define V4L2_CID_ARGUS_EXPOSURE_COMPENSATION (V4L2_CID_CAMERA_CLASS_BASE+38)
1457 #define V4L2_CID_ARGUS_ISP_DIGITAL_GAIN_RANGE (V4L2_CID_CAMERA_CLASS_BASE+39)
1470 #define V4L2_CID_ARGUS_COLOR_SATURATION (V4L2_CID_CAMERA_CLASS_BASE+40)
1481 #define V4L2_CID_ARGUS_GAIN_RANGE (V4L2_CID_CAMERA_CLASS_BASE+41)
1492 #define V4L2_CID_ARGUS_EXPOSURE_TIME_RANGE (V4L2_CID_CAMERA_CLASS_BASE+42)
1504 #define V4L2_CID_ARGUS_METADATA (V4L2_CID_CAMERA_CLASS_BASE+43)
1844 #define V4L2_MAX_ROI_REGIONS 8
1900 #define V4L2_MAX_REF_FRAMES 8
2145 #define QP_RETAIN_VAL -1
2675 #define V4L2_IPC_MAP_BUFFER _IOWR('V', BASE_VIDIOC_PRIVATE + 1, struct v4l2_map_buffer)
2676 #define V4L2_IPC_UNMAP_BUFFER _IOWR('V', BASE_VIDIOC_PRIVATE + 2, struct v4l2_map_buffer)
Holds encoder number of reference frame parameters, to be used with V4L2_CID_MPEG_VIDEOENC_NUM_REFERE...
@ V4L2_DEC_ERROR_SLICE_HDR
slice header error.
__u32 nCurrentRefFrameId
frame id of reference frame to be used for motion search, ignored for IDR.
@ V4L2_YUV_RESCALE_EXT_TO_STD
@ V4L2_COLORFORMAT_NV21_12LE
BT.601 colorspace - Y/CrCb 4:2:0 12-bit multi-planar.
@ V4L2_DEC_ERROR_PPS
pps error.
Holds the params to configure encoder for ROI parameters encoding.
__u32 fd
Holds the DMABUF FD of the hardware buffer.
__u32 slice_length
Size of the slice in either number of bytes or number of macro blocks.
__u32 nFrameQP
Frame start QP.
@ V4L2_MPEG_VIDEO_H265_LEVEL_5_0_HIGH_TIER
float ColorSaturation
Specified absolute color saturation.
@ V4L2_COLORFORMAT_NV16_709_ER
BT.709_ER colorspace - Y/CbCr 4:2:2 multi-planar.
@ V4L2_MPEG_VIDEO_H265_LEVEL_4_1_MAIN_TIER
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_MPEG_VIDEO_H265_LEVEL_2_1_MAIN_TIER
@ V4L2_INTERPOLATION_NICEST
Nicest interpolation method.
@ V4L2_TNR_ALGO_INDOOR_HIGH_LIGHT
Indoor High Light TNR algorithm.
__u8 bRefFrame
Boolean value indicating if current frame referenced or non-referenced.
@ V4L2_TNR_ALGO_OUTDOOR_HIGH_LIGHT
Outdoor High Light TNR algorithm.
@ V4L2_FLIP_METHOD_TRANS
Flip across upper left/lower right diagonal.
Holds the encoder frame ROI parameters to be used with V4L2_CID_MPEG_VIDEOENC_ROI_PARAMS IOCTL.
v4l2_enc_slice_length_type
Enum specifying the type of slice length.
struct v4l2_ctrl_videodec_inputbuf_metadata_ v4l2_ctrl_videodec_inputbuf_metadata
Holds the video decoder input header error metadata for a frame.
@ V4L2_FLIP_METHOD_HORIZ
Flip horizontally.
v4l2_nv_buffer_layout
Enum specifying types of buffer layouts.
float MaxGainRange
Analog Gain Range end limit.
v4l2_enc_frame_prop RPSList[V4L2_MAX_REF_FRAMES]
Array of RPS.
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.
@ V4L2_COLORFORMAT_NV12_10LE_709
BT.709 colorspace - Y/CbCr 4:2:0 10-bit multi-planar.
__u32 psize
size of each vodeo planes of hardware buffer.
@ V4L2_MPEG_VIDEO_H265_LEVEL_6_1_HIGH_TIER
struct v4l2_ctrl_videoenc_outputbuf_metadata_MV_ v4l2_ctrl_videoenc_outputbuf_metadata_MV
Holds the motion vector parameters for one complete frame.
__u32 layout
layout type of each planes of hardware buffer.
@ V4L2_MPEG_VIDEO_H265_LEVEL_6_0_MAIN_TIER
__u32 MaxQpP
Maximum QP value for P frame.
@ V4L2_COLORFORMAT_NV24_10LE
BT.601 colorspace - Y/CrCb 4:4:4 10-bit multi-planar.
@ V4L2_COLORFORMAT_YUYV
BT.601 colorspace - YUV 4:2:2 planar.
@ V4L2_YUV_RESCALE_STD_TO_EXT
Extension(full range [0 255] to standard(limited range [16 235])
@ V4L2_ENC_HW_PRESET_ULTRAFAST
Encoder HWPreset with per frame encode time UltraFast.
struct v4l2_ctrl_h264dec_bufmetadata_ v4l2_ctrl_h264dec_bufmetadata
Holds H.264 specific decoder metadata for the frame.
v4l2_mpeg_video_h265_profile
Defines the possible profiles for H.265 encoder.
@ V4L2_COLORFORMAT_RGBA_10_10_10_2_2020
Non-linear RGB BT.2020 colorspace - RGBA-10-10-10-2 planar.
__s32 startofvaliddata
start of valid data.
@ V4L2_INTERPOLATION_10_TAP
10-Tap interpolation method
@ V4L2_COLORFORMAT_NV24_10LE_709
BT.709 colorspace - Y/CbCr 10 bit 4:4:4 multi-planar.
__u32 nTargetFrameBits
Target frame bits.
@ V4L2_COLORFORMAT_VYUY
BT.601 colorspace - YUV 4:2:2 planar.
@ V4L2_COLORFORMAT_XRGB32
LegacyRGBA colorspace - XRGB-8-8-8-8 planar.
__u32 config_store
Config store integer to which this control is to be applied.
__u32 min_display_parameter_luminance
@ V4L2_MPEG_VIDEO_H265_LEVEL_2_1_HIGH_TIER
@ V4L2_CUDA_MEM_TYPE_DEVICE
Memory type device.
v4l2_tnr_algorithm
Specifies the types of TNR algorithms.
@ V4L2_COLORFORMAT_GRAY8
8-bit grayscale.
__u8 bIdrFrame
Boolean value indicating if current frame is an IDR.
__u32 frames
Number of reference frames.
struct v4l2_ctrl_videodec_outputbuf_metadata_ v4l2_ctrl_videodec_outputbuf_metadata
Holds the video decoder output metadata for a frame.
@ V4L2_COLORFORMAT_NV21_10LE
BT.601 colorspace - Y/CrCb 4:2:0 10-bit multi-planar.
@ V4L2_MPEG_VIDEO_H265_LEVEL_6_2_HIGH_TIER
@ V4L2_TNR_ALGO_ORIGINAL
Default TNR algorithm.
@ V4L2_ENC_SLICE_LENGTH_TYPE_MBLK
Slice size is specified in terms of number of macroblocks.
@ V4L2_MPEG_VIDEO_H265_LEVEL_6_1_MAIN_TIER
@ V4L2_MPEG_VIDEO_H265_PROFILE_MAINSTILLPICTURE
H.265 MainStillPicture profile.
@ V4L2_MPEG_VIDEO_H265_LEVEL_3_0_MAIN_TIER
Holds the value for Isp Digital gain range.
struct v4l2_ctrl_videodec_refframe_metadata_ v4l2_ctrl_videodec_refframe_metadata
Holds the the frame specific metadata for a reference frame.
__s32 QPdelta
QP delta for the region.
v4l2_argus_ae_state
Enum specifying types of AE states.
__u8 bLTRefFrame
Long Term Ref Flag.
@ V4L2_COLORFORMAT_BGRA_10_10_10_2_709
Non-linear RGB BT.709 colorspace - BGRA-10-10-10-2 planar.
v4l2_buffer_payload_type
Defines Payload types for buffer.
@ V4L2_FLIP_METHOD_IDENTITY
Identity (no rotation).
@ V4L2_COLORFORMAT_YUV420
BT.601 colorspace - YUV420 multi-planar.
v4l2_argus_ac_awb_mode
Enum specifying types of AC AWB modes.
@ V4L2_DEC_ERROR_SPS
sps error.
struct _v4l2_argus_gainrange v4l2_argus_gainrange
Holds the value for gain range.
v4l2_buffer_payload_type payloadtype
payload type of the buffer.
__u32 nMaxRefFrames
Max Number of reference frames to use for inter-motion search.
struct v4l2_ctrl_hevcdec_bufmetadata_ v4l2_ctrl_hevcdec_bufmetadata
Holds H.265 specific decoder metadata for the frame.
Holds the motion vector parameters for a single block.
@ V4L2_MPEG_VIDEO_H265_LEVEL_6_2_MAIN_TIER
v4l2_skip_frames_type
Enum v4l2_skip_frames_type, possible methods for decoder skip frames.
@ V4L2_COLORFORMAT_YUV420_2020
BT.2020 colorspace - YUV420 multi-planar.
float EdgeEnhanceStrength
Edge Enhance Strength.
@ V4L2_COLORFORMAT_NV12_12LE
BT.601 colorspace - Y/CbCr 4:2:0 12-bit multi-planar.
struct v4l2_ctrl_videodec_dpbinfometadata_ v4l2_ctrl_videodec_dpbinfometadata
Holds the decoder DPB info metadata.
__u32 masteringdisplaydatapresent
@ V4L2_MPEG_VIDEO_H265_LEVEL_5_2_MAIN_TIER
struct v4l2_enc_enable_reconcrc_param_ v4l2_enc_enable_reconcrc_param
Holds the params to configure encoder for Reconstructed CRC encoding.
struct _v4l2_argus_exposure_compensation v4l2_argus_exposure_compensation
Holds the value for exposure compensation.
struct v4l2_enc_frame_full_prop_ v4l2_enc_frame_full_prop
Holds the RPS List parameters of encoded frame.
@ V4L2_PAYLOAD_TYPE_SURFARRAY
buffer payload with hardware memory handle for set of planes.
__u32 nGDRFrames
Parameter for GDR (Intra Refresh) for specified number of frames.
struct v4l2_ctrl_videodec_statusmetadata_ v4l2_ctrl_videodec_statusmetadata
Holds the decoder error status metadata for the frame.
v4l2_enc_temporal_tradeoff_level_type
Specifies the types of encoder temporal tradeoff levels.
__u32 MinQpB
Minimum QP value for B frame.
@ V4L2_COLORFORMAT_NV12_709_ER
BT.709 colorspace - Y/CbCr ER 4:2:0 multi-planar.
@ V4L2_ENC_HW_PRESET_DISABLE
Encoder HWPreset DISABLED.
__u32 MinQpP
Minimum QP value for P frame.
@ V4L2_FLIP_METHOD_90R
Rotate clockwise 90 degrees.
struct _v4l2_map_plane v4l2_map_plane
Holds parameters for a hardware buffer.
@ V4L2_ARGUS_AWB_MODE_AUTO
Holds the params to configure encoder for external rps control to be used with V4L2_CID_MPEG_VIDEOENC...
@ V4L2_ARGUS_AwbState_Unknown
@ V4L2_ENC_INPUT_ROI_PARAM_FLAG
Input metadata structure contains ROI parameters.
struct v4l2_enc_ROI_param_ v4l2_enc_ROI_param
Holds the encoder quality parameters for a single ROI region.
@ V4L2_COLORFORMAT_NV12
BT.601 colorspace - Y/CbCr 4:2:0 multi-planar.
@ V4L2_COLORFORMAT_VYUY_ER
BT.601 colorspace - YUV ER 4:2:2 planar.
@ V4L2_COLORFORMAT_YUV420_709
BT.709 colorspace - YUV420 multi-planar.
float ExposureCompensation
Exposure Compensation.
@ V4L2_TNR_ALGO_INDOOR_LOW_LIGHT
Indoor Low Light TNR algorithm.
__u32 nFrameId
Unique frame ID.
v4l2_map_plane * map_planes
Holds the RPS List parameters of encoded frame.
@ V4L2_ENC_TEMPORAL_TRADEOFF_LEVEL_DROP1IN5
Drop 1 in every 5 buffers.
struct _v4l2_enc_frame_prop v4l2_enc_frame_prop
Holds the encoder frame property.
@ V4L2_COLORFORMAT_YVU420
BT.601 colorspace - YUV420 multi-planar.
@ V4L2_MPEG_VIDEO_H265_LEVEL_5_1_HIGH_TIER
@ V4L2_ENC_INPUT_GDR_PARAM_FLAG
Input metadata structure contains GDR parameters.
struct v4l2_ctrl_videoenc_input_metadata_ v4l2_ctrl_videoenc_input_metadata
Holds the encoder frame input metadata parameters.
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.
Holds encoder slice length parameters, to be used with V4L2_CID_MPEG_VIDEOENC_SLICE_LENGTH_PARAM IOCT...
struct MVInfo_ MVInfo
Holds the motion vector parameters for a single block.
__u32 nPictureOrderCnt
Picture Order Count.
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.
@ V4L2_NV_BUFFER_LAYOUT_PITCH
Pitch Linear Layout.
__u32 MaxQpB
Maximum QP value for B frame.
__s32 sizeofvaliddatainbytes
size of valid data.
struct v4l2_enc_enable_roi_param_ v4l2_enc_enable_roi_param
Holds the params to configure encoder for ROI parameters encoding.
@ V4L2_TNR_ALGO_OUTDOOR_LOW_LIGHT
Outdoor Low Light TNR algorithm.
@ V4L2_MPEG_VIDEO_H265_LEVEL_2_0_HIGH_TIER
@ V4L2_COLORFORMAT_NV24_12LE_2020
BT.2020 colorspace - Y/CbCr 12 bit 4:4:4 multi-planar.
float MinGainRange
Analog Gain Range start limit.
@ V4L2_DISPLAY_SCAN_FORMAT_PROGRESSIVE
Progessive scan formats.
struct _v4l2_ctrl_video_qp_range v4l2_ctrl_video_qp_range
Holds the encoder frame min/max QP parameters.
@ V4L2_INTERPOLATION_BILINEAR
Bi-Linear interpolation method.
@ V4L2_COLORFORMAT_NV24_10LE_2020
BT.2020 colorspace - Y/CbCr 10 bit 4:4:4 multi-planar.
@ V4L2_COLORFORMAT_NV12_12LE_2020
BT.2020 colorspace - Y/CbCr 4:2:0 12-bit multi-planar.
@ V4L2_COLORFORMAT_UYVY_ER
BT.601 colorspace - YUV ER 4:2:2 planar.
__u32 interval
Slice intrarefresh interval, in number of slices.
@ V4L2_DEC_ERROR_MISSING_REF_FRAME
missing reference frame error.
@ V4L2_ARGUS_EDGE_ENHANCE_MODE_UNKNOWN
__u32 width
width of each planes of hardware buffer.
@ V4L2_MPEG_VIDEO_H265_LEVEL_1_0_HIGH_TIER
v4l2_displayscan_format scanformat
@ V4L2_COLORFORMAT_NV12_ER
BT.601 colorspace - Y/CbCr ER 4:2:0 multi-planar.
@ V4L2_DISPLAY_SCAN_FORMAT_INTERLACED
Interlaced scan formats.
@ V4L2_ARGUS_DENOISE_MODE_HIGH_QUALITY
@ V4L2_ARGUS_DENOISE_MODE_UNKNOWN
Holds encoder slice intrareferesh parameters, to be used with V4L2_CID_MPEG_VIDEOENC_SLICE_INTRAREFRE...
@ V4L2_ARGUS_AE_STATE_CONVERGED
@ V4L2_COLORFORMAT_ABGR32
LegacyRGBA colorspace - BGRA-8-8-8-8 planar.
@ V4L2_COLORFORMAT_NV12_709
BT.709 colorspace - Y/CbCr 4:2:0 multi-planar.
__u8 bEnableExternalRPS
Boolean value indicating if enabled External RPS control.
__s32 mv_x
Number of pixels the macro block moved in horizontal direction.
__u32 nFrameMinQp
Frame min QP.
struct _v4l2_ctrl_video_hdrmasteringdisplaydata v4l2_ctrl_video_hdrmasteringdisplaydata
HDR Metadata.
@ V4L2_ARGUS_AE_STATE_INACTIVE
float DenoiseStrength
Denoise Strength.
Holds the value for absolute color saturation.
@ V4L2_COLORFORMAT_YVYU_ER
BT.601 colorspace - YUV ER 4:2:2 planar.
Holds the encoder frame min/max QP parameters.
@ V4L2_ARGUS_EDGE_ENHANCE_MODE_FAST
@ V4L2_ARGUS_AE_STATE_FLASH_REQUIRED
@ V4L2_INTERPOLATION_5_TAP
5-Tap interpolation method
@ V4L2_DEC_ERROR_VPS
VPS error.
__u32 nMaxQPDeviation
Frame min QP deviation.
@ V4L2_COLORFORMAT_NV24_709
BT.709 colorspace - Y/CbCr 4:4:4 multi-planar.
Holds the encoder frame external rate control parameters to be used with V4L2_CID_MPEG_VIDEOENC_INPUT...
@ V4L2_ENC_HW_PRESET_SLOW
Encoder HWPreset with per frame encode time Slow.
@ V4L2_MPEG_VIDEO_H265_LEVEL_4_0_MAIN_TIER
__u8 bGapsInFrameNumAllowed
Boolean value indicating if allowed gap in frame number.
Holds the strength value for denoise operation.
struct _v4l2_argus_denoise_strength v4l2_argus_denoise_strength
Holds the strength value for denoise operation.
@ V4L2_INTERPOLATION_SMART
Smart interpolation method.
v4l2_argus_edge_enhance_mode
Enum specifying types of edge enhancement modes.
@ V4L2_COLORFORMAT_YVYU
BT.601 colorspace - YUV 4:2:2 planar.
@ V4L2_COLORFORMAT_RGBA_10_10_10_2_709
Non-linear RGB BT.709 colorspace - RGBA-10-10-10-2 planar.
@ V4L2_ARGUS_DENOISE_MODE_OFF
v4l2_yuv_rescale_method
Specifies the types of YUV rescale methods.
@ V4L2_ENC_INPUT_RPS_PARAM_FLAG
Input metadata structure contains External RPS parameters.
@ V4L2_COLORFORMAT_NV21_ER
BT.601 colorspace - Y/CbCr ER 4:2:0 multi-planar.
@ V4L2_COLORFORMAT_YUV420_709_ER
BT.709 colorspace - YUV420 ER multi-planar.
@ V4L2_COLORFORMAT_NV12_2020
BT.2020 colorspace - Y/CbCr 4:2:0 multi-planar.
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...
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...
@ V4L2_CUDA_MEM_TYPE_PINNED
Memory type host.
@ V4L2_ENC_TEMPORAL_TRADEOFF_LEVEL_DROP2IN3
Drop 2 in every 3 buffers.
struct v4l2_rect ROIRect
Region of interest rectangle.
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...
@ V4L2_ARGUS_AWB_MODE_WARM_FLUORESCENT
@ V4L2_MPEG_VIDEO_H265_LEVEL_3_0_HIGH_TIER
@ V4L2_MPEG_VIDEO_H265_PROFILE_MAIN10
H.265 Main10 profile.
@ V4L2_SKIP_FRAMES_TYPE_DECODE_IDR_ONLY
Skip all frames except IDR.
@ V4L2_MPEG_VIDEO_H265_LEVEL_5_0_MAIN_TIER
@ V4L2_MPEG_VIDEO_H265_LEVEL_3_1_HIGH_TIER
v4l2_argus_denoise_mode
Enum specifying types of denoise modes.
@ V4L2_ARGUS_AWB_MODE_DAYLIGHT
Holds the encoder quality parameters for a single ROI region.
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...
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...
@ V4L2_ENC_INPUT_RC_PARAM_FLAG
Input metadata structure contains External RC parameters.
@ V4L2_ARGUS_AeState_Unknown
@ V4L2_COLORFORMAT_YVU420_ER
BT.601 colorspace - YVU420 ER multi-planar.
__u32 nsessionMaxQP
Max QP per session when external picture RC enabled.
@ V4L2_ARGUS_DENOISE_MODE_FAST
struct v4l2_ctrl_videodec_currentframe_metadata_ v4l2_ctrl_videodec_currentframe_metadata
Holds the the frame specific metadata for the current frame.
__u32 size
Size of the virtual buffer, in bits.
Holds the value for exposure range.
@ V4L2_ARGUS_AWB_MODE_SHADE
@ V4L2_ARGUS_EDGE_ENHANCE_MODE_HIGH_QUALITY
@ V4L2_COLORFORMAT_UYVY
BT.601 colorspace - YUV 4:2:2 planar.
@ V4L2_CUDA_MEM_TYPE_UNIFIED
Memory type unified.
__u32 nLTRFrameIdx
LongTermFrameIdx of a picture.
@ V4L2_MPEG_VIDEO_H265_LEVEL_6_0_HIGH_TIER
struct _v4l2_argus_ctrl_metadata v4l2_argus_ctrl_metadata
Holds the value for camera output metadata.
Holds parameters for a hardware buffer.
v4l2_interpolation_method
Specifies the types of interpolation methods.
struct v4l2_ctrl_video_displaydata_ v4l2_ctrl_video_displaydata
Holds the encoder frame Reconstructed CRC parameters.
@ V4L2_COLORFORMAT_NV12_10LE_2020
BT.2020 colorspace - Y/CbCr 4:2:0 10-bit multi-planar.
v4l2_mpeg_video_h265_level
Defines the possible levels for H.265 encoder.
@ V4L2_MPEG_VIDEO_H265_LEVEL_5_2_HIGH_TIER
@ V4L2_COLORFORMAT_Invalid
Invalid color format.
@ V4L2_COLORFORMAT_NV24_709_ER
BT.709_ER colorspace - Y/CbCr 4:4:4 multi-planar.
@ V4L2_ENC_TEMPORAL_TRADEOFF_LEVEL_DROP1IN3
Drop 1 in every 3 buffers.
__u8 bLTRefFrame
Boolean value indicating if current frame long Term Ref Flag.
@ V4L2_ARGUS_AWB_STATE_INACTIVE
@ V4L2_TNR_ALGO_INDOOR_MEDIUM_LIGHT
Indoor Medium Light TNR algorithm.
v4l2_argus_ac_ae_antibanding_mode
Enum specifying types of AE antibanding modes.
@ V4L2_MPEG_VIDEO_H265_LEVEL_2_0_MAIN_TIER
@ V4L2_ARGUS_AE_ANTIBANDING_MODE_AUTO
@ V4L2_ARGUS_AWB_MODE_OFF
@ V4L2_ENC_SLICE_LENGTH_TYPE_BITS
Slice size is specified in terms of number of bytes.
v4l2_cuda_mem_type
Enum v4l2_cuda_mem_type, possible methods for cuda memory tpye.
@ V4L2_SKIP_FRAMES_TYPE_NONE
Do not skip any frame.
@ V4L2_COLORFORMAT_NV12_10LE_709_ER
BT.709_ER colorspace - Y/CbCr 4:2:0 10-bit multi-planar.
@ V4L2_COLORFORMAT_NV12_10LE
BT.601 colorspace - Y/CbCr 4:2:0 10-bit multi-planar.
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...
@ V4L2_MPEG_VIDEO_H265_LEVEL_4_1_HIGH_TIER
@ V4L2_ARGUS_AWB_MODE_CLOUDY_DAYLIGHT
__u8 set_max_enc_clock
Boolean value indicating if encoder set to max clock.
struct _v4l2_argus_ispdigital_gainrange v4l2_argus_ispdigital_gainrange
Holds the value for Isp Digital gain range.
Holds Chroma Subsampling parameters.
@ V4L2_FLIP_METHOD_180
Rotate 180 degrees.
Holds the encoder frame property.
struct _v4l2_argus_edge_enhance_strength v4l2_argus_edge_enhance_strength
Holds the strength value for edge enhancement operation.
__u64 MinExposureTimeRange
Exposure Time Range start limit.
v4l2_enc_ROI_param ROI_params[V4L2_MAX_ROI_REGIONS]
Array of indiviudal ROI parameters.
__s32 mv_y
Number of pixels the macro block moved in vertical direction.
@ V4L2_YUV_RESCALE_NONE
Disable.
v4l2_argus_awb_state
Enum specifying types of AWB states.
struct v4l2_ctrl_video_metadata_ v4l2_ctrl_video_metadata
Holds the metadata parameters for video encoder and decoder.
v4l2_enc_input_metadata_param
Specifies the input buffer metadata flag.
__u32 nFrameMaxQp
Frame max QP.
@ V4L2_MPEG_VIDEO_H265_LEVEL_4_0_HIGH_TIER
__u64 MaxExposureTimeRange
Exposure Time Range end limit.
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...
v4l2_enc_hw_preset_type
Specifies the encoder HW Preset type.
@ V4L2_MPEG_VIDEO_H265_LEVEL_1_0_MAIN_TIER
@ V4L2_COLORFORMAT_YUV420_ER
BT.601 colorspace - YUV420 ER multi-planar.
@ V4L2_FLIP_METHOD_VERT
Flip vertically.
__u32 nFrameId
unique Id of current frame.
@ V4L2_ARGUS_AE_ANTIBANDING_MODE_60HZ
__u16 display_primaries_y[3]
@ V4L2_COLORFORMAT_A32
Optical flow SAD calculation Buffer format.
__s32 memsize
size of the memory.
float MinISPDigitalGainRange
Range: {1, 256}.
Holds encoder virtual buffer size parameters, to be used with V4L2_CID_MPEG_VIDEOENC_VIRTUALBUFFER_SI...
@ V4L2_FLIP_METHOD_90L
Rotate counter-clockwise 90 degrees.
@ V4L2_ARGUS_AE_ANTIBANDING_MODE_OFF
@ V4L2_COLORFORMAT_NV16_709
BT.709 colorspace - Y/CbCr 4:2:2 multi-planar.
__u32 height
height of each planes of hardware buffer.
@ V4L2_COLORFORMAT_NV24_10LE_709_ER
BT.709 ER colorspace - Y/CbCr 10 bit 4:4:4 multi-planar.
@ V4L2_INTERPOLATION_NEAREST
Nearest interpolation method.
@ V4L2_ARGUS_AWB_STATE_SEARCHING
@ V4L2_MPEG_VIDEO_H265_LEVEL_5_1_MAIN_TIER
__u8 bEnableReconCRC
Boolean value to indicating Reconstructed CRC encoding.
@ V4L2_ARGUS_AE_STATE_SEARCHING
#define V4L2_MAX_REF_FRAMES
Maximum number of reference frames supported by the encoder.
__u32 MaxQpI
Maximum QP value for I frame.
@ V4L2_PAYLOAD_TYPE_MEMHANDLE
buffer payload with hardware memory handle for specific memory size.
@ V4L2_ARGUS_AWB_MODE_TWILIGHT
struct _v4l2_argus_color_saturation v4l2_argus_color_saturation
Holds the value for absolute color saturation.
__u32 pitch
pitch of each planes of hardware buffer.
@ V4L2_FLIP_METHOD_INVTRANS
Flip across upper right/lower left diagonal.
@ V4L2_ENC_TEMPORAL_TRADEOFF_LEVEL_DROPNONE
Do not drop any buffers.
@ V4L2_COLORFORMAT_NV24
BT.601 colorspace - Y/CbCr 4:4:4 multi-planar.
@ V4L2_COLORFORMAT_NV16_10LE
BT.601 colorspace - Y/CbCr 4:2:2 10-bit semi-planar.
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...
@ V4L2_ENC_HW_PRESET_FAST
Encoder HWPreset with per frame encode time Fast.
@ V4L2_COLORFORMAT_NV16
BT.601 colorspace - Y/CbCr 4:2:2 multi-planar.
@ V4L2_COLORFORMAT_NV24_ER
BT.601_ER colorspace - Y/CbCr 4:4:4 multi-planar.
@ V4L2_ARGUS_EDGE_ENHANCE_MODE_OFF
@ V4L2_COLORFORMAT_SignedR16G16
Optical flow.
__u32 offset
memory offset values of each video planes of hardware buffer.
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.
__u8 chromaloc_horiz
location settings
struct _v4l2_chroma_subsampling_params v4l2_chroma_subsampling_params
Holds Chroma Subsampling parameters.
__u32 weight
Temporal hints used by hardware for Motion Estimation.
Holds the strength value for edge enhancement operation.
float MaxISPDigitalGainRange
Digital Gain Range end limit.
@ V4L2_DEC_ERROR_NONE
no error.
@ V4L2_COLORFORMAT_ARGB32
LegacyRGBA colorspace - ARGB-8-8-8-8 planar.
struct _v4l2_ctrl_video_device_poll v4l2_ctrl_video_device_poll
Poll device.
@ V4L2_ARGUS_AE_ANTIBANDING_MODE_UNKNOWN
@ V4L2_MPEG_VIDEO_H265_PROFILE_MAIN
H.265 Main profile.
__u8 bEnableExternalPictureRC
Boolean value indicating if enabled External Picture RC.
@ V4L2_COLORFORMAT_NV16_ER
BT.601_ER colorspace - Y/CbCr 4:2:2 multi-planar.
Holds the params to configure encoder for external rate control mode to be used with V4L2_CID_MPEG_VI...
@ V4L2_NV_BUFFER_LAYOUT_BLOCKLINEAR
Block Linear Layout.
#define V4L2_MAX_ROI_REGIONS
Defines the maximum number of ROI regions supported by the encoder.
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_AWB_MODE_INCANDESCENT
Holds the value for exposure compensation.
__u32 num_ROI_regions
Number of regions.
v4l2_color_format pixel_format
video format type of hardware buffer.
Holds the params to configure encoder for Reconstructed CRC encoding.
struct _v4l2_argus_exposure_timerange v4l2_argus_exposure_timerange
Holds the value for exposure range.
__u32 MinQpI
Minimum QP value for I frame.
@ V4L2_ARGUS_AWB_MODE_FLUORESCENT
__u32 max_display_parameter_luminance
@ V4L2_COLORFORMAT_YUV444
BT.601 colorspace - YUV444 multi-planar.
@ V4L2_ARGUS_AWB_MODE_MANUAL
@ V4L2_ENC_INPUT_RECONCRC_PARAM_FLAG
Input metadata structure contains ReconCRC parameters.
__u32 num_planes
number of planes of hardware buffer.
Holds the encoder GDR parameters to be used with V4L2_CID_MPEG_VIDEOENC_INPUT_METADATA IOCTL.
v4l2_flip_method
Specifies the types of rotation/flip algorithms.
struct v4l2_enc_frame_ReconCRC_params_ v4l2_enc_frame_ReconCRC_params
Holds the encoder frame Reconstructed CRC parameters.
@ V4L2_COLORFORMAT_YUV422
BT.601 colorspace - YUV422 multi-planar.
__u8 bLTRefFrame
Boolean value indicating if set Long Term Ref Flag.
@ V4L2_ENC_HW_PRESET_MEDIUM
Encoder HWPreset with per frame encode time Medium.
@ V4L2_ENC_TEMPORAL_TRADEOFF_LEVEL_DROP1IN2
Drop 1 in every 2 buffers.
@ V4L2_ARGUS_AWB_STATE_CONVERGED
Holds the value for gain range.
@ V4L2_ARGUS_AWB_STATE_LOCKED
@ V4L2_ARGUS_AE_STATE_TIMEOUT
@ V4L2_MPEG_VIDEO_H265_LEVEL_3_1_MAIN_TIER
__u8 bEnableROI
Boolean value to indicating ROI param encoding.
@ V4L2_SKIP_FRAMES_TYPE_NONREF
Skip all non-reference frames.
__u16 display_primaries_x[3]
struct v4l2_rect ReconCRCRect
Rectangle to specify the co-ordinates of the input frame used to calculate reconstructed picture CRC.
@ V4L2_COLORFORMAT_NV21
BT.601 colorspace - Y/CbCr 4:2:0 multi-planar.
v4l2_chroma_subsampling_params chromasubsampling
@ V4L2_ARGUS_AE_ANTIBANDING_MODE_50HZ
__u8 EnableSaturation
Boolean value to indicate enable of user-specified absolute color saturation.
Holds encoder HW Preset type parameters to be used with V4L2_CID_MPEG_VIDEOENC_HW_PRESET_TYPE_PARAM I...
Holds the encoder frame external rps control parameters to be used with V4L2_CID_MPEG_VIDEOENC_INPUT_...
@ V4L2_COLORFORMAT_BGRA_10_10_10_2_2020
Non-linear RGB BT.2020 colorspace - BGRA-10-10-10-2 planar.
__u32 nv_buffer_size
size of hardware buffer.
@ V4L2_COLORFORMAT_YUYV_ER
BT.601 colorspace - YUV ER 4:2:2 planar.
v4l2_videodec_input_error_type
Enum v4l2_videodec_input_error_type, possible error types for input stream.
@ V4L2_TNR_ALGO_OUTDOOR_MEDIUM_LIGHT
Outdoor Medium Light TNR algorithm.