drivers/media/platform/mediatek/vcodec/encoder/venc

MediaTek Vcodec hardware video encoder backend

The hardware video encoder backend for MediaTek's V4L2 codec subsystem, providing H.264 and VP8 encoding acceleration on MediaTek SoCs. It powers video capture and streaming use cases on Chromebooks and on MediaTek Genio IoT boards still being sold in 2025.

keep-annotate conf=0.77 deploy=medium replacement=none subsystem=media category=media-other
77%

recommendation

Worth keeping but documenting its niche, because this is the codec-specific encoder half of MediaTek's V4L2 video stack (H.264 and VP8 paths) and MediaTek is still shipping Genio IoT SoCs with hardware video encode in 2025. Patch traffic is light but real, with a build-warning fix landing in September 2025 and being picked up for stable backport, so the code is maintained rather than abandoned. An annotation noting which MediaTek SoC families and userspace clients (e.g. v4l2h264enc on Genio) actually exercise it would help future readers.

repository signals

2 files
1,260 source lines
6 commits, 5y
+1,268 / −8 lines added / removed, 5y
6 authors, 5y
monthly commits · 2021-04-21 → 2026-04-21 · 6 total · active in 5/61 months
2021 2022 2023 2024 2025 2026 2021-04: 0 commits · +0 −0 2021-05: 0 commits · +0 −0 2021-06: 0 commits · +0 −0 2021-07: 0 commits · +0 −0 2021-08: 0 commits · +0 −0 2021-09: 0 commits · +0 −0 2021-10: 0 commits · +0 −0 2021-11: 0 commits · +0 −0 2021-12: 0 commits · +0 −0 2022-01: 0 commits · +0 −0 2022-02: 0 commits · +0 −0 2022-03: 0 commits · +0 −0 2022-04: 0 commits · +0 −0 2022-05: 0 commits · +0 −0 2022-06: 0 commits · +0 −0 2022-07: 0 commits · +0 −0 2022-08: 0 commits · +0 −0 2022-09: 0 commits · +0 −0 2022-10: 0 commits · +0 −0 2022-11: 0 commits · +0 −0 2022-12: 0 commits · +0 −0 2023-01: 0 commits · +0 −0 2023-02: 0 commits · +0 −0 2023-03: 0 commits · +0 −0 2023-04: 0 commits · +0 −0 2023-05: 0 commits · +0 −0 2023-06: 0 commits · +0 −0 2023-07: 1 commit · +1,255 −0 2023-08: 0 commits · +0 −0 2023-09: 0 commits · +0 −0 2023-10: 0 commits · +0 −0 2023-11: 0 commits · +0 −0 2023-12: 1 commit · +3 −2 2024-01: 0 commits · +0 −0 2024-02: 0 commits · +0 −0 2024-03: 0 commits · +0 −0 2024-04: 0 commits · +0 −0 2024-05: 0 commits · +0 −0 2024-06: 0 commits · +0 −0 2024-07: 0 commits · +0 −0 2024-08: 0 commits · +0 −0 2024-09: 1 commit · +1 −1 2024-10: 1 commit · +5 −1 2024-11: 0 commits · +0 −0 2024-12: 0 commits · +0 −0 2025-01: 0 commits · +0 −0 2025-02: 0 commits · +0 −0 2025-03: 0 commits · +0 −0 2025-04: 0 commits · +0 −0 2025-05: 0 commits · +0 −0 2025-06: 0 commits · +0 −0 2025-07: 0 commits · +0 −0 2025-08: 0 commits · +0 −0 2025-09: 0 commits · +0 −0 2025-10: 0 commits · +0 −0 2025-11: 0 commits · +0 −0 2025-12: 0 commits · +0 −0 2026-01: 0 commits · +0 −0 2026-02: 2 commits · +4 −4 2026-03: 0 commits · +0 −0 2026-04: 0 commits · +0 −0

sources

  1. spinics.net

    Upstream/stable activity reached this directory in September 2025 for a build-warning fix in venc_h264_if.c, indicating the code is still maintained rather than abandoned.

  2. spinics.net

    A 2026 stable-tree backport attempt references the 2025 encoder fix, further showing this code is still relevant enough to be considered for longterm kernels.

  3. mediatek.com

    MediaTek was still marketing new Genio SoCs with H.264/H.265 video encode capability in 2025, so Mediatek video-encode hardware remains in current-product deployment.

  4. genio-community.mediatek.com

    A late-2025 MediaTek Genio community thread discusses using v4l2h264enc on Genio hardware, which is contemporary deployment evidence for Linux userspace on this encoder stack.

codex reasoning notes (technical)

Local shell inspection showed this directory contains real codec-specific encoder implementation files (venc_h264_if.c, venc_vp8_if.c), not just helpers. Local git log with inline safe.directory showed the split/creation commit in 2023 and later fixes including 2024-10 and 2025 touches; no sign of terminal inactivity. Web search for lore/removal discussion did not surface a removal series, while web search did surface stable-commits/stable backport pages for this exact path and current MediaTek product/deployment pages. Low change volume suggests annotating rather than pure keep, but active fixes and still-sold hardware argue against deprecate/remove.