v4l2_ctrl_type_op_equal(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– v4l2_ctrl_type_op_equal(9) β€” your Kernel API Manual bestie πŸ’–

✨ NAME ✨

okay so v4l2_ctrl_type_op_equal is literally the default v4l2_ctrl_type_ops equal callback. That’s the whole name vibe, bestie β€” no plot twist.

πŸ’… SYNOPSIS πŸ’…

bool v4l2_ctrl_type_op_equal (const struct v4l2_ctrl *ctrl , union
       v4l2_ctrl_ptr ptr1 , union v4l2_ctrl_ptr ptr2 );

🫢 ARGUMENTS 🫢

  • ctrl β€” The v4l2_ctrl pointer. Main-character pointer energy.
  • ptr1 β€” A v4l2 control value. One value in the compare duo.
  • ptr2 β€” A v4l2 control value. The other value, periodt.

🌈 RETURN 🌈

true if values are equal, otherwise false. That’s it β€” equal means true, not equal means false, no cap.

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./include/media/v4l2-ctrls.h is the home base. The whole reference squad, in original order:


xoxo bestie πŸ’‹ source/version + date sign-off: ./include/media, October 2026 β€” and v4l2_ctrl_type_op_equal(9) is officially iconic πŸ’…βœ¨

πŸ“¦ where this page comes from