- 13 Aug, 2016 3 commits
-
-
Mark Thompson authored
-
Mark Thompson authored
-
Mark Thompson authored
If no string argument is supplied when av_hwdevice_ctx_create() is called to create a VAAPI device, we currently only try the default X11 display (that is, $DISPLAY) to find a device, and will therefore fail in the absence of an X server to connect to. Change the logic to also look for a device via the first DRM render node (that is, "/dev/dri/renderD128"), which is probably the right thing to use in most simple configurations which only have one DRM device.
-
- 12 Aug, 2016 3 commits
-
-
Sean McGovern authored
-
Luca Barbato authored
Unbreak `avconv -filter_complex testsrc`. Regression introduced in a3a0230a
-
Luca Barbato authored
-
- 11 Aug, 2016 7 commits
-
-
Anton Khirnov authored
-
Ronald S. Bultje authored
Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
Ronald S. Bultje authored
This will be needed for frame threading. Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
Ronald S. Bultje authored
We need more information from last/cur_frame than from reference buffers, so we can use a simplified structure for reference buffers, and then store mvs and segmentation map information in last/cur. This prepares the decoder for frame threading support. Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
Anton Khirnov authored
Not from the underlying frame. Fixes races with frame threading in field-coded files, where decoding would wait for the wrong field (e.g. random failures in mixed-nal-coding). Bug-Id: 954
-
Anton Khirnov authored
Fixes memory leaks in some FATE tests.
-
Anton Khirnov authored
A non-existent av_buffer_pool_can_uninit() function is mentioned instead of av_buffer_pool_uninit(). Also, this function is to be called by the caller, not the pool itself.
-
- 10 Aug, 2016 1 commit
-
-
Diego Biurrun authored
Bug-Id: 660
-
- 03 Aug, 2016 17 commits
-
-
Ronald S. Bultje authored
The frame dimensions are 16bit, so the mv bounds can easily overflow int16 for large videos. Bug-Id: Handbrake/46 CC: libav-stable@libav.org Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
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 5 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.
-