- 03 Aug, 2016 16 commits
-
-
Anton Khirnov authored
In such a case behave as if the buffer was not reallocatable -- allocate a new one and copy the data (preserving just the part described by the reference passed to av_buffer_realloc). CC: libav-stable@libav.org Reported-By: wm4 <nfxjfg@googlemail.com>
-
Ronald S. Bultje authored
Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
Ronald S. Bultje authored
Also a slight change to the ssse3 code, which prevents a theoretical overflow in the sharp filter. Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
James Almer authored
Roughly 25% faster MC than ssse3 for blocksizes 32 and 64. Reviewed-by: Ronald S. Bultje <rsbultje@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
Clément Bœsch authored
Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
James Almer authored
pavgb is an sse integer instruction, so the mmxext flag is enough Signed-off-by: James Almer <jamrial@gmail.com> Reviewed-by: "Ronald S. Bultje" <rsbultje@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
Clément Bœsch authored
Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
Ronald S. Bultje authored
Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
Anton Khirnov authored
It only contains the MC SIMD, other SIMD will go into different files.
-
Anton Khirnov authored
-
James Almer authored
Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
Christophe Gisquet authored
Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
Anton Khirnov authored
Fixes hwaccel decoding of files with multiple slices. Found-By: Mark Thompson <sw@jkqxz.net>
-
Michael Niedermayer authored
This makes the m4v detection less trigger-happy. Bug-Id: 949 Signed-off-by: Diego Biurrun <diego@biurrun.de>
-
Diego Biurrun authored
-
Diego Biurrun authored
-
- 02 Aug, 2016 4 commits
-
-
Martin Storsjö authored
This reverts commit 014773b6. Since 230b1c07, the bytewise AV_W*() macros only expand their argument once, i.e. doing exactly the same change as was done in the AV_COPY*U macros, so this change is no longer necessary. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
This reverts commit 25bacd0a. Since 230b1c07, the bytewise AV_W*() macros only expand their argument once, so revert to the more readable version of these. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
AV_WN64 is meant for unaligned data, but the existing av_alias* unions (without a definition for the av_alias attribute - we don't have one for MSVC) indicate to the compiler that they would have sufficient alignment for normal access, i.e. the compiler is free to assume 8 byte alignment. On ARM, this makes sure that AV_WN64 (or two consecutive AV_WN32) is done with two str instructions instead of one strd. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
This avoids issues with expanding the argument multiple times, and makes sure that it is of the right type for the following shifts. Even if the caller of a macro could be expected not to pass parameters that have side effects if expanded multiple times, these fallback codepaths are rarely, if ever, tested, so it is expected that such issues can arise. Thefore, for safety, make sure the fallback codepaths only expand the arguments once. Signed-off-by: Martin Storsjö <martin@martin.st>
-
- 31 Jul, 2016 6 commits
-
-
Martin Storsjö authored
If AV_RN and AV_WN are macros with multiple individual reads and writes, the previous version of the AV_COPYU macro would fail if the reads and writes overlap. This should not be any less efficient in any case, given a sensibly optimizing compiler. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
AV_WB32 can be implemented as a macro that expands its parameters multiple times (in case AV_HAVE_FAST_UNALIGNED isn't set and the compiler doesn't support GCC attributes); make sure not to read multiple times from the source in this case. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
Anton Khirnov authored
We do not strictly specify that hwaccel_context must be cleared if no hwaccel is used. Reported-By: wm4 <nfxjfg@googlemail.com>
-
Anton Khirnov authored
Extend the probe function to validate the STREAMINFO block that must follow the fLaC ID tag.
-
Anton Khirnov authored
-
- 29 Jul, 2016 8 commits
-
-
Diego Biurrun authored
-
Diego Biurrun authored
The XCB screen grabber is a drop-in replacement and not under GPL.
-
Luca Barbato authored
Signed-off-by: Diego Biurrun <diego@biurrun.de>
-
Luca Barbato authored
skip_bits_long() can skip up to 32-bit ranges. Signed-off-by: Diego Biurrun <diego@biurrun.de>
-
Luca Barbato authored
Signed-off-by: Diego Biurrun <diego@biurrun.de>
-
Luca Barbato authored
Signed-off-by: Diego Biurrun <diego@biurrun.de>
-
Luca Barbato authored
IDs in MOV start from 1. Signed-off-by: Diego Biurrun <diego@biurrun.de>
-
Anton Khirnov authored
The reference frames are used in update_thread_context(), so modifying them after finish_setup() is a race. The frame in question will be released during the next decode call. CC: libav-stable@libav.org
-
- 27 Jul, 2016 2 commits
-
-
Diego Biurrun authored
-
Diego Biurrun authored
This avoids a segfault on nonexisting codec names.
-
- 26 Jul, 2016 3 commits
-
-
Martin Storsjö authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
This allows these flags to be automatically enabled for clang, when using MSVCRT headers. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
This allows doing this redirection, if building with clang against old enough MSVC headers that lack strtoll (2012 and older). Signed-off-by: Martin Storsjö <martin@martin.st>
-
- 25 Jul, 2016 1 commit
-
-
Diego Biurrun authored
-