drivers/media/common/videobuf2

Videobuf2 media buffer framework

Videobuf2 is a shared in-kernel helper library that handles video frame buffer allocation, queueing, and memory management for Video4Linux2 capture and output drivers. It is not tied to any specific hardware; instead, dozens of camera, TV tuner, and codec drivers across the media subsystem rely on it to move frames between hardware and userspace.

not-a-driver conf=1.00 deploy=none replacement=none subsystem=media category=not-a-driver
100%

recommendation

This is not actually a driver directory; it is core infrastructure that the rest of the V4L2 media stack depends on. Removing or deprecating it is not on the table because doing so would break virtually every camera and video capture driver in the kernel.

repository signals

11 files
7,336 source lines
90 commits, 5y
+1,493 / −1,020 lines added / removed, 5y
29 authors, 5y
monthly commits · 2021-04-21 → 2026-04-21 · 90 total · active in 39/61 months
2021 2022 2023 2024 2025 2026 2021-04: 1 commit · +14 −0 2021-05: 0 commits · +0 −0 2021-06: 2 commits · +13 −2 2021-07: 1 commit · +22 −1 2021-08: 0 commits · +0 −0 2021-09: 8 commits · +325 −163 2021-10: 2 commits · +8 −4 2021-11: 2 commits · +16 −1 2021-12: 0 commits · +0 −0 2022-01: 1 commit · +6 −6 2022-02: 1 commit · +15 −13 2022-03: 2 commits · +15 −19 2022-04: 0 commits · +0 −0 2022-05: 1 commit · +1 −2 2022-06: 2 commits · +21 −7 2022-07: 2 commits · +12 −13 2022-08: 1 commit · +11 −11 2022-09: 0 commits · +0 −0 2022-10: 2 commits · +16 −42 2022-11: 4 commits · +32 −31 2022-12: 2 commits · +85 −85 2023-01: 2 commits · +4 −5 2023-02: 1 commit · +3 −2 2023-03: 0 commits · +0 −0 2023-04: 0 commits · +0 −0 2023-05: 1 commit · +0 −9 2023-06: 0 commits · +0 −0 2023-07: 0 commits · +0 −0 2023-08: 3 commits · +6 −4 2023-09: 0 commits · +0 −0 2023-10: 2 commits · +13 −10 2023-11: 12 commits · +399 −260 2023-12: 1 commit · +14 −14 2024-01: 2 commits · +27 −30 2024-02: 0 commits · +0 −0 2024-03: 7 commits · +192 −75 2024-04: 0 commits · +0 −0 2024-05: 1 commit · +0 −1 2024-06: 1 commit · +1 −0 2024-07: 1 commit · +1 −2 2024-08: 5 commits · +97 −73 2024-09: 2 commits · +18 −3 2024-10: 3 commits · +22 −8 2024-11: 1 commit · +15 −13 2024-12: 1 commit · +4 −4 2025-01: 0 commits · +0 −0 2025-02: 0 commits · +0 −0 2025-03: 1 commit · +5 −6 2025-04: 0 commits · +0 −0 2025-05: 1 commit · +2 −2 2025-06: 2 commits · +10 −53 2025-07: 0 commits · +0 −0 2025-08: 2 commits · +5 −9 2025-09: 0 commits · +0 −0 2025-10: 2 commits · +6 −0 2025-11: 0 commits · +0 −0 2025-12: 0 commits · +0 −0 2026-01: 0 commits · +0 −0 2026-02: 2 commits · +37 −37 2026-03: 0 commits · +0 −0 2026-04: 0 commits · +0 −0

sources

No sources cited.

codex reasoning notes (technical)

Not a driver directory: contains the videobuf2 media buffer framework/common helper library used by many V4L2 drivers, not kernel-bound hardware driver code.