Lines Matching +full:enum +full:- +full:as +full:- +full:flags
1 /* SPDX-License-Identifier: ((GPL-2.0+ WITH Linux-syscall-note) OR BSD-3-Clause) */
5 * Copyright (C) 1999-2012 the contributors
19 #define V4L2_CTRL_CLASS_USER 0x00980000 /* Old-style 'user' controls */
24 #define V4L2_CTRL_CLASS_JPEG 0x009d0000 /* JPEG-compression controls */
34 /* User-class control IDs */
63 enum v4l2_power_line_frequency {
76 enum v4l2_colorfx {
116 /* USER-class private control IDs */
136 * The base for the si476x driver controls. See include/media/drv-intf/si476x.h
218 /* MPEG-class control IDs */
227 enum v4l2_mpeg_stream_type {
228 V4L2_MPEG_STREAM_TYPE_MPEG2_PS = 0, /* MPEG-2 program stream */
229 V4L2_MPEG_STREAM_TYPE_MPEG2_TS = 1, /* MPEG-2 transport stream */
230 V4L2_MPEG_STREAM_TYPE_MPEG1_SS = 2, /* MPEG-1 system stream */
231 V4L2_MPEG_STREAM_TYPE_MPEG2_DVD = 3, /* MPEG-2 DVD-compatible stream */
232 V4L2_MPEG_STREAM_TYPE_MPEG1_VCD = 4, /* MPEG-1 VCD-compatible stream */
233 V4L2_MPEG_STREAM_TYPE_MPEG2_SVCD = 5, /* MPEG-2 SVCD-compatible stream */
242 enum v4l2_mpeg_stream_vbi_fmt {
249 enum v4l2_mpeg_audio_sampling_freq {
255 enum v4l2_mpeg_audio_encoding {
263 enum v4l2_mpeg_audio_l1_bitrate {
280 enum v4l2_mpeg_audio_l2_bitrate {
297 enum v4l2_mpeg_audio_l3_bitrate {
314 enum v4l2_mpeg_audio_mode {
321 enum v4l2_mpeg_audio_mode_extension {
328 enum v4l2_mpeg_audio_emphasis {
334 enum v4l2_mpeg_audio_crc {
341 enum v4l2_mpeg_audio_ac3_bitrate {
363 enum v4l2_mpeg_audio_dec_playback {
375 enum v4l2_mpeg_video_encoding {
381 enum v4l2_mpeg_video_aspect {
392 enum v4l2_mpeg_video_bitrate_mode {
407 enum v4l2_mpeg_video_header_mode {
417 enum v4l2_mpeg_video_multi_slice_mode {
443 enum v4l2_mpeg_video_intra_refresh_period_type {
448 /* CIDs for the MPEG-2 Part 2 (H.262) codec */
450 enum v4l2_mpeg_video_mpeg2_level {
457 enum v4l2_mpeg_video_mpeg2_profile {
466 /* CIDs for the FWHT codec as used by the vicodec driver. */
483 enum v4l2_mpeg_video_h264_entropy_mode {
489 enum v4l2_mpeg_video_h264_level {
514 enum v4l2_mpeg_video_h264_loop_filter_mode {
520 enum v4l2_mpeg_video_h264_profile {
544 enum v4l2_mpeg_video_h264_vui_sar_idc {
567 enum v4l2_mpeg_video_h264_sei_fp_arrangement_type {
577 enum v4l2_mpeg_video_h264_fmo_map_type {
588 enum v4l2_mpeg_video_h264_fmo_change_dir {
598 enum v4l2_mpeg_video_h264_hierarchical_coding_type {
625 enum v4l2_mpeg_video_mpeg4_level {
636 enum v4l2_mpeg_video_mpeg4_profile {
647 * as that class is already handling other video compression standards
650 enum v4l2_vp8_num_partitions {
658 enum v4l2_vp8_num_ref_frames {
667 enum v4l2_vp8_golden_frame_sel {
677 enum v4l2_mpeg_video_vp8_profile {
686 enum v4l2_mpeg_video_vp9_profile {
693 enum v4l2_mpeg_video_vp9_level {
719 enum v4l2_mpeg_video_hevc_hier_coding_type {
732 enum v4l2_mpeg_video_hevc_profile {
738 enum v4l2_mpeg_video_hevc_level {
755 enum v4l2_mpeg_video_hevc_tier {
761 enum v4l2_cid_mpeg_video_hevc_loop_filter_mode {
769 enum v4l2_cid_mpeg_video_hevc_refresh_type {
786 enum v4l2_cid_mpeg_video_hevc_size_of_length_field {
803 enum v4l2_mpeg_video_frame_skip_mode {
821 * enum v4l2_mpeg_video_av1_profile - AV1 profiles
832 enum v4l2_mpeg_video_av1_profile {
840 * enum v4l2_mpeg_video_av1_level - AV1 levels
869 enum v4l2_mpeg_video_av1_level {
901 /* MPEG-class control IDs specific to the CX2341x driver as defined by V4L2 */
904 enum v4l2_mpeg_cx2341x_video_spatial_filter_mode {
910 enum v4l2_mpeg_cx2341x_video_luma_spatial_filter_type {
918 enum v4l2_mpeg_cx2341x_video_chroma_spatial_filter_type {
923 enum v4l2_mpeg_cx2341x_video_temporal_filter_mode {
929 enum v4l2_mpeg_cx2341x_video_median_filter_type {
942 /* MPEG-class control IDs specific to the Samsung MFC 5.1 driver as defined by V4L2 */
948 enum v4l2_mpeg_mfc51_video_frame_skip_mode {
954 enum v4l2_mpeg_mfc51_video_force_frame_type {
975 enum v4l2_exposure_auto_type {
1008 enum v4l2_auto_n_preset_white_balance {
1026 enum v4l2_iso_sensitivity_auto_type {
1032 enum v4l2_exposure_metering {
1040 enum v4l2_scene_mode {
1071 enum v4l2_auto_focus_range {
1125 enum v4l2_preemphasis {
1140 enum v4l2_flash_led_mode {
1147 enum v4l2_flash_strobe_source {
1176 /* JPEG-class control IDs */
1182 enum v4l2_jpeg_chroma_subsampling {
1227 /* DV-class control IDs defined by V4L2 */
1235 enum v4l2_dv_tx_mode {
1240 enum v4l2_dv_rgb_range {
1247 enum v4l2_dv_it_content_type {
1263 enum v4l2_deemphasis {
1292 /* Detection-class control IDs defined by V4L2 */
1297 enum v4l2_detect_md_mode {
1314 * enum v4l2_stateless_h264_decode_mode - Decoding mode
1329 enum v4l2_stateless_h264_decode_mode {
1336 * enum v4l2_stateless_h264_start_code - Start code
1342 * (legal start codes can be 3-bytes 0x000001 or 4-bytes 0x00000001).
1346 enum v4l2_stateless_h264_start_code {
1367 ((sps)->profile_idc == 100 || (sps)->profile_idc == 110 || \
1368 (sps)->profile_idc == 122 || (sps)->profile_idc == 244 || \
1369 (sps)->profile_idc == 44 || (sps)->profile_idc == 83 || \
1370 (sps)->profile_idc == 86 || (sps)->profile_idc == 118 || \
1371 (sps)->profile_idc == 128 || (sps)->profile_idc == 138 || \
1372 (sps)->profile_idc == 139 || (sps)->profile_idc == 134 || \
1373 (sps)->profile_idc == 135)
1377 * struct v4l2_ctrl_h264_sps - H264 sequence parameter set
1380 * sequence parameter set syntax as specified by the H264 specification.
1399 * @flags: see V4L2_H264_SPS_FLAG_{}.
1419 __u32 flags; member
1433 * struct v4l2_ctrl_h264_pps - H264 picture parameter set
1436 * structure match the picture parameter set syntax as specified
1440 * has a specific meaning. This flag should be set if a non-flat
1443 * to pass the values of the non-flat matrices.
1455 * @flags: see V4L2_H264_PPS_FLAG_{}.
1468 __u16 flags; member
1473 * struct v4l2_ctrl_h264_scaling_matrix - H264 scaling matrices
1485 * matrices as per the H264 specification, see table 7-2 "Assignment
1487 * fall-back rule".
1502 ((((pps)->flags & V4L2_H264_PPS_FLAG_WEIGHTED_PRED) && \
1503 ((slice)->slice_type == V4L2_H264_SLICE_TYPE_P || \
1504 (slice)->slice_type == V4L2_H264_SLICE_TYPE_SP)) || \
1505 ((pps)->weighted_bipred_idc == 1 && \
1506 (slice)->slice_type == V4L2_H264_SLICE_TYPE_B))
1510 * struct v4l2_ctrl_h264_pred_weights - Prediction weight table
1539 * struct v4l2_h264_reference - H264 picture reference
1551 * Maximum DPB size, as specified by section 'A.3.1 Level limits
1559 * struct v4l2_ctrl_h264_slice_params - H264 slice parameters
1562 * as non-invariant for the slices in a given frame.
1566 * on frame-based decoders, where slice header parsing is done by the
1588 * @ref_pic_list0: reference picture list 0 after applying the per-slice modifications.
1589 * @ref_pic_list1: reference picture list 1 after applying the per-slice modifications.
1590 * @flags: see V4L2_H264_SLICE_FLAG_{}.
1612 __u32 flags; member
1621 * struct v4l2_h264_dpb_entry - H264 decoded picture buffer entry
1623 * @reference_ts: timestamp of the V4L2 capture buffer to use as reference.
1635 * @flags: see V4L2_H264_DPB_ENTRY_FLAG_{}.
1645 __u32 flags; member
1656 * struct v4l2_ctrl_h264_decode_params - H264 decoding parameters
1674 * @flags: see V4L2_H264_DECODE_PARAM_FLAG_{}.
1692 __u32 flags; member
1703 /* Set if this is a bottom-first (NTSC) interlaced format */
1727 /* A 4-values flag - the number of components - 1 */
1731 /* A 4-values flag - the pixel encoding type */
1740 * struct v4l2_ctrl_fwht_params - FWHT parameters
1742 * @backward_ref_ts: timestamp of the V4L2 capture buffer to use as reference.
1748 * @flags: FWHT flags (see V4L2_FWHT_FL_*).
1749 * @colorspace: the colorspace (enum v4l2_colorspace).
1750 * @xfer_func: the transfer function (enum v4l2_xfer_func).
1751 * @ycbcr_enc: the Y'CbCr encoding (enum v4l2_ycbcr_encoding).
1752 * @quantization: the quantization (enum v4l2_quantization).
1759 __u32 flags; member
1774 * struct v4l2_vp8_segment - VP8 segment-based adjustments parameters
1780 * @flags: see V4L2_VP8_SEGMENT_FLAG_{}.
1782 * This structure contains segment-based adjustments related parameters.
1784 * and section '9.3. Segment-Based Adjustments' of the VP8 specification
1792 __u32 flags; member
1800 * struct v4l2_vp8_loop_filter - VP8 loop filter parameters
1807 * @flags: see V4L2_VP8_LF_{}.
1820 __u32 flags; member
1824 * struct v4l2_vp8_quantization - VP8 quantizattion indices
1853 * struct v4l2_vp8_entropy - VP8 update probabilities
1856 * @y_mode_probs: luma intra-prediction probabilities.
1857 * @uv_mode_probs: chroma intra-prediction probabilities.
1875 * struct v4l2_vp8_entropy_coder_state - VP8 boolean coder state
1882 * This structure contains the state for the boolean coder, as
1900 (!!((hdr)->flags & V4L2_VP8_FRAME_FLAG_KEY_FRAME))
1904 * struct v4l2_ctrl_vp8_frame - VP8 frame parameters
1929 * @flags: see V4L2_VP8_FRAME_FLAG_{}.
1959 __u64 flags; member
1962 /* Stateless MPEG-2 controls */
1968 * struct v4l2_ctrl_mpeg2_sequence - MPEG-2 sequence header
1971 * extension syntaxes as specified by the MPEG-2 specification.
1975 * as described in section 6.3.3 "Sequence header".
1983 * @profile_and_level_indication: see MPEG-2 specification.
1984 * @chroma_format: see MPEG-2 specification.
1985 * @flags: see V4L2_MPEG2_SEQ_FLAG_{}.
1993 __u8 flags; member
2016 * struct v4l2_ctrl_mpeg2_picture - MPEG-2 picture header
2019 * coding extension syntaxes as specified by the MPEG-2 specification.
2021 * @backward_ref_ts: timestamp of the V4L2 capture buffer to use as
2023 * @forward_ref_ts: timestamp of the V4L2 capture buffer to use as
2027 * @flags: see V4L2_MPEG2_PIC_FLAG_{}.
2028 * @f_code: see MPEG-2 specification.
2029 * @picture_coding_type: see MPEG-2 specification.
2031 * @intra_dc_precision: see MPEG-2 specification.
2037 __u32 flags; member
2047 * struct v4l2_ctrl_mpeg2_quantisation - MPEG-2 quantisation
2049 * Quantisation matrices as specified by section 6.3.7
2053 * for intra-coded frames, in zigzag scanning order. It is relevant
2055 * by the chroma-specific matrix for non-4:2:0 YUV formats.
2057 * for non-intra-coded frames, in zigzag scanning order. It is relevant
2059 * by the chroma-specific matrix for non-4:2:0 YUV formats.
2061 * for the chominance component of intra-coded frames, in zigzag scanning
2064 * for the chrominance component of non-intra-coded frames, in zigzag scanning
2083 enum v4l2_stateless_hevc_decode_mode {
2088 enum v4l2_stateless_hevc_start_code {
2108 * struct v4l2_ctrl_hevc_sps - ITU-T Rec. H.265: Sequence parameter set
2161 * @num_long_term_ref_pics_sps: specifies the number of candidate long-term
2165 * of temporal sub-layers
2167 * @flags: see V4L2_HEVC_SPS_FLAG_{}
2196 __u64 flags; member
2222 * struct v4l2_ctrl_hevc_pps - ITU-T Rec. H.265: Picture parameter set
2256 * @flags: see V4L2_HEVC_PPS_FLAG_{}
2275 __u64 flags; member
2297 * struct v4l2_hevc_dpb_entry - HEVC decoded picture buffer entry
2299 * @timestamp: timestamp of the V4L2 capture buffer to use as reference.
2300 * @flags: long term flag for the reference frame
2307 __u8 flags; member
2314 * struct v4l2_hevc_pred_weight_table - HEVC weighted prediction parameters
2365 * struct v4l2_ctrl_hevc_slice_params - HEVC slice parameters
2367 * This control is a dynamically sized 1-dimensional array,
2399 * @pic_struct: indicates whether a picture should be displayed as a frame or as one or
2404 * @ref_idx_l0: the list of L0 reference elements as indices in the DPB
2405 * @ref_idx_l1: the list of L1 reference elements as indices in the DPB
2406 * @short_term_ref_pic_set_size: specifies the size of short-term reference
2408 * @long_term_ref_pic_set_size: specifies the size of long-term reference
2410 * @pred_weight_table: the prediction weight coefficients for inter-picture
2413 * @flags: see V4L2_HEVC_SLICE_PARAMS_FLAG_{}
2420 /* ISO/IEC 23008-2, ITU-T Rec. H.265: NAL unit header */
2424 /* ISO/IEC 23008-2, ITU-T Rec. H.265: General slice segment header */
2441 /* ISO/IEC 23008-2, ITU-T Rec. H.265: Picture timing SEI message */
2445 /* ISO/IEC 23008-2, ITU-T Rec. H.265: General slice segment header */
2452 /* ISO/IEC 23008-2, ITU-T Rec. H.265: Weighted prediction parameter */
2456 __u64 flags; member
2464 * struct v4l2_ctrl_hevc_decode_params - HEVC decode parameters
2467 * @short_term_ref_pic_set_size: specifies the size of short-term reference
2469 * @long_term_ref_pic_set_size: specifies the size of long-term reference
2472 * @num_poc_st_curr_before: the number of reference pictures in the short-term
2474 * @num_poc_st_curr_after: the number of reference pictures in the short-term
2476 * @num_poc_lt_curr: the number of reference pictures in the long-term set
2482 * @num_delta_pocs_of_ref_rps_idx: same as the derived value NumDeltaPocs[RefRpsIdx],
2486 * @dpb: the decoded picture buffer, for meta-data about reference frames
2487 * @flags: see V4L2_HEVC_DECODE_PARAM_FLAG_{}
2503 __u64 flags; member
2507 * struct v4l2_ctrl_hevc_scaling_matrix - HEVC scaling lists parameters
2577 * struct v4l2_vp9_loop_filter - VP9 loop filter parameters
2587 * @flags: combination of V4L2_VP9_LOOP_FILTER_FLAG_{} flags.
2598 __u8 flags; member
2603 * struct v4l2_vp9_quantization - VP9 quantization parameters
2638 * struct v4l2_vp9_segmentation - VP9 segmentation parameters
2641 * the feature is enabled. The array shall be indexed with segment number as
2642 * the first dimension (0..7) and one of V4L2_VP9_SEG_{} as the second dimension.
2647 * Segment-ID. See '5.15. Segmentation map' section of the VP9 specification
2650 * Predicted-Segment-ID. See '6.4.14. Get segment id syntax' section of :ref:`vp9`
2652 * @flags: combination of V4L2_VP9_SEGMENTATION_FLAG_{} flags.
2663 __u8 flags; member
2700 * struct v4l2_ctrl_vp9_frame - VP9 frame decoding control
2705 * @flags: combination of V4L2_VP9_FRAME_FLAG_{} flags.
2747 __u32 flags; member
2772 * struct v4l2_vp9_mv_probs - VP9 Motion vector probability updates
2808 * struct v4l2_ctrl_vp9_compressed_hdr - VP9 probability updates control
2817 * @is_inter: is inter-block probability updates.
2826 * This structure holds the probabilities update as parsed in the compressed
2895 * struct v4l2_ctrl_av1_sequence - AV1 Sequence
2900 * @flags: See V4L2_AV1_SEQUENCE_FLAG_{}.
2905 * @bit_depth: the bitdepth to use for the sequence as described in section
2914 __u32 flags; member
2925 * struct v4l2_ctrl_av1_tile_group_entry - AV1 Tile Group entry
2950 * enum v4l2_av1_warp_model - AV1 Warp Model as described in section 3
2959 enum v4l2_av1_warp_model {
2967 * enum v4l2_av1_reference_frame - AV1 reference frames
2978 enum v4l2_av1_reference_frame {
2995 * struct v4l2_av1_global_motion - AV1 Global Motion parameters as described in
2998 * @flags: A bitfield containing the flags per reference frame. See
3001 * @params: this field has the same meaning as "gm_params" in the AV1
3011 __u8 flags[V4L2_AV1_TOTAL_REFS_PER_FRAME]; member
3012 enum v4l2_av1_warp_model type[V4L2_AV1_TOTAL_REFS_PER_FRAME];
3019 * enum v4l2_av1_frame_restoration_type - AV1 Frame Restoration Type
3025 enum v4l2_av1_frame_restoration_type {
3036 * struct v4l2_av1_loop_restoration - AV1 Loop Restauration as described in
3039 * @flags: See V4L2_AV1_LOOP_RESTORATION_FLAG_{}.
3044 * plane. See enum v4l2_av1_frame_restoration_type.
3049 __u8 flags; member
3053 enum v4l2_av1_frame_restoration_type frame_restoration_type[V4L2_AV1_NUM_PLANES_MAX];
3058 * struct v4l2_av1_cdef - AV1 CDEF params semantics as described in section
3085 * enum v4l2_av1_segment_feature - AV1 segment features as described in section
3096 enum v4l2_av1_segment_feature {
3108 * struct v4l2_av1_segmentation - AV1 Segmentation params as defined in section
3111 * @flags: see V4L2_AV1_SEGMENTATION_FLAG_{}.
3121 __u8 flags; member
3133 * struct v4l2_av1_loop_filter - AV1 Loop filter params as defined in section
3137 * @flags: see V4L2_AV1_LOOP_FILTER_FLAG_{}
3156 __u8 flags; member
3169 * struct v4l2_av1_quantization - AV1 Quantization params as defined in section
3172 * @flags: see V4L2_AV1_QUANTIZATION_FLAG_{}
3174 * coefficients and as the base value for the other quantizers.
3190 __u8 flags; member
3206 * struct v4l2_av1_tile_info - AV1 Tile info as defined in section 6.8.14 "Tile
3209 * @flags: see V4L2_AV1_TILE_INFO_FLAG_{}
3226 __u8 flags; member
3239 * enum v4l2_av1_frame_type - AV1 Frame Type
3243 * @V4L2_AV1_INTRA_ONLY_FRAME: Intra-only frame
3246 enum v4l2_av1_frame_type {
3254 * enum v4l2_av1_interpolation_filter - AV1 interpolation filter types
3266 enum v4l2_av1_interpolation_filter {
3275 * enum v4l2_av1_tx_mode - AV1 Tx mode as described in section 6.8.21 "TX mode
3284 enum v4l2_av1_tx_mode {
3313 * struct v4l2_ctrl_av1_frame - Represents an AV1 Frame Header OBU.
3327 * @flags: see V4L2_AV1_FRAME_FLAG_{}
3351 * specification (section 5.9.2 "Uncompressed header syntax"). As such, this is
3352 * only used for non-intra frames and ignored otherwise. order_hints[0] is
3356 * inter-frames. The meaning of this array is the same as in the specification.
3373 __u32 flags; member
3374 enum v4l2_av1_frame_type frame_type;
3377 enum v4l2_av1_interpolation_filter interpolation_filter;
3378 enum v4l2_av1_tx_mode tx_mode;
3401 * struct v4l2_ctrl_av1_film_grain - AV1 Film Grain parameters.
3403 * Film grain parameters as specified by section 6.8.20 of the AV1 Specification.
3405 * @flags: see V4L2_AV1_FILM_GRAIN_{}.
3408 * @grain_seed: specifies the starting value for the pseudo-random numbers used
3412 * @num_y_points: specifies the number of points for the piece-wise linear
3414 * @point_y_value: represents the x (luma value) coordinate for the i-th point
3419 * @point_y_scaling: represents the scaling (output) value for the i-th point
3421 * @num_cb_points: specifies the number of points for the piece-wise linear
3423 * @point_cb_value: represents the x coordinate for the i-th point of the
3424 * piece-wise linear scaling function for cb component. The values are signaled
3426 * @point_cb_scaling: represents the scaling (output) value for the i-th point
3428 * @num_cr_points: specifies represents the number of points for the piece-wise
3430 * @point_cr_value: represents the x coordinate for the i-th point of the
3431 * piece-wise linear scaling function for cr component. The values are signaled
3433 * @point_cr_scaling: represents the scaling (output) value for the i-th point
3439 * @ar_coeff_lag: specifies the number of auto-regressive coefficients for luma
3441 * @ar_coeffs_y_plus_128: specifies auto-regressive coefficients used for the Y
3443 * @ar_coeffs_cb_plus_128: specifies auto-regressive coefficients used for the U
3445 * @ar_coeffs_cr_plus_128: specifies auto-regressive coefficients used for the V
3447 * @ar_coeff_shift_minus_6: specifies the range of the auto-regressive
3449 * auto-regressive coefficients of [-2, 2), [-1, 1), [-0.5, 0.5) and [-0.25,
3466 __u8 flags; member
3494 /* MPEG-compression definitions kept for backwards compatibility */