summaryrefslogtreecommitdiffstats
path: root/libavdevice
Commit message (Collapse)AuthorAgeFilesLines
...
* | kmsgrab: Fix build failure with old libdrmJun Zhao2017-09-141-0/+4
| | | | | | | | | | | | | | | | DRM_FORMAT_R8 was added in libdrm 2.4.68. DRM_FORMAT_R16 was added in libdrm 2.4.82. Signed-off-by: Jun Zhao <jun.zhao@intel.com> Signed-off-by: Mark Thompson <sw@jkqxz.net>
* | lavd/kmsgrab: Fix packet flag settingMark Thompson2017-09-141-4/+4
| | | | | | | | Found-by: James Almer <jamrial@gmail.com>
* | lavd: Add KMS screen grabberMark Thompson2017-09-134-1/+458
| |
* | lavd: drop QTKit indevClément Bœsch2017-09-043-364/+0
| | | | | | | | | | | | | | QTKit has been deprecated in favor of AVFoundation for years, and we have an avfoundation input device. See https://developer.apple.com/documentation/qtkit
* | lavd: drop disabled v4l codeClément Bœsch2017-09-033-366/+0
| | | | | | | | | | This code is disabled since 2012. V4L1 was dropped from the kernel more than 10 years ago.
* | build: make sndio part of the autodetected librariesClément Bœsch2017-09-021-1/+1
| | | | | | | | | | | | sndio is already autodetected, this commit makes sure --disable-autodetect actually disable it unless --enable-sndio is specified.
* | build: make alsa part of the autodetected librariesClément Bœsch2017-09-021-1/+1
| | | | | | | | | | | | alsa libs are already autodetected, this commit makes sure --disable-autodetect actually disable it unless --enable-alsa is specified.
* | build: replace use of HAVE_SDL2 with existing CONFIG_SDL2Clément Bœsch2017-09-021-11/+11
| | | | | | | | There is no need for duplication.
* | lavd: implement NewTek NDI input/output device supportMaksym Veremeyenko2017-08-276-2/+676
| | | | | | | | Signed-off-by: Marton Balint <cus@passwd.hu>
* | avdevice/decklink_enc: enable 16 output channelpkviet2017-08-271-2/+2
| | | | | | | | | | | | | | | | Decklink devices can output 2, 8 or 16 audio channels along video. The code was limited to 2 or 8 channels. The commit enables 16 audio channels (relevant for SDI outputs). Signed-off-by: Marton Balint <cus@passwd.hu>
* | avdevice/decklink_dec: fix signed and unsigned comparison warningMarton Balint2017-08-271-1/+1
| | | | | | | | Signed-off-by: Marton Balint <cus@passwd.hu>
* | libavdevice/decklink: configurablity to set max queue sizeRavindra2017-08-225-3/+12
| | | | | | | | | | Signed-off-by: Ravindra Patagar <rpatagar@akamai.com> Signed-off-by: Marton Balint <cus@passwd.hu>
* | lavd/libdc1394: Do not crash if dc1394_camera_new() fails.Carl Eugen Hoyos2017-08-181-0/+8
| | | | | | | | Fixes Ubuntu bug 1710849
* | avdevice/decklink_dec: set field order via codecparMarton Balint2017-07-301-7/+13
| | | | | | | | Signed-off-by: Marton Balint <cus@passwd.hu>
* | avdevice: make ff_reverse available on shared buildsJames Almer2017-07-202-0/+2
| | | | | | | | Should fix compilation failures introduced by 9b937958907daaddade139c36ce33c6eac269631.
* | avdevice/decklink_dec: add support for receiving op47 teletextMarton Balint2017-07-181-11/+116
| | | | | | | | | | | | | | | | | | v2: - use uint16_t instead of int to store 10-bit ancillary data - fix ancillary line numbers for 1080p - some comments and clarifications as requested by Aaron Levinson Signed-off-by: Marton Balint <cus@passwd.hu>
* | avdevice/decklink_dec: add support for decoding teletext from 10bit ↵Marton Balint2017-07-181-16/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | ancillary data This also add supports for 4K DeckLink cards because they always output the ancillary data in 10-bit. v2: - only try teletext decoding for 576i PAL mode - some comments as requested by Aaron Levinson Signed-off-by: Marton Balint <cus@passwd.hu>
* | Use AVOnce as a static variable consistentlyHendrik Leppkes2017-05-221-1/+1
| | | | | | | | | | | | | | Using AVOnce as a stack variable makes no sense as the state is lost when the function exits. This fixes repeated calls to av(filter/device)_register_all
* | avdevice/decklink: fix MSVC build issuesAaron Levinson2017-05-083-4/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Purpose: Made minor changes to get the decklink avdevice code to build using Visual C++. Notes: Made changes to configure per Hendrik Leppkes's review of first and second versions of patch. Also made slight alterations per Marton Balint's reviews. Comments: -- configure: Added if enabled decklink section and setting decklink_indev_extralibs and decklink_outdev_extralibs here for both mingw and Windows. Also eliminated the setting of these variables in the mingw section earlier in the file. -- libavdevice/decklink_common.cpp: Switched the order of the include of libavformat/internal.h to workaround build issues with Visual C++. See comment in file for more details. -- libavdevice/decklink_dec.cpp: a) Rearranged the include of libavformat/internal.h (for reasons as described above). b) Made slight alteration to an argument for call to av_rescale_q() to workaround a compiler error with Visual C++. This appears to only be an issue when building C++ files with Visual C++. See comment in code for more details. -- libavdevice/decklink_enc.cpp: Rearranged the include of libavformat/internal.h (for reasons as described above). Signed-off-by: Aaron Levinson <alevinsn@aracnet.com> Signed-off-by: Marton Balint <cus@passwd.hu>
* | avdevice/alsa: wait until playback buffers are drained before closingTakayuki 'January June' Suwa2017-05-061-0/+2
| | | | | | | | | | | | This fixes early abort on ALSA playback Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | Merge commit '92db5083077a8b0f8e1050507671b456fd155125'James Almer2017-05-041-2/+1
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | * commit '92db5083077a8b0f8e1050507671b456fd155125': build: Generate pkg-config files from Make and not from configure build: Store library version numbers in .version files Includes cherry-picked commits 8a34f3659371680ca523aecfd9098c28f0f809eb and ee164727dd64c199b87118917e674b17c25e0da3 to fix issues. Changes were also made to retain support for raise_major and build_suffix. Reviewed-by: ubitux Merged-by: James Almer <jamrial@gmail.com>
| * build: Generate pkg-config files from Make and not from configureDiego Biurrun2016-12-221-0/+1
| | | | | | | | | | | | | | | | This moves work from the configure to the Make stage where it can be parallelized and ensures that pkgconfig files are updated when library versions change. Bug-Id: 449
* | Merge commit '11a9320de54759340531177c9f2b1e31e6112cc2'Clément Bœsch2017-05-031-1/+1
|\ \ | |/ | | | | | | | | | | | | | | * commit '11a9320de54759340531177c9f2b1e31e6112cc2': build: Move build-system-related helper files to a separate subdirectory "ffbuild" directory name is used instead of "avbuild". Merged-by: Clément Bœsch <u@pkh.me>
* | Merge commit '0fea8555ae25124c21f4c4f55a5fa76e9169aa03'Clément Bœsch2017-04-261-4/+4
|\ \ | |/ | | | | | | | | | | * commit '0fea8555ae25124c21f4c4f55a5fa76e9169aa03': v4l2: use codec descriptors for mapping a codec name to id Merged-by: Clément Bœsch <u@pkh.me>
| * v4l2: use codec descriptors for mapping a codec name to idAnton Khirnov2016-12-191-4/+4
| | | | | | | | | | This mapping has nothing to do with decoder implementations, so using decoder names is wrong.
* | avdevice: do not use AVFrame accessorMuhammad Faiz2017-04-233-8/+8
| | | | | | | | | | Reviewed-by: wm4 <nfxjfg@googlemail.com> Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
* | Merge commit '1818a640cfdccd52e97edf13564f45bc3d0d93eb'Clément Bœsch2017-04-171-2/+2
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | * commit '1818a640cfdccd52e97edf13564f45bc3d0d93eb': build: Fix dependencies for alsa/jack/sndio support Added explicit enable (which will be automatically added later on in ee480790c) to actually fix this commit. Without the explicit enables, alsa, jack and sndio gets disabled. Also added jack, alsa and sndio to the have list so the HAVE_* are populated to make (this fixes the SKIPHEADERS chunks). Merged-by: Clément Bœsch <u@pkh.me>
| * build: Fix dependencies for alsa/jack/sndio supportDiego Biurrun2016-12-091-2/+2
| | | | | | | | | | These components should depend on the availability of the respective libraries, not just on the availability of the respective headers.
* | avdevice/decklink: remove pthread dependencyAaron Levinson2017-04-154-15/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Purpose: avdevice/decklink: Removed pthread dependency by replacing semaphore used in code appropriately. Doing so makes it easier to build ffmpeg using Visual C++ on Windows. This is a contination of Kyle Schwarz's "avdevice/decklink: Remove pthread dependency" patch that is available at https://patchwork.ffmpeg.org/patch/2654/ . This patch wasn't accepted, and as far as I can tell, there was no follow-up after it was rejected. Notes: Used Visual Studio 2015 (with update 3) for this. Comments: -- configure: Eliminated pthreads dependency for decklink_indev_deps and decklink_outdev_deps and replaced with threads dependency -- libavdevice/decklink_common.cpp / .h: a) Eliminated semaphore and replaced with a combination of a mutex, condition variable, and a counter (frames_buffer_available_spots). b) Removed include of pthread.h and semaphore.h and now using libavutil/thread.h instead. -- libavdevice/decklink_dec.cpp: Eliminated include of pthread.h and semaphore.h. -- libavdevice/decklink_enc.cpp: a) Eliminated include of pthread.h and semaphore.h. b) Replaced use of semaphore with the equivalent using a combination of a mutex, condition variable, and a counter (frames_buffer_available_spots). In theory, libavutil/thread.h and the associated code could have been modified instead to add cross-platform implementations of the sem_ functions, but an inspection of the ffmpeg source base indicates that there are only two cases in which semaphores are used (including this one that was replaced), so it was deemed to not be worth the effort. Signed-off-by: Marton Balint <cus@passwd.hu>
* | Merge commit '4a1ef543983b7480e2822f6ac281ba361d1f893d'Clément Bœsch2017-04-091-143/+6
|\ \ | |/ | | | | | | | | | | * commit '4a1ef543983b7480e2822f6ac281ba361d1f893d': build: Drop support for old versions of libdc1394 Merged-by: Clément Bœsch <u@pkh.me>
| * build: Drop support for old versions of libdc1394Diego Biurrun2016-12-031-143/+6
| | | | | | | | The libdc1394 API transition was finished close to a decade ago.
* | Bump versions for master after 3.3Michael Niedermayer2017-04-021-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | Bump minor for 3.3Michael Niedermayer2017-04-021-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | Bump minor versions for master after release/3.3 branchpointMichael Niedermayer2017-03-311-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | Bump minor versions for staring release/3.3 branchMichael Niedermayer2017-03-311-2/+2
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | Merge commit '67deba8a416d818f3d95aef0aa916589090396e2'Clément Bœsch2017-03-312-3/+2
|\ \ | |/ | | | | | | | | | | * commit '67deba8a416d818f3d95aef0aa916589090396e2': Use avpriv_report_missing_feature() where appropriate Merged-by: Clément Bœsch <cboesch@gopro.com>
| * Use avpriv_report_missing_feature() where appropriateDiego Biurrun2016-11-082-3/+2
| |
* | avdevice/decklink: deprecate @mode syntax in device name to specify modeMarton Balint2017-03-282-4/+4
| | | | | | | | Signed-off-by: Marton Balint <cus@passwd.hu>
* | avdevice/decklink_enc: convert to std::atomicMarton Balint2017-03-281-4/+6
| | | | | | | | Signed-off-by: Marton Balint <cus@passwd.hu>
* | Merge commit '2f806622e1270d3ed1d41a53049a19673dafbe70'Clément Bœsch2017-03-241-1/+2
|\ \ | |/ | | | | | | | | | | * commit '2f806622e1270d3ed1d41a53049a19673dafbe70': bktr: Use memset(0) instead of zero initialization for struct sigaction Merged-by: Clément Bœsch <u@pkh.me>
| * bktr: Use memset(0) instead of zero initialization for struct sigactionDiego Biurrun2016-10-221-1/+2
| | | | | | | | | | | | | | | | sigaction is not defined in standards as a struct starting with another struct. Some *BSD variants do however, resulting in a warning from the zero initialization, which this change eliminates. This partially reverts a92be9b856bd11b081041c43c25d442028fe9a63.
* | Merge commit '3a165c187da7d74f46f6c1778294e8c5a3a7151f'Clément Bœsch2017-03-222-8/+9
|\ \ | |/ | | | | | | | | | | * commit '3a165c187da7d74f46f6c1778294e8c5a3a7151f': v4l2: convert to stdatomic Merged-by: Clément Bœsch <u@pkh.me>
| * v4l2: convert to stdatomicAnton Khirnov2016-10-021-9/+9
| |
| * libdc1394: Distinguish between enumeration errors and no cameras foundJosh de Kock2016-09-151-3/+8
| | | | | | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* | avdevice/decklink: new option 'format_code' to set video format by fourCCMatthias Hunstock2017-03-225-7/+18
| | | | | | | | | | Signed-off-by: Matthias Hunstock <atze@fem.tu-ilmenau.de> Signed-off-by: Marton Balint <cus@passwd.hu>
* | avdevice/decklink: add format_code of display mode to list_format outputMatthias Hunstock2017-03-221-4/+7
| | | | | | | | | | Signed-off-by: Matthias Hunstock <atze@fem.tu-ilmenau.de> Signed-off-by: Marton Balint <cus@passwd.hu>
* | Merge commit '93fed46a92bab8be176d3e67be4354189a8dbe7f'Clément Bœsch2017-03-191-13/+0
|\ \ | |/ | | | | | | | | | | * commit '93fed46a92bab8be176d3e67be4354189a8dbe7f': timefilter: test: Drop some disabled debug cruft Merged-by: Clément Bœsch <u@pkh.me>
| * timefilter: test: Drop some disabled debug cruftDiego Biurrun2016-08-171-13/+0
| |
* | Merge commit '5ed4644d6de7f6112431dc2d9a5cfe9a0a75a688'Clément Bœsch2017-03-154-4/+4
|\ \ | |/ | | | | | | | | | | * commit '5ed4644d6de7f6112431dc2d9a5cfe9a0a75a688': x11grab: Rename internal component to "xcbgrab" Merged-by: Clément Bœsch <u@pkh.me>
| * x11grab: Rename internal component to "xcbgrab"Diego Biurrun2016-07-294-4/+4
| |
OpenPOWER on IntegriCloud