|
Jetson Linux API Reference
|
36.4 Release
|
Go to the documentation of this file.
35 #ifndef __V4L2_NV_EXTENSIONS_H__
36 #define __V4L2_NV_EXTENSIONS_H__
56 #define V4L2_PIX_FMT_DIVX4 v4l2_fourcc('D', 'V', 'X', '4')
58 #define V4L2_PIX_FMT_DIVX5 v4l2_fourcc('D', 'V', 'X', '5')
62 #define V4L2_PIX_FMT_H265 v4l2_fourcc('H', '2', '6', '5')
67 #define V4L2_PIX_FMT_VP9 v4l2_fourcc('V', 'P', '9', '0')
72 #define V4L2_PIX_FMT_AV1 v4l2_fourcc('A', 'V', '1', '0')
77 #define V4L2_PIX_FMT_P010 v4l2_fourcc('P', '0', '1', '0')
82 #define V4L2_PIX_FMT_P010M v4l2_fourcc('P', 'M', '1', '0')
87 #define V4L2_PIX_FMT_P012 v4l2_fourcc('P', '0', '1', '2')
92 #define V4L2_PIX_FMT_P012M v4l2_fourcc('P', 'M', '1', '2')
97 #define V4L2_PIX_FMT_NV24M v4l2_fourcc('N', 'M', '2', '4')
102 #define V4L2_PIX_FMT_NV24_10LE v4l2_fourcc('N', 'V', '1', '0')
107 #define V4L2_PIX_FMT_YUV444_10LE v4l2_fourcc('P', '4', '1', '0')
112 #define V4L2_PIX_FMT_YUV444_12LE v4l2_fourcc('P', '4', '1', '2')
118 #define V4L2_PIX_FMT_YUV422RM v4l2_fourcc('4', '2', 'R', 'M')
121 #define V4L2_PIX_FMT_H264_SLICE v4l2_fourcc('S', '2', '6', '4')
122 #define V4L2_PIX_FMT_VP8_FRAME v4l2_fourcc('V', 'P', '8', 'F')
124 #define V4L2_CTRL_FLAG_CAN_STORE 0x0200
131 #define V4L2_EVENT_RESOLUTION_CHANGE 5
136 #define V4L2_EVENT_SVC_DATA 7
144 #define V4L2_CID_MPEG_VIDEO_H264_SPS (V4L2_CID_MPEG_BASE+383)
145 #define V4L2_CID_MPEG_VIDEO_H264_PPS (V4L2_CID_MPEG_BASE+384)
146 #define V4L2_CID_MPEG_VIDEO_H264_SCALING_MATRIX (V4L2_CID_MPEG_BASE+385)
147 #define V4L2_CID_MPEG_VIDEO_H264_SLICE_PARAM (V4L2_CID_MPEG_BASE+386)
148 #define V4L2_CID_MPEG_VIDEO_H264_DECODE_PARAM (V4L2_CID_MPEG_BASE+387)
150 #define V4L2_CID_MPEG_VIDEO_VP8_FRAME_HDR (V4L2_CID_MPEG_BASE+512)
159 #define V4L2_CID_MPEG_VIDEO_H265_PROFILE (V4L2_CID_MPEG_BASE+513)
165 #define V4L2_CID_MPEG_VIDEO_IDR_INTERVAL (V4L2_CID_MPEG_BASE+514)
173 #define V4L2_H264_SPS_CONSTRAINT_SET0_FLAG 0x01
174 #define V4L2_H264_SPS_CONSTRAINT_SET1_FLAG 0x02
175 #define V4L2_H264_SPS_CONSTRAINT_SET2_FLAG 0x04
176 #define V4L2_H264_SPS_CONSTRAINT_SET3_FLAG 0x08
177 #define V4L2_H264_SPS_CONSTRAINT_SET4_FLAG 0x10
178 #define V4L2_H264_SPS_CONSTRAINT_SET5_FLAG 0x20
180 #define V4L2_H264_SPS_FLAG_SEPARATE_COLOUR_PLANE 0x01
181 #define V4L2_H264_SPS_FLAG_QPPRIME_Y_ZERO_TRANSFORM_BYPASS 0x02
182 #define V4L2_H264_SPS_FLAG_DELTA_PIC_ORDER_ALWAYS_ZERO 0x04
183 #define V4L2_H264_SPS_FLAG_GAPS_IN_FRAME_NUM_VALUE_ALLOWED 0x08
184 #define V4L2_H264_SPS_FLAG_FRAME_MBS_ONLY 0x10
185 #define V4L2_H264_SPS_FLAG_MB_ADAPTIVE_FRAME_FIELD 0x20
186 #define V4L2_H264_SPS_FLAG_DIRECT_8X8_INFERENCE 0x40
188 #define V4L2_H264_PPS_FLAG_ENTROPY_CODING_MODE 0x0001
189 #define V4L2_H264_PPS_FLAG_BOTTOM_FIELD_PIC_ORDER_IN_FRAME_PRESENT 0x0002
190 #define V4L2_H264_PPS_FLAG_WEIGHTED_PRED 0x0004
191 #define V4L2_H264_PPS_FLAG_DEBLOCKING_FILTER_CONTROL_PRESENT 0x0008
192 #define V4L2_H264_PPS_FLAG_CONSTRAINED_INTRA_PRED 0x0010
193 #define V4L2_H264_PPS_FLAG_REDUNDANT_PIC_CNT_PRESENT 0x0020
194 #define V4L2_H264_PPS_FLAG_TRANSFORM_8X8_MODE 0x0040
195 #define V4L2_H264_PPS_FLAG_PIC_SCALING_MATRIX_PRESENT 0x0080
197 struct v4l2_h264_pred_weight_table {
198 __u8 luma_log2_weight_denom;
199 __u8 chroma_log2_weight_denom;
203 #define V4L2_SLICE_FLAG_FIELD_PIC 0x01
204 #define V4L2_SLICE_FLAG_BOTTOM_FIELD 0x02
205 #define V4L2_SLICE_FLAG_DIRECT_SPATIAL_MV_PRED 0x04
206 #define V4L2_SLICE_FLAG_SP_FOR_SWITCH 0x08
207 struct v4l2_ctrl_h264_slice_param {
211 __u32 header_bit_size;
213 __u16 first_mb_in_slice;
215 __u8 pic_parameter_set_id;
216 __u8 colour_plane_id;
219 __u16 pic_order_cnt_lsb;
220 __s32 delta_pic_order_cnt_bottom;
221 __s32 delta_pic_order_cnt0;
222 __s32 delta_pic_order_cnt1;
223 __u8 redundant_pic_cnt;
225 struct v4l2_h264_pred_weight_table pred_weight_table;
227 __u32 dec_ref_pic_marking_bit_size;
229 __u32 pic_order_cnt_bit_size;
234 __u8 disable_deblocking_filter_idc;
235 __s8 slice_alpha_c0_offset_div2;
236 __s8 slice_beta_offset_div2;
237 __u32 slice_group_change_cycle;
239 __u8 num_ref_idx_l0_active_minus1;
240 __u8 num_ref_idx_l1_active_minus1;
243 __u8 ref_pic_list0[32];
244 __u8 ref_pic_list1[32];
249 struct v4l2_ctrl_h264_decode_param {
253 __s32 top_field_order_cnt;
254 __s32 bottom_field_order_cnt;
255 __u8 ref_pic_list_p0[32];
256 __u8 ref_pic_list_b0[32];
257 __u8 ref_pic_list_b1[32];
261 #define V4L2_VP8_SEGMNT_HDR_FLAG_ENABLED 0x01
262 #define V4L2_VP8_SEGMNT_HDR_FLAG_UPDATE_MAP 0x02
263 #define V4L2_VP8_SEGMNT_HDR_FLAG_UPDATE_FEATURE_DATA 0x04
264 struct v4l2_vp8_sgmnt_hdr {
265 __u8 segment_feature_mode;
267 __s8 quant_update[4];
269 __u8 segment_probs[3];
274 #define V4L2_VP8_LF_HDR_ADJ_ENABLE 0x01
275 #define V4L2_VP8_LF_HDR_DELTA_UPDATE 0x02
276 struct v4l2_vp8_loopfilter_hdr {
279 __u8 sharpness_level;
280 __s8 ref_frm_delta_magnitude[4];
281 __s8 mb_mode_delta_magnitude[4];
286 struct v4l2_vp8_quantization_hdr {
293 __u16 dequant_factors[4][3][2];
296 struct v4l2_vp8_entropy_hdr {
297 __u8 coeff_probs[4][8][3][11];
298 __u8 y_mode_probs[4];
299 __u8 uv_mode_probs[3];
300 __u8 mv_probs[2][19];
303 #define V4L2_VP8_FRAME_HDR_FLAG_EXPERIMENTAL 0x01
304 #define V4L2_VP8_FRAME_HDR_FLAG_SHOW_FRAME 0x02
305 #define V4L2_VP8_FRAME_HDR_FLAG_MB_NO_SKIP_COEFF 0x04
306 struct v4l2_ctrl_vp8_frame_hdr {
313 __u8 horizontal_scale;
317 struct v4l2_vp8_sgmnt_hdr sgmnt_hdr;
318 struct v4l2_vp8_loopfilter_hdr lf_hdr;
319 struct v4l2_vp8_quantization_hdr quant_hdr;
320 struct v4l2_vp8_entropy_hdr entropy_hdr;
322 __u8 sign_bias_golden;
323 __u8 sign_bias_alternate;
325 __u8 prob_skip_false;
330 __u32 first_part_size;
335 __u32 first_part_offset;
336 __u32 macroblock_bit_offset;
339 __u32 dct_part_sizes[8];
457 #define V4L2_CID_MPEG_VIDEO_DISABLE_COMPLETE_FRAME_INPUT (V4L2_CID_MPEG_BASE+515)
469 #define V4L2_CID_MPEG_VIDEO_DISABLE_DPB (V4L2_CID_MPEG_BASE+516)
479 #define V4L2_CID_MPEG_VIDEO_ERROR_REPORTING (V4L2_CID_MPEG_BASE+517)
491 #define V4L2_CID_MPEG_VIDEO_SKIP_FRAMES (V4L2_CID_MPEG_BASE+518)
506 #define V4L2_CID_MPEG_VIDEODEC_METADATA (V4L2_CID_MPEG_BASE+519)
521 #define V4L2_CID_MPEG_VIDEODEC_INPUT_METADATA (V4L2_CID_MPEG_BASE+520)
529 #define V4L2_CID_VIDEODEC_DISPLAYDATA_PRESENT (V4L2_CID_MPEG_BASE+521)
538 #define V4L2_CID_VIDEODEC_HDR_MASTERING_DISPLAY_DATA (V4L2_CID_MPEG_BASE+522)
548 #define V4L2_CID_MPEG_VIDEODEC_SAR_WIDTH (V4L2_CID_MPEG_BASE+580)
558 #define V4L2_CID_MPEG_VIDEODEC_SAR_HEIGHT (V4L2_CID_MPEG_BASE+581)
568 #define V4L2_CID_MPEG_VIDEOENC_DS_SEI_DATA (V4L2_CID_MPEG_BASE+571)
578 #define V4L2_CID_MPEG_VIDEODEC_GDR_STREAM (V4L2_CID_MPEG_BASE+591)
588 #define V4L2_CID_MPEG_VIDEOENC_DS_SEI_UUID (V4L2_CID_MPEG_BASE+594)
598 #define V4L2_CID_MPEG_VIDEODEC_OPERATING_POINT (V4L2_CID_MPEG_BASE+595)
608 #define V4L2_CID_MPEG_VIDEODEC_ENABLE_MVC (V4L2_CID_MPEG_BASE+596)
618 #define V4L2_CID_MPEG_VIDEODEC_NUM_OPERATING_POINTS (V4L2_CID_MPEG_BASE+597)
690 #define V4L2_CID_VIDEO_CONVERT_OUTPUT_PLANE_LAYOUT (V4L2_CID_MPEG_BASE+523)
699 #define V4L2_CID_VIDEO_CONVERT_CAPTURE_PLANE_LAYOUT (V4L2_CID_MPEG_BASE+524)
708 #define V4L2_CID_VIDEO_CONVERT_FLIP_METHOD (V4L2_CID_MPEG_BASE+525)
717 #define V4L2_CID_VIDEO_CONVERT_INTERPOLATION_METHOD (V4L2_CID_MPEG_BASE+526)
728 #define V4L2_CID_VIDEO_CONVERT_TNR_ALGORITHM (V4L2_CID_MPEG_BASE+527)
875 #define V4L2_CID_MPEG_VIDEOENC_TEMPORAL_TRADEOFF_LEVEL (V4L2_CID_MPEG_BASE+528)
886 #define V4L2_CID_MPEG_VIDEOENC_SLICE_LENGTH_PARAM (V4L2_CID_MPEG_BASE+529)
898 #define V4L2_CID_MPEG_VIDEOENC_ROI_PARAMS (V4L2_CID_MPEG_BASE+530)
909 #define V4L2_CID_MPEG_VIDEOENC_VIRTUALBUFFER_SIZE (V4L2_CID_MPEG_BASE+531)
919 #define V4L2_CID_MPEG_VIDEOENC_NUM_REFERENCE_FRAMES (V4L2_CID_MPEG_BASE+532)
930 #define V4L2_CID_MPEG_VIDEOENC_SLICE_INTRAREFRESH_PARAM (V4L2_CID_MPEG_BASE+533)
941 #define V4L2_CID_MPEG_VIDEOENC_NUM_BFRAMES (V4L2_CID_MPEG_BASE+534)
951 #define V4L2_CID_MPEG_VIDEOENC_INSERT_SPS_PPS_AT_IDR (V4L2_CID_MPEG_BASE+535)
963 #define V4L2_CID_MPEG_VIDEOENC_METADATA (V4L2_CID_MPEG_BASE+536)
973 #define V4L2_CID_MPEG_VIDEOENC_ENABLE_METADATA_MV (V4L2_CID_MPEG_BASE+537)
985 #define V4L2_CID_MPEG_VIDEOENC_METADATA_MV (V4L2_CID_MPEG_BASE+538)
996 #define V4L2_CID_MPEG_VIDEOENC_QP_RANGE (V4L2_CID_MPEG_BASE+539)
1007 #define V4L2_CID_MPEG_VIDEOENC_HW_PRESET_TYPE_PARAM (V4L2_CID_MPEG_BASE+540)
1020 #define V4L2_CID_MPEG_VIDEOENC_INPUT_METADATA (V4L2_CID_MPEG_BASE+541)
1032 #define V4L2_CID_MPEG_VIDEOENC_ENABLE_EXTERNAL_RPS_CONTROL (V4L2_CID_MPEG_BASE+542)
1043 #define V4L2_CID_MPEG_VIDEOENC_ENABLE_EXTERNAL_RATE_CONTROL (V4L2_CID_MPEG_BASE+543)
1054 #define V4L2_CID_MPEG_VIDEOENC_ENABLE_ROI_PARAM (V4L2_CID_MPEG_BASE+544)
1065 #define V4L2_CID_MPEG_VIDEOENC_ENABLE_RECONCRC_PARAM (V4L2_CID_MPEG_BASE+545)
1075 #define V4L2_CID_MPEG_VIDEOENC_INSERT_VUI (V4L2_CID_MPEG_BASE+546)
1085 #define V4L2_CID_MPEG_VIDEOENC_INSERT_AUD (V4L2_CID_MPEG_BASE+547)
1096 #define V4L2_CID_MPEG_VIDEOENC_EXTEDED_COLORFORMAT (V4L2_CID_MPEG_BASE+548)
1109 #define V4L2_CID_MPEG_VIDEO_DECODE_INSTANCE (V4L2_CID_MPEG_BASE+549)
1118 #define V4L2_CID_MPEG_VIDEO_DEVICE_POLL (V4L2_CID_MPEG_BASE+550)
1131 #define V4L2_CID_MPEG_SET_POLL_INTERRUPT (V4L2_CID_MPEG_BASE+551)
1141 #define V4L2_CID_MPEG_VIDEOENC_TWO_PASS_CBR (V4L2_CID_MPEG_BASE+552)
1150 #define V4L2_CID_VIDEO_CONVERT_YUV_RESCALE_METHOD (V4L2_CID_MPEG_BASE+553)
1160 #define V4L2_CID_MPEG_VIDEO_MAX_PERFORMANCE (V4L2_CID_MPEG_BASE+554)
1170 #define V4L2_CID_MPEG_VIDEOENC_ENABLE_ALLIFRAME_ENCODE (V4L2_CID_MPEG_BASE+555)
1177 #define V4L2_CID_MPEG_VIDEO_BUF_API_TYPE (V4L2_CID_MPEG_BASE+556)
1188 #define V4L2_CID_MPEG_VIDEO_CUDA_MEM_TYPE (V4L2_CID_MPEG_BASE+557)
1198 #define V4L2_CID_MPEG_VIDEO_CUDA_GPU_ID (V4L2_CID_MPEG_BASE+558)
1210 #define V4L2_CID_MPEG_VIDEODEC_DROP_FRAME_INTERVAL (V4L2_CID_MPEG_BASE+559)
1222 #define V4L2_CID_MPEG_VIDEOENC_VPX_HEADERS_WITH_FRAME (V4L2_CID_MPEG_BASE+560)
1229 #define V4L2_CID_MPEG_VIDEOENC_H265_LEVEL (V4L2_CID_MPEG_BASE+561)
1239 #define V4L2_CID_MPEG_VIDEOENC_ENABLE_SLICE_LEVEL_ENCODE (V4L2_CID_MPEG_BASE+562)
1250 #define V4L2_CID_MPEG_VIDEOENC_POC_TYPE (V4L2_CID_MPEG_BASE+563)
1262 #define V4L2_CID_MPEG_VIDEOENC_H265_VUI_EXT_SAR_WIDTH (V4L2_CID_MPEG_BASE+564)
1274 #define V4L2_CID_MPEG_VIDEOENC_H265_VUI_EXT_SAR_HEIGHT (V4L2_CID_MPEG_BASE+565)
1284 #define V4L2_CID_MPEG_VIDEOENC_FORCE_INTRA_FRAME (V4L2_CID_MPEG_BASE+566)
1294 #define V4L2_CID_MPEG_VIDEOENC_FORCE_IDR_FRAME (V4L2_CID_MPEG_BASE+567)
1304 #define V4L2_CID_MPEG_VIDEO_CUDA_LOW_LATENCY (V4L2_CID_MPEG_BASE+568)
1316 #define V4L2_CID_MPEG_VIDEOENC_AV1_HEADERS_WITH_FRAME (V4L2_CID_MPEG_BASE+569)
1327 #define V4L2_CID_MPEG_VIDEOENC_AV1_TILE_CONFIGURATION (V4L2_CID_MPEG_BASE+570)
1338 #define V4L2_CID_MPEG_VIDEOENC_AV1_ENABLE_SSIMRDO (V4L2_CID_MPEG_BASE+571)
1349 #define V4L2_CID_MPEG_VIDEOENC_AV1_DISABLE_CDF_UPDATE (V4L2_CID_MPEG_BASE+572)
1360 #define V4L2_CID_MPEG_VIDEOENC_FRAMES_TO_ENCODE (V4L2_CID_MPEG_BASE+573)
1369 #define V4L2_CID_MPEG_VIDEOENC_INIT_FRAME_QP (V4L2_CID_MPEG_BASE+574)
1382 #define V4L2_CID_MPEG_VIDEOENC_ENABLE_LOSSLESS (V4L2_CID_MPEG_BASE+575)
1393 #define V4L2_CID_MPEG_VIDEOENC_H265_CHROMA_FACTOR_IDC (V4L2_CID_MPEG_BASE+576)
1404 #define V4L2_CID_MPEG_VIDEOENC_PPE_INIT_PARAMS (V4L2_CID_MPEG_BASE+577)
1417 #define V4L2_CID_MPEG_VIDEOENC_CUDA_PRESET_ID (V4L2_CID_MPEG_BASE+578)
1430 #define V4L2_CID_MPEG_VIDEOENC_CUDA_TUNING_INFO (V4L2_CID_MPEG_BASE+579)
1439 #define V4L2_CID_MPEG_VIDEOENC_CUDA_CONSTQP (V4L2_CID_MPEG_BASE+580)
1450 #define V4L2_CID_MPEG_VIDEOENC_H265_DISABLE_AMP (V4L2_CID_MPEG_BASE + 581)
1459 #define V4L2_CID_MPEG_VIDEOENC_RECONFIG_FPS (V4L2_CID_MPEG_BASE+582)
1468 #define V4L2_CID_MPEG_VIDEO_MAXBITRATE (V4L2_CID_MPEG_BASE+583)
1477 #define V4L2_CID_MPEG_VIDEOENC_VBVBUFSIZE (V4L2_CID_MPEG_BASE+584)
1486 #define V4L2_CID_MPEG_VIDEOENC_VBVINIT (V4L2_CID_MPEG_BASE+585)
1496 #define V4L2_CID_MPEG_VIDEOENC_ENABLE_AQ (V4L2_CID_MPEG_BASE+586)
1505 #define V4L2_CID_MPEG_VIDEOENC_ENABLE_TEMPORAL_AQ (V4L2_CID_MPEG_BASE+587)
1515 #define V4L2_CID_MPEG_VIDEOENC_TARGET_QUALITY (V4L2_CID_MPEG_BASE+588)
1517 #define V4L2_CID_MPEG_VIDEOENC_COPY_TIMESTAMP (V4L2_CID_MPEG_BASE+589)
1519 #define V4L2_CID_MPEG_VIDEOENC_INTRA_REFRESH (V4L2_CID_MPEG_BASE+590)
1530 #define V4L2_CID_MPEG_VIDEOENC_AV1_ERR_RESILIENT_MODE (V4L2_CID_MPEG_BASE + 592)
1539 #define V4L2_CID_MPEG_VIDEOENC_AV1_ENABLE_FRAMEID_NUMBERS (V4L2_CID_MPEG_BASE + 593)
1548 #define V4L2_CID_MPEG_VIDEOENC_AV1_ENABLE_TILE_GROUPS (V4L2_CID_MPEG_BASE + 598)
1627 #define V4L2_CID_ARGUS_AUTO_WHITE_BALANCE_MODE (V4L2_CID_CAMERA_CLASS_BASE+20)
1637 #define V4L2_CID_ARGUS_SENSOR_MODE (V4L2_CID_CAMERA_CLASS_BASE+32)
1648 #define V4L2_CID_ARGUS_DENOISE_STRENGTH (V4L2_CID_CAMERA_CLASS_BASE+33)
1659 #define V4L2_CID_ARGUS_DENOISE_MODE (V4L2_CID_CAMERA_CLASS_BASE+34)
1670 #define V4L2_CID_ARGUS_EE_STRENGTH (V4L2_CID_CAMERA_CLASS_BASE+35)
1681 #define V4L2_CID_ARGUS_EE_MODE (V4L2_CID_CAMERA_CLASS_BASE+36)
1692 #define V4L2_CID_ARGUS_AE_ANTIBANDING_MODE (V4L2_CID_CAMERA_CLASS_BASE+37)
1703 #define V4L2_CID_ARGUS_EXPOSURE_COMPENSATION (V4L2_CID_CAMERA_CLASS_BASE+38)
1714 #define V4L2_CID_ARGUS_ISP_DIGITAL_GAIN_RANGE (V4L2_CID_CAMERA_CLASS_BASE+39)
1727 #define V4L2_CID_ARGUS_COLOR_SATURATION (V4L2_CID_CAMERA_CLASS_BASE+40)
1738 #define V4L2_CID_ARGUS_GAIN_RANGE (V4L2_CID_CAMERA_CLASS_BASE+41)
1749 #define V4L2_CID_ARGUS_EXPOSURE_TIME_RANGE (V4L2_CID_CAMERA_CLASS_BASE+42)
1761 #define V4L2_CID_ARGUS_METADATA (V4L2_CID_CAMERA_CLASS_BASE+43)
2152 #define V4L2_MPEG_VIDEO_BITRATE_MODE_CONSTQP 0x2
2205 #define V4L2_MAX_ROI_REGIONS 8
2308 #define V4L2_MAX_REF_FRAMES 8
2682 #define QP_RETAIN_VAL -1
3322 #define V4L2_IPC_MAP_BUFFER _IOWR('V', BASE_VIDIOC_PRIVATE + 1, struct v4l2_map_buffer)
3323 #define V4L2_IPC_UNMAP_BUFFER _IOWR('V', BASE_VIDIOC_PRIVATE + 2, struct v4l2_map_buffer)
v4l2_surface_layout
Defines buffer surface layout.
__u32 reserved[4]
Reserved fields are added for extensibility.
Holds encoder number of reference frame parameters, to be used with V4L2_CID_MPEG_VIDEOENC_NUM_REFERE...
__u8 tileRows
Tile group related parameters.
@ 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
Specifies 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 reserved[2]
Reserved fields are added for extensibility.
__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
Specifies BT.709_ER colorspace - Y/CbCr 4:2:2 multi-planar.
@ V4L2_MPEG_VIDEO_H265_LEVEL_4_1_MAIN_TIER
@ V4L2_ENC_INPUT_TG_PARAM_FLAG
Input metadata structure contains AV1 Tile Groups parameters.
Holds the encoder frame AV1 Tile groups.
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
struct v4l2_enc_ppe_init_params_ v4l2_enc_ppe_init_params
Holds the preprocessing enhancement initialization parameters to be used with V4L2_CID_MPEG_VIDEOENC_...
struct v4l2_enc_av1_tile_config_ v4l2_enc_av1_tile_config
Holds the params to configure tiles for AV1 encoding.
@ V4L2_INTERPOLATION_NICEST
Nicest interpolation method.
v4l2_buffer_mem_type memtype
type of memory
@ 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_LAYOUT_BLOCK_LINEAR
Block linear layout.
@ V4L2_COLORFORMAT_B32F_G32F_R32F
Specifies BGR-32bit Floating point multiplanar plane.
@ V4L2_FLIP_METHOD_TRANS
Flip across upper left/lower right diagonal.
__u32 reserved[4]
Reserved fields are added for extensibility.
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_ARGUS_DENOISE_MODE_FORCE32
__u32 nLog2ColTiles
Log2 Tile Columns.
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.
__u8 taq_max_qp_delta
Maximum strength of QP delta map for TAQ.
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
Specifies BT.709 colorspace - Y/CbCr 4:2:0 10-bit multi-planar.
@ V4L2_MEM_SYSTEM
Memory allocated by malloc()
@ V4L2_COLORFORMAT_RGBx
Specifies RGBx-8-8-8-8 single plane.
__u32 psize
size of each video 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.
@ V4L2_ARGUS_AE_ANTIBANDING_MODE_FORCE32
@ V4L2_MPEG_VIDEO_H265_LEVEL_6_0_MAIN_TIER
@ V4L2_COLORFORMAT_BGRA
Specifies BGRA-8-8-8-8 single plane.
@ V4L2_PPE_FEATURE_FORCE32
Last value is Max value.
__u32 MaxQpP
Maximum QP value for P frame.
@ V4L2_COLORFORMAT_NV24_10LE
Specifies BT.601 colorspace - Y/CrCb 4:4:4 10-bit multi-planar.
@ V4L2_COLORFORMAT_YUYV
Specifies BT.601 colorspace - YUV 4:2:2 planar.
__u32 reserved[4]
Reserved fields are added for extensibility.
@ V4L2_YUV_RESCALE_STD_TO_EXT
Extension(full range [0 255] to standard(limited range [16 235])
@ V4L2_MPEG_VIDEO_H265_PROFILE_MAIN
H.265 Main profile.
struct _v4l2_ctrl_video_framerate v4l2_ctrl_video_framerate
__u32 reserved[4]
Reserved fields are added for extensibility.
@ 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_COLORFORMAT_RGBA_10_10_10_2_2020
Specifies Non-linear RGB BT.2020 colorspace - RGBA-10-10-10-2 planar.
@ V4L2_INTERPOLATION_10_TAP
10-Tap interpolation method
@ V4L2_COLORFORMAT_NV24_10LE_709
Specifies BT.709 colorspace - Y/CbCr 10 bit 4:4:4 multi-planar.
@ V4L2_ENC_TUNING_INFO_FORCE32
Last value is Max value.
__u32 nTargetFrameBits
Target frame bits.
@ V4L2_COLORFORMAT_VYUY
Specifies BT.601 colorspace - YUV 4:2:2 planar.
__u32 config_store
Config store integer to which this control is to be applied.
v4l2_enc_hw_tuning_info_type
Specifies the encoder HW Preset type.
__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
Specifies 8 bit GRAY scale - single plane.
__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
Specifies BT.601 colorspace - Y/CrCb 4:2:0 10-bit multi-planar.
__u32 total_size
total size of allocated memory
@ 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_LEVEL_3_0_MAIN_TIER
@ V4L2_COLORFORMAT_BGR
Specifies BGR-8-8-8 single plane.
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.
__u8 reserved[128]
Reserved fields are added for extensibility.
v4l2_argus_ae_state
Enum specifying types of AE states.
__u8 bLTRefFrame
Long Term Ref Flag.
@ V4L2_COLORFORMAT_BGRA_10_10_10_2_709
Specifies Non-linear RGB BT.709 colorspace - BGRA-10-10-10-2 planar.
__u32 BInitQP
Initial QP value for B frame.
@ V4L2_FLIP_METHOD_IDENTITY
Identity (no rotation).
@ V4L2_COLORFORMAT_R32F_G32F_B32F
Specifies RGB-32bit Floating point multiplanar plane.
@ V4L2_COLORFORMAT_YUV420
Specifies BT.601 colorspace - YUV420 multi-planar.
__u64 flags
flags associated with the planes
v4l2_argus_ac_awb_mode
Enum specifying types of AC AWB modes.
v4l2_ctrl_av1enc_inputmetadata * pAV1EncParams
AV1 specific metadata.
@ V4L2_MPEG_VIDEO_H265_FORCE32
@ V4L2_COLORFORMAT_SIGNED_R16G16
Specifies color format for packed 2 signed shorts
@ V4L2_DEC_ERROR_SPS
sps error.
struct _v4l2_argus_gainrange v4l2_argus_gainrange
Holds the value for gain range.
@ V4L2_ENC_HW_PRESET_DEFAULT
Last value is Max value.
__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
Specifies BT.2020 colorspace - YUV420 multi-planar.
float EdgeEnhanceStrength
Edge Enhance Strength.
@ V4L2_COLORFORMAT_NV12_12LE
Specifies 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.
__u32 reserved[4]
Reserved fields are added for extensibility.
@ V4L2_ENC_TUNING_INFO_UNDEFINED
Encoder Tuning Info Undefined.
v4l2_ppe_feature
Defines the available features for preprocessing enhancement (PPE) module.
__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.
@ V4L2_ARGUS_EDGE_ENHANCE_MODE_FORCE32
__u32 MinQpB
Minimum QP value for B frame.
@ V4L2_COLORFORMAT_NV12_709_ER
Specifies BT.709 colorspace - Y/CbCr ER 4:2:0 multi-planar.
@ V4L2_MPEG_VIDEO_H265_PROFILE_FREXT
H.265 FREXT profile.
@ 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_MEM_SURFACE_ARRAY
NVRM Surface Array type.
__u32 reserved[4]
Reserved fields are added for extensibility.
@ V4L2_ARGUS_AwbState_Unknown
__u32 reserved[4]
Reserved fields are added for extensibility.
__u8 taq_b_frame_mode
Boolean value indicating if TAQ should be applied for B-frames.
@ 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
Specifies BT.601 colorspace - Y/CbCr 4:2:0 multi-planar.
@ V4L2_COLORFORMAT_VYUY_ER
Specifies BT.601 colorspace - YUV ER 4:2:2 planar.
@ V4L2_COLORFORMAT_YUV420_709
Specifies BT.709 colorspace - YUV420 multi-planar.
float ExposureCompensation
Exposure Compensation.
@ V4L2_TNR_ALGO_INDOOR_LOW_LIGHT
Indoor Low Light TNR algorithm.
__u32 PInitQP
Initial QP value for P frame.
__u32 nFrameId
Unique frame ID.
v4l2_map_plane * map_planes
plane parameters
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
Specifies BT.601 colorspace - YUV420 multi-planar.
__u32 reserved[4]
Reserved fields are added for extensibility.
@ 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 the preprocessing enhancement initialization parameters to be used with V4L2_CID_MPEG_VIDEOENC_...
struct _v4l2_ctrl_intra_refresh v4l2_ctrl_intra_refresh
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_LAYOUT_PITCH
Pitch linear layout.
@ V4L2_NV_BUFFER_LAYOUT_PITCH
Pitch Linear Layout.
@ V4L2_MPEG_VIDEO_H265_PROFILE_MAIN10
H.265 Main10 profile.
__u32 MaxQpB
Maximum QP value for B frame.
struct v4l2_enc_enable_roi_param_ v4l2_enc_enable_roi_param
Holds the params to configure encoder for ROI parameters encoding.
__u32 IInitQP
Initial QP value for I frame.
@ 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
Specifies BT.2020 colorspace - Y/CbCr 12 bit 4:4:4 multi-planar.
float MinGainRange
Analog Gain Range start limit.
@ V4L2_COLORFORMAT_B8_G8_R8
Specifies BGR- unsigned 8 bit multiplanar plane.
@ 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
Specifies BT.2020 colorspace - Y/CbCr 10 bit 4:4:4 multi-planar.
@ V4L2_COLORFORMAT_NV12_12LE_2020
Specifies BT.2020 colorspace - Y/CbCr 4:2:0 12-bit multi-planar.
@ V4L2_COLORFORMAT_UYVY_ER
Specifies BT.601 colorspace - YUV ER 4:2:2 planar.
__u32 interval
Slice intrarefresh interval, in number of slices.
struct v4l2_enc_frame_tile_groups_params_ v4l2_enc_frame_tile_groups_params
Holds the encoder frame AV1 Tile groups.
@ V4L2_DEC_ERROR_MISSING_REF_FRAME
missing reference frame error.
__u8 saq_max_qp_delta
Maximum strength of QP delta map for SAQ.
@ V4L2_ARGUS_EDGE_ENHANCE_MODE_UNKNOWN
Holds the encoder init QP parameters.
__u32 width
width of each planes of hardware buffer.
@ V4L2_MPEG_VIDEO_H265_LEVEL_1_0_HIGH_TIER
@ V4L2_COLORFORMAT_NV12_ER
Specifies 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_NV12_709
Specifies 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_ENC_TUNING_INFO_ULTRA_LOW_LATENCY
Encoder Tuning Info Ultra Low Latency.
@ V4L2_ARGUS_AE_STATE_INACTIVE
float DenoiseStrength
Denoise Strength.
Holds the value for absolute color saturation.
@ V4L2_COLORFORMAT_YVYU_ER
Specifies BT.601 colorspace - YUV ER 4:2:2 planar.
v4l2_displayscan_format scanformat
display scan format
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
Specifies 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_COLORFORMAT_xRGB
Specifies xRGB-8-8-8-8 single plane.
@ 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
Specifies BT.601 colorspace - YUV 4:2:2 planar.
@ V4L2_COLORFORMAT_RGBA_10_10_10_2_709
Specifies Non-linear RGB BT.709 colorspace - RGBA-10-10-10-2 planar.
@ V4L2_ARGUS_DENOISE_MODE_OFF
@ V4L2_MEM_HANDLE
NVRM Handle type.
v4l2_yuv_rescale_method
Specifies the types of YUV rescale methods.
v4l2_displayscan_format
Defines Display scan formats.
struct _v4l2_ctrl_video_init_qp v4l2_ctrl_video_init_qp
Holds the encoder init QP parameters.
@ V4L2_ENC_INPUT_RPS_PARAM_FLAG
Input metadata structure contains External RPS parameters.
@ V4L2_COLORFORMAT_NV21_ER
Specifies BT.601 colorspace - Y/CbCr ER 4:2:0 multi-planar.
__u32 reserved[4]
Reserved fields are added for extensibility.
@ V4L2_COLORFORMAT_YUV420_709_ER
Specifies BT.709 colorspace - YUV420 ER multi-planar.
@ V4L2_COLORFORMAT_NV12_2020
Specifies 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.
@ V4L2_ENC_TUNING_INFO_HIGH_QUALITY
Encoder Tuning Info High Quality.
struct v4l2_rect ROIRect
Region of interest rectangle.
@ V4L2_COLORFORMAT_xBGR
Specifies xBGR-8-8-8-8 single plane.
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_COLORFORMAT_INVALID
Specifies an invalid color format.
@ V4L2_MEM_CUDA_DEVICE
CUDA Device memory type.
@ V4L2_SKIP_FRAMES_TYPE_DECODE_IDR_ONLY
Skip all frames except IDR.
@ V4L2_MPEG_VIDEO_H265_LEVEL_5_0_MAIN_TIER
@ V4L2_COLORFORMAT_RGB
Specifies RGB-8-8-8 single plane.
@ 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.
__s32 wait_time_ms
The max number of milliseconds that the encoder should wait for each frame processing.
@ V4L2_ARGUS_AeState_Unknown
@ V4L2_ENC_TUNING_INFO_LOW_LATENCY
Encoder Tuning Info Low Latency.
@ V4L2_COLORFORMAT_YVU420_ER
Specifies BT.601 colorspace - YVU420 ER multi-planar.
v4l2_color_format colorformat
color format
__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.
@ V4L2_ARGUS_AWB_MODE_FORCE32
__u32 size
Size of the virtual buffer, in bits.
Holds the value for exposure range.
@ V4L2_ARGUS_AWB_MODE_SHADE
@ V4L2_PPE_FEATURE_SAQ
Spatial Adaptive Quantization (SAQ)
@ V4L2_ARGUS_EDGE_ENHANCE_MODE_HIGH_QUALITY
__u32 reserved[4]
Reserved fields are added for extensibility.
@ V4L2_COLORFORMAT_UYVY
Specifies 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.
__u32 blockheightlog2
block height of the planes for blockLinear layout buffer
@ V4L2_COLORFORMAT_NV12_10LE_2020
Specifies 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_NV24_709_ER
Specifies 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
struct v4l2_h264_dpb_entry - H264 decoded picture buffer entry
@ 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
Specifies BT.709 colorspace - Y/CbCr ER 4:2:0 10-bit multi-planar.
@ V4L2_COLORFORMAT_NV12_10LE
Specifies 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.
@ V4L2_COLORFORMAT_NV12_10LE_ER
Specifies BT.601 colorspace - Y/CbCr ER 4:2:0 10-bit multi-planar.
struct v4l2_ctrl_av1dec_bufmetadata_ v4l2_ctrl_av1dec_bufmetadata
__u64 MinExposureTimeRange
Exposure Time Range start limit.
union v4l2_enc_frame_ext_rps_ctrl_params_::@4 CodecParams
Input Metadata for each codec.
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_ENC_TUNING_INFO_LOSSLESS
Encoder Tuning Info Lossless.
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.
__u32 reserved[4]
Reserved fields are added for extensibility.
@ V4L2_COLORFORMAT_RGBA
Specifies RGBA-8-8-8-8 single plane.
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_COLORFORMAT_UYVP
Specifies BT.601 colorspace - 10 bit YUV 4:2:2 interleaved.
v4l2_enc_hw_preset_type
Specifies the encoder HW Preset type.
@ V4L2_COLORFORMAT_ARGB
Specifies ARGB-8-8-8-8 single plane.
@ V4L2_MPEG_VIDEO_H265_LEVEL_1_0_MAIN_TIER
@ V4L2_COLORFORMAT_YUV420_ER
Specifies BT.601 colorspace - YUV420 ER multi-planar.
@ V4L2_FLIP_METHOD_VERT
Flip vertically.
__u32 nFrameId
unique Id of current frame.
__u32 reserved[3]
Reserved fields are added for extensibility.
@ V4L2_ARGUS_AE_ANTIBANDING_MODE_60HZ
__u16 display_primaries_y[3]
@ V4L2_COLORFORMAT_A32
Specifies Optical flow SAD calculation Buffer format.
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
Specifies BT.709 colorspace - Y/CbCr 4:2:2 multi-planar.
struct _v4l2_ctrl_video_constqp v4l2_ctrl_video_constqp
__u32 height
height of each planes of hardware buffer.
__u32 reserved[4]
Reserved fields are added for extensibility.
@ V4L2_COLORFORMAT_NV24_10LE_709_ER
Specifies BT.709 ER colorspace - Y/CbCr 10 bit 4:4:4 multi-planar.
@ V4L2_INTERPOLATION_NEAREST
Nearest interpolation method.
__u32 reserved[4]
Reserved fields are added for extensibility.
@ V4L2_ARGUS_AWB_STATE_SEARCHING
@ V4L2_PPE_FEATURE_NONE
Default value for no feature enabled.
@ V4L2_MPEG_VIDEO_H265_LEVEL_5_1_MAIN_TIER
__u8 bEnableReconCRC
Boolean value to indicating Reconstructed CRC encoding.
@ V4L2_ARGUS_AE_STATE_FORCE32
@ V4L2_ARGUS_AE_STATE_SEARCHING
#define V4L2_MAX_REF_FRAMES
Maximum number of reference frames supported by the encoder.
__u32 reserved[4]
Reserved fields are added for extensibility.
__u32 MaxQpI
Maximum QP value for I frame.
@ V4L2_MEM_CUDA_UNIFIED
CUDA Unified memory type.
__u8 bEnableTile
Boolean value to enable multi-tile.
__u32 reserved[4]
Reserved fields are added for extensibility.
@ V4L2_COLORFORMAT_ABGR
Specifies ABGR-8-8-8-8 single plane.
@ 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.
Holds the params to configure tiles for AV1 encoding.
@ V4L2_ENC_TEMPORAL_TRADEOFF_LEVEL_DROPNONE
Do not drop any buffers.
@ V4L2_COLORFORMAT_NV24
Specifies BT.601 colorspace - Y/CbCr 4:4:4 multi-planar.
@ V4L2_COLORFORMAT_NV16_10LE
Specifies 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
Specifies BT.601 colorspace - Y/CbCr 4:2:2 multi-planar.
@ V4L2_COLORFORMAT_NV24_ER
Specifies BT.601_ER colorspace - Y/CbCr 4:4:4 multi-planar.
@ V4L2_ARGUS_EDGE_ENHANCE_MODE_OFF
@ V4L2_MPEG_VIDEO_H265_PROFILE_MAINSTILLPICTURE
H.265 MainStillPicture profile.
__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
__u8 enable_profiler
Boolean value indicating if profiler should be enabled.
struct _v4l2_chroma_subsampling_params v4l2_chroma_subsampling_params
Holds Chroma Subsampling parameters.
__u32 weight
Temporal hints used by hardware for Motion Estimation.
@ V4L2_COLORFORMAT_R8_G8_B8
Specifies RGB- unsigned 8 bit multiplanar plane.
Holds the strength value for edge enhancement operation.
float MaxISPDigitalGainRange
Digital Gain Range end limit.
@ V4L2_COLORFORMAT_BGRx
Specifies BGRx-8-8-8-8 single plane.
@ V4L2_DEC_ERROR_NONE
no error.
struct _v4l2_ctrl_video_device_poll v4l2_ctrl_video_device_poll
Poll device.
@ V4L2_ARGUS_AE_ANTIBANDING_MODE_UNKNOWN
@ V4L2_ENC_INPUT_FORCE32
Last value is Max value.
__u8 bEnableExternalPictureRC
Boolean value indicating if enabled External Picture RC.
@ V4L2_COLORFORMAT_NV16_ER
Specifies 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.
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.
v4l2_ctrl_h264enc_inputmetadata * pH264EncParams
H.264 specific metadata.
__u32 MinQpI
Minimum QP value for I frame.
@ V4L2_ARGUS_AWB_MODE_FLUORESCENT
__u32 max_display_parameter_luminance
@ V4L2_COLORFORMAT_YUV444
Specifies BT.601 colorspace - YUV444 multi-planar.
@ V4L2_ARGUS_AWB_MODE_MANUAL
@ V4L2_ENC_INPUT_RECONCRC_PARAM_FLAG
Input metadata structure contains ReconCRC parameters.
v4l2_surface_layout layout
BL or PL layout.
__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.
__u32 secondfieldoffset
offset of the second field for interlaced buffer
struct v4l2_enc_frame_ReconCRC_params_ v4l2_enc_frame_ReconCRC_params
Holds the encoder frame Reconstructed CRC parameters.
@ V4L2_MEM_CUDA_PINNED
CUDA Host memory type.
__u32 feature_flags
Bit flags to enable/disable each individual feature.
@ V4L2_COLORFORMAT_YUV422
Specifies 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.
__u32 reserved[4]
Reserved fields are added for extensibility.
@ 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
Specifies BT.601 colorspace - Y/CbCr 4:2:0 multi-planar.
__u8 enable_ppe
Boolean value indicating if PPE module should be enabled.
v4l2_chroma_subsampling_params chromasubsampling
Holds chroma subsampling parameters.
@ 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_...
__u32 nLog2RowTiles
Log2 Tile Rows.
v4l2_mpeg_video_h265_profile
Defines the possible profiles for H.265 encoder.
__u32 reserved[4]
Reserved fields are added for extensibility.
v4l2_ctrl_hevcenc_inputmetadata * pHEVCEncParams
H.265 specific metadata.
@ V4L2_ARGUS_AWB_STATE_FORCE32
@ V4L2_PPE_FEATURE_TAQ
Temporal Adaptive Quantization (TAQ)
@ V4L2_COLORFORMAT_BGRA_10_10_10_2_2020
Specifies Non-linear RGB BT.2020 colorspace - BGRA-10-10-10-2 planar.
@ V4L2_COLORFORMAT_UYVP_ER
Specifies BT.601 colorspace - 10 bit YUV ER 4:2:2 interleaved.
v4l2_buffer_mem_type
Defined memory types for buffer.
@ V4L2_COLORFORMAT_YUYV_ER
Specifies 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.