summaryrefslogtreecommitdiff
path: root/libavdevice
Commit message (Collapse)AuthorAge
...
* | lavdev/lavfi: reindent after the last commitStefano Sabatini2011-09-16
| |
* | lavdev/lavfi: add audio supportStefano Sabatini2011-09-16
| |
* | dshow: remove filters from graph before releasing themRamiro Polla2011-09-16
| | | | | | | | Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
* | dshow: reset list for each filter removedRamiro Polla2011-09-16
| | | | | | | | Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
* | dshow: invert condition to avoid leaking objectsRamiro Polla2011-09-16
| | | | | | | | Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
* | dshow: cleanup internal references on capture interfaceRamiro Polla2011-09-16
| | | | | | | | Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
* | dshow: release pin on disconnectRamiro Polla2011-09-16
| | | | | | | | Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
* | dshow: indentRamiro Polla2011-09-16
| | | | | | | | Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
* | dshow: add option to list audio/video optionsRamiro Polla2011-09-16
| | | | | | | | Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
* | dshow: add audio/video optionsRamiro Polla2011-09-16
| | | | | | | | Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
* | dshow: initialize variable to prevent releasing random dataRamiro Polla2011-09-16
| | | | | | | | Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
* | dshow: factorise cycling through pinsRamiro Polla2011-09-16
| | | | | | | | Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
* | dshow: indentRamiro Polla2011-09-12
| | | | | | | | Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it>
* | dshow: add option to list devicesRamiro Polla2011-09-12
| | | | | | | | Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it>
* | dshow: factorise cycling through devicesRamiro Polla2011-09-12
| | | | | | | | Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it>
* | alsa: increase max buffer sizeMichael Niedermayer2011-09-12
| | | | | | | | | | | | | | | | Fixes Ticket373 Thanks to llogan for testing Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | dshow: properly disconnect and remove filters from graphRamiro Polla2011-09-06
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | dshow: remove some unused codeRamiro Polla2011-09-06
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | vfwcap: actually use framerate optionRamiro Polla2011-09-06
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavfi: rename vsink_buffer.c to sink_buffer.c, and vsink_buffer.h to ↵Stefano Sabatini2011-09-06
| | | | | | | | | | | | | | | | buffersink.h This is done in order to clarify the non-video-specific nature of the buffersink code, as the result of the video/audio API unification of the previous commit, and for improving overall consistency.
* | lavfi: unify asink_buffer and vsink_buffer APIStefano Sabatini2011-09-06
| | | | | | | | | | | | | | | | | | The new API is more generic (no distinction between audio/video for pulling frames), and avoids code duplication. A backward compatibility layer is kept for avoiding tools ABI breaks (only for the video binary interface, audio interface was never used in the tools).
* | openal-dec: fix missing list_devices unit for list_devices AVOptionMichael Niedermayer2011-09-02
| | | | | | | | | | Found-by: Ramiro Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Do not free BITMAPINFOHEADER before we are done using it.Reimar Döffinger2011-09-01
| | | | | | | | | | | | | | Fixes trac ticket #396. Completely untested. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | Replace some commented-out debug printf() / av_log() messages with av_dlog().Diego Biurrun2011-09-01
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavdev/lavfi: add debug traces in lavfi_read_packet()Stefano Sabatini2011-08-31
| |
* | lavdev/lavfi: set sample aspect ratio in the output stream/codec contextStefano Sabatini2011-08-21
| |
* | lavdev/lavfi: specify pos in the output packetsStefano Sabatini2011-08-20
| |
* | lavdev/lavfi: initialize variable, fix warningStefano Sabatini2011-08-20
| |
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-08-15
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: Fix NASM include directive dsputil_mmx: Honor HAVE_AMD3DNOW lavf,lavd: remove all usage of AVFormatParameters from demuxers. jack: add 'channels' private option. VC-1: fix reading of custom PAR. Remove redundant and dubious video codec detection by its extradata mpeg12: remove repeat-field code disabled since May 2002 patch checklist: suggest fate instead of regression tests Turn on resampling on sudden size change instead of bailing out during recode. avtools: reinitialise filter chain when input video stream changes dimensions Conflicts: Makefile avconv.c doc/developer.texi ffplay.c libavcodec/x86/dsputil_mmx.c libavdevice/libdc1394.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * 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.
| * jack: add 'channels' private option.Anton Khirnov2011-08-15
| | | | | | | | Get rid of AVFormatParameters usage.
* | lavdev/lavfi: correctly set the inout pad index when linking a filter to the ↵Stefano Sabatini2011-08-14
| | | | | | | | | | | | | | | | output sink In lavfi_read_header(), use the pad index designated in the inout for linking an output to a sink, rather than always 0. Fix link creation for filters with more than one output (e.g. the split filter).
* | lavdev: add libavfilter virtual input deviceStefano Sabatini2011-08-11
| | | | | | | | | | This input device is to be considered still experimental, only video output is supported.
* | alsa: remove too unused variables.Clément Bœsch2011-08-10
| | | | | | | | | | | | This fixes the two following warnings: libavdevice/alsa-audio-dec.c:62:26: warning: unused variable ‘sw_params’ [-Wunused-variable] libavdevice/alsa-audio-dec.c:109:15: warning: unused variable ‘st’ [-Wunused-variable]
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-08-01
|\| | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: lavc: Deprecate unused FF_ER_VERY_AGGRESSIVE x11grab: add show_region AVOption. x11grab: add follow_mouse AVOption. Do not convert RGB buffer at once when stride does not fit exact samples. Conflicts: libswscale/swscale_unscaled.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * x11grab: add show_region AVOption.Yu-Jie Lin2011-07-31
| | | | | | | | | | | | | | Draw the current grabbing region for indication. Signed-off-by: Yu-Jie Lin <livibetter@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
| * x11grab: add follow_mouse AVOption.Yu-Jie Lin2011-07-31
| | | | | | | | | | | | | | | | | | -follow_mouse centered|PIXELS move grabbing region to where mouse pointer at the center; or only move when pointer reaches within PIXELS to the edge. Signed-off-by: Yu-Jie Lin <livibetter@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-07-15
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: configure: Automatically add more flags required on symbian mem.h: switch doxygen parameter order to match function prototype doxygen: replace @sa tag by the more readable but equivalent @see doxygen: use Doxygen markup for authors and web links where appropriate doxygen: do not include license boilerplate in Doxygen documentation ac3enc: Mark AVClasses const ffserver: Replace two loops with one loop. ffmpeg: Fix the check for experimental codecs swscale: extend mmx padding. swscale: clip unscaled colorspace conversion path. doxygen: misc consistency cosmetics doc: remove file name from @file directive in Doxygen usage example doxygen: consistently place brief description doxygen: place empty line between brief description and detailed description avformat_open_input(): Add braces to shut up gcc warning. Conflicts: libavcodec/8svx.c libavcodec/tiff.c libavcodec/tiff.h libavcodec/vaapi_h264.c libavcodec/vorbis.c libavcodec/vorbisdec.c libavcodec/vp6.c libswscale/swscale_unscaled.c libswscale/utils.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * doxygen: use Doxygen markup for authors and web links where appropriateDiego Biurrun2011-07-15
| |
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-07-10
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: (22 commits) H.264: fix filter_mb_fast with 4:4:4 + 8x8dct alsa: limit buffer_size to 32768 frames. alsa: fallback to buffer_size/4 for period_size. doc: replace @pxref by @ref where appropriate mpeg1video: don't abort if thread_count is too high. segafilm: add support for videos with cri adx adpcm gxf: Fix 25 fps DV material in GXF being misdetected as 50 fps libxvid: Add const qualifier to silence compiler warning. H.264: improve qp_thresh check H.264: use fill_rectangle in CABAC decoding H.264: Remove redundant hl_motion_16/8 code H.264: merge fill_rectangle into P-SKIP MV prediction, to match B-SKIP H.264: faster P-SKIP decoding H.264: av_always_inline some more functions H.264: Add x86 assembly for 10-bit H.264 predict functions swscale: rename uv_off/uv_off2 to uv_off_px/byte. swscale: implement error dithering in planarCopyWrapper. swscale: error dithering for 16/9/10-bit to 8-bit. swscale: fix overflow in 16-bit vertical scaling. swscale: fix crash in 8-bpc bilinear output without alpha. ... Conflicts: doc/developer.texi libavdevice/alsa-audio.h libavformat/gxf.c libswscale/swscale.c libswscale/swscale_internal.h libswscale/swscale_unscaled.c libswscale/x86/swscale_template.c tests/ref/lavfi/pixdesc tests/ref/lavfi/pixfmts_copy tests/ref/lavfi/pixfmts_crop tests/ref/lavfi/pixfmts_hflip tests/ref/lavfi/pixfmts_null tests/ref/lavfi/pixfmts_scale tests/ref/lavfi/pixfmts_vflip Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * alsa: limit buffer_size to 32768 frames.Justin Ruggles2011-07-09
| | | | | | | | | | | | In testing, the file output plugin gave a max buffer size of about 20 million frames, which is way more than what is really needed and causes a memory allocation error on my system.
| * alsa: fallback to buffer_size/4 for period_size.Justin Ruggles2011-07-09
| | | | | | | | | | buffer_size/4 is the value used by aplay. This fixes output to null devices, e.g. writing ALSA output to a file.
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-07-09
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: (28 commits) mp3enc: write a xing frame containing number of frames in the file lavf: update AVStream.nb_frames when muxing. ffmpeg: remove unused variables from InputStream. doc: update ffmpeg -ar and -ac documentation to reflect reality. ffmpeg: remove pointless if (nb_input_files) ffmpeg: merge input_files_ts_offset into input_files. ffmpeg: merge input_codecs into input_streams. ffmpeg: drop AV prefixes from struct names. ffmpeg: deprecate loop_input and loop_output options gif: add loop private option. img2: add loop private option. AVOptions: in av_opt_find() don't return named constants unless unit is specified. x11grab: replace undocumented nomouse hackery with a private option. dict: extend documentation. lls: whitespace cosmetics docs: Use proper markup for a literal command line option docs: Remove a remark that isn't relevant any longer docs: Explain how to regenerate import libraries with MSVC tools docs: Mention that libraries for MSVC can be built with a cross compiler docs: Remove old docs that mention setting up a build environment with lib.exe ... Conflicts: doc/ffmpeg.texi doc/general.texi ffmpeg.c libavcodec/Makefile libavcodec/dnxhddata.c libavformat/mp3enc.c libavformat/utils.c libavutil/Makefile tests/copycooker.sh Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * x11grab: replace undocumented nomouse hackery with a private option.Anton Khirnov2011-07-08
| |
| * libavdevice: Remove disabled code.Diego Biurrun2011-07-07
| |
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-07-06
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: Add some missing mathematics.h #includes for av_rescale(). opencore-amr: Add missing initializer braces to shut up gcc warning. ARM: workaround for bug in GNU assembler dv: fix comment wording mistake Rename libavcodec/high_bit_depth.h ---> libavcodec/bit_depth_template.c dv: fix valgrind use of uninitialised value warnings. mxfenc: fix ignored drop flag in binary timecode representation. PPC: use Altivec IMDCT only for supported sizes dv: fix comment spelling configure: simplify -rpath-link linker flag Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Add some missing mathematics.h #includes for av_rescale().Diego Biurrun2011-07-05
| |
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-07-04
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: (40 commits) H.264: template left MB handling H.264: faster fill_decode_caches H.264: faster write_back_* H.264: faster fill_filter_caches H.264: make filter_mb_fast support the case of unavailable top mb Do not include log.h in avutil.h Do not include pixfmt.h in avutil.h Do not include rational.h in avutil.h Do not include mathematics.h in avutil.h Do not include intfloat_readwrite.h in avutil.h Remove return statements following infinite loops without break RTSP: Doxygen comment cleanup doxygen: Escape '\' in Doxygen documentation. md5: cosmetics md5: use AV_WL32 to write result md5: add fate test md5: include correct headers md5: fix test program doxygen: Drop array size declarations from Doxygen parameter names. doxygen: Fix parameter names to match the function prototypes. ... Conflicts: libavcodec/x86/dsputil_mmx.c libavformat/flvenc.c libavformat/oggenc.c libavformat/wtv.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
* | ALSA demuxer: use av_gettime and a timefilter.Nicolas George2011-07-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The PTS for captured audio was measured using snd_pcm_htimestamp. snd_pcm_htimestamp hangs when the input is a dsnoop plugin. Furthermore, at some point, snd_pcm_htimestamp started returning monotonic timestamps rather than wall clock timestamps, in most but not all situations. Monotonic timestamps are fine, but ffmpeg uses wall clock timestamps everywhere else, and we have no API to inform the user which kind of timestamps it is. A separate snd_pcm_htimestamp is only slightly less accurate than snd_pcm_htimestamp: the standard deviation for the difference between two consecutive timestamps is (on my hardware): - ~13 µs with snd_pcm_htimestamp; - ~35 µs with av_gettime; - ~5 µs with av_gettime and a timefilter.
* | ALSA: fix use of period_size.Nicolas George2011-07-01
| | | | | | | | | | period_size is in frames, while the demuxer assumed it was in bytes, resulting in short reads.