Michael Niedermayer
d0c61571cf
avdevice/v4l: remove duplicate include
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
2179b638e3
v4l: fix compilation
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Anton Khirnov
941e9f2238
lavd: remove deprecated v4l grab device.
13 years ago
Anton Khirnov
c3f9ebf743
lavf: make av_set_pts_info private.
...
It's supposed to be called only from (de)muxers.
13 years ago
Martin Storsjö
3607ed70d5
Remove leftover includes of strings.h
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Clément Bœsch
6921272b23
lavd: add v4l and v4l2 aliases.
13 years ago
Anton Khirnov
3b3bbdd3e6
lavf,lavd: replace av_new_stream->avformat_new_stream part I.
...
Trivial replacements with sed are done in this commit:
sed 's/av_new_stream(\([^)]*\), 0)/avformat_new_stream(\1, NULL)/'
13 years ago
Anton Khirnov
145f741e11
AVOptions: rename FF_OPT_TYPE_* => AV_OPT_TYPE_*
13 years ago
Diego Biurrun
30b4ee7901
Use explicit struct initializers for AVOutputFormat/AVInputFormat declarations.
13 years ago
Diego Biurrun
aebb56e184
Replace some commented-out debug printf() / av_log() messages with av_dlog().
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Anton Khirnov
c14fe6bc99
lavf,lavd: remove all usage of AVFormatParameters from demuxers.
...
AVFormatParameters are converted into corresponding private options in
av_open_input_file/stream() compat wrappers, so accessing them from
demuxers is redundant.
13 years ago
Stefano Sabatini
6b899e16de
lavdev: prefer the inclusion of avdevice.h over that of libavformat/avformat.h
14 years ago
Anton Khirnov
3d96c13e43
v4l: include avdevice.h
...
Fixes build.
14 years ago
Anton Khirnov
aaea149035
lavdevice: mark v4l for removal on next major bump.
14 years ago
Anton Khirnov
fc68a8f703
lavf: deprecate AVFormatParameters.standard.
14 years ago
Anton Khirnov
a861ffeffa
v4l: add a private option for video standard.
14 years ago
Diego Biurrun
045dd4b928
Replace some commented-out debug printf() / av_log() messages with av_dlog().
14 years ago
Mans Rullgard
2912e87a6c
Replace FFmpeg with Libav in licence headers
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Reinhard Tartler
7ffe76e540
Merge libavcore into libavutil
...
Done to keep ABI compatible. Otherwise this is just silly
14 years ago
Reinhard Tartler
737eb5976f
Merge libavcore into libavutil
...
It is pretty hopeless that other considerable projects will adopt
libavutil alone in other projects. Projects that need small footprint
are better off with more specialized libraries such as gnulib or rather
just copy the necessary parts that they need. With this in mind, nobody
is helped by having libavutil and libavcore split. In order to ease
maintenance inside and around FFmpeg and to reduce confusion where to
put common code, avcore's functionality is merged (back) to avutil.
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
14 years ago
Diego Elio Pettenò
66355be3c3
Prefix all _demuxer, _muxer, _protocol from libavformat and libavdevice.
...
This also lists the objects from those two libraries as internal (by adding
the ff_ prefix) so that they can then be hidden via linker scripts.
(cherry picked from commit c6610a216e
)
14 years ago
Diego Elio Pettenò
c6610a216e
Prefix all _demuxer, _muxer, _protocol from libavformat and libavdevice.
...
This also lists the objects from those two libraries as internal (by adding
the ff_ prefix) so that they can then be hidden via linker scripts.
14 years ago
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