1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00

libv4l is a collection of libraries which adds a thin abstraction layer on

top of video4linux2 devices. The purpose of this (thin) layer is to make it
easy for application writers to support a wide variety of devices without
having to write separate code for different devices in the same class. libv4l
consists of 3 different libraries: libv4lconvert, libv4l1 and libv4l2.

libv4lconvert offers functions to convert from any (known) pixel-format
to V4l2_PIX_FMT_BGR24 or V4l2_PIX_FMT_YUV420.

libv4l1 offers the (deprecated) v4l1 API on top of v4l2 devices, independent
of the drivers for those devices supporting v4l1 compatibility (which many
v4l2 drivers do not).

libv4l2 offers the v4l2 API on top of v4l2 devices, while adding for the
application transparent libv4lconvert conversion where necessary.

WWW: http://hansdegoede.livejournal.com/3636.html
This commit is contained in:
Boris Samorodov 2011-04-14 14:00:40 +00:00
parent 3395f95680
commit 96a194d954
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=272723
5 changed files with 59 additions and 0 deletions

View File

@ -176,6 +176,7 @@
SUBDIR += linux-divx4linux
SUBDIR += linux-divx4linux4
SUBDIR += linux-f10-libtheora
SUBDIR += linux-f10-libv4l
SUBDIR += linux-gspca-kmod
SUBDIR += linux-huludesktop
SUBDIR += linux-libtheora

View File

@ -0,0 +1,23 @@
# New ports collection makefile for: multimedia/linux-f10-libv4l
# Date created: 2011-04-14
# Whom: emulation@FreeBSD.org
#
# $FreeBSD$
#
PORTNAME= libv4l
PORTVERSION= 0.6.2
CATEGORIES= multimedia linux
PKGNAMEPREFIX= linux-f10-
DISTNAME= ${PORTNAME}-${PORTVERSION}-${RPMVERSION}
MAINTAINER= emulation@FreeBSD.org
COMMENT= Collection of video4linux support libraries (Fedora 10)
USE_LINUX_RPM= yes
LINUX_DIST_VER= 10
RPMVERSION= 1.fc10
USE_LDCONFIG= yes
PLIST_SUB+= PORTVERSION=${PORTVERSION}
.include <bsd.port.mk>

View File

@ -0,0 +1,4 @@
SHA256 (rpm/i386/fedora/10/libv4l-0.6.2-1.fc10.i386.rpm) = dc314477f8e771cfe6b9f654d1779e3cd8033d7ca65359e41dc1085b4d98cfe9
SIZE (rpm/i386/fedora/10/libv4l-0.6.2-1.fc10.i386.rpm) = 110211
SHA256 (rpm/i386/fedora/10/libv4l-0.6.2-1.fc10.src.rpm) = 077fbc584d3cdf76db525f2173676f9cd22a63abcd9bcc1808a199ed5e9a1606
SIZE (rpm/i386/fedora/10/libv4l-0.6.2-1.fc10.src.rpm) = 136113

View File

@ -0,0 +1,17 @@
libv4l is a collection of libraries which adds a thin abstraction layer on
top of video4linux2 devices. The purpose of this (thin) layer is to make it
easy for application writers to support a wide variety of devices without
having to write separate code for different devices in the same class. libv4l
consists of 3 different libraries: libv4lconvert, libv4l1 and libv4l2.
libv4lconvert offers functions to convert from any (known) pixel-format
to V4l2_PIX_FMT_BGR24 or V4l2_PIX_FMT_YUV420.
libv4l1 offers the (deprecated) v4l1 API on top of v4l2 devices, independent
of the drivers for those devices supporting v4l1 compatibility (which many
v4l2 drivers do not).
libv4l2 offers the v4l2 API on top of v4l2 devices, while adding for the
application transparent libv4lconvert conversion where necessary.
WWW: http://hansdegoede.livejournal.com/3636.html

View File

@ -0,0 +1,14 @@
@comment file listing
usr/lib/libv4l/ov511-decomp
usr/lib/libv4l/ov518-decomp
usr/lib/libv4l/v4l1compat.so
usr/lib/libv4l/v4l2convert.so
usr/lib/libv4l1.so.0
usr/lib/libv4l2.so.0
usr/lib/libv4lconvert.so.0
usr/share/doc/libv4l-%%PORTVERSION%%/COPYING.LIB
usr/share/doc/libv4l-%%PORTVERSION%%/ChangeLog
usr/share/doc/libv4l-%%PORTVERSION%%/README
usr/share/doc/libv4l-%%PORTVERSION%%/TODO
@dirrm usr/share/doc/libv4l-%%PORTVERSION%%
@dirrm usr/lib/libv4l