summaryrefslogtreecommitdiffstats
path: root/libavdevice/v4l.c
Commit message (Collapse)AuthorAgeFilesLines
* lavdev: prefer the inclusion of avdevice.h over that of libavformat/avformat.hStefano Sabatini2011-05-271-1/+1
|
* Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-05-271-0/+7
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: (31 commits) ARM: add ARMv6 optimised av_clip_uintp2 ARM: remove volatile from asm statements in libavutil/intmath ARM: fix av_clipl_int32_arm() v4l: include avdevice.h ffserver: move close_connection() call to avoid a temporary string and copy. lavf: initialize demuxer private options. AVOptions: set string default values. lavdevice: mark v4l for removal on next major bump. swscale: fix compile on ppc. swscale: fix compile on x86-32. build: Remove generated .version file on distclean. configure: Add -D_GNU_SOURCE to CPPFLAGS on OS/2. doc: Drop hint at --enable-memalign-hack for MinGW, it is now autodetected. ffplay: Remove disabled code. Mark parameterless function declarations as 'void'. swscale: use av_clip_uint8() in yuv2yuv1_c(). swscale: remove VOF/VOFW. swscale: split chroma buffers into separate U/V planes. swscale: replace formatConvBuffer[VOF] by allocated array. rgb2rgb: remove duplicate mmx/mmx2/3dnow/sse2 functions. ... Merged-by: Michael Niedermayer <[email protected]>
| * v4l: include avdevice.hAnton Khirnov2011-05-261-0/+2
| | | | | | | | Fixes build.
| * lavdevice: mark v4l for removal on next major bump.Anton Khirnov2011-05-261-0/+5
| |
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-05-261-7/+32
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: (32 commits) doc: create separate section for audio encoders swscale: Remove orphaned, commented-out function declaration. swscale: Eliminate rgb24toyv12_c() duplication. Remove h263_msmpeg4 from MpegEncContext. APIchanges: Fill in git hash for fps_probe_size (30315a8) avformat: Add fpsprobesize as an AVOption. avoptions: Return explicitly NAN or {0,0} if the option isn't found rtmp: Reindent rtmp: Don't try to do av_malloc(0) tty: replace AVFormatParameters.sample_rate abuse with a private option. Fix end time of last chapter in compute_chapters_end ffmpeg: get rid of useless AVInputStream.nb_streams. ffmpeg: simplify managing input files and streams ffmpeg: purge redundant AVInputStream.index. lavf: deprecate AVFormatParameters.channel. libdc1394: add a private option for channel. dv1394: add a private option for channel. v4l2: reindent. v4l2: add a private option for channel. lavf: deprecate AVFormatParameters.standard. ... Conflicts: doc/APIchanges doc/encoders.texi ffmpeg.c libavdevice/alsa-audio.h libavformat/version.h libavutil/opt.c libswscale/rgb2rgb.h libswscale/rgb2rgb_template.c Merged-by: Michael Niedermayer <[email protected]>
| * lavf: deprecate AVFormatParameters.standard.Anton Khirnov2011-05-251-0/+2
| |
| * v4l: add a private option for video standard.Anton Khirnov2011-05-251-7/+30
| |
| * Replace some commented-out debug printf() / av_log() messages with av_dlog().Diego Biurrun2011-04-291-8/+2
| |
| * Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-191-4/+4
| | | | | | | | Signed-off-by: Mans Rullgard <[email protected]>
| * Merge libavcore into libavutilReinhard Tartler2011-02-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | 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 <[email protected]>
| * Prefix all _demuxer, _muxer, _protocol from libavformat and libavdevice.Diego Elio Pettenò2011-01-261-1/+1
| | | | | | | | | | 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.
* | Merge libavcore into libavutilReinhard Tartler2011-02-161-1/+1
| | | | | | | | Done to keep ABI compatible. Otherwise this is just silly
* | Prefix all _demuxer, _muxer, _protocol from libavformat and libavdevice.Diego Elio Pettenò2011-01-281-1/+1
|/ | | | | | 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 c6610a216ed2948885772154a2eed696e0cb4aca)
* Use new imgutils.h API names, fix deprecation warnings.Stefano Sabatini2010-09-071-1/+1
| | | | Originally committed as revision 25058 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove use of the deprecated function avcodec_check_dimensions(), useStefano Sabatini2010-08-061-1/+2
| | | | | | av_check_image_size() instead. Originally committed as revision 24711 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Define AVMediaType enum, and use it instead of enum CodecType, whichStefano Sabatini2010-03-301-1/+1
| | | | | | is deprecated and will be dropped at the next major bump. Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: Remove pointless period after copyright statement non-sentences.Diego Biurrun2009-01-191-1/+1
| | | | Originally committed as revision 16684 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use avcodec_check_dimensions() for checking the frame size validity.Stefano Sabatini2008-12-281-5/+3
| | | | | | | 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
* Make the VIDIOCMCAPTURE ioctl error message consistent with the other ones.Stefano Sabatini2008-12-271-1/+1
| | | | Originally committed as revision 16361 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add missing check on the return value of the VIDIOCSWIN ioctl.Stefano Sabatini2008-12-271-1/+4
| | | | Originally committed as revision 16360 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use more descriptive long_names for Video4Linux input devices.Stefano Sabatini2008-12-261-1/+1
| | | | Originally committed as revision 16322 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Check that the device is a capture device immediately after openingStefano Sabatini2008-12-261-8/+8
| | | | | | the device. Originally committed as revision 16318 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove unnecessary temporary variable "frame_size" fromStefano Sabatini2008-12-261-4/+3
| | | | | | grab_read_header(). Originally committed as revision 16317 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add missing check on the result of a VIDIOCCAPTURE ioctl.Stefano Sabatini2008-12-261-1/+4
| | | | Originally committed as revision 16316 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetics: put a space after each comma, improve consistency andStefano Sabatini2008-12-261-5/+5
| | | | | | readability. Originally committed as revision 16315 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Implement size autodetection if one of the width and heightStefano Sabatini2008-12-171-4/+8
| | | | | | AVFormatParameters for grab_read_header() is non-positive. Originally committed as revision 16199 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace the width and height fields in VideoData with a structStefano Sabatini2008-12-171-24/+15
| | | | | | video_window video_win field. Originally committed as revision 16198 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace frame_rate and frame_rate_base fields in VideoData with anStefano Sabatini2008-12-171-13/+8
| | | | | | AVRational time_base field. Originally committed as revision 16197 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove unnecessary ret variable.Stefano Sabatini2008-12-071-6/+4
| | | | Originally committed as revision 16033 to svn://svn.ffmpeg.org/ffmpeg/trunk
* uses FF_ARRAY_ELEMS() where appropriateAurelien Jacobs2008-10-211-1/+1
| | | | Originally committed as revision 15662 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Workaround bug in types.h that has typedef __u64 under #ifndef __STRICT_ANSI__.Michael Niedermayer2008-08-191-0/+1
| | | | Originally committed as revision 14852 to svn://svn.ffmpeg.org/ffmpeg/trunk
* strcasecmp() requires #include <strings.h>Aurelien Jacobs2008-08-131-0/+1
| | | | Originally committed as revision 14728 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Distinguish the error reporting for the cases of wrong size and wrongStefano Sabatini2008-08-061-4/+6
| | | | | | timebase in the video4linux grab_read_header() function. Originally committed as revision 14646 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make v4l_read_header() don't free a stream in case of failure whenStefano Sabatini2008-07-151-1/+0
| | | | | | | | 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
* Make long_names in lavf/lavdev optional depending on CONFIG_SMALL.Stefano Sabatini2008-06-031-1/+1
| | | | | | | 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
* Use full path for #includes from another directory.Diego Biurrun2008-05-091-2/+2
| | | | Originally committed as revision 13098 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove #ifdef HAVE_SYS_MMAN_H around sys/mman.h #include.Diego Biurrun2008-03-241-2/+0
| | | | | | Without the #include compilation fails. Originally committed as revision 12568 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Only #include sys/mman.h if configure set HAVE_SYS_MMAN_H.Diego Biurrun2008-03-201-0/+4
| | | | Originally committed as revision 12521 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make v4l.c's video_formats constant and static.Diego Pettenò2008-01-071-1/+1
| | | | | | Patch by Diego 'Flameeyes' Pettenò flameeyes ¤ gmail ! com Originally committed as revision 11443 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove AIW support code, it is unfit for ffmpeg svn, doing usleep() andMichael Niedermayer2007-12-281-499/+1
| | | | | | | 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
* Introduce libavdeviceLuca Abeni2007-11-221-0/+852
Originally committed as revision 11077 to svn://svn.ffmpeg.org/ffmpeg/trunk