Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-07-19avutil: merge slice threading implementation from avcodec and avfilterMuhammad Faiz
Rework it to improve performance. Now mutex is not shared by workers, instead each worker has its own mutex and condition variable. This reduces lock contention between workers. Also use atomic variable for counter. The interface also allows execute to run special function on main thread, requested by Ronald. Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
2017-07-19pixdesc: Add a test for av_find_best_pix_fmt_of_2()Mark Thompson
2017-06-27lavu: add new D3D11 pixfmt and hwcontextwm4
To be used with the new d3d11 hwaccel decode API. With the new hwaccel API, we don't want surfaces to depend on the decoder (other than the required dimension and format). The old D3D11VA pixfmt uses ID3D11VideoDecoderOutputView pointers, which include the decoder configuration, and thus is incompatible with the new hwaccel API. This patch introduces AV_PIX_FMT_D3D11, which uses ID3D11Texture2D and an index. It's simpler and compatible with the new hwaccel API. The introduced hwcontext supports only the new pixfmt. Frame upload code untested. Significantly based on work by Steve Lhomme <robux4@gmail.com>, but with heavy changes/rewrites. Merges Libav commit fff90422d181744cd75dbf011687ee7095f02875. Signed-off-by: Diego Biurrun <diego@biurrun.de>
2017-06-15avutil/tests: remove float_dsp testJames Almer
It's been ported to checkasm. Signed-off-by: James Almer <jamrial@gmail.com>
2017-05-15videotoolbox: add hwcontext supportwm4
This adds tons of code for no other benefit than making VideoToolbox support conform with the new hwaccel API (using hw_device_ctx and hw_frames_ctx). Since VideoToolbox decoding does not actually require the user to allocate frames, the new code does mostly nothing. One benefit is that ffmpeg_videotoolbox.c can be dropped once generic hwaccel support for ffmpeg.c is merged from Libav. Does not consider VDA or VideoToolbox encoding. Fun fact: the frame transfer functions are copied from vaapi, as the mapping makes copying generic boilerplate. Mapping itself is not exported by the VT code, because I don't know how to test.
2017-05-05Merge commit '92db5083077a8b0f8e1050507671b456fd155125'James Almer
* 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>
2017-05-03Merge commit '11a9320de54759340531177c9f2b1e31e6112cc2'Clément Bœsch
* 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>
2017-04-14Merge commit '2170017a1cd033b6f28e16476921022712a522d8'James Almer
* commit '2170017a1cd033b6f28e16476921022712a522d8': avutil: fix data race in av_get_cpu_flags() This commit is a noop, see fed50c4304eecb352e29ce789cdb96ea84d6162f Merged-by: James Almer <jamrial@gmail.com>
2017-01-02avutil/tests: added selftest for aes_ctr.cThomas Turner
Signed-off-by: Thomas Turner <thomastdt@googlemail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-12-22build: Generate pkg-config files from Make and not from configureDiego Biurrun
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
2016-12-21avutil: Added selftest for libavutil/audio_fifo.cThomas Turner
Signed-off-by: Thomas Turner <thomastdt@googlemail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-12-11avutil/tests: run the cpu_init.c test conditionally on HAVE_THREADSWan-Teh Chang
Suggested by Diego Biurrun and James Almer. Signed-off-by: Wan-Teh Chang <wtc@google.com> Signed-off-by: James Almer <jamrial@gmail.com>
2016-12-11fate: add av_image_check_size() testMichael Niedermayer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-12-08avutil: fix data race in av_get_cpu_flags()Wan-Teh Chang
Make the one-time initialization in av_get_cpu_flags() thread-safe. The static variables |flags|, |cpuflags_mask|, and |checked| in libavutil/cpu.c are read and written using normal load and store operations. These are considered as data races. The fix is to use atomic load and store operations. Remove the |checked| variable because the invalid value of -1 for |flags| can be used to indicate the same condition. Rename |flags| to |cpu_flags| and move it to file scope. The fix can be verified by running the libavutil/tests/cpu_init.c test program under ThreadSanitizer: ./configure --toolchain=clang-tsan make libavutil/tests/cpu_init libavutil/tests/cpu_init There should be no warnings from ThreadSanitizer. Co-author: Dmitry Vyukov of Google, who suggested the data race fix. Signed-off-by: Wan-Teh Chang <wtc@google.com>
2016-12-07lavu: Add AVSphericalMapping type and frame side dataVittorio Giovara
While no decoder currently exports spherical information, this type represents a frame property that has to be passed through from container to frames. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2016-12-07lavu: Add AVSphericalMapping type and frame side dataVittorio Giovara
While no decoder currently exports spherical information, this type represents a frame property that has to be passed through from container to frames. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2016-11-24cuda: check for cuda.h when enabledJames Almer
Fixes make checkheaders on systems without the Cuda Toolkit, which was broken after the dynlink changes. Signed-off-by: James Almer <jamrial@gmail.com>
2016-11-24avutil/tests: Add cpu_init.c to check whether the one-time initialization in ↵Wan-Teh Chang
av_get_cpu_flags() has data races. Co-author: Dmitry Vyukov of Google Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-10-02lavu: remove the custom atomic APIAnton Khirnov
It has been replaced by C11 stdatomic.h and is now unused.
2016-09-28avutil/hwcontext: use CONFIG_QSV instead of CONFIG_LIBMFX for qsvJames Almer
See "[FFmpeg-devel] [PATCH] hwcontext: add a QSV implementation" Suggested-by: nablet developer <sdk@nablet.com> Signed-off-by: James Almer <jamrial@gmail.com>
2016-09-28Merge commit '59e7361cc791e5103be1712dc59a2055f118d0da'James Almer
* commit '59e7361cc791e5103be1712dc59a2055f118d0da': hwcontext: add a QSV implementation Conflicts: doc/APIchanges libavutil/version.h Merged-by: James Almer <jamrial@gmail.com>
2016-06-22Merge commit 'c46db38cde8e8fd8ecb1c6602f10ec0e002f29a8'Hendrik Leppkes
* commit 'c46db38cde8e8fd8ecb1c6602f10ec0e002f29a8': hwcontext: add a dxva2 implementation Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2016-06-22Merge commit 'a6a750c7ef240b72ce01e9653343a0ddf247d196'Clément Bœsch
* commit 'a6a750c7ef240b72ce01e9653343a0ddf247d196': tests: Move all test programs to a subdirectory Merged-by: Clément Bœsch <clement@stupeflix.com>
2016-06-21hwcontext: add a QSV implementationAnton Khirnov
2016-05-17hwcontext: add a dxva2 implementationAnton Khirnov
2016-05-09Merge commit '01621202aad7e27b2a05c71d9ad7a19dfcbe17ec'Derek Buitenhuis
* commit '01621202aad7e27b2a05c71d9ad7a19dfcbe17ec': build: miscellaneous cosmetics Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-04-14Merge commit '551c6775abb5e0ad34c26d7e23bc6fbbe8ccc9d4'Derek Buitenhuis
* commit '551c6775abb5e0ad34c26d7e23bc6fbbe8ccc9d4': lavu: VAAPI hwcontext implementation Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-04-07build: miscellaneous cosmeticsDiego Biurrun
Restore alphabetical order in lists, break overly long lines, do some prettyprinting, add some explanatory section comments, group parts together that belong together logically.
2016-03-22Added a selftest to libavutil/display.cPetru Rares Sincraian
- Check if av_display_rotation_get() gets the correct degrees - Check if av_display_rotation_set() sets the correct matrix - Check if av_display_matrix_flip() changes correct the matrix Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-03-19lavu: VAAPI hwcontext implementationMark Thompson
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2016-03-09Add tests for functions in hash.cNagaChaitanya Vellanki
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-03-03Add test for avpriv_get_trc_function_from_trc functionNagaChaitanya Vellanki
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-02-24Merge commit 'd847a40888c064cc8c35b546fc5a0ccb69136a7c'Derek Buitenhuis
* commit 'd847a40888c064cc8c35b546fc5a0ccb69136a7c': hwcontext_cuda/vdpau: add to skipheaders Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-02-24Merge commit 'ad884d100259e55cb51a4239cd8a4fd5154c2073'Derek Buitenhuis
* commit 'ad884d100259e55cb51a4239cd8a4fd5154c2073': hwcontext: add a CUDA implementation Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-02-18hwcontext_cuda/vdpau: add to skipheadersAnton Khirnov
2016-02-17Merge commit 'a001ce31bc2bcf875a39b5fb22dae49120293b42'Derek Buitenhuis
* commit 'a001ce31bc2bcf875a39b5fb22dae49120293b42': hwcontext: add a VDPAU implementation Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-02-17Merge commit '89923e418b494e337683442ab896d754bc07341a'Derek Buitenhuis
* commit '89923e418b494e337683442ab896d754bc07341a': lavu: add a framework for handling hwaccel frames Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-02-15hwcontext: add a CUDA implementationAnton Khirnov
2016-02-15hwcontext: add a VDPAU implementationAnton Khirnov
2016-02-14lavu: add a framework for handling hwaccel framesAnton Khirnov
2016-01-19libavutil: add mastering display metadata sidedataNeil Birkbeck
Adding mastering display metadata struct to avutil. The mastering display metadata contains information about the mastering display color volume (SMPTE 2086:2014). This info comes from HEVC in the SEI_TYPE_MASTERING_DISPLAY_INFO and is soon to be included in MKV: https://mailarchive.ietf.org/arch/search/?email_list=cellar&gbt=1&index=sZyfPTM-QY69P-0omfOIiTN622o so it is similar to SEI FPA / stereo_mode in MKV and as such this patch follows how AVStereo3D is implemented. I'll add support to HEVC in a follow-up (and MKV when spec is approved). Signed-off-by: Neil Birkbeck <neil.birkbeck@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-12-15libavutil: add aes-ctr supporterankor
for supporting mp4 cenc encoding/decoding Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-12-02avutil/rational: Test av_rescale_rnd() with combinations of "special" valuesMichael Niedermayer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-10-21avutil: install des.h, rc4.h and tree.h as public headersAndreas Cadhalpun
These headers contain functions supposed to be public. libavutil/des.h: av_des_alloc av_des_crypt av_des_init av_des_mac libavutil/rc4.h: av_rc4_alloc av_rc4_crypt av_rc4_init libavutil/tree.h av_tree_destroy av_tree_enumerate av_tree_find av_tree_insert av_tree_node_alloc av_tree_node_size Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
2015-09-05Merge commit '2d40968dd3ff17b12f7c80dbfad409b14418e267'Hendrik Leppkes
* commit '2d40968dd3ff17b12f7c80dbfad409b14418e267': lavu: Drop deprecated audioconvert.h header Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2015-09-05Merge commit '183db02a51a422568084b113a7571c845ca68622'Hendrik Leppkes
* commit '183db02a51a422568084b113a7571c845ca68622': lavu: Drop deprecated old_pix_fmt.h and related code Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2015-08-28lavu: Drop deprecated audioconvert.h headerVittorio Giovara
Deprecated in 11/2012.
2015-08-28lavu: Drop deprecated old_pix_fmt.h and related codeVittorio Giovara
Deprecated in 10/2012.
2015-08-12avutil: add ff_reverse as av_reverse replacementAndreas Cadhalpun
The table is used in libavutil/eval.c. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
2015-07-23avutil/softfloat: move av_sincos_sf() back to headerJames Almer
Fixes compilation of host tool aacps_fixed_tablegen Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: James Almer <jamrial@gmail.com>