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
225 /* MPEG-class control IDs */
234 enum v4l2_mpeg_stream_type {
235 V4L2_MPEG_STREAM_TYPE_MPEG2_PS = 0, /* MPEG-2 program stream */
236 V4L2_MPEG_STREAM_TYPE_MPEG2_TS = 1, /* MPEG-2 transport stream */
237 V4L2_MPEG_STREAM_TYPE_MPEG1_SS = 2, /* MPEG-1 system stream */
238 V4L2_MPEG_STREAM_TYPE_MPEG2_DVD = 3, /* MPEG-2 DVD-compatible stream */
239 V4L2_MPEG_STREAM_TYPE_MPEG1_VCD = 4, /* MPEG-1 VCD-compatible stream */
240 V4L2_MPEG_STREAM_TYPE_MPEG2_SVCD = 5, /* MPEG-2 SVCD-compatible stream */
249 enum v4l2_mpeg_stream_vbi_fmt {
256 enum v4l2_mpeg_audio_sampling_freq {
262 enum v4l2_mpeg_audio_encoding {
270 enum v4l2_mpeg_audio_l1_bitrate {
287 enum v4l2_mpeg_audio_l2_bitrate {
304 enum v4l2_mpeg_audio_l3_bitrate {
321 enum v4l2_mpeg_audio_mode {
328 enum v4l2_mpeg_audio_mode_extension {
335 enum v4l2_mpeg_audio_emphasis {
341 enum v4l2_mpeg_audio_crc {
348 enum v4l2_mpeg_audio_ac3_bitrate {
370 enum v4l2_mpeg_audio_dec_playback {
382 enum v4l2_mpeg_video_encoding {
388 enum v4l2_mpeg_video_aspect {
399 enum v4l2_mpeg_video_bitrate_mode {
414 enum v4l2_mpeg_video_header_mode {
424 enum v4l2_mpeg_video_multi_slice_mode {
450 enum v4l2_mpeg_video_intra_refresh_period_type {
455 /* CIDs for the MPEG-2 Part 2 (H.262) codec */
457 enum v4l2_mpeg_video_mpeg2_level {
464 enum v4l2_mpeg_video_mpeg2_profile {
473 /* CIDs for the FWHT codec as used by the vicodec driver. */
490 enum v4l2_mpeg_video_h264_entropy_mode {
496 enum v4l2_mpeg_video_h264_level {
521 enum v4l2_mpeg_video_h264_loop_filter_mode {
527 enum v4l2_mpeg_video_h264_profile {
551 enum v4l2_mpeg_video_h264_vui_sar_idc {
574 enum v4l2_mpeg_video_h264_sei_fp_arrangement_type {
584 enum v4l2_mpeg_video_h264_fmo_map_type {
595 enum v4l2_mpeg_video_h264_fmo_change_dir {
605 enum v4l2_mpeg_video_h264_hierarchical_coding_type {
632 enum v4l2_mpeg_video_mpeg4_level {
643 enum v4l2_mpeg_video_mpeg4_profile {
654 * as that class is already handling other video compression standards
657 enum v4l2_vp8_num_partitions {
665 enum v4l2_vp8_num_ref_frames {
674 enum v4l2_vp8_golden_frame_sel {
684 enum v4l2_mpeg_video_vp8_profile {
693 enum v4l2_mpeg_video_vp9_profile {
700 enum v4l2_mpeg_video_vp9_level {
726 enum v4l2_mpeg_video_hevc_hier_coding_type {
739 enum v4l2_mpeg_video_hevc_profile {
745 enum v4l2_mpeg_video_hevc_level {
762 enum v4l2_mpeg_video_hevc_tier {
768 enum v4l2_cid_mpeg_video_hevc_loop_filter_mode {
776 enum v4l2_cid_mpeg_video_hevc_refresh_type {
793 enum v4l2_cid_mpeg_video_hevc_size_of_length_field {
810 enum v4l2_mpeg_video_frame_skip_mode {
828 * enum v4l2_mpeg_video_av1_profile - AV1 profiles
839 enum v4l2_mpeg_video_av1_profile {
847 * enum v4l2_mpeg_video_av1_level - AV1 levels
876 enum v4l2_mpeg_video_av1_level {
910 /* MPEG-class control IDs specific to the CX2341x driver as defined by V4L2 */
913 enum v4l2_mpeg_cx2341x_video_spatial_filter_mode {
919 enum v4l2_mpeg_cx2341x_video_luma_spatial_filter_type {
927 enum v4l2_mpeg_cx2341x_video_chroma_spatial_filter_type {
932 enum v4l2_mpeg_cx2341x_video_temporal_filter_mode {
938 enum v4l2_mpeg_cx2341x_video_median_filter_type {
951 /* MPEG-class control IDs specific to the Samsung MFC 5.1 driver as defined by V4L2 */
957 enum v4l2_mpeg_mfc51_video_frame_skip_mode {
963 enum v4l2_mpeg_mfc51_video_force_frame_type {
984 enum v4l2_exposure_auto_type {
1017 enum v4l2_auto_n_preset_white_balance {
1035 enum v4l2_iso_sensitivity_auto_type {
1041 enum v4l2_exposure_metering {
1049 enum v4l2_scene_mode {
1080 enum v4l2_auto_focus_range {
1134 enum v4l2_preemphasis {
1149 enum v4l2_flash_led_mode {
1156 enum v4l2_flash_strobe_source {
1185 /* JPEG-class control IDs */
1191 enum v4l2_jpeg_chroma_subsampling {
1236 /* DV-class control IDs defined by V4L2 */
1244 enum v4l2_dv_tx_mode {
1249 enum v4l2_dv_rgb_range {
1256 enum v4l2_dv_it_content_type {
1272 enum v4l2_deemphasis {
1301 /* Detection-class control IDs defined by V4L2 */
1306 enum v4l2_detect_md_mode {
1323 * enum v4l2_stateless_h264_decode_mode - Decoding mode
1338 enum v4l2_stateless_h264_decode_mode {
1345 * enum v4l2_stateless_h264_start_code - Start code
1351 * (legal start codes can be 3-bytes 0x000001 or 4-bytes 0x00000001).
1355 enum v4l2_stateless_h264_start_code {
1376 ((sps)->profile_idc == 100 || (sps)->profile_idc == 110 || \
1377 (sps)->profile_idc == 122 || (sps)->profile_idc == 244 || \
1378 (sps)->profile_idc == 44 || (sps)->profile_idc == 83 || \
1379 (sps)->profile_idc == 86 || (sps)->profile_idc == 118 || \
1380 (sps)->profile_idc == 128 || (sps)->profile_idc == 138 || \
1381 (sps)->profile_idc == 139 || (sps)->profile_idc == 134 || \
1382 (sps)->profile_idc == 135)
1386 * struct v4l2_ctrl_h264_sps - H264 sequence parameter set
1389 * sequence parameter set syntax as specified by the H264 specification.
1408 * @flags: see V4L2_H264_SPS_FLAG_{}.
1428 __u32 flags; member
1442 * struct v4l2_ctrl_h264_pps - H264 picture parameter set
1445 * structure match the picture parameter set syntax as specified
1449 * has a specific meaning. This flag should be set if a non-flat
1452 * to pass the values of the non-flat matrices.
1464 * @flags: see V4L2_H264_PPS_FLAG_{}.
1477 __u16 flags; member
1482 * struct v4l2_ctrl_h264_scaling_matrix - H264 scaling matrices
1494 * matrices as per the H264 specification, see table 7-2 "Assignment
1496 * fall-back rule".
1511 ((((pps)->flags & V4L2_H264_PPS_FLAG_WEIGHTED_PRED) && \
1512 ((slice)->slice_type == V4L2_H264_SLICE_TYPE_P || \
1513 (slice)->slice_type == V4L2_H264_SLICE_TYPE_SP)) || \
1514 ((pps)->weighted_bipred_idc == 1 && \
1515 (slice)->slice_type == V4L2_H264_SLICE_TYPE_B))
1519 * struct v4l2_ctrl_h264_pred_weights - Prediction weight table
1548 * struct v4l2_h264_reference - H264 picture reference
1560 * Maximum DPB size, as specified by section 'A.3.1 Level limits
1568 * struct v4l2_ctrl_h264_slice_params - H264 slice parameters
1571 * as non-invariant for the slices in a given frame.
1575 * on frame-based decoders, where slice header parsing is done by the
1597 * @ref_pic_list0: reference picture list 0 after applying the per-slice modifications.
1598 * @ref_pic_list1: reference picture list 1 after applying the per-slice modifications.
1599 * @flags: see V4L2_H264_SLICE_FLAG_{}.
1621 __u32 flags; member
1630 * struct v4l2_h264_dpb_entry - H264 decoded picture buffer entry
1632 * @reference_ts: timestamp of the V4L2 capture buffer to use as reference.
1644 * @flags: see V4L2_H264_DPB_ENTRY_FLAG_{}.
1654 __u32 flags; member
1665 * struct v4l2_ctrl_h264_decode_params - H264 decoding parameters
1683 * @flags: see V4L2_H264_DECODE_PARAM_FLAG_{}.
1701 __u32 flags; member
1712 /* Set if this is a bottom-first (NTSC) interlaced format */
1736 /* A 4-values flag - the number of components - 1 */
1740 /* A 4-values flag - the pixel encoding type */
1749 * struct v4l2_ctrl_fwht_params - FWHT parameters
1751 * @backward_ref_ts: timestamp of the V4L2 capture buffer to use as reference.
1757 * @flags: FWHT flags (see V4L2_FWHT_FL_*).
1758 * @colorspace: the colorspace (enum v4l2_colorspace).
1759 * @xfer_func: the transfer function (enum v4l2_xfer_func).
1760 * @ycbcr_enc: the Y'CbCr encoding (enum v4l2_ycbcr_encoding).
1761 * @quantization: the quantization (enum v4l2_quantization).
1768 __u32 flags; member
1783 * struct v4l2_vp8_segment - VP8 segment-based adjustments parameters
1789 * @flags: see V4L2_VP8_SEGMENT_FLAG_{}.
1791 * This structure contains segment-based adjustments related parameters.
1793 * and section '9.3. Segment-Based Adjustments' of the VP8 specification
1801 __u32 flags; member
1809 * struct v4l2_vp8_loop_filter - VP8 loop filter parameters
1816 * @flags: see V4L2_VP8_LF_{}.
1829 __u32 flags; member
1833 * struct v4l2_vp8_quantization - VP8 quantizattion indices
1862 * struct v4l2_vp8_entropy - VP8 update probabilities
1865 * @y_mode_probs: luma intra-prediction probabilities.
1866 * @uv_mode_probs: chroma intra-prediction probabilities.
1884 * struct v4l2_vp8_entropy_coder_state - VP8 boolean coder state
1891 * This structure contains the state for the boolean coder, as
1909 (!!((hdr)->flags & V4L2_VP8_FRAME_FLAG_KEY_FRAME))
1913 * struct v4l2_ctrl_vp8_frame - VP8 frame parameters
1938 * @flags: see V4L2_VP8_FRAME_FLAG_{}.
1968 __u64 flags; member
1971 /* Stateless MPEG-2 controls */
1977 * struct v4l2_ctrl_mpeg2_sequence - MPEG-2 sequence header
1980 * extension syntaxes as specified by the MPEG-2 specification.
1984 * as described in section 6.3.3 "Sequence header".
1992 * @profile_and_level_indication: see MPEG-2 specification.
1993 * @chroma_format: see MPEG-2 specification.
1994 * @flags: see V4L2_MPEG2_SEQ_FLAG_{}.
2002 __u8 flags; member
2025 * struct v4l2_ctrl_mpeg2_picture - MPEG-2 picture header
2028 * coding extension syntaxes as specified by the MPEG-2 specification.
2030 * @backward_ref_ts: timestamp of the V4L2 capture buffer to use as
2032 * @forward_ref_ts: timestamp of the V4L2 capture buffer to use as
2036 * @flags: see V4L2_MPEG2_PIC_FLAG_{}.
2037 * @f_code: see MPEG-2 specification.
2038 * @picture_coding_type: see MPEG-2 specification.
2040 * @intra_dc_precision: see MPEG-2 specification.
2046 __u32 flags; member
2056 * struct v4l2_ctrl_mpeg2_quantisation - MPEG-2 quantisation
2058 * Quantisation matrices as specified by section 6.3.7
2062 * for intra-coded frames, in zigzag scanning order. It is relevant
2064 * by the chroma-specific matrix for non-4:2:0 YUV formats.
2066 * for non-intra-coded frames, in zigzag scanning order. It is relevant
2068 * by the chroma-specific matrix for non-4:2:0 YUV formats.
2070 * for the chominance component of intra-coded frames, in zigzag scanning
2073 * for the chrominance component of non-intra-coded frames, in zigzag scanning
2092 enum v4l2_stateless_hevc_decode_mode {
2097 enum v4l2_stateless_hevc_start_code {
2117 * struct v4l2_ctrl_hevc_sps - ITU-T Rec. H.265: Sequence parameter set
2170 * @num_long_term_ref_pics_sps: specifies the number of candidate long-term
2174 * of temporal sub-layers
2176 * @flags: see V4L2_HEVC_SPS_FLAG_{}
2205 __u64 flags; member
2231 * struct v4l2_ctrl_hevc_pps - ITU-T Rec. H.265: Picture parameter set
2265 * @flags: see V4L2_HEVC_PPS_FLAG_{}
2284 __u64 flags; member
2306 * struct v4l2_hevc_dpb_entry - HEVC decoded picture buffer entry
2308 * @timestamp: timestamp of the V4L2 capture buffer to use as reference.
2309 * @flags: long term flag for the reference frame
2316 __u8 flags; member
2323 * struct v4l2_hevc_pred_weight_table - HEVC weighted prediction parameters
2374 * struct v4l2_ctrl_hevc_slice_params - HEVC slice parameters
2376 * This control is a dynamically sized 1-dimensional array,
2408 * @pic_struct: indicates whether a picture should be displayed as a frame or as one or
2413 * @ref_idx_l0: the list of L0 reference elements as indices in the DPB
2414 * @ref_idx_l1: the list of L1 reference elements as indices in the DPB
2415 * @short_term_ref_pic_set_size: specifies the size of short-term reference
2417 * @long_term_ref_pic_set_size: specifies the size of long-term reference
2419 * @pred_weight_table: the prediction weight coefficients for inter-picture
2422 * @flags: see V4L2_HEVC_SLICE_PARAMS_FLAG_{}
2429 /* ISO/IEC 23008-2, ITU-T Rec. H.265: NAL unit header */
2433 /* ISO/IEC 23008-2, ITU-T Rec. H.265: General slice segment header */
2450 /* ISO/IEC 23008-2, ITU-T Rec. H.265: Picture timing SEI message */
2454 /* ISO/IEC 23008-2, ITU-T Rec. H.265: General slice segment header */
2461 /* ISO/IEC 23008-2, ITU-T Rec. H.265: Weighted prediction parameter */
2465 __u64 flags; member
2473 * struct v4l2_ctrl_hevc_decode_params - HEVC decode parameters
2476 * @short_term_ref_pic_set_size: specifies the size of short-term reference
2478 * @long_term_ref_pic_set_size: specifies the size of long-term reference
2481 * @num_poc_st_curr_before: the number of reference pictures in the short-term
2483 * @num_poc_st_curr_after: the number of reference pictures in the short-term
2485 * @num_poc_lt_curr: the number of reference pictures in the long-term set
2491 * @num_delta_pocs_of_ref_rps_idx: same as the derived value NumDeltaPocs[RefRpsIdx],
2495 * @dpb: the decoded picture buffer, for meta-data about reference frames
2496 * @flags: see V4L2_HEVC_DECODE_PARAM_FLAG_{}
2512 __u64 flags; member
2516 * struct v4l2_ctrl_hevc_scaling_matrix - HEVC scaling lists parameters
2586 * struct v4l2_vp9_loop_filter - VP9 loop filter parameters
2596 * @flags: combination of V4L2_VP9_LOOP_FILTER_FLAG_{} flags.
2607 __u8 flags; member
2612 * struct v4l2_vp9_quantization - VP9 quantization parameters
2647 * struct v4l2_vp9_segmentation - VP9 segmentation parameters
2650 * the feature is enabled. The array shall be indexed with segment number as
2651 * the first dimension (0..7) and one of V4L2_VP9_SEG_{} as the second dimension.
2656 * Segment-ID. See '5.15. Segmentation map' section of the VP9 specification
2659 * Predicted-Segment-ID. See '6.4.14. Get segment id syntax' section of :ref:`vp9`
2661 * @flags: combination of V4L2_VP9_SEGMENTATION_FLAG_{} flags.
2672 __u8 flags; member
2709 * struct v4l2_ctrl_vp9_frame - VP9 frame decoding control
2714 * @flags: combination of V4L2_VP9_FRAME_FLAG_{} flags.
2756 __u32 flags; member
2781 * struct v4l2_vp9_mv_probs - VP9 Motion vector probability updates
2817 * struct v4l2_ctrl_vp9_compressed_hdr - VP9 probability updates control
2826 * @is_inter: is inter-block probability updates.
2835 * This structure holds the probabilities update as parsed in the compressed
2904 * struct v4l2_ctrl_av1_sequence - AV1 Sequence
2909 * @flags: See V4L2_AV1_SEQUENCE_FLAG_{}.
2914 * @bit_depth: the bitdepth to use for the sequence as described in section
2923 __u32 flags; member
2934 * struct v4l2_ctrl_av1_tile_group_entry - AV1 Tile Group entry
2959 * enum v4l2_av1_warp_model - AV1 Warp Model as described in section 3
2968 enum v4l2_av1_warp_model {
2976 * enum v4l2_av1_reference_frame - AV1 reference frames
2987 enum v4l2_av1_reference_frame {
3004 * struct v4l2_av1_global_motion - AV1 Global Motion parameters as described in
3007 * @flags: A bitfield containing the flags per reference frame. See
3010 * @params: this field has the same meaning as "gm_params" in the AV1
3020 __u8 flags[V4L2_AV1_TOTAL_REFS_PER_FRAME]; member
3021 enum v4l2_av1_warp_model type[V4L2_AV1_TOTAL_REFS_PER_FRAME];
3028 * enum v4l2_av1_frame_restoration_type - AV1 Frame Restoration Type
3034 enum v4l2_av1_frame_restoration_type {
3045 * struct v4l2_av1_loop_restoration - AV1 Loop Restauration as described in
3048 * @flags: See V4L2_AV1_LOOP_RESTORATION_FLAG_{}.
3053 * plane. See enum v4l2_av1_frame_restoration_type.
3058 __u8 flags; member
3062 enum v4l2_av1_frame_restoration_type frame_restoration_type[V4L2_AV1_NUM_PLANES_MAX];
3067 * struct v4l2_av1_cdef - AV1 CDEF params semantics as described in section
3094 * enum v4l2_av1_segment_feature - AV1 segment features as described in section
3105 enum v4l2_av1_segment_feature {
3117 * struct v4l2_av1_segmentation - AV1 Segmentation params as defined in section
3120 * @flags: see V4L2_AV1_SEGMENTATION_FLAG_{}.
3130 __u8 flags; member
3142 * struct v4l2_av1_loop_filter - AV1 Loop filter params as defined in section
3146 * @flags: see V4L2_AV1_LOOP_FILTER_FLAG_{}
3165 __u8 flags; member
3178 * struct v4l2_av1_quantization - AV1 Quantization params as defined in section
3181 * @flags: see V4L2_AV1_QUANTIZATION_FLAG_{}
3183 * coefficients and as the base value for the other quantizers.
3199 __u8 flags; member
3215 * struct v4l2_av1_tile_info - AV1 Tile info as defined in section 6.8.14 "Tile
3218 * @flags: see V4L2_AV1_TILE_INFO_FLAG_{}
3235 __u8 flags; member
3248 * enum v4l2_av1_frame_type - AV1 Frame Type
3252 * @V4L2_AV1_INTRA_ONLY_FRAME: Intra-only frame
3255 enum v4l2_av1_frame_type {
3263 * enum v4l2_av1_interpolation_filter - AV1 interpolation filter types
3275 enum v4l2_av1_interpolation_filter {
3284 * enum v4l2_av1_tx_mode - AV1 Tx mode as described in section 6.8.21 "TX mode
3293 enum v4l2_av1_tx_mode {
3322 * struct v4l2_ctrl_av1_frame - Represents an AV1 Frame Header OBU.
3336 * @flags: see V4L2_AV1_FRAME_FLAG_{}
3360 * specification (section 5.9.2 "Uncompressed header syntax"). As such, this is
3361 * only used for non-intra frames and ignored otherwise. order_hints[0] is
3365 * inter-frames. The meaning of this array is the same as in the specification.
3382 __u32 flags; member
3383 enum v4l2_av1_frame_type frame_type;
3386 enum v4l2_av1_interpolation_filter interpolation_filter;
3387 enum v4l2_av1_tx_mode tx_mode;
3410 * struct v4l2_ctrl_av1_film_grain - AV1 Film Grain parameters.
3412 * Film grain parameters as specified by section 6.8.20 of the AV1 Specification.
3414 * @flags: see V4L2_AV1_FILM_GRAIN_{}.
3417 * @grain_seed: specifies the starting value for the pseudo-random numbers used
3421 * @num_y_points: specifies the number of points for the piece-wise linear
3423 * @point_y_value: represents the x (luma value) coordinate for the i-th point
3428 * @point_y_scaling: represents the scaling (output) value for the i-th point
3430 * @num_cb_points: specifies the number of points for the piece-wise linear
3432 * @point_cb_value: represents the x coordinate for the i-th point of the
3433 * piece-wise linear scaling function for cb component. The values are signaled
3435 * @point_cb_scaling: represents the scaling (output) value for the i-th point
3437 * @num_cr_points: specifies represents the number of points for the piece-wise
3439 * @point_cr_value: represents the x coordinate for the i-th point of the
3440 * piece-wise linear scaling function for cr component. The values are signaled
3442 * @point_cr_scaling: represents the scaling (output) value for the i-th point
3448 * @ar_coeff_lag: specifies the number of auto-regressive coefficients for luma
3450 * @ar_coeffs_y_plus_128: specifies auto-regressive coefficients used for the Y
3452 * @ar_coeffs_cb_plus_128: specifies auto-regressive coefficients used for the U
3454 * @ar_coeffs_cr_plus_128: specifies auto-regressive coefficients used for the V
3456 * @ar_coeff_shift_minus_6: specifies the range of the auto-regressive
3458 * auto-regressive coefficients of [-2, 2), [-1, 1), [-0.5, 0.5) and [-0.25,
3475 __u8 flags; member
3503 /* MPEG-compression definitions kept for backwards compatibility */