STRUCT V4L2_CTRL_FWHT_PARAMS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ struct v4l2_ctrl_fwht_params(9) πŸ¦‹

okay bestie, welcome to the Kernel API Manual β€” this is the page for struct v4l2_ctrl_fwht_params, with that struct v4l2_..._fwht_params(9) header/footer shorthand living rent-free in the margins πŸ’…

✨ NAME ✨

struct v4l2_ctrl_fwht_params β€” FWHT parameters. that's the name, that's the vibe, and we're obsessed 🫢

🌸 SYNOPSIS 🌸

here's the exact shape of it, no cap:

struct v4l2_ctrl_fwht_params {
    __u64 backward_ref_ts;
    __u32 version;
    __u32 width;
    __u32 height;
    __u32 flags;
    __u32 colorspace;
    __u32 xfer_func;
    __u32 ycbcr_enc;
    __u32 quantization;
};

πŸŽ€ Members πŸŽ€

member by member, bestie β€” no skipping:

  • backward_ref_ts β€” timestamp of the V4L2 capture buffer to use as reference. The timestamp refers to the timestamp field in struct v4l2_buffer. Use v4l2_timeval_to_ns to convert the struct timeval to a __u64. literally the reference-buffer timestamp situation ✨
  • version β€” must be V4L2_FWHT_VERSION. no substitutions, periodt.
  • width β€” width of frame.
  • height β€” height of frame.
  • flags β€” FWHT flags (see V4L2_FWHT_FL_*). flag lore goes here πŸ”₯
  • colorspace β€” the colorspace (enum v4l2_colorspace).
  • xfer_func β€” the transfer function (enum v4l2_xfer_func).
  • ycbcr_enc β€” the Y'CbCr encoding (enum v4l2_ycbcr_encoding).
  • quantization β€” the quantization (enum v4l2_quantization).

πŸ’– SEE ALSO πŸ’–

Kernel file: ./include/uapi/linux/v4l2-controls.h

and now the whole extended cinematic universe, every single one:

  • enum v4l2_mpeg_video_av1_profile(9)
  • enum v4l2_mpeg_video_av1_level(9)
  • enum v4l2_stateless_h264_decode_mode(9)
  • enum v4l2_stateless_h264_start_code(9)
  • struct v4l2_ctrl_h264_sps(9)
  • struct v4l2_ctrl_h264_pps(9)
  • struct v4l2_ctrl_h264_scaling_matrix(9)
  • struct v4l2_ctrl_h264_pred_weights(9)
  • struct v4l2_h264_reference(9)
  • struct v4l2_ctrl_h264_slice_params(9)
  • struct v4l2_h264_dpb_entry(9)
  • struct v4l2_ctrl_h264_decode_params(9)
  • struct v4l2_vp8_segment(9)
  • struct v4l2_vp8_loop_filter(9)
  • struct v4l2_vp8_quantization(9)
  • struct v4l2_vp8_entropy(9)
  • struct v4l2_vp8_entropy_coder_state(9)
  • struct v4l2_ctrl_vp8_frame(9)
  • struct v4l2_ctrl_mpeg2_sequence(9)
  • struct v4l2_ctrl_mpeg2_picture(9)
  • struct v4l2_ctrl_mpeg2_quantisation(9)
  • struct v4l2_ctrl_hevc_sps(9)
  • struct v4l2_ctrl_hevc_pps(9)
  • struct v4l2_hevc_dpb_entry(9)
  • struct v4l2_hevc_pred_weight_table(9)
  • struct v4l2_ctrl_hevc_slice_params(9)
  • struct v4l2_ctrl_hevc_decode_params(9)
  • struct v4l2_ctrl_hevc_scaling_matrix(9)
  • struct v4l2_vp9_loop_filter(9)
  • struct v4l2_vp9_quantization(9)
  • struct v4l2_vp9_segmentation(9)
  • struct v4l2_ctrl_vp9_frame(9)
  • struct v4l2_vp9_mv_probs(9)
  • struct v4l2_ctrl_vp9_compressed_hdr(9)
  • struct v4l2_ctrl_av1_sequence(9)
  • struct v4l2_ctrl_av1_tile_group_entry(9)
  • enum v4l2_av1_warp_model(9)
  • enum v4l2_av1_reference_frame(9)
  • struct v4l2_av1_global_motion(9)
  • enum v4l2_av1_frame_restoration_type(9)
  • struct v4l2_av1_loop_restoration(9)
  • struct v4l2_av1_cdef(9)
  • enum v4l2_av1_segment_feature(9)
  • struct v4l2_av1_segmentation(9)
  • struct v4l2_av1_loop_filter(9)
  • struct v4l2_av1_quantization(9)
  • struct v4l2_av1_tile_info(9)
  • enum v4l2_av1_frame_type(9)
  • enum v4l2_av1_interpolation_filter(9)
  • enum v4l2_av1_tx_mode(9)
  • struct v4l2_ctrl_av1_frame(9)
  • struct v4l2_ctrl_av1_film_grain(9)

xoxo, your Kernel API Manual bestie 🫢 β€” source: ./include/uapi/linux, date: October 2026, and the footer title is still struct v4l2_..._fwht_params(9) for the vibes πŸ’…βœ¨

πŸ“¦ where this page comes from