ENUM V4L2_STATELESS_H264_START_CODE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… enum v4l2_stateless_h264_start_code(9) β€” from the Kernel API Manual, bestie πŸŽ€

okay so we're in the Kernel API Manual today and the star of the show is enum v4l2_stateless_h264_start_code, which is literally just about the start code. that's it. that's the whole vibe. ✨


✨ NAME ✨

enum v4l2_stateless_h264_start_code β€” start code. yes, that's the entire description, and honestly? iconic minimalism. 🫢


🌸 SYNOPSIS 🌸

here's the whole enum, exactly as it lives, no edits no notes:

enum v4l2_stateless_h264_start_code {
    V4L2_STATELESS_H264_START_CODE_NONE ,
    V4L2_STATELESS_H264_START_CODE_ANNEX_B

};

two constants. that's the roster. small but mighty πŸ’–


πŸ¦‹ Constants πŸ¦‹

  • V4L2_STATELESS_H264_START_CODE_NONE β€” so in this mode, slices get passed to the driver with no start code at all. zero. nada. raw slices, main character energy, the driver gets them bare πŸ’…
  • V4L2_STATELESS_H264_START_CODE_ANNEX_B β€” here the slices get passed to the driver with an Annex B start code prefix. and bestie, "legal start codes" can be either the 3-bytes 0x000001 or the 4-bytes 0x00000001, both valid, both slaying. this mode is typically the one supported by device drivers that parse the start code in hardware πŸ”₯

πŸ‘‘ SEE ALSO πŸ‘‘

if you wanna go deeper (and you know you do), the kernel file is ./include/uapi/linux/v4l2-controls.h, and there's a whole friend group of enums and structs waiting for you:

  • enum v4l2_mpeg_video_av1_profile(9)
  • enum v4l2_mpeg_video_av1_level(9)
  • enum v4l2_stateless_h264_decode_mode(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_ctrl_fwht_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)

like, that's the whole extended universe fr fr 🌈⭐


and that's the page!! 🧚 mwah πŸ’œ

one lil sign-off bestie: this whole thing comes from ./include/uapi/linux, dated October 2026, and honestly? a whole era. πŸ’€πŸŒΈ

πŸ“¦ where this page comes from