Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
657fff36
Commit
657fff36
authored
Jul 25, 2010
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove support for V4L version 1
parent
c23388a9
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
0 additions
and
1494 deletions
+0
-1494
configure.ac
configure.ac
+0
-36
modules/access/Modules.am
modules/access/Modules.am
+0
-1
modules/access/v4l.c
modules/access/v4l.c
+0
-1316
modules/access/videodev_mjpeg.h
modules/access/videodev_mjpeg.h
+0
-139
po/POTFILES.in
po/POTFILES.in
+0
-2
No files found.
configure.ac
View file @
657fff36
...
...
@@ -2126,42 +2126,6 @@ then
fi
dnl
dnl Video4Linux plugin
dnl
AC_ARG_ENABLE(v4l,
[ --enable-v4l Video4Linux input support (default disabled)])
if test "${enable_v4l}" = "yes"
then
AC_ARG_WITH(v4l,
[ --with-v4l=PATH path to a v4l-enabled kernel tree],[],[])
if test "${with_v4l}" != "no" -a -n "${with_v4l}"
then
VLC_ADD_CPPFLAGS([v4l],[-I${with_v4l}/include])
fi
CPPFLAGS="${CPPFLAGS_save} ${CPPFLAGS_v4l}"
AC_CHECK_HEADERS(linux/videodev.h, [
VLC_ADD_PLUGIN([v4l])
],[])
CPPFLAGS="${CPPFLAGS_save}"
fi
dnl
dnl libv4l1 support for video4linux.
dnl
AC_ARG_ENABLE( libv4l,
[ --enable-libv4l Libv4l Video4Linux support (default enabled)])
if test "${enable_libv4l}" != "no" -a "${enable_v4l}" != "no"
then
PKG_CHECK_MODULES( LIBV4L, libv4l1, [
VLC_ADD_LDFLAGS([v4l],[${LIBV4L_LIBS}])
VLC_ADD_CFLAGS([v4l],[${LIBV4L_CFLAGS}])
AC_DEFINE(HAVE_LIBV4L1, 1, Define if libv4l is available)],
AC_MSG_WARN([LibV4L support disabled because libv4l development headers were not found])
)
fi
dnl
dnl Video4Linux2 plugin
dnl
...
...
modules/access/Modules.am
View file @
657fff36
...
...
@@ -35,7 +35,6 @@ SOURCES_dvdnav = dvdnav.c
SOURCES_dvdread = dvdread.c
SOURCES_dc1394 = dc1394.c
SOURCES_pvr = pvr.c videodev2.h
SOURCES_v4l = v4l.c videodev_mjpeg.h
SOURCES_v4l2 = v4l2.c
SOURCES_qtcapture = qtcapture.m
SOURCES_cdda = \
...
...
modules/access/v4l.c
deleted
100644 → 0
View file @
c23388a9
This diff is collapsed.
Click to expand it.
modules/access/videodev_mjpeg.h
deleted
100644 → 0
View file @
c23388a9
/*****************************************************************************
* Copyright (C) lavrec (see http://mjpeg.sourceforge.net)
* ( XXX This file was get from the driver-zoran package and it is under GPL)
*
* $Id$
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
/* These are the MJPEG API extensions for the Video4Linux API,
first introduced by the Iomega Buz driver by Rainer Johanni
<rainer@johanni.de>
*/
/* This is identical with the mgavideo internal params struct,
please tell me if you change this struct here ! <gz@lysator.liu.se) */
struct
mjpeg_params
{
/* The following parameters can only be queried */
int
major_version
;
/* Major version number of driver */
int
minor_version
;
/* Minor version number of driver */
/* Main control parameters */
int
input
;
/* Input channel: 0 = Composite, 1 = S-VHS */
int
norm
;
/* Norm: VIDEO_MODE_PAL or VIDEO_MODE_NTSC */
int
decimation
;
/* decimation of captured video,
enlargement of video played back.
Valid values are 1, 2, 4 or 0.
0 is a special value where the user
has full control over video scaling */
/* The following parameters only have to be set if decimation==0,
for other values of decimation they provide the data how the image is captured */
int
HorDcm
;
/* Horizontal decimation: 1, 2 or 4 */
int
VerDcm
;
/* Vertical decimation: 1 or 2 */
int
TmpDcm
;
/* Temporal decimation: 1 or 2,
if TmpDcm==2 in capture every second frame is dropped,
in playback every frame is played twice */
int
field_per_buff
;
/* Number of fields per buffer: 1 or 2 */
int
img_x
;
/* start of image in x direction */
int
img_y
;
/* start of image in y direction */
int
img_width
;
/* image width BEFORE decimation,
must be a multiple of HorDcm*16 */
int
img_height
;
/* image height BEFORE decimation,
must be a multiple of VerDcm*8 */
/* --- End of parameters for decimation==0 only --- */
/* JPEG control parameters */
int
quality
;
/* Measure for quality of compressed images.
Scales linearly with the size of the compressed images.
Must be beetween 0 and 100, 100 is a compression
ratio of 1:4 */
int
odd_even
;
/* Which field should come first ???
This is more aptly named "top_first",
i.e. (odd_even==1) --> top-field-first */
int
APPn
;
/* Number of APP segment to be written, must be 0..15 */
int
APP_len
;
/* Length of data in JPEG APPn segment */
char
APP_data
[
60
];
/* Data in the JPEG APPn segment. */
int
COM_len
;
/* Length of data in JPEG COM segment */
char
COM_data
[
60
];
/* Data in JPEG COM segment */
unsigned
long
jpeg_markers
;
/* Which markers should go into the JPEG output.
Unless you exactly know what you do, leave them untouched.
Inluding less markers will make the resulting code
smaller, but there will be fewer aplications
which can read it.
The presence of the APP and COM marker is
influenced by APP0_len and COM_len ONLY! */
#define JPEG_MARKER_DHT (1<<3)
/* Define Huffman Tables */
#define JPEG_MARKER_DQT (1<<4)
/* Define Quantization Tables */
#define JPEG_MARKER_DRI (1<<5)
/* Define Restart Interval */
#define JPEG_MARKER_COM (1<<6)
/* Comment segment */
#define JPEG_MARKER_APP (1<<7)
/* App segment, driver will allways use APP0 */
int
VFIFO_FB
;
/* Flag for enabling Video Fifo Feedback.
If this flag is turned on and JPEG decompressing
is going to the screen, the decompress process
is stopped every time the Video Fifo is full.
This enables a smooth decompress to the screen
but the video output signal will get scrambled */
/* Misc */
char
reserved
[
312
];
/* Makes 512 bytes for this structure */
};
struct
mjpeg_requestbuffers
{
unsigned
long
count
;
/* Number of buffers for MJPEG grabbing */
unsigned
long
size
;
/* Size PER BUFFER in bytes */
};
struct
mjpeg_sync
{
unsigned
long
frame
;
/* Frame (0 - n) for double buffer */
unsigned
long
length
;
/* number of code bytes in buffer (capture only) */
unsigned
long
seq
;
/* frame sequence number */
struct
timeval
timestamp
;
/* timestamp */
};
struct
mjpeg_status
{
int
input
;
/* Input channel, has to be set prior to BUZIOC_G_STATUS */
int
signal
;
/* Returned: 1 if valid video signal detected */
int
norm
;
/* Returned: VIDEO_MODE_PAL or VIDEO_MODE_NTSC */
int
color
;
/* Returned: 1 if color signal detected */
};
/*
Private IOCTL to set up for displaying MJPEG
*/
#define MJPIOC_G_PARAMS _IOR ('v', BASE_VIDIOCPRIVATE+0, struct mjpeg_params)
#define MJPIOC_S_PARAMS _IOWR('v', BASE_VIDIOCPRIVATE+1, struct mjpeg_params)
#define MJPIOC_REQBUFS _IOWR('v', BASE_VIDIOCPRIVATE+2, struct mjpeg_requestbuffers)
#define MJPIOC_QBUF_CAPT _IOW ('v', BASE_VIDIOCPRIVATE+3, int)
#define MJPIOC_QBUF_PLAY _IOW ('v', BASE_VIDIOCPRIVATE+4, int)
#define MJPIOC_SYNC _IOR ('v', BASE_VIDIOCPRIVATE+5, struct mjpeg_sync)
#define MJPIOC_G_STATUS _IOWR('v', BASE_VIDIOCPRIVATE+6, struct mjpeg_status)
po/POTFILES.in
View file @
657fff36
...
...
@@ -276,7 +276,6 @@ modules/access/sftp.c
modules/access/smb.c
modules/access/tcp.c
modules/access/udp.c
modules/access/v4l.c
modules/access/v4l2.c
modules/access/vcd/cdrom.c
modules/access/vcd/cdrom.h
...
...
@@ -290,7 +289,6 @@ modules/access/vcdx/vcd.h
modules/access/vcdx/vcdplayer.c
modules/access/vcdx/vcdplayer.h
modules/access/videodev2.h
modules/access/videodev_mjpeg.h
modules/access/zip/zipstream.c
modules/access_output/bonjour.c
modules/access_output/bonjour.h
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment