• P
    [media] v4l: add videobuf2 Video for Linux 2 driver framework · e23ccc0a
    Pawel Osciak 提交于
    Videobuf2 is a Video for Linux 2 API-compatible driver framework for
    multimedia devices. It acts as an intermediate layer between userspace
    applications and device drivers. It also provides low-level, modular
    memory management functions for drivers.
    
    Videobuf2 eases driver development, reduces drivers' code size and aids in
    proper and consistent implementation of V4L2 API in drivers.
    
    Videobuf2 memory management backend is fully modular. This allows custom
    memory management routines for devices and platforms with non-standard
    memory management requirements to be plugged in, without changing the
    high-level buffer management functions and API.
    
    The framework provides:
    - implementations of streaming I/O V4L2 ioctls and file operations
    - high-level video buffer, video queue and state management functions
    - video buffer memory allocation and management
    Signed-off-by: NPawel Osciak <p.osciak@samsung.com>
    Signed-off-by: NMarek Szyprowski <m.szyprowski@samsung.com>
    Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com>
    CC: Pawel Osciak <pawel@osciak.com>
    Reviewed-by: NHans Verkuil <hverkuil@xs4all.nl>
    Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
    e23ccc0a
videobuf2-core.c 36.9 KB