summaryrefslogtreecommitdiff
path: root/libavdevice/v4l2.c
Commit message (Collapse)AuthorAge
* libavdevice: use avpriv_open()Rémi Denis-Courmont2013-08-07
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* Disable deprecation warnings for cases where a replacement is availableDiego Biurrun2013-08-02
|
* silly typo fixesDiego Biurrun2013-05-03
|
* avpacket: use AVBuffer to allow refcounting the packets.Anton Khirnov2013-03-08
| | | | | | This will allow us to avoid copying the packets in many cases. This breaks ABI.
* v4l2: do not assert on a value received from outside of LibavAnton Khirnov2013-01-13
|
* v4l2: set the average framerate instead of codec timebase.Anton Khirnov2013-01-13
| | | | Codec timebase is supposed to be set by decoders only.
* v4l2: avoid pointless indirection.Anton Khirnov2013-01-13
| | | | | v4l2_read_header() does no cleanup, so it can return directly, without any need for goto.
* Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormatAnton Khirnov2012-10-08
|
* avopt: Store defaults for AV_OPT_TYPE_INT in the i64 union memberMartin Storsjö2012-09-04
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* avopt: Store defaults for AV_OPT_TYPE_CONST in the i64 union memberMartin Storsjö2012-09-04
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* Replace all CODEC_ID_* with AV_CODEC_ID_*Anton Khirnov2012-08-07
|
* Remove unnecessary inclusions of [sys/]time.hMans Rullgard2012-06-20
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* lavf: remove AVFormatParameters from AVFormatContext.read_header signatureAnton Khirnov2012-01-27
|
* v4l2: use C99 struct initializerLuca Barbato2012-01-10
| | | | Remove some unneeded memsets.
* v4l2: poll the file descriptorLuca Barbato2012-01-10
| | | | Instead of busy waiting use poll();
* v4l2: support compressed formatsLuca Barbato2012-01-10
| | | | Let pass the codec name to -pixel_format and introduce -input_format.
* v4l2: use V4L2_FMT_FLAG_EMULATED only if it is definedJanne Grunau2012-01-04
| | | | V4L2_FMT_FLAG_EMULATED was added in 2.6.32.
* v4l2: list available formatsLuca Barbato2012-01-04
| | | | Make use of the experimental framesize enumeration ioctl if available.
* v4l2: set the proper codec_tagLuca Barbato2012-01-04
| | | | Unbreak direct streamcopy.
* v4l2: refactor device_openLuca Barbato2012-01-04
| | | | Check capabilities directly in the function, further simplify the code.
* v4l2: simplify away io_methodLuca Barbato2012-01-04
| | | | Only mmap is supported.
* v4l2: cosmeticsLuca Barbato2012-01-04
|
* v4l2: uniform and format optionsLuca Barbato2012-01-04
|
* v4l2: do not force interlaced modeLuca Barbato2012-01-04
| | | | | Video4linux2 supports both interlaced and non-interlaced mode, do not ask for interlaced if not necessary.
* v4l2: remove unneded linux specific asm/types.h includeJanne Grunau2011-12-27
|
* lavf: make av_set_pts_info private.Anton Khirnov2011-11-30
| | | | It's supposed to be called only from (de)muxers.
* Replace all usage of strcasecmp/strncasecmpReimar Döffinger2011-11-06
| | | | | | | | | | | All current usages of it are incompatible with localization. For example strcasecmp("i", "I") != 0 is possible, but would break many of the places where it is used. Instead use our own implementations that always treat the data as ASCII. Signed-off-by: Martin Storsjö <martin@martin.st>
* lavf,lavd: replace av_new_stream->avformat_new_stream part I.Anton Khirnov2011-10-19
| | | | | Trivial replacements with sed are done in this commit: sed 's/av_new_stream(\([^)]*\), 0)/avformat_new_stream(\1, NULL)/'
* AVOptions: rename FF_OPT_TYPE_* => AV_OPT_TYPE_*Anton Khirnov2011-10-12
|
* Use explicit struct initializers for AVOutputFormat/AVInputFormat declarations.Diego Biurrun2011-09-24
|
* lavf,lavd: remove all usage of AVFormatParameters from demuxers.Anton Khirnov2011-08-15
| | | | | | AVFormatParameters are converted into corresponding private options in av_open_input_file/stream() compat wrappers, so accessing them from demuxers is redundant.
* lavdev: improve feedback in case of invalid frame rate/sizeStefano Sabatini2011-06-23
| | | | | | | | | | Show the invalid string in the error message. While at it also prefer "Could not" over "Couldn't", plain forms are preferred over contractions (simplify readability, especially for non English-savvy people). Signed-off-by: Anton Khirnov <anton@khirnov.net>
* v4l2: prefer "framerate_q" over "fps" in v4l2_set_parameters()Stefano Sabatini2011-06-23
| | | | | | | The variable is used for containing the parsed value of framerate, using a lexically consistent name eases readability/understanding. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* v4l2: do not force NTSC as standardLuca Barbato2011-06-05
| | | | Setting a standard is meaningful only for analog capture devices.
* lavf,lavc: free avoptions in a generic way.Anton Khirnov2011-06-05
| | | | | | It's simpler and less error-prone. Fixes some memleaks along the way.
* fbdev,v4l2: remove some forgotten uses of AVFormatParameters.time_base.Anton Khirnov2011-06-04
|
* v4l2: remove one forgotten use of AVFormatParameters.pix_fmt.Anton Khirnov2011-06-02
|
* v4l2: add a framerate private option.Anton Khirnov2011-06-02
|
* v4l2: don't leak video standard string on error.Anton Khirnov2011-05-29
|
* v4l2: add a pixel_format private option.Anton Khirnov2011-05-27
|
* v4l2: add video_size private option.Anton Khirnov2011-05-27
|
* v4l2: factorize returning error codes.Anton Khirnov2011-05-27
| | | | This will be useful in the following commit.
* lavf: deprecate AVFormatParameters.channel.Anton Khirnov2011-05-25
|
* v4l2: reindent.Anton Khirnov2011-05-25
|
* v4l2: add a private option for channel.Anton Khirnov2011-05-25
|
* lavf: deprecate AVFormatParameters.standard.Anton Khirnov2011-05-25
|
* v4l2: add a private option for video standard.Anton Khirnov2011-05-25
|
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-19
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Merge libavcore into libavutilReinhard Tartler2011-02-15
| | | | | | | | | | | | 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>
* Prefix all _demuxer, _muxer, _protocol from libavformat and libavdevice.Diego Elio Pettenò2011-01-26
| | | | | 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.