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 {
903 /* MPEG-class control IDs specific to the CX2341x driver as defined by V4L2 */
906 enum v4l2_mpeg_cx2341x_video_spatial_filter_mode {
912 enum v4l2_mpeg_cx2341x_video_luma_spatial_filter_type {
920 enum v4l2_mpeg_cx2341x_video_chroma_spatial_filter_type {
925 enum v4l2_mpeg_cx2341x_video_temporal_filter_mode {
931 enum v4l2_mpeg_cx2341x_video_median_filter_type {
944 /* MPEG-class control IDs specific to the Samsung MFC 5.1 driver as defined by V4L2 */
950 enum v4l2_mpeg_mfc51_video_frame_skip_mode {
956 enum v4l2_mpeg_mfc51_video_force_frame_type {
977 enum v4l2_exposure_auto_type {
1010 enum v4l2_auto_n_preset_white_balance {
1028 enum v4l2_iso_sensitivity_auto_type {
1034 enum v4l2_exposure_metering {
1042 enum v4l2_scene_mode {
1073 enum v4l2_auto_focus_range {
1127 enum v4l2_preemphasis {
1142 enum v4l2_flash_led_mode {
1149 enum v4l2_flash_strobe_source {
1178 /* JPEG-class control IDs */
1184 enum v4l2_jpeg_chroma_subsampling {
1229 /* DV-class control IDs defined by V4L2 */
1237 enum v4l2_dv_tx_mode {
1242 enum v4l2_dv_rgb_range {
1249 enum v4l2_dv_it_content_type {
1265 enum v4l2_deemphasis {
1294 /* Detection-class control IDs defined by V4L2 */
1299 enum v4l2_detect_md_mode {
1316 * enum v4l2_stateless_h264_decode_mode - Decoding mode
1331 enum v4l2_stateless_h264_decode_mode {
1338 * enum v4l2_stateless_h264_start_code - Start code
1344 * (legal start codes can be 3-bytes 0x000001 or 4-bytes 0x00000001).
1348 enum v4l2_stateless_h264_start_code {
1369 ((sps)->profile_idc == 100 || (sps)->profile_idc == 110 || \
1370 (sps)->profile_idc == 122 || (sps)->profile_idc == 244 || \
1371 (sps)->profile_idc == 44 || (sps)->profile_idc == 83 || \
1372 (sps)->profile_idc == 86 || (sps)->profile_idc == 118 || \
1373 (sps)->profile_idc == 128 || (sps)->profile_idc == 138 || \
1374 (sps)->profile_idc == 139 || (sps)->profile_idc == 134 || \
1375 (sps)->profile_idc == 135)
1379 * struct v4l2_ctrl_h264_sps - H264 sequence parameter set
1382 * sequence parameter set syntax as specified by the H264 specification.
1401 * @flags: see V4L2_H264_SPS_FLAG_{}.
1421 __u32 flags; member
1435 * struct v4l2_ctrl_h264_pps - H264 picture parameter set
1438 * structure match the picture parameter set syntax as specified
1442 * has a specific meaning. This flag should be set if a non-flat
1445 * to pass the values of the non-flat matrices.
1457 * @flags: see V4L2_H264_PPS_FLAG_{}.
1470 __u16 flags; member
1475 * struct v4l2_ctrl_h264_scaling_matrix - H264 scaling matrices
1487 * matrices as per the H264 specification, see table 7-2 "Assignment
1489 * fall-back rule".
1504 ((((pps)->flags & V4L2_H264_PPS_FLAG_WEIGHTED_PRED) && \
1505 ((slice)->slice_type == V4L2_H264_SLICE_TYPE_P || \
1506 (slice)->slice_type == V4L2_H264_SLICE_TYPE_SP)) || \
1507 ((pps)->weighted_bipred_idc == 1 && \
1508 (slice)->slice_type == V4L2_H264_SLICE_TYPE_B))
1512 * struct v4l2_ctrl_h264_pred_weights - Prediction weight table
1541 * struct v4l2_h264_reference - H264 picture reference
1553 * Maximum DPB size, as specified by section 'A.3.1 Level limits
1561 * struct v4l2_ctrl_h264_slice_params - H264 slice parameters
1564 * as non-invariant for the slices in a given frame.
1568 * on frame-based decoders, where slice header parsing is done by the
1590 * @ref_pic_list0: reference picture list 0 after applying the per-slice modifications.
1591 * @ref_pic_list1: reference picture list 1 after applying the per-slice modifications.
1592 * @flags: see V4L2_H264_SLICE_FLAG_{}.
1614 __u32 flags; member
1623 * struct v4l2_h264_dpb_entry - H264 decoded picture buffer entry
1625 * @reference_ts: timestamp of the V4L2 capture buffer to use as reference.
1637 * @flags: see V4L2_H264_DPB_ENTRY_FLAG_{}.
1647 __u32 flags; member
1658 * struct v4l2_ctrl_h264_decode_params - H264 decoding parameters
1676 * @flags: see V4L2_H264_DECODE_PARAM_FLAG_{}.
1694 __u32 flags; member
1705 /* Set if this is a bottom-first (NTSC) interlaced format */
1729 /* A 4-values flag - the number of components - 1 */
1733 /* A 4-values flag - the pixel encoding type */
1742 * struct v4l2_ctrl_fwht_params - FWHT parameters
1744 * @backward_ref_ts: timestamp of the V4L2 capture buffer to use as reference.
1750 * @flags: FWHT flags (see V4L2_FWHT_FL_*).
1751 * @colorspace: the colorspace (enum v4l2_colorspace).
1752 * @xfer_func: the transfer function (enum v4l2_xfer_func).
1753 * @ycbcr_enc: the Y'CbCr encoding (enum v4l2_ycbcr_encoding).
1754 * @quantization: the quantization (enum v4l2_quantization).
1761 __u32 flags; member
1776 * struct v4l2_vp8_segment - VP8 segment-based adjustments parameters
1782 * @flags: see V4L2_VP8_SEGMENT_FLAG_{}.
1784 * This structure contains segment-based adjustments related parameters.
1786 * and section '9.3. Segment-Based Adjustments' of the VP8 specification
1794 __u32 flags; member
1802 * struct v4l2_vp8_loop_filter - VP8 loop filter parameters
1809 * @flags: see V4L2_VP8_LF_{}.
1822 __u32 flags; member
1826 * struct v4l2_vp8_quantization - VP8 quantizattion indices
1855 * struct v4l2_vp8_entropy - VP8 update probabilities
1858 * @y_mode_probs: luma intra-prediction probabilities.
1859 * @uv_mode_probs: chroma intra-prediction probabilities.
1877 * struct v4l2_vp8_entropy_coder_state - VP8 boolean coder state
1884 * This structure contains the state for the boolean coder, as
1902 (!!((hdr)->flags & V4L2_VP8_FRAME_FLAG_KEY_FRAME))
1906 * struct v4l2_ctrl_vp8_frame - VP8 frame parameters
1931 * @flags: see V4L2_VP8_FRAME_FLAG_{}.
1961 __u64 flags; member
1964 /* Stateless MPEG-2 controls */
1970 * struct v4l2_ctrl_mpeg2_sequence - MPEG-2 sequence header
1973 * extension syntaxes as specified by the MPEG-2 specification.
1977 * as described in section 6.3.3 "Sequence header".
1985 * @profile_and_level_indication: see MPEG-2 specification.
1986 * @chroma_format: see MPEG-2 specification.
1987 * @flags: see V4L2_MPEG2_SEQ_FLAG_{}.
1995 __u8 flags; member
2018 * struct v4l2_ctrl_mpeg2_picture - MPEG-2 picture header
2021 * coding extension syntaxes as specified by the MPEG-2 specification.
2023 * @backward_ref_ts: timestamp of the V4L2 capture buffer to use as
2025 * @forward_ref_ts: timestamp of the V4L2 capture buffer to use as
2029 * @flags: see V4L2_MPEG2_PIC_FLAG_{}.
2030 * @f_code: see MPEG-2 specification.
2031 * @picture_coding_type: see MPEG-2 specification.
2033 * @intra_dc_precision: see MPEG-2 specification.
2039 __u32 flags; member
2049 * struct v4l2_ctrl_mpeg2_quantisation - MPEG-2 quantisation
2051 * Quantisation matrices as specified by section 6.3.7
2055 * for intra-coded frames, in zigzag scanning order. It is relevant
2057 * by the chroma-specific matrix for non-4:2:0 YUV formats.
2059 * for non-intra-coded frames, in zigzag scanning order. It is relevant
2061 * by the chroma-specific matrix for non-4:2:0 YUV formats.
2063 * for the chominance component of intra-coded frames, in zigzag scanning
2066 * for the chrominance component of non-intra-coded frames, in zigzag scanning
2085 enum v4l2_stateless_hevc_decode_mode {
2090 enum v4l2_stateless_hevc_start_code {
2110 * struct v4l2_ctrl_hevc_sps - ITU-T Rec. H.265: Sequence parameter set
2163 * @num_long_term_ref_pics_sps: specifies the number of candidate long-term
2167 * of temporal sub-layers
2169 * @flags: see V4L2_HEVC_SPS_FLAG_{}
2198 __u64 flags; member
2224 * struct v4l2_ctrl_hevc_pps - ITU-T Rec. H.265: Picture parameter set
2258 * @flags: see V4L2_HEVC_PPS_FLAG_{}
2277 __u64 flags; member
2299 * struct v4l2_hevc_dpb_entry - HEVC decoded picture buffer entry
2301 * @timestamp: timestamp of the V4L2 capture buffer to use as reference.
2302 * @flags: long term flag for the reference frame
2309 __u8 flags; member
2316 * struct v4l2_hevc_pred_weight_table - HEVC weighted prediction parameters
2367 * struct v4l2_ctrl_hevc_slice_params - HEVC slice parameters
2369 * This control is a dynamically sized 1-dimensional array,
2401 * @pic_struct: indicates whether a picture should be displayed as a frame or as one or
2406 * @ref_idx_l0: the list of L0 reference elements as indices in the DPB
2407 * @ref_idx_l1: the list of L1 reference elements as indices in the DPB
2408 * @short_term_ref_pic_set_size: specifies the size of short-term reference
2410 * @long_term_ref_pic_set_size: specifies the size of long-term reference
2412 * @pred_weight_table: the prediction weight coefficients for inter-picture
2415 * @flags: see V4L2_HEVC_SLICE_PARAMS_FLAG_{}
2422 /* ISO/IEC 23008-2, ITU-T Rec. H.265: NAL unit header */
2426 /* ISO/IEC 23008-2, ITU-T Rec. H.265: General slice segment header */
2443 /* ISO/IEC 23008-2, ITU-T Rec. H.265: Picture timing SEI message */
2447 /* ISO/IEC 23008-2, ITU-T Rec. H.265: General slice segment header */
2454 /* ISO/IEC 23008-2, ITU-T Rec. H.265: Weighted prediction parameter */
2458 __u64 flags; member
2466 * struct v4l2_ctrl_hevc_decode_params - HEVC decode parameters
2469 * @short_term_ref_pic_set_size: specifies the size of short-term reference
2471 * @long_term_ref_pic_set_size: specifies the size of long-term reference
2474 * @num_poc_st_curr_before: the number of reference pictures in the short-term
2476 * @num_poc_st_curr_after: the number of reference pictures in the short-term
2478 * @num_poc_lt_curr: the number of reference pictures in the long-term set
2484 * @num_delta_pocs_of_ref_rps_idx: same as the derived value NumDeltaPocs[RefRpsIdx],
2488 * @dpb: the decoded picture buffer, for meta-data about reference frames
2489 * @flags: see V4L2_HEVC_DECODE_PARAM_FLAG_{}
2505 __u64 flags; member
2509 * struct v4l2_ctrl_hevc_scaling_matrix - HEVC scaling lists parameters
2579 * struct v4l2_vp9_loop_filter - VP9 loop filter parameters
2589 * @flags: combination of V4L2_VP9_LOOP_FILTER_FLAG_{} flags.
2600 __u8 flags; member
2605 * struct v4l2_vp9_quantization - VP9 quantization parameters
2640 * struct v4l2_vp9_segmentation - VP9 segmentation parameters
2643 * the feature is enabled. The array shall be indexed with segment number as
2644 * the first dimension (0..7) and one of V4L2_VP9_SEG_{} as the second dimension.
2649 * Segment-ID. See '5.15. Segmentation map' section of the VP9 specification
2652 * Predicted-Segment-ID. See '6.4.14. Get segment id syntax' section of :ref:`vp9`
2654 * @flags: combination of V4L2_VP9_SEGMENTATION_FLAG_{} flags.
2665 __u8 flags; member
2702 * struct v4l2_ctrl_vp9_frame - VP9 frame decoding control
2707 * @flags: combination of V4L2_VP9_FRAME_FLAG_{} flags.
2749 __u32 flags; member
2774 * struct v4l2_vp9_mv_probs - VP9 Motion vector probability updates
2810 * struct v4l2_ctrl_vp9_compressed_hdr - VP9 probability updates control
2819 * @is_inter: is inter-block probability updates.
2828 * This structure holds the probabilities update as parsed in the compressed
2897 * struct v4l2_ctrl_av1_sequence - AV1 Sequence
2902 * @flags: See V4L2_AV1_SEQUENCE_FLAG_{}.
2907 * @bit_depth: the bitdepth to use for the sequence as described in section
2916 __u32 flags; member
2927 * struct v4l2_ctrl_av1_tile_group_entry - AV1 Tile Group entry
2952 * enum v4l2_av1_warp_model - AV1 Warp Model as described in section 3
2961 enum v4l2_av1_warp_model {
2969 * enum v4l2_av1_reference_frame - AV1 reference frames
2980 enum v4l2_av1_reference_frame {
2997 * struct v4l2_av1_global_motion - AV1 Global Motion parameters as described in
3000 * @flags: A bitfield containing the flags per reference frame. See
3003 * @params: this field has the same meaning as "gm_params" in the AV1
3013 __u8 flags[V4L2_AV1_TOTAL_REFS_PER_FRAME]; member
3014 enum v4l2_av1_warp_model type[V4L2_AV1_TOTAL_REFS_PER_FRAME];
3021 * enum v4l2_av1_frame_restoration_type - AV1 Frame Restoration Type
3027 enum v4l2_av1_frame_restoration_type {
3038 * struct v4l2_av1_loop_restoration - AV1 Loop Restauration as described in
3041 * @flags: See V4L2_AV1_LOOP_RESTORATION_FLAG_{}.
3046 * plane. See enum v4l2_av1_frame_restoration_type.
3051 __u8 flags; member
3055 enum v4l2_av1_frame_restoration_type frame_restoration_type[V4L2_AV1_NUM_PLANES_MAX];
3060 * struct v4l2_av1_cdef - AV1 CDEF params semantics as described in section
3087 * enum v4l2_av1_segment_feature - AV1 segment features as described in section
3098 enum v4l2_av1_segment_feature {
3110 * struct v4l2_av1_segmentation - AV1 Segmentation params as defined in section
3113 * @flags: see V4L2_AV1_SEGMENTATION_FLAG_{}.
3123 __u8 flags; member
3135 * struct v4l2_av1_loop_filter - AV1 Loop filter params as defined in section
3139 * @flags: see V4L2_AV1_LOOP_FILTER_FLAG_{}
3158 __u8 flags; member
3171 * struct v4l2_av1_quantization - AV1 Quantization params as defined in section
3174 * @flags: see V4L2_AV1_QUANTIZATION_FLAG_{}
3176 * coefficients and as the base value for the other quantizers.
3192 __u8 flags; member
3208 * struct v4l2_av1_tile_info - AV1 Tile info as defined in section 6.8.14 "Tile
3211 * @flags: see V4L2_AV1_TILE_INFO_FLAG_{}
3228 __u8 flags; member
3241 * enum v4l2_av1_frame_type - AV1 Frame Type
3245 * @V4L2_AV1_INTRA_ONLY_FRAME: Intra-only frame
3248 enum v4l2_av1_frame_type {
3256 * enum v4l2_av1_interpolation_filter - AV1 interpolation filter types
3268 enum v4l2_av1_interpolation_filter {
3277 * enum v4l2_av1_tx_mode - AV1 Tx mode as described in section 6.8.21 "TX mode
3286 enum v4l2_av1_tx_mode {
3315 * struct v4l2_ctrl_av1_frame - Represents an AV1 Frame Header OBU.
3329 * @flags: see V4L2_AV1_FRAME_FLAG_{}
3353 * specification (section 5.9.2 "Uncompressed header syntax"). As such, this is
3354 * only used for non-intra frames and ignored otherwise. order_hints[0] is
3358 * inter-frames. The meaning of this array is the same as in the specification.
3375 __u32 flags; member
3376 enum v4l2_av1_frame_type frame_type;
3379 enum v4l2_av1_interpolation_filter interpolation_filter;
3380 enum v4l2_av1_tx_mode tx_mode;
3403 * struct v4l2_ctrl_av1_film_grain - AV1 Film Grain parameters.
3405 * Film grain parameters as specified by section 6.8.20 of the AV1 Specification.
3407 * @flags: see V4L2_AV1_FILM_GRAIN_{}.
3410 * @grain_seed: specifies the starting value for the pseudo-random numbers used
3414 * @num_y_points: specifies the number of points for the piece-wise linear
3416 * @point_y_value: represents the x (luma value) coordinate for the i-th point
3421 * @point_y_scaling: represents the scaling (output) value for the i-th point
3423 * @num_cb_points: specifies the number of points for the piece-wise linear
3425 * @point_cb_value: represents the x coordinate for the i-th point of the
3426 * piece-wise linear scaling function for cb component. The values are signaled
3428 * @point_cb_scaling: represents the scaling (output) value for the i-th point
3430 * @num_cr_points: specifies represents the number of points for the piece-wise
3432 * @point_cr_value: represents the x coordinate for the i-th point of the
3433 * piece-wise linear scaling function for cr component. The values are signaled
3435 * @point_cr_scaling: represents the scaling (output) value for the i-th point
3441 * @ar_coeff_lag: specifies the number of auto-regressive coefficients for luma
3443 * @ar_coeffs_y_plus_128: specifies auto-regressive coefficients used for the Y
3445 * @ar_coeffs_cb_plus_128: specifies auto-regressive coefficients used for the U
3447 * @ar_coeffs_cr_plus_128: specifies auto-regressive coefficients used for the V
3449 * @ar_coeff_shift_minus_6: specifies the range of the auto-regressive
3451 * auto-regressive coefficients of [-2, 2), [-1, 1), [-0.5, 0.5) and [-0.25,
3468 __u8 flags; member
3496 /* MPEG-compression definitions kept for backwards compatibility */