<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>V4L2 on 技术笔记</title><link>https://deguiliu.github.io/tech-notes/tags/v4l2/</link><description>Recent content in V4L2 on 技术笔记</description><generator>Hugo -- 0.170.1</generator><language>zh-cn</language><lastBuildDate>Mon, 23 Nov 2026 07:30:00 +0000</lastBuildDate><atom:link href="https://deguiliu.github.io/tech-notes/tags/v4l2/index.xml" rel="self" type="application/rss+xml"/><item><title>V4L2 内核机制: ioctl 分发、缓冲流转与内存共享选型</title><link>https://deguiliu.github.io/tech-notes/posts/architecture/v4l2_kernel_mechanism/</link><pubDate>Mon, 23 Nov 2026 07:30:00 +0000</pubDate><guid>https://deguiliu.github.io/tech-notes/posts/architecture/v4l2_kernel_mechanism/</guid><description>从应用的一次 ioctl 往下追：V4L2 core 如何校验并分发命令，videobuf2 如何管理缓冲并回调驱动，一帧如何从传感器走到应用，以及共享内存、/dev/mem 与 DMA-BUF 三种共享做法各自的代价与选型。</description></item><item><title>SoC 视频取流四件事: 设备节点、缓冲队列、DMA-buf 与零拷贝管线</title><link>https://deguiliu.github.io/tech-notes/posts/architecture/soc_video_pipeline_v4l2_dma_buf/</link><pubDate>Mon, 23 Nov 2026 06:00:00 +0000</pubDate><guid>https://deguiliu.github.io/tech-notes/posts/architecture/soc_video_pipeline_v4l2_dma_buf/</guid><description>在 SoC 上用 Linux V4L2 取流，说到底是四件事：找到设备节点、拿到缓冲、把缓冲交给别的设备、整条链路不拷贝。本文给出多视频节点场景下的选型判断、videobuf2 缓冲队列的关键字段与丢帧判据、DMA-buf 导入导出的官方语义，以及 UVC 与 GStreamer 在跨 USB 与用户态编排中的分工。</description></item></channel></rss>