summaryrefslogtreecommitdiff
path: root/libavutil
Commit message (Collapse)AuthorAge
* Merge commit '52627248e49e58eb4b78e4fcda90a64f4c476ea3'James Almer2017-05-08
|\ | | | | | | | | | | | | * commit '52627248e49e58eb4b78e4fcda90a64f4c476ea3': frame: add a cropping rectangle to AVFrame Merged-by: James Almer <jamrial@gmail.com>
| * frame: add a cropping rectangle to AVFrameAnton Khirnov2017-01-12
| | | | | | | | | | Extend the width/height doxy to clarify that it should store coded values.
* | avutil/softfloat: Fix overflow in av_div_sf()Michael Niedermayer2017-05-06
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avutil/softfloat: Fix multiple runtime error: left shift of negative value -8Michael Niedermayer2017-05-06
| | | | | | | | | | | | | | Fixes: 1352/clusterfuzz-testcase-minimized-5757565017260032 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | Merge commit '00b6a765430e5c5cacf0bd1be8b318d631cd4e14'Clément Bœsch2017-05-05
|\| | | | | | | | | | | | | * commit '00b6a765430e5c5cacf0bd1be8b318d631cd4e14': hmac: Explicitly convert types at function pointer assignment Merged-by: Clément Bœsch <cboesch@gopro.com>
| * hmac: Explicitly convert types at function pointer assignmentDiego Biurrun2017-01-09
| | | | | | | | | | Fixes a number of warnings of the type libavutil/hmac.c:61:21: warning: assignment from incompatible pointer type
* | lavu/sha512: update length argument following sha+md5 changesClément Bœsch2017-05-05
| |
* | Merge commit 'e435beb1ea5380a90774dbf51fdc8c941e486551'Clément Bœsch2017-05-05
|\| | | | | | | | | | | | | * commit 'e435beb1ea5380a90774dbf51fdc8c941e486551': crypto: consistently use size_t as type for length parameters Merged-by: Clément Bœsch <cboesch@gopro.com>
| * crypto: consistently use size_t as type for length parametersDiego Biurrun2017-01-09
| | | | | | | | size_t is the correct type to use for sizes.
| * x86inc: Avoid using eax/rax for storing the stack pointerHenrik Gramner2017-01-09
| | | | | | | | | | | | | | | | | | | | | | When allocating stack space with an alignment requirement that is larger than the current stack alignment we need to store a copy of the original stack pointer in order to be able to restore it later. If we chose to use another register for this purpose we should not pick eax/rax since it can be overwritten as a return value. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* | lavu/timecode: Increase AV_TIMECODE_STR_SIZE.Carl Eugen Hoyos2017-05-05
| | | | | | | | | | Fixes the following warning: libavutil/timecode.c:103:60: warning: '%02d' directive output may be truncated writing between 2 and 10 bytes into a region of size between 0 and 7
* | Merge commit '92db5083077a8b0f8e1050507671b456fd155125'James Almer2017-05-04
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-22
| | | | | | | | | | | | | | | | 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-03
|\| | | | | | | | | | | | | | | | | * 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>
* | avutil/softfloat: use ldexp(), fixes undefined shiftMichael Niedermayer2017-05-02
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | Merge commit '05a603a94e4b3eeefa5e18ae653a848001461e89'Clément Bœsch2017-04-26
|\| | | | | | | | | | | | | * commit '05a603a94e4b3eeefa5e18ae653a848001461e89': ppc: Merge types_altivec.h into util_altivec.h Merged-by: Clément Bœsch <u@pkh.me>
| * ppc: Merge types_altivec.h into util_altivec.hDiego Biurrun2016-12-14
| | | | | | | | There is no point in keeping the two separate.
* | libavutil/thread.h: Fixed g++ build error when ASSERT_LEVEL is greater than 1Aaron Levinson2017-04-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Purpose: libavutil/thread.h: Fixed g++ build error when ASSERT_LEVEL is greater than 1. This is only relevant when thread.h is included by C++ files. In this case, the relevant code is only defined if HAVE_PTHREADS is defined as 1. Use configure --assert-level=2 to do so. Note: Issue discovered as a result of Coverity build failure. Cause of build failure pinpointed by Hendrik Leppkes. Comments: -- libavutil/thread.h: Altered ASSERT_PTHREAD_NORET definition such that it uses av_make_error_string instead of av_err2str(). av_err2str() uses a "parenthesized type followed by an initializer list", which is apparently not valid C++. This issue started occurring because thread.h is now included by the DeckLink C++ files. The alteration does the equivalent of what av_err2str() does, but instead declares the character buffer as a local variable. Signed-off-by: Marton Balint <cus@passwd.hu>
* | Merge commit '2170017a1cd033b6f28e16476921022712a522d8'James Almer2017-04-13
|\| | | | | | | | | | | | | | | | | * 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>
| * avutil: fix data race in av_get_cpu_flags()Wan-Teh Chang2016-12-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| * Add missing #includes for standalone spherical-information-related headersDiego Biurrun2016-12-08
| |
| * lavc: Add spherical packet side data APIVittorio Giovara2016-12-07
| | | | | | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
| * lavu: Add AVSphericalMapping type and frame side dataVittorio Giovara2016-12-07
| | | | | | | | | | | | | | | | 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>
* | Merge commit '075acbb6ff5740b2eea1bb7dd3afbc8e66e2ebf8'James Almer2017-04-13
|\| | | | | | | | | | | | | * commit '075acbb6ff5740b2eea1bb7dd3afbc8e66e2ebf8': lavu: Add a video section to Doxygen documentation Merged-by: James Almer <jamrial@gmail.com>
| * lavu: Add a video section to Doxygen documentationVittorio Giovara2016-12-07
| | | | | | | | | | | | | | Fill it with AVStereo3D and AVDisplayMatrix documentation. Apply the necessary changes to make verbatim code look good in doxygen. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* | x86/float_dsp: add ff_vector_fmul_reverse_avx2James Almer2017-04-11
| | | | | | | | | | | | ~20% faster than AVX. Signed-off-by: James Almer <jamrial@gmail.com>
* | doc/APIChages: Add av_strireplace()Steven Liu2017-04-11
| | | | | | | | | | | | | | Add av_strireplace() into APIChanges Reviewed-by: James Almer <jamrial@gmail.com> Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
* | avutil/avstring: improve av_strreplace implementSteven Liu2017-04-11
| | | | | | | | | | | | | | | | Use AVBprint to implement av_strreplace add av_strreplace test case TEST_STRREPLACE Reviewed-by: Nicolas George <george@nsup.org> Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
* | avutil/internal: Do not enable CHECKED with DEBUGMichael Niedermayer2017-04-11
| | | | | | | | | | | | | | | | | | This avoids potential undefined behavior in debug mode while still allowing developers which want to check for potential additional overflows to do so by manually enabling this. Reviewed-by: wm4 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | x86/float_dsp: add ff_vector_dmac_scalar_{sse2,avx,fma3}James Almer2017-04-10
| |
* | avutil/float_dsp: add test for vector_dmac_scalarJames Almer2017-04-10
| |
* | avutil/float_dsp: add vector_dmac_scalar()Paul B Mahol2017-04-10
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | Merge commit '706af9227b58657c73e3a4df3689da734f010500'Clément Bœsch2017-04-08
|\| | | | | | | | | | | | | * commit '706af9227b58657c73e3a4df3689da734f010500': lavu: Document the color properties enumeration values origin Merged-by: Clément Bœsch <u@pkh.me>
| * lavu: Document the color properties enumeration values originVittorio Giovara2016-12-02
| |
| * hwcontext_vaapi: Don't abort on failing to allocate from a fixed-size poolMark Thompson2016-11-26
| |
* | lavu: add support for Content Light Level side metadataSteve Lhomme2017-04-06
| | | | | | | | | | | | As found in HEVC. Signed-off-by: James Almer <jamrial@gmail.com>
* | Merge commit '6a1ea4ec932f4fc9fdc00ec51ee070b298ddb35f'James Almer2017-04-04
|\| | | | | | | | | | | | | * commit '6a1ea4ec932f4fc9fdc00ec51ee070b298ddb35f': arm: warn/error on movrelx usage problematic with PIC on ELF Merged-by: James Almer <jamrial@gmail.com>
| * arm: warn/error on movrelx usage problematic with PIC on ELFJanne Grunau2016-11-24
| | | | | | | | | | | | The warning has false positives but our asm does not trigger it. For new code false positives can only be avoided by changing the register allocation.
| * Drop some bogus Doxygen documentation.Diego Biurrun2016-11-21
| |
* | Merge commit 'a1d9de304fe63614e3aa8117fef17491fa80093d'Clément Bœsch2017-04-03
|\| | | | | | | | | | | | | * commit 'a1d9de304fe63614e3aa8117fef17491fa80093d': Fix some mismatches between function parameter and doxygen parameter names. Merged-by: Clément Bœsch <u@pkh.me>
| * Fix some mismatches between function parameter and doxygen parameter names.Diego Biurrun2016-11-21
| |
* | Bump versions for master after 3.3Michael Niedermayer2017-04-02
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | Bump minor for 3.3Michael Niedermayer2017-04-02
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | Merge commit 'e18ba2dfd2d19aedc8afccf011d5fd0833352423'Hendrik Leppkes2017-04-01
|\| | | | | | | | | | | | | * commit 'e18ba2dfd2d19aedc8afccf011d5fd0833352423': hwcontext_dxva2: make sure the sw frame format is the right one during transfer Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * hwcontext_dxva2: make sure the sw frame format is the right one during transferAnton Khirnov2016-11-18
| |
* | Merge commit '5a1d605ceae448b476a525f7368ec452000d1f26'Hendrik Leppkes2017-04-01
|\| | | | | | | | | | | | | * commit '5a1d605ceae448b476a525f7368ec452000d1f26': hwcontext_dxva2: split transfer_data() into upload/download functions Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * hwcontext_dxva2: split transfer_data() into upload/download functionsAnton Khirnov2016-11-18
| | | | | | | | | | | | Just the presence of a hw frames context is not enough to detect whether the transfer is an upload or a download, because hw frames mapped to system memory will have a hw frames context attached.
* | Merge commit '9d7026574bbbe67d004a1c32911da75375692967'Hendrik Leppkes2017-04-01
|\| | | | | | | | | | | | | * commit '9d7026574bbbe67d004a1c32911da75375692967': hwcontext_dxva2: fix handling of the mapping flags Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * hwcontext_dxva2: fix handling of the mapping flagsAnton Khirnov2016-11-18
| | | | | | | | | | | | D3DLOCK_READONLY properly corresponds to the absence of the write flag, not to the presence of the read flag, while D3DLOCK_DISCARD is equivalent to the overwrite flag.
* | Merge commit '0d3176e32f351d18d6174d8b05796829a75a4c6b'Hendrik Leppkes2017-04-01
|\| | | | | | | | | | | | | * commit '0d3176e32f351d18d6174d8b05796829a75a4c6b': hwcontext_dxva2: do not assume the destination format during mapping is always the right one Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>