September 27-30, 2021
Seattle, Washington, USA + Virtual
View More Details & Registration

The Sched app allows you to build your schedule but is not a substitute for your event registration. You must be registered for Open Source Summit + Embedded Linux Conference + OSPOCon 2021 to participate in the sessions. If you have not registered but would like to join us, please go to the event registration page to purchase a registration.

This schedule is automatically displayed in Pacific Daylight Time (UTC -7). To see the schedule in your preferred timezone, please select from the drop-down menu to the right, above "Filter by Date." The schedule is subject to change.

IMPORTANT NOTE: Timing of sessions and room locations are subject to change.

Back To Schedule
Monday, September 27 • 1:30pm - 2:20pm
(VIRTUAL) Deep Dive into Today's Videobuf2 Framework - Smitha T Murthy & Ajay Kumar, Samsung Semiconductor

Sign up or log in to save this to your schedule, view media, leave feedback and see who's attending!

Feedback form is now closed.
Have you ever wondered how the buffers are managed when running a video or using camera or any streaming application? Videobuf framework was introduced in Linux for this sole purpose, to make life of video device driver developer easier with a more robust and resilient video buffer management framework. To handle complex media device use case and zero-copy media pipeline, the videobuf framework was deprecated in favor of videobuf2 (VB2) VB2 provides APIs that a video device driver can use without worrying about buffer management. It allows smooth buffer flow between userspace and kernel space (userptr vs mmap) or between drivers via shared buffer (dma-buf). It also maintains states for each transition for better error handling This talk will cover VB2 framework overview, its core data structures, initialization and callback flow control. In this talk we will explore details of various buffer types, important APIs, queue operations acting as communication/synchronization interface from VB2 to driver. With the help of an M2M driver running on ARM64 system, we will explain stage by stage transitions of a VB2 buffer. At the end of this session, audience will have better understanding of the media buffer management and flow of the same between userspace and kernel space using VB2.

avatar for Ajay Kumar

Ajay Kumar

Senior Staff Engineer, Samsung Semiconductors Research India
More than a decade experience working on Embedded Linux systems, Bringup of boards, driver development, mainline contributions. Having worked with wide range of customers and SOC catering to their needs, witnessed Linux growing up from 3.10 to 5.13 and still going.
avatar for Smitha T Murthy

Smitha T Murthy

Staff engineer, Samsung Semiconductors Research India
My key role in Samsung involves development of multimedia and system based device drivers. I have worked on android based devices as well working on HAL and various linux kernel drivers for video pipeline. I am passionate about open source and regular contributor in linux community... Read More →

Monday September 27, 2021 1:30pm - 2:20pm PDT
MeetingPlay Platform + Virtual Learning Lab