summaryrefslogtreecommitdiffstats
path: root/libavdevice
Commit message (Collapse)AuthorAgeFilesLines
* vfwcap: add option to print list of supported driversRamiro Polla2010-10-231-0/+16
| | | | Originally committed as revision 25552 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Allow to set the frame rate in v4l2 devicesJosé Miguel Gonçalves2010-09-231-0/+27
| | | | | | Patch by José Miguel Gonçalves (jose DOT goncalves AT inov DOT pt) Originally committed as revision 25159 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetics: simplify layout of fmt_conversion_table, make it shorterStefano Sabatini2010-09-121-75/+16
| | | | | | and more readable. Originally committed as revision 25108 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetics: apply minor style fixes.Stefano Sabatini2010-09-111-14/+14
| | | | Originally committed as revision 25106 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use new imgutils.h API names, fix deprecation warnings.Stefano Sabatini2010-09-073-3/+3
| | | | Originally committed as revision 25058 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Define macro AV_NE() and use it in libavdevice.Stefano Sabatini2010-08-172-10/+2
| | | | | | Help further refactoring. Originally committed as revision 24814 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add a mapping for the V4L2_PIX_FMT_NV12 format to PIX_FMT_NV12 forPete Eberlein2010-08-111-0/+5
| | | | | | | video4linux2 devices. This is used by Sensoray Model 2253 cards. Patch by Pete Eberlein (pete AT sensoray DOT com) Originally committed as revision 24759 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove use of the deprecated function avcodec_check_dimensions(), useStefano Sabatini2010-08-064-4/+6
| | | | | | av_check_image_size() instead. Originally committed as revision 24711 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove non-existing stray arguments from Doxygen function documentation.Diego Biurrun2010-07-021-2/+0
| | | | Originally committed as revision 23976 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix grammar errors in documentationMåns Rullgård2010-06-303-11/+11
| | | | Originally committed as revision 23904 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove stray semicolon.Carl Eugen Hoyos2010-06-211-1/+1
| | | | Originally committed as revision 23691 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove broken BeOS audio interface.Diego Biurrun2010-06-103-471/+0
| | | | Originally committed as revision 23568 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make device_open() store the VIDIOC_QUERYCAP ioctl errno, and in caseStefano Sabatini2010-05-011-4/+4
| | | | | | | of failure return the stored value rather than the current errno, which may be overwritten by a following call to close(). Originally committed as revision 23001 to svn://svn.ffmpeg.org/ffmpeg/trunk
* vfwcap: flip RGB rawvideo.Ramiro Polla2010-04-291-1/+7
| | | | Originally committed as revision 22989 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Check the return value of device_try_init() immediately after calling such aLuca Abeni2010-04-281-3/+2
| | | | | | | | function. Avoids the following warning: libavdevice/v4l2.c: In function ‘v4l2_read_header’: libavdevice/v4l2.c:586: warning: ‘codec_id’ may be used uninitialized in this function Originally committed as revision 22986 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix weird brace placement.Stefano Sabatini2010-04-271-2/+1
| | | | Originally committed as revision 22982 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Reduce the verbosity of the v4l2 input deviceLuca Abeni2010-04-271-3/+3
| | | | Originally committed as revision 22980 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Simplify some output messages in the v4l2 input deviceLuca Abeni2010-04-271-3/+2
| | | | Originally committed as revision 22979 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Implement v4l2 input size autodetection in v4l2_read_header().Stefano Sabatini2010-04-261-8/+18
| | | | | | | | | Move check on frame size after the device is opened and after device_try_init() is attempted. If the provided size value is 0x0, perform a VIDIOC_G_FMT ioctl() on the device, which sets size to the current settings. Originally committed as revision 22971 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Return meaningful error codes, rather than always -1.Stefano Sabatini2010-04-261-17/+17
| | | | Originally committed as revision 22966 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove unnecessary width and height variables from v4l2_read_header().Stefano Sabatini2010-04-251-10/+6
| | | | Originally committed as revision 22963 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove explicit filename from Doxygen @file commands.Diego Biurrun2010-04-205-5/+5
| | | | | | | | Passing an explicit filename to this command is only necessary if the documentation in the @file block refers to a file different from the one the block resides in. Originally committed as revision 22921 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace all remaining occurrences of AVERROR_NOMEM withStefano Sabatini2010-04-031-2/+2
| | | | | | | | | AVERROR(ENOMEM). AVERROR_NOMEM is deprecated and will be dropped at the next libavutil major bump. Originally committed as revision 22791 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace the last occurrance of CODEC_TYPE_ with AVMEDIA_TYPE_Martin Storsjö2010-04-021-1/+1
| | | | Originally committed as revision 22776 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace all occurences of PKT_FLAG_KEY with AV_PKT_FLAG_KEY.Jean-Daniel Dupas2010-03-311-1/+1
| | | | | | Patch by Jean-Daniel Dupas, devlists shadowlab org Originally committed as revision 22744 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Define AVMediaType enum, and use it instead of enum CodecType, whichStefano Sabatini2010-03-309-9/+9
| | | | | | is deprecated and will be dropped at the next major bump. Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make audio_read_packet() return AVERROR_EOF rather than AVERROR(EOF) =Stefano Sabatini2010-03-251-1/+1
| | | | | | AVERROR(-1) = 1. Originally committed as revision 22664 to svn://svn.ffmpeg.org/ffmpeg/trunk
* x11grab: AVFormatParameters are always passed from av_open_input_stream(),Ramiro Polla2010-03-231-1/+1
| | | | | | there is no need to check for it. Originally committed as revision 22651 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Revert removal of _NETBSD_SOURCE definition.Diego Biurrun2010-03-211-0/+1
| | | | | | It is indeed necessary to compile on NetBSD. Originally committed as revision 22613 to svn://svn.ffmpeg.org/ffmpeg/trunk
* vfwcap: Free remaining packets on vfw_read_close().Ramiro Polla2010-03-171-0/+9
| | | | Originally committed as revision 22575 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Do not store a copy of AVFormatContext *s in vfw_ctx.Ramiro Polla2010-03-171-10/+9
| | | | | | Save *s directly in SetWindowLongPtr instead. Originally committed as revision 22574 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace all the occurrences of AVERROR_EIO with AVERROR(EIO), and markStefano Sabatini2010-03-132-6/+6
| | | | | | AVERROR_EIO for deletion at the next major bump. Originally committed as revision 22513 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace BSD-specific integer types by their POSIX equivalents.Diego Biurrun2010-03-121-6/+7
| | | | | | | Mark bktr_init function as av_cold. Tested to work by Michael Kostylev on the NetBSD FATE box. Originally committed as revision 22487 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add _XOPEN_SOURCE=600 to CPPFLAGS on NetBSD.Diego Biurrun2010-03-121-1/+0
| | | | | | | | | | | | This make NetBSD compile out of the box at the cost of a hack, but a locally contained one that is preferable to the one used in the wild. Currently the NetBSD FATE box adds -D_NETBSD_SOURCE to CPPFLAGS to work around broken system headers. Since it is unlikely for NetBSD to fix their headers, it is better to use a standard flag instead of a system-specific one. As a sideeffect, this allows getting rid of a local _NETBSD_SOURCE definition. Originally committed as revision 22486 to svn://svn.ffmpeg.org/ffmpeg/trunk
* vfwcap: Add support for UYVY pixel format.Ramiro Polla2010-03-101-0/+2
| | | | Originally committed as revision 22424 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add some missing #includesMåns Rullgård2010-03-061-0/+1
| | | | Originally committed as revision 22258 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add _NETBSD_SOURCE definition to fix compilation on NetBSD.Jorge Acereda2010-03-031-0/+2
| | | | | | | | | | NetBSD is unlikely to fix their headers and the FATE box passes it as -D_NETBSD_SOURCE on the command line anyway. In this case, it's better to keep the hack well-contained within this file. Closes issue 886. patch by Jorge Acereda, jacereda brainstorm es Originally committed as revision 22164 to svn://svn.ffmpeg.org/ffmpeg/trunk
* vfwcap: support MJPG compressed streams.Nash Tsai2010-02-231-0/+3
| | | | | | Patch by Nash Tsai <nash dot tsai at gmail dot com> Originally committed as revision 22004 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Indent.Ramiro Polla2010-02-211-1/+1
| | | | Originally committed as revision 21933 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Satisfy style nits.Stefano Sabatini2010-02-051-2/+2
| | | | Originally committed as revision 21648 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Avoid using deprecated AVFormatParameters::[audio|video]_codec_id field.Jai Menon2010-01-282-5/+5
| | | | Originally committed as revision 21511 to svn://svn.ffmpeg.org/ffmpeg/trunk
* vfwcap: Include windows.h before vfw.h since the latter requires defineskemuri2010-01-231-1/+1
| | | | | | | from the former. Patch by kemuri <kemuri9 at gmail dot com> Originally committed as revision 21411 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add symbol versioning for shared librariesMåns Rullgård2010-01-161-0/+4
| | | | | | Based on patch by Reinhard Tartler <siretart tauware de> Originally committed as revision 21236 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Define device_try_init() as static in libavdevice/v4l2.c.Reinhard Tartler2010-01-031-5/+5
| | | | | | Patch by Reinhard Tartler (siretart AT tauware DOT de). Originally committed as revision 21004 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Define _XOPEN_SOURCE as 600 before including a XSI extension header.Carl Eugen Hoyos2009-12-141-0/+2
| | | | Originally committed as revision 20871 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use enum PixelFormat as type for input_pixfmt to avoid one icc warning.Carl Eugen Hoyos2009-12-141-1/+1
| | | | Originally committed as revision 20859 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Support compressed formats in the V4L2 input device.Luca Abeni2009-12-141-27/+61
| | | | | | Patch by klchxbec AT freenet DOT de. Originally committed as revision 20858 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add support for V4L2 compressed formats in the table used for convertingLuca Abeni2009-12-141-0/+23
| | | | | | | between V4L2 formats and ffmpeg's formats/codecs. Patch by klchxbec AT freenet DOT de. Originally committed as revision 20857 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use the correct type for the V4L2 format.Luca Abeni2009-12-141-2/+2
| | | | Originally committed as revision 20856 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Return pkt->size in v4l2_read_packet().Luca Abeni2009-12-141-1/+1
| | | | | | | mmap_read_frame() takes care of ensuring that the packet size is correct. Originally committed as revision 20855 to svn://svn.ffmpeg.org/ffmpeg/trunk
OpenPOWER on IntegriCloud