sys/videoio.h: sync with Linux

Kirill A. Korinsky <[email protected]>
Newsgroups gmane.os.openbsd.tech
Message-ID <[email protected]>
tech@,

Here new small commit which need to be backported to our videoio.h

media: v4l2-controls: Add control for background detection
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=5d801b59633f6af60bb0e18d3bbb18b7b040a6d9

a trivial define, no ABI/API changes, and I think it should have no impact
on ports.

Ok?

Index: sys/sys/videoio.h
===================================================================
RCS file: /home/cvs/src/sys/sys/videoio.h,v
diff -u -p -r1.29 videoio.h
--- sys/sys/videoio.h	19 Feb 2026 20:42:45 -0000	1.29
+++ sys/sys/videoio.h	19 Jun 2026 15:23:06 -0000
@@ -577,6 +577,8 @@ enum v4l2_mpeg_video_intra_refresh_perio
 	V4L2_CID_MPEG_VIDEO_INTRA_REFRESH_PERIOD_TYPE_CYCLIC	= 1,
 };
 
+#define V4L2_CID_MPEG_VIDEO_BACKGROUND_DETECTION	(V4L2_CID_CODEC_BASE + 238)
+
 /* CIDs for the MPEG-2 Part 2 (H.262) codec */
 #define V4L2_CID_MPEG_VIDEO_MPEG2_LEVEL			(V4L2_CID_CODEC_BASE+270)
 enum v4l2_mpeg_video_mpeg2_level {


-- 
wbr, Kirill
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.