summaryrefslogtreecommitdiff
path: root/libavdevice
Commit message (Collapse)AuthorAge
* DirectShow capture: Fix buildRamiro Polla2011-05-21
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* DirectShow capture supportRamiro Polla2011-05-21
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Merge remote branch 'qatar/master'Michael Niedermayer2011-05-13
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: (33 commits) rtpdec_qdm2: Don't try to parse data packet if no configuration is received ac3enc: put the counting of stereo rematrixing bits in the same place to make the code easier to understand. ac3enc: clean up count_frame_bits() and count_frame_bits_fixed() mpegvideo: make FF_DEBUG_DCT_COEFF output coeffs via av_log() instead of just via AVFrame. srtdec: make sure we don't write past the end of buffer wmaenc: improve channel count and bitrate error handling in encode_init() matroskaenc: make sure we don't produce invalid file with no codec ID matroskadec: check that pointers were initialized before accessing them lavf: fix function name in compute_pkt_fields2 av_dlog message lavf: fix av_find_best_stream when providing a wanted stream. lavf: fix av_find_best_stream when decoder_ret is given and using a related stream. ffmpeg: factorize quality calculation tiff: add support for SamplesPerPixel tag in tiff_decode_tag() tiff: Prefer enum TiffCompr over int for TiffContext.compr. mov: Support edit list atom version 1. configure: Enable libpostproc automatically if GPL code is enabled. Cosmetics: fix prototypes in oggdec oggdec: fix memleak with continuous streams. matroskaenc: add missing new line in av_log() call dnxhdenc: add AVClass in private context. ... swscale changes largely rewritten by me or replaced by baptsites due to lots of bugs in ronalds code. Above code is also just in case its not obvios to a large extended duplicates that where cherry picked from ffmpeg. Conflicts: configure ffmpeg.c libavformat/matroskaenc.c libavutil/pixfmt.h libswscale/ppc/swscale_template.c libswscale/swscale.c libswscale/swscale_template.c libswscale/utils.c libswscale/x86/swscale_template.c tests/fate/h264.mak tests/ref/lavfi/pixdesc_le tests/ref/lavfi/pixfmts_copy_le tests/ref/lavfi/pixfmts_null_le tests/ref/lavfi/pixfmts_scale_le tests/ref/lavfi/pixfmts_vflip_le Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * configure: Do not unconditionally add -D_POSIX_C_SOURCE to CPPFLAGS.Diego Biurrun2011-05-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adding _POSIX_C_SOURCE to CPPFLAGS globally produces all sorts of problems since it causes certain system functions to be hidden on some (BSD) systems. The solution is to only add the flag on systems that really require it, i.e. glibc-based ones. This change makes BSD systems compile out-of-the-box without the need for adding specific flags manually. It also allows dropping a number of flags set manually on a file-per-file basis, but were only present to work around breakage introduced by the presence of _POSIX_C_SOURCE. Also add _XOPEN_SOURCE to CPPFLAGS for glibc systems. We use XSI extensions in several places already, so it is preferable to define it globally instead of littering source files with individual #defines only needed for glibc.
| * Replace some commented-out debug printf() / av_log() messages with av_dlog().Diego Biurrun2011-04-29
| |
* | Make DV (sub) demuxer set proper pkt->pos values.Reimar Döffinger2011-05-02
| | | | | | | | | | This makes the avi demuxer create packets with proper pos values with the file from ticket #140.
* | Merge remote branch 'qatar/master'Michael Niedermayer2011-04-22
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: APIChanges: document git revision for CODEC_CAP_SLICE_THREADS addition. Introduce slice threads flag. FATE: allow forcing thread-type when doing threaded fate runs. Use av_log_ask_for_sample() where appropriate. error: sort, pack, and align error code and string definitions The stabilization period after version bumps should be one month, not one week. applehttp: Expose the stream bitrate via metadata doc: Add some initial docs on the applehttp demuxer Provide a fallback version of the libm function trunc libavdevice: Define _XOPEN_SOURCE for usleep lavc: provide deprecated avcodec_thread_init until next major version lavc: provide the opt.h header until the next bump error: change AVERROR_EOF value error: remove AVERROR_NUMEXPECTED error: add error code AVERROR_OPTION_NOT_FOUND, and use it in opt.c Conflicts: libavcodec/h264.c libavutil/error.c libavutil/error.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * libavdevice: Define _XOPEN_SOURCE for usleepMartin Storsjö2011-04-21
| | | | | | | | | | | | This hopefully fixes build failures on Dragonfly BSD. Signed-off-by: Martin Storsjö <martin@martin.st>
* | Merge remote branch 'qatar/master'Michael Niedermayer2011-04-20
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: (37 commits) In avcodec_open(), set return code to an error value only when an error occurs instead of unconditionally at the start of the function. lavc: remove reference to opt.h from Makefile. prefer avio_check() over url_exist() avio: remove AVIO_* access symbols in favor of new AVIO_FLAG_* symbols lavu: remove misc disabled cruft lavu: remove FF_API_OLD_IMAGE_NAMES cruft NOT PULLED lavu: remove FF_API_OLD_EVAL_NAMES cruft lavc: remove misc disabled cruft. lavc: remove the FF_API_INOFFICIAL cruft. lavc: remove the FF_API_SET_STRING_OLD cruft. lavc: remove the FF_API_USE_LPC cruft. lavc: remove the FF_API_SUBTITLE_OLD cruft. lavc: remove the FF_API_VIDEO_OLD cruft. lavc: remove the FF_API_AUDIO_OLD cruft. lavc: remove the FF_API_OPT_SHOW cruft. lavc: remove the FF_API_MM_FLAGS cruft. lavf: remove misc disabled cruft. lavf: remove FF_API_INDEX_BUILT cruft lavf: remove FF_API_URL_CLASS cruft. lavf: remove FF_API_SYMVER cruft ... Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Bump major versions of all libraries.Anton Khirnov2011-04-18
| | | | | | | | | | | | They've accumulated enough new APIs and corresponding deprecated cruft. This breaks API and ABI.
| * sndio bug fixBrad2011-03-29
| | | | | | | | | | | | | | | | Since the code already supports both little- and big-endian audio for recording, do not fail just because the endianness is not what we expect. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* | Allow to print wider unsupported channel layouts.Carl Eugen Hoyos2011-04-15
| |
* | AV_CH_LAYOUT_2_2 does not need channel reordering for alsa output.Carl Eugen Hoyos2011-04-14
| |
* | Cosmetics: Fix indentation and move one line.Carl Eugen Hoyos2011-04-14
| |
* | Support alsa channel reordering for float.Carl Eugen Hoyos2011-04-14
| |
* | Add forgotten line to silence a warning for int32.Carl Eugen Hoyos2011-04-14
| | | | | | | | | | AV_CH_LAYOUT_QUAD is the only (multi-) channel layout that has the same channel ordering for FFmpeg and alsa.
* | Also support alsa channel reordering for u16 and u32 formats.Carl Eugen Hoyos2011-04-14
| |
* | Rename the s16 and s32 alsa reorder functions as int16 and int32.Carl Eugen Hoyos2011-04-14
| | | | | | | | The functions will also be used for unsigned formats.
* | Support unsigned variants of already supported signed formats in alsa.Carl Eugen Hoyos2011-04-14
| |
* | Support a-law and mu-law output in alsa.Carl Eugen Hoyos2011-04-14
| |
* | Cosmetics: Rename variable param as the more appropriate dpyname.Sven C. Dack2011-04-12
| |
* | Cosmetics: Fix white-space in av_log() message.Sven C. Dack2011-04-12
| |
* | Fix output of AV_CH_LAYOUT_5POINT0 via alsa by reordering channels.Carl Eugen Hoyos2011-04-12
| |
* | Support CODEC_ID_PCM_F64* output via alsa (stereo only).Carl Eugen Hoyos2011-04-12
| |
* | Support CODEC_ID_PCM_S24* output via alsa (stereo only).Carl Eugen Hoyos2011-04-12
| |
* | Revert "fbdev: simplify logic in fbdev_read_packet()"Michael Niedermayer2011-04-11
| | | | | | | | | | | | This change is buggy. This reverts commit d46c9f83cf495c901e6128ce1042190f620b89c4.
* | fbdev: simplify logic in fbdev_read_packet()Stefano Sabatini2011-04-11
| | | | | | | | Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it>
* | x11: fix memleakCarl Eugen Hoyos2011-04-10
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Add support for pcm_f32* to alsa.Carl Eugen Hoyos2011-04-05
| |
* | Support s32 output via alsa audio device.Carl Eugen Hoyos2011-04-05
| |
* | Template alsa reordering functions.Carl Eugen Hoyos2011-04-05
| |
* | ALSA: fix a stupid bad use of av_freep.Nicolas George2011-03-31
| | | | | | | | | | | | It caused a segfault when channel reordering was in use and the last chunk of data was not silent. Spotted and diagnosed by Carl Eugen Hoyos.
* | Remove a memory allocation and the associated memcpy.Sven C. Dack2011-03-30
| |
* | Also use alsa_reorder_s16_out_51() for AV_CH_LAYOUT_5POINT1.Carl Eugen Hoyos2011-03-30
| |
* | sndio: allow any endianness when recordingReimar Döffinger2011-03-29
| | | | | | | | | | | | | | | | Since the code already supports both little- and big-endian audio for recording, do not fail just because the endianness is not what we expect. It is possible that 8-bit recording would not have worked at all on some systems without that change.
* | Simplify: Use FFMIN.Reimar Döffinger2011-03-29
| |
* | Merge remote-tracking branch 'newdev/master'Michael Niedermayer2011-03-29
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * newdev/master: ac3enc: avoid memcpy() of exponents and baps in EXP_REUSE case by using exponent reference blocks. Chronomaster DFA decoder DUPLICATE: framebuffer device demuxer NOT MERGED: cosmetics: fix dashed line length after 070c5d0 http: header field names are case insensitive Conflicts: LICENSE README doc/indevs.texi libavdevice/fbdev.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * framebuffer device demuxerStefano Sabatini2011-03-28
| | | | | | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* | sndio: prefer "FFmpeg" over "Libav" in the license headerStefano Sabatini2011-03-28
| |
* | Merge remote-tracking branch 'newdev/master'Michael Niedermayer2011-03-28
|\| | | | | | | | | | | | | | | | | | | | | | | | | * newdev/master: ac3enc: Add codec-specific options for writing AC-3 metadata. NOT MERGED: Remove arrozcru URL from documentation sndio support for playback and record Conflicts: doc/faq.texi doc/general.texi Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * sndio support for playback and recordBrad2011-03-27
| | | | | | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
| * Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-19
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* | ALSA: implement channel layout for playback.Nicolas George2011-03-26
| | | | | | | | | | | | | | | | Currently, only S16 quad, 5.1 and 7.1 are implemented. Implementing support for other formats/layouts and capture should be straightforward. 7.1 support by Carl Eugen Hoyos.
* | Revert "replace FFMPEG with LIBAV in FFMPEG_CONFIGURATION"Michael Niedermayer2011-03-17
| | | | | | | | This reverts commit 29ba091136a5e04574f7bfc1b17536c923958f6f.
* | Revert "use LIBAV_LICENSE and LIBAV_VERSION instead of FFMPEG_*"Michael Niedermayer2011-03-17
| | | | | | | | This reverts commit a03be6e1ba4cbf9984b0bbdb674704bbb2da6713.
* | Merge remote-tracking branch 'newdev/master'Michael Niedermayer2011-03-17
|\| | | | | | | | | | | | | | | | | | | Conflicts: Changelog doc/APIchanges doc/optimization.txt libavformat/avio.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * use LIBAV_LICENSE and LIBAV_VERSION instead of FFMPEG_*Janne Grunau2011-03-16
| |
| * replace FFMPEG with LIBAV in FFMPEG_CONFIGURATIONJanne Grunau2011-03-16
| | | | | | | | also update the multiple inclusion guards in config.h|mak
| * 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.