Stefano Sabatini
e16f217ceb
Use new imgutils.h API names, fix deprecation warnings.
...
Originally committed as revision 25058 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
6ce9b4310c
Remove use of the deprecated function avcodec_check_dimensions(), use
...
av_check_image_size() instead.
Originally committed as revision 24711 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
72415b2adb
Define AVMediaType enum, and use it instead of enum CodecType, which
...
is deprecated and will be dropped at the next major bump.
Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Diego Biurrun
406792e7b0
cosmetics: Remove pointless period after copyright statement non-sentences.
...
Originally committed as revision 16684 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
5d91e92853
Use avcodec_check_dimensions() for checking the frame size validity.
...
The v4l.c check is moved after the eventual automatic size detection,
so the check in that case is performed on the new set values.
Originally committed as revision 16370 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
df77a6daab
Make the VIDIOCMCAPTURE ioctl error message consistent with the other ones.
...
Originally committed as revision 16361 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
faf67322dc
Add missing check on the return value of the VIDIOCSWIN ioctl.
...
Originally committed as revision 16360 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
df2a3f2714
Use more descriptive long_names for Video4Linux input devices.
...
Originally committed as revision 16322 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
7274a48035
Check that the device is a capture device immediately after opening
...
the device.
Originally committed as revision 16318 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
f233d34821
Remove unnecessary temporary variable "frame_size" from
...
grab_read_header().
Originally committed as revision 16317 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
fd867ffd43
Add missing check on the result of a VIDIOCCAPTURE ioctl.
...
Originally committed as revision 16316 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
c40432d30c
Cosmetics: put a space after each comma, improve consistency and
...
readability.
Originally committed as revision 16315 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
7bbacf9a0c
Implement size autodetection if one of the width and height
...
AVFormatParameters for grab_read_header() is non-positive.
Originally committed as revision 16199 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
406c580854
Replace the width and height fields in VideoData with a struct
...
video_window video_win field.
Originally committed as revision 16198 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
9580ba2676
Replace frame_rate and frame_rate_base fields in VideoData with an
...
AVRational time_base field.
Originally committed as revision 16197 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
b9f382c8ef
Remove unnecessary ret variable.
...
Originally committed as revision 16033 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Aurelien Jacobs
37d3e0667a
uses FF_ARRAY_ELEMS() where appropriate
...
Originally committed as revision 15662 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
e9d4b8a533
Workaround bug in types.h that has typedef __u64 under #ifndef __STRICT_ANSI__.
...
Originally committed as revision 14852 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Aurelien Jacobs
ea452b54f0
strcasecmp() requires #include <strings.h>
...
Originally committed as revision 14728 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
e78d651f06
Distinguish the error reporting for the cases of wrong size and wrong
...
timebase in the video4linux grab_read_header() function.
Originally committed as revision 14646 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Stefano Sabatini
7c1d608ece
Make v4l_read_header() don't free a stream in case of failure when
...
reading its header. The stream will be freed later in
av_open_input_stream(). Fix a segmentation fault due to a double free
on the same pointer.
Originally committed as revision 14246 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Stefano Sabatini
bde15e74de
Make long_names in lavf/lavdev optional depending on CONFIG_SMALL.
...
patch by Stefano Sabatini, stefano.sabatini-lala poste.it
along with some spelling/consistency fixes for the long names by me
Originally committed as revision 13649 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
245976da2a
Use full path for #includes from another directory.
...
Originally committed as revision 13098 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
0e58bf670d
Remove #ifdef HAVE_SYS_MMAN_H around sys/mman.h #include.
...
Without the #include compilation fails.
Originally committed as revision 12568 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
b00675499c
Only #include sys/mman.h if configure set HAVE_SYS_MMAN_H.
...
Originally committed as revision 12521 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Pettenò
1411f55b63
Make v4l.c's video_formats constant and static.
...
Patch by Diego 'Flameeyes' Pettenò flameeyes ¤ gmail ! com
Originally committed as revision 11443 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
3ab64e46e2
Remove AIW support code, it is unfit for ffmpeg svn, doing usleep() and
...
colorspace convertion and deinterlacing in the demuxer. Whoever wants
AIW support has to implement this cleanly!
Originally committed as revision 11335 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Luca Abeni
c721d803cb
Introduce libavdevice
...
Originally committed as revision 11077 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Luca Abeni
9f74582cea
Do not use perror() in audio, video, and DV grabbers
...
Originally committed as revision 11058 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Ramiro Polla
7b1b62b23d
Give better filenames to bktr and v4l grabbers
...
Originally committed as revision 10412 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Ramiro Polla
fd484da77a
Remove video_grab_ prefix from video_grab_{bktr,v4l}
...
Originally committed as revision 10411 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Panagiotis Issaris
6f3e0b2174
Replace all occurrences of AVERROR_IO with AVERROR(EIO).
...
Originally committed as revision 9760 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
f1ea5c2a96
typo fixes
...
Originally committed as revision 9719 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
c64bab0805
Fix linking: emms_c is a macro, #include the correct header file.
...
Originally committed as revision 9238 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Ronald S. Bultje
8e82f5048e
emms --> emms_c, patch by Ronald S. Bultje, rbultje ronald.bitfreak net
...
reference thread:
Subject: Re: [FFmpeg-devel] [PATCH] Coremake support - ff-grab-emms_c.patch (1/1)
Date: Thu, 07 Jun 2007 09:01:44 -0400
Originally committed as revision 9236 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Marc Hoffman
69621690ab
extending video4linux support to handle the additional formats UYVY, YUYV and RGB565
...
Originally committed as revision 9203 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Marc Hoffman
c7c64e9e5e
convert if then else video palette to pix_fmt construct to simpiler table based lookup.
...
Originally committed as revision 9202 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
14b2d01058
Drop unnecessary libavcodec/ prefix in #include path.
...
Originally committed as revision 9033 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
3af6d5cf2f
There were two files, libavformat/grab.c and libavformat/grab_bktr.c declaring
...
the video_grab_device_demuxer AVInputFormat. Use two different names for the
AVInputFormats to reduce confusion and remove ugliness from the Makefile.
Originally committed as revision 8619 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Ramiro Polla
cc58300e30
implement new grabbing interface, as described here:
...
ttp://thread.gmane.org/gmane.comp.video.ffmpeg.devel/42920
patch by Ramiro Polla % ramiro A lisha P ufsc P br %
Original thread:
Date: Jan 31, 2007 8:56 PM
Subject: [Ffmpeg-devel] [PATCH] New grabbing interface
Originally committed as revision 7983 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
François Revol
8fa36ae09d
This fixes error handling for BeOS, removing the need for some ifdefs.
...
AVERROR_ defines are moved to avcodec.h as they are needed in there as well. Feel free to move that to avutil/common.h.
Bumped up avcodec/format version numbers as though it's binary compatible we will want to rebuild apps as error values changed.
Please from now on use return AVERROR(EFOO) instead of the ugly return -EFOO in your code.
This also removes the need for berrno.h.
Originally committed as revision 7965 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
71e445fca3
Replace deprecated PIX_FMT names by the newer variants.
...
Originally committed as revision 7867 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Alex Beregszaszi
453cd7a496
omg, major typo (fails if card supports rgb24)
...
Originally committed as revision 7580 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Mike Frysinger
d037d797a4
fall back mmap() call using MAP_PRIVATE for working on no-mmu systems
...
patch by Mike Frysinger vapier.adi _at_ gmail.com
Originally committed as revision 7380 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Måns Rullgård
8da9266cea
use the standard INT64_C() macro for 64-bit constants
...
Originally committed as revision 7240 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Måns Rullgård
55fde95e3b
rename cropTbl -> ff_cropTbl
...
Originally committed as revision 6992 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
b78e7197a8
Change license headers to say 'FFmpeg' instead of 'this program/this library'
...
and fix GPL/LGPL version mismatches.
Originally committed as revision 6577 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Benjamin
1733fc4a6b
Add support for 8-bit grayscale to V4L grabber
...
patch by Michael Benjamin % neuroptik AH gmail.com %
Original thread:
Date: Aug 24, 2006 5:40 PM
Subject: [Ffmpeg-devel] V4L grab.c patch for Grayscale
Originally committed as revision 6259 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Måns Rullgård
ff70e60176
allow individual selection of muxers and demuxers
...
Originally committed as revision 5707 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Måns Rullgård
d2a067d1d9
give AVInput/OutputFormat structs consistent names
...
Originally committed as revision 5697 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago