Lines Matching +full:mipi +full:- +full:ccs +full:- +full:1

1 /* SPDX-License-Identifier: ((GPL-2.0+ WITH Linux-syscall-note) OR BSD-3-Clause) */
5 * Copyright (C) 1999-2012 the contributors
23 * 1. Redistributions of source code must retain the above copyright
57 #define V4L2_CTRL_CLASS_USER 0x00980000 /* Old-style 'user' controls */
62 #define V4L2_CTRL_CLASS_JPEG 0x009d0000 /* JPEG-compression controls */
72 /* User-class control IDs */
76 #define V4L2_CID_USER_CLASS (V4L2_CTRL_CLASS_USER | 1)
78 #define V4L2_CID_CONTRAST (V4L2_CID_BASE+1)
103 V4L2_CID_POWER_LINE_FREQUENCY_50HZ = 1,
116 V4L2_COLORFX_BW = 1,
151 /* last CID + 1 */
154 /* USER-class private control IDs */
170 * The base for the si476x driver controls. See include/media/drv-intf/si476x.h
212 * The base for MIPI CCS driver controls.
234 /* MPEG-class control IDs */
239 #define V4L2_CID_CODEC_CLASS (V4L2_CTRL_CLASS_CODEC | 1)
244 V4L2_MPEG_STREAM_TYPE_MPEG2_PS = 0, /* MPEG-2 program stream */
245 V4L2_MPEG_STREAM_TYPE_MPEG2_TS = 1, /* MPEG-2 transport stream */
246 V4L2_MPEG_STREAM_TYPE_MPEG1_SS = 2, /* MPEG-1 system stream */
247 V4L2_MPEG_STREAM_TYPE_MPEG2_DVD = 3, /* MPEG-2 DVD-compatible stream */
248 V4L2_MPEG_STREAM_TYPE_MPEG1_VCD = 4, /* MPEG-1 VCD-compatible stream */
249 V4L2_MPEG_STREAM_TYPE_MPEG2_SVCD = 5, /* MPEG-2 SVCD-compatible stream */
251 #define V4L2_CID_MPEG_STREAM_PID_PMT (V4L2_CID_CODEC_BASE+1)
260 V4L2_MPEG_STREAM_VBI_FMT_IVTV = 1, /* VBI in private packets, IVTV format */
267 V4L2_MPEG_AUDIO_SAMPLING_FREQ_48000 = 1,
273 V4L2_MPEG_AUDIO_ENCODING_LAYER_2 = 1,
281 V4L2_MPEG_AUDIO_L1_BITRATE_64K = 1,
298 V4L2_MPEG_AUDIO_L2_BITRATE_48K = 1,
315 V4L2_MPEG_AUDIO_L3_BITRATE_40K = 1,
332 V4L2_MPEG_AUDIO_MODE_JOINT_STEREO = 1,
339 V4L2_MPEG_AUDIO_MODE_EXTENSION_BOUND_8 = 1,
346 V4L2_MPEG_AUDIO_EMPHASIS_50_DIV_15_uS = 1,
352 V4L2_MPEG_AUDIO_CRC_CRC16 = 1,
359 V4L2_MPEG_AUDIO_AC3_BITRATE_40K = 1,
381 V4L2_MPEG_AUDIO_DEC_PLAYBACK_STEREO = 1,
393 V4L2_MPEG_VIDEO_ENCODING_MPEG_2 = 1,
399 V4L2_MPEG_VIDEO_ASPECT_4x3 = 1,
410 V4L2_MPEG_VIDEO_BITRATE_MODE_CBR = 1,
425 V4L2_MPEG_VIDEO_HEADER_MODE_JOINED_WITH_1ST_FRAME = 1,
435 V4L2_MPEG_VIDEO_MULTI_SLICE_MODE_MAX_MB = 1,
439 V4L2_MPEG_VIDEO_MULTI_SICE_MODE_MAX_MB = 1,
461 V4L2_CID_MPEG_VIDEO_INTRA_REFRESH_PERIOD_TYPE_CYCLIC = 1,
464 /* CIDs for the MPEG-2 Part 2 (H.262) codec */
468 V4L2_MPEG_VIDEO_MPEG2_LEVEL_MAIN = 1,
475 V4L2_MPEG_VIDEO_MPEG2_PROFILE_MAIN = 1,
501 V4L2_MPEG_VIDEO_H264_ENTROPY_MODE_CABAC = 1,
507 V4L2_MPEG_VIDEO_H264_LEVEL_1B = 1,
532 V4L2_MPEG_VIDEO_H264_LOOP_FILTER_MODE_DISABLED = 1,
538 V4L2_MPEG_VIDEO_H264_PROFILE_CONSTRAINED_BASELINE = 1,
562 V4L2_MPEG_VIDEO_H264_VUI_SAR_IDC_1x1 = 1,
585 V4L2_MPEG_VIDEO_H264_SEI_FP_ARRANGEMENT_TYPE_COLUMN = 1,
595 V4L2_MPEG_VIDEO_H264_FMO_MAP_TYPE_SCATTERED_SLICES = 1,
606 V4L2_MPEG_VIDEO_H264_FMO_CHANGE_DIR_LEFT = 1,
616 V4L2_MPEG_VIDEO_H264_HIERARCHICAL_CODING_P = 1,
643 V4L2_MPEG_VIDEO_MPEG4_LEVEL_0B = 1,
654 V4L2_MPEG_VIDEO_MPEG4_PROFILE_ADVANCED_SIMPLE = 1,
668 V4L2_CID_MPEG_VIDEO_VPX_2_PARTITIONS = 1,
676 V4L2_CID_MPEG_VIDEO_VPX_2_REF_FRAME = 1,
685 V4L2_CID_MPEG_VIDEO_VPX_GOLDEN_FRAME_USE_REF_PERIOD = 1,
695 V4L2_MPEG_VIDEO_VP8_PROFILE_1 = 1,
704 V4L2_MPEG_VIDEO_VP9_PROFILE_1 = 1,
711 V4L2_MPEG_VIDEO_VP9_LEVEL_1_1 = 1,
737 V4L2_MPEG_VIDEO_HEVC_HIERARCHICAL_CODING_P = 1,
750 V4L2_MPEG_VIDEO_HEVC_PROFILE_MAIN_STILL_PICTURE = 1,
756 V4L2_MPEG_VIDEO_HEVC_LEVEL_2 = 1,
773 V4L2_MPEG_VIDEO_HEVC_TIER_HIGH = 1,
779 V4L2_MPEG_VIDEO_HEVC_LOOP_FILTER_MODE_ENABLED = 1,
787 V4L2_MPEG_VIDEO_HEVC_REFRESH_CRA = 1,
804 V4L2_MPEG_VIDEO_HEVC_SIZE_1 = 1,
821 V4L2_MPEG_VIDEO_FRAME_SKIP_MODE_LEVEL_LIMIT = 1,
835 /* MPEG-class control IDs specific to the CX2341x driver as defined by V4L2 */
840 V4L2_MPEG_CX2341X_VIDEO_SPATIAL_FILTER_MODE_AUTO = 1,
842 #define V4L2_CID_MPEG_CX2341X_VIDEO_SPATIAL_FILTER (V4L2_CID_CODEC_CX2341X_BASE+1)
846 V4L2_MPEG_CX2341X_VIDEO_LUMA_SPATIAL_FILTER_TYPE_1D_HOR = 1,
854 V4L2_MPEG_CX2341X_VIDEO_CHROMA_SPATIAL_FILTER_TYPE_1D_HOR = 1,
859 V4L2_MPEG_CX2341X_VIDEO_TEMPORAL_FILTER_MODE_AUTO = 1,
865 V4L2_MPEG_CX2341X_VIDEO_MEDIAN_FILTER_TYPE_HOR = 1,
876 /* MPEG-class control IDs specific to the Samsung MFC 5.1 driver as defined by V4L2 */
880 #define V4L2_CID_MPEG_MFC51_VIDEO_DECODER_H264_DISPLAY_DELAY_ENABLE (V4L2_CID_CODEC_MFC51_BASE+1)
884 V4L2_MPEG_MFC51_VIDEO_FRAME_SKIP_MODE_LEVEL_LIMIT = 1,
890 V4L2_MPEG_MFC51_VIDEO_FORCE_FRAME_TYPE_I_FRAME = 1,
906 #define V4L2_CID_CAMERA_CLASS (V4L2_CTRL_CLASS_CAMERA | 1)
908 #define V4L2_CID_EXPOSURE_AUTO (V4L2_CID_CAMERA_CLASS_BASE+1)
911 V4L2_EXPOSURE_MANUAL = 1,
944 V4L2_WHITE_BALANCE_AUTO = 1,
962 V4L2_ISO_SENSITIVITY_AUTO = 1,
968 V4L2_EXPOSURE_METERING_CENTER_WEIGHTED = 1,
976 V4L2_SCENE_MODE_BACKLIGHT = 1,
992 #define V4L2_LOCK_EXPOSURE (1 << 0)
993 #define V4L2_LOCK_WHITE_BALANCE (1 << 1)
994 #define V4L2_LOCK_FOCUS (1 << 2)
1000 #define V4L2_AUTO_FOCUS_STATUS_BUSY (1 << 0)
1001 #define V4L2_AUTO_FOCUS_STATUS_REACHED (1 << 1)
1002 #define V4L2_AUTO_FOCUS_STATUS_FAILED (1 << 2)
1007 V4L2_AUTO_FOCUS_RANGE_NORMAL = 1,
1017 #define V4L2_CAMERA_ORIENTATION_BACK 1
1025 #define V4L2_CID_FM_TX_CLASS (V4L2_CTRL_CLASS_FM_TX | 1)
1027 #define V4L2_CID_RDS_TX_DEVIATION (V4L2_CID_FM_TX_CLASS_BASE + 1)
1059 V4L2_PREEMPHASIS_50_uS = 1,
1069 #define V4L2_CID_FLASH_CLASS (V4L2_CTRL_CLASS_FLASH | 1)
1071 #define V4L2_CID_FLASH_LED_MODE (V4L2_CID_FLASH_CLASS_BASE + 1)
1094 #define V4L2_FLASH_FAULT_OVER_VOLTAGE (1 << 0)
1095 #define V4L2_FLASH_FAULT_TIMEOUT (1 << 1)
1096 #define V4L2_FLASH_FAULT_OVER_TEMPERATURE (1 << 2)
1097 #define V4L2_FLASH_FAULT_SHORT_CIRCUIT (1 << 3)
1098 #define V4L2_FLASH_FAULT_OVER_CURRENT (1 << 4)
1099 #define V4L2_FLASH_FAULT_INDICATOR (1 << 5)
1100 #define V4L2_FLASH_FAULT_UNDER_VOLTAGE (1 << 6)
1101 #define V4L2_FLASH_FAULT_INPUT_VOLTAGE (1 << 7)
1102 #define V4L2_FLASH_FAULT_LED_OVER_TEMPERATURE (1 << 8)
1108 /* JPEG-class control IDs */
1111 #define V4L2_CID_JPEG_CLASS (V4L2_CTRL_CLASS_JPEG | 1)
1113 #define V4L2_CID_JPEG_CHROMA_SUBSAMPLING (V4L2_CID_JPEG_CLASS_BASE + 1)
1116 V4L2_JPEG_CHROMA_SUBSAMPLING_422 = 1,
1126 #define V4L2_JPEG_ACTIVE_MARKER_APP0 (1 << 0)
1127 #define V4L2_JPEG_ACTIVE_MARKER_APP1 (1 << 1)
1128 #define V4L2_JPEG_ACTIVE_MARKER_COM (1 << 16)
1129 #define V4L2_JPEG_ACTIVE_MARKER_DQT (1 << 17)
1130 #define V4L2_JPEG_ACTIVE_MARKER_DHT (1 << 18)
1135 #define V4L2_CID_IMAGE_SOURCE_CLASS (V4L2_CTRL_CLASS_IMAGE_SOURCE | 1)
1137 #define V4L2_CID_VBLANK (V4L2_CID_IMAGE_SOURCE_CLASS_BASE + 1)
1151 #define V4L2_CID_IMAGE_PROC_CLASS (V4L2_CTRL_CLASS_IMAGE_PROC | 1)
1153 #define V4L2_CID_LINK_FREQ (V4L2_CID_IMAGE_PROC_CLASS_BASE + 1)
1159 /* DV-class control IDs defined by V4L2 */
1161 #define V4L2_CID_DV_CLASS (V4L2_CTRL_CLASS_DV | 1)
1163 #define V4L2_CID_DV_TX_HOTPLUG (V4L2_CID_DV_CLASS_BASE + 1)
1169 V4L2_DV_TX_MODE_HDMI = 1,
1174 V4L2_DV_RGB_RANGE_LIMITED = 1,
1181 V4L2_DV_IT_CONTENT_TYPE_PHOTO = 1,
1192 #define V4L2_CID_FM_RX_CLASS (V4L2_CTRL_CLASS_FM_RX | 1)
1194 #define V4L2_CID_TUNE_DEEMPHASIS (V4L2_CID_FM_RX_CLASS_BASE + 1)
1210 #define V4L2_CID_RF_TUNER_CLASS (V4L2_CTRL_CLASS_RF_TUNER | 1)
1224 /* Detection-class control IDs defined by V4L2 */
1226 #define V4L2_CID_DETECT_CLASS (V4L2_CTRL_CLASS_DETECT | 1)
1228 #define V4L2_CID_DETECT_MD_MODE (V4L2_CID_DETECT_CLASS_BASE + 1)
1231 V4L2_DETECT_MD_MODE_GLOBAL = 1,
1242 #define V4L2_CID_CODEC_STATELESS_CLASS (V4L2_CTRL_CLASS_CODEC_STATELESS | 1)
1246 * enum v4l2_stateless_h264_decode_mode - Decoding mode
1266 #define V4L2_CID_STATELESS_H264_START_CODE (V4L2_CID_CODEC_STATELESS_BASE + 1)
1268 * enum v4l2_stateless_h264_start_code - Start code
1274 * (legal start codes can be 3-bytes 0x000001 or 4-bytes 0x00000001).
1299 ((sps)->profile_idc == 100 || (sps)->profile_idc == 110 || \
1300 (sps)->profile_idc == 122 || (sps)->profile_idc == 244 || \
1301 (sps)->profile_idc == 44 || (sps)->profile_idc == 83 || \
1302 (sps)->profile_idc == 86 || (sps)->profile_idc == 118 || \
1303 (sps)->profile_idc == 128 || (sps)->profile_idc == 138 || \
1304 (sps)->profile_idc == 139 || (sps)->profile_idc == 134 || \
1305 (sps)->profile_idc == 135)
1309 * struct v4l2_ctrl_h264_sps - H264 sequence parameter set
1365 * struct v4l2_ctrl_h264_pps - H264 picture parameter set
1372 * has a specific meaning. This flag should be set if a non-flat
1375 * to pass the values of the non-flat matrices.
1405 * struct v4l2_ctrl_h264_scaling_matrix - H264 scaling matrices
1417 * matrices as per the H264 specification, see table 7-2 "Assignment
1419 * fall-back rule".
1434 ((((pps)->flags & V4L2_H264_PPS_FLAG_WEIGHTED_PRED) && \
1435 ((slice)->slice_type == V4L2_H264_SLICE_TYPE_P || \
1436 (slice)->slice_type == V4L2_H264_SLICE_TYPE_SP)) || \
1437 ((pps)->weighted_bipred_idc == 1 && \
1438 (slice)->slice_type == V4L2_H264_SLICE_TYPE_B))
1442 * struct v4l2_ctrl_h264_pred_weights - Prediction weight table
1458 #define V4L2_H264_SLICE_TYPE_B 1
1471 * struct v4l2_h264_reference - H264 picture reference
1491 * struct v4l2_ctrl_h264_slice_params - H264 slice parameters
1494 * as non-invariant for the slices in a given frame.
1498 * on frame-based decoders, where slice header parsing is done by the
1520 * @ref_pic_list0: reference picture list 0 after applying the per-slice modifications.
1521 * @ref_pic_list1: reference picture list 1 after applying the per-slice modifications.
1553 * struct v4l2_h264_dpb_entry - H264 decoded picture buffer entry
1588 * struct v4l2_ctrl_h264_decode_params - H264 decoding parameters
1635 /* Set if this is a bottom-first (NTSC) interlaced format */
1636 #define V4L2_FWHT_FL_IS_BOTTOM_FIRST _BITUL(1)
1659 /* A 4-values flag - the number of components - 1 */
1663 /* A 4-values flag - the pixel encoding type */
1666 #define V4L2_FWHT_FL_PIXENC_YUV (1 << V4L2_FWHT_FL_PIXENC_OFFSET)
1672 * struct v4l2_ctrl_fwht_params - FWHT parameters
1706 * struct v4l2_vp8_segment - VP8 segment-based adjustments parameters
1714 * This structure contains segment-based adjustments related parameters.
1716 * and section '9.3. Segment-Based Adjustments' of the VP8 specification
1732 * struct v4l2_vp8_loop_filter - VP8 loop filter parameters
1756 * struct v4l2_vp8_quantization - VP8 quantizattion indices
1785 * struct v4l2_vp8_entropy - VP8 update probabilities
1788 * @y_mode_probs: luma intra-prediction probabilities.
1789 * @uv_mode_probs: chroma intra-prediction probabilities.
1807 * struct v4l2_vp8_entropy_coder_state - VP8 boolean coder state
1832 (!!((hdr)->flags & V4L2_VP8_FRAME_FLAG_KEY_FRAME))
1836 * struct v4l2_ctrl_vp8_frame - VP8 frame parameters
1894 /* Stateless MPEG-2 controls */
1900 * struct v4l2_ctrl_mpeg2_sequence - MPEG-2 sequence header
1903 * extension syntaxes as specified by the MPEG-2 specification.
1915 * @profile_and_level_indication: see MPEG-2 specification.
1916 * @chroma_format: see MPEG-2 specification.
1928 #define V4L2_MPEG2_PIC_CODING_TYPE_I 1
1948 * struct v4l2_ctrl_mpeg2_picture - MPEG-2 picture header
1951 * coding extension syntaxes as specified by the MPEG-2 specification.
1960 * @f_code: see MPEG-2 specification.
1961 * @picture_coding_type: see MPEG-2 specification.
1963 * @intra_dc_precision: see MPEG-2 specification.
1979 * struct v4l2_ctrl_mpeg2_quantisation - MPEG-2 quantisation
1985 * for intra-coded frames, in zigzag scanning order. It is relevant
1987 * by the chroma-specific matrix for non-4:2:0 YUV formats.
1989 * for non-intra-coded frames, in zigzag scanning order. It is relevant
1991 * by the chroma-specific matrix for non-4:2:0 YUV formats.
1993 * for the chominance component of intra-coded frames, in zigzag scanning
1996 * for the chrominance component of non-intra-coded frames, in zigzag scanning
2026 #define V4L2_HEVC_SLICE_TYPE_P 1
2029 #define V4L2_HEVC_SPS_FLAG_SEPARATE_COLOUR_PLANE (1ULL << 0)
2030 #define V4L2_HEVC_SPS_FLAG_SCALING_LIST_ENABLED (1ULL << 1)
2031 #define V4L2_HEVC_SPS_FLAG_AMP_ENABLED (1ULL << 2)
2032 #define V4L2_HEVC_SPS_FLAG_SAMPLE_ADAPTIVE_OFFSET (1ULL << 3)
2033 #define V4L2_HEVC_SPS_FLAG_PCM_ENABLED (1ULL << 4)
2034 #define V4L2_HEVC_SPS_FLAG_PCM_LOOP_FILTER_DISABLED (1ULL << 5)
2035 #define V4L2_HEVC_SPS_FLAG_LONG_TERM_REF_PICS_PRESENT (1ULL << 6)
2036 #define V4L2_HEVC_SPS_FLAG_SPS_TEMPORAL_MVP_ENABLED (1ULL << 7)
2037 #define V4L2_HEVC_SPS_FLAG_STRONG_INTRA_SMOOTHING_ENABLED (1ULL << 8)
2040 * struct v4l2_ctrl_hevc_sps - ITU-T Rec. H.265: Sequence parameter set
2056 * @sps_max_dec_pic_buffering_minus1: this value plus 1 specifies the maximum
2080 * @pcm_sample_bit_depth_luma_minus1: this value plus 1 specifies the number of
2083 * @pcm_sample_bit_depth_chroma_minus1: this value plus 1 specifies the number
2093 * @num_long_term_ref_pics_sps: specifies the number of candidate long-term
2096 * @sps_max_sub_layers_minus1: this value plus 1 specifies the maximum number
2097 * of temporal sub-layers
2131 #define V4L2_HEVC_PPS_FLAG_DEPENDENT_SLICE_SEGMENT_ENABLED (1ULL << 0)
2132 #define V4L2_HEVC_PPS_FLAG_OUTPUT_FLAG_PRESENT (1ULL << 1)
2133 #define V4L2_HEVC_PPS_FLAG_SIGN_DATA_HIDING_ENABLED (1ULL << 2)
2134 #define V4L2_HEVC_PPS_FLAG_CABAC_INIT_PRESENT (1ULL << 3)
2135 #define V4L2_HEVC_PPS_FLAG_CONSTRAINED_INTRA_PRED (1ULL << 4)
2136 #define V4L2_HEVC_PPS_FLAG_TRANSFORM_SKIP_ENABLED (1ULL << 5)
2137 #define V4L2_HEVC_PPS_FLAG_CU_QP_DELTA_ENABLED (1ULL << 6)
2138 #define V4L2_HEVC_PPS_FLAG_PPS_SLICE_CHROMA_QP_OFFSETS_PRESENT (1ULL << 7)
2139 #define V4L2_HEVC_PPS_FLAG_WEIGHTED_PRED (1ULL << 8)
2140 #define V4L2_HEVC_PPS_FLAG_WEIGHTED_BIPRED (1ULL << 9)
2141 #define V4L2_HEVC_PPS_FLAG_TRANSQUANT_BYPASS_ENABLED (1ULL << 10)
2142 #define V4L2_HEVC_PPS_FLAG_TILES_ENABLED (1ULL << 11)
2143 #define V4L2_HEVC_PPS_FLAG_ENTROPY_CODING_SYNC_ENABLED (1ULL << 12)
2144 #define V4L2_HEVC_PPS_FLAG_LOOP_FILTER_ACROSS_TILES_ENABLED (1ULL << 13)
2145 #define V4L2_HEVC_PPS_FLAG_PPS_LOOP_FILTER_ACROSS_SLICES_ENABLED (1ULL << 14)
2146 #define V4L2_HEVC_PPS_FLAG_DEBLOCKING_FILTER_OVERRIDE_ENABLED (1ULL << 15)
2147 #define V4L2_HEVC_PPS_FLAG_PPS_DISABLE_DEBLOCKING_FILTER (1ULL << 16)
2148 #define V4L2_HEVC_PPS_FLAG_LISTS_MODIFICATION_PRESENT (1ULL << 17)
2149 #define V4L2_HEVC_PPS_FLAG_SLICE_SEGMENT_HEADER_EXTENSION_PRESENT (1ULL << 18)
2150 #define V4L2_HEVC_PPS_FLAG_DEBLOCKING_FILTER_CONTROL_PRESENT (1ULL << 19)
2151 #define V4L2_HEVC_PPS_FLAG_UNIFORM_SPACING (1ULL << 20)
2154 * struct v4l2_ctrl_hevc_pps - ITU-T Rec. H.265: Picture parameter set
2161 * @num_ref_idx_l0_default_active_minus1: this value plus 1 specifies the
2163 * @num_ref_idx_l1_default_active_minus1: this value plus 1 specifies the
2173 * @num_tile_columns_minus1: this value plus 1 specifies the number of tile columns
2175 * @num_tile_rows_minus1: this value plus 1 specifies the number of tile rows partitioning
2177 * @column_width_minus1: this value plus 1 specifies the width of the each tile column in
2179 * @row_height_minus1: this value plus 1 specifies the height of the each tile row in
2213 #define V4L2_HEVC_SEI_PIC_STRUCT_TOP_FIELD 1
2229 * struct v4l2_hevc_dpb_entry - HEVC decoded picture buffer entry
2246 * struct v4l2_hevc_pred_weight_table - HEVC weighted prediction parameters
2257 * to the luma prediction value for list 1
2259 * for list 1
2261 * to the chroma prediction values for list 1
2263 * the chroma prediction values for list 1
2285 #define V4L2_HEVC_SLICE_PARAMS_FLAG_SLICE_SAO_LUMA (1ULL << 0)
2286 #define V4L2_HEVC_SLICE_PARAMS_FLAG_SLICE_SAO_CHROMA (1ULL << 1)
2287 #define V4L2_HEVC_SLICE_PARAMS_FLAG_SLICE_TEMPORAL_MVP_ENABLED (1ULL << 2)
2288 #define V4L2_HEVC_SLICE_PARAMS_FLAG_MVD_L1_ZERO (1ULL << 3)
2289 #define V4L2_HEVC_SLICE_PARAMS_FLAG_CABAC_INIT (1ULL << 4)
2290 #define V4L2_HEVC_SLICE_PARAMS_FLAG_COLLOCATED_FROM_L0 (1ULL << 5)
2291 #define V4L2_HEVC_SLICE_PARAMS_FLAG_USE_INTEGER_MV (1ULL << 6)
2292 #define V4L2_HEVC_SLICE_PARAMS_FLAG_SLICE_DEBLOCKING_FILTER_DISABLED (1ULL << 7)
2293 #define V4L2_HEVC_SLICE_PARAMS_FLAG_SLICE_LOOP_FILTER_ACROSS_SLICES_ENABLED (1ULL << 8)
2294 #define V4L2_HEVC_SLICE_PARAMS_FLAG_DEPENDENT_SLICE_SEGMENT (1ULL << 9)
2297 * struct v4l2_ctrl_hevc_slice_params - HEVC slice parameters
2299 * This control is a dynamically sized 1-dimensional array,
2307 * @nuh_temporal_id_plus1: minus 1 specifies a temporal identifier for the NAL unit
2311 * @num_ref_idx_l0_active_minus1: this value plus 1 specifies the maximum
2314 * @num_ref_idx_l1_active_minus1: this value plus 1 specifies the maximum
2315 * reference index for reference picture list 1
2338 * @short_term_ref_pic_set_size: specifies the size of short-term reference
2340 * @long_term_ref_pic_set_size: specifies the size of long-term reference
2342 * @pred_weight_table: the prediction weight coefficients for inter-picture
2352 /* ISO/IEC 23008-2, ITU-T Rec. H.265: NAL unit header */
2356 /* ISO/IEC 23008-2, ITU-T Rec. H.265: General slice segment header */
2373 /* ISO/IEC 23008-2, ITU-T Rec. H.265: Picture timing SEI message */
2377 /* ISO/IEC 23008-2, ITU-T Rec. H.265: General slice segment header */
2384 /* ISO/IEC 23008-2, ITU-T Rec. H.265: Weighted prediction parameter */
2396 * struct v4l2_ctrl_hevc_decode_params - HEVC decode parameters
2399 * @short_term_ref_pic_set_size: specifies the size of short-term reference
2401 * @long_term_ref_pic_set_size: specifies the size of long-term reference
2404 * @num_poc_st_curr_before: the number of reference pictures in the short-term
2406 * @num_poc_st_curr_after: the number of reference pictures in the short-term
2408 * @num_poc_lt_curr: the number of reference pictures in the long-term set
2415 * @dpb: the decoded picture buffer, for meta-data about reference frames
2435 * struct v4l2_ctrl_hevc_scaling_matrix - HEVC scaling lists parameters
2466 #define V4L2_CID_COLORIMETRY_CLASS (V4L2_CTRL_CLASS_COLORIMETRY | 1)
2475 #define V4L2_CID_COLORIMETRY_HDR10_MASTERING_DISPLAY (V4L2_CID_COLORIMETRY_CLASS_BASE + 1)
2487 #define V4L2_HDR10_MASTERING_MIN_LUMA_LOW 1
2505 * struct v4l2_vp9_loop_filter - VP9 loop filter parameters
2531 * struct v4l2_vp9_quantization - VP9 quantization parameters
2557 #define V4L2_VP9_SEG_LVL_ALT_L 1
2562 #define V4L2_VP9_SEGMENT_FEATURE_ENABLED(id) (1 << (id))
2566 * struct v4l2_vp9_segmentation - VP9 segmentation parameters
2575 * Segment-ID. See '5.15. Segmentation map' section of the VP9 specification
2578 * Predicted-Segment-ID. See '6.4.14. Get segment id syntax' section of :ref:`vp9`
2611 #define V4L2_VP9_RESET_FRAME_CTX_SPEC 1
2615 #define V4L2_VP9_INTERP_FILTER_EIGHTTAP_SMOOTH 1
2621 #define V4L2_VP9_REFERENCE_MODE_COMPOUND_REFERENCE 1
2628 * struct v4l2_ctrl_vp9_frame - VP9 frame decoding control
2636 * @frame_width_minus_1: add 1 to it and you'll get the frame width expressed in pixels.
2637 * @frame_height_minus_1: add 1 to it and you'll get the frame height expressed in pixels.
2638 * @render_width_minus_1: add 1 to it and you'll get the expected render width expressed in
2641 * @render_height_minus_1: add 1 to it and you'll get the expected render height expressed in
2658 * @profile: VP9 profile. Can be 0, 1, 2 or 3.
2700 * struct v4l2_vp9_mv_probs - VP9 Motion vector probability updates
2730 #define V4L2_VP9_TX_MODE_ALLOW_8X8 1
2736 * struct v4l2_ctrl_vp9_compressed_hdr - VP9 probability updates control
2745 * @is_inter: is inter-block probability updates.
2765 __u8 tx8[2][1];
2783 /* MPEG-compression definitions kept for backwards compatibility */