- 10 Sep, 2017 1 commit
-
-
Jesse Liu authored
Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
- 08 Sep, 2017 5 commits
-
-
Clément Bœsch authored
Refer to "checkasm: use perf API on Linux ARM*" commit for the rationale. The implementation is somehow duplicated with checkasm, but so is the current usage of AV_READ_TIME(). Until these implementations and heuristics are made consistent, I don't see a way of sharing that code. Note: when using libavutil/timer.h, it is now important to include before any other include due to the _GNU_SOURCE requirement.
-
Clément Bœsch authored
In the next commit, timer.h will require a _GNU_SOURCE to be set before including system headers. This commit prevents compilation failures.
-
Clément Bœsch authored
This will prevent a symbol clash with crypt(3) after unistd.h is included.
-
Clément Bœsch authored
This commit is meant to reduce the diff in the following one.
-
Kaustubh Raste authored
Load the specific destination bytes instead of MSA load and pack. Signed-off-by:
Kaustubh Raste <kaustubh.raste@imgtec.com> Reviewed-by:
Manojkumar Bhosale <Manojkumar.Bhosale@imgtec.com> Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
- 27 Aug, 2017 1 commit
-
-
Timo Rothenpieler authored
Fixes CID 1396840 Reviewed-by:
Wei Gao <highgod0401@gmail.com> Signed-off-by:
Timo Rothenpieler <timo@rothenpieler.org>
-
- 19 Aug, 2017 1 commit
-
-
Paul B Mahol authored
-
- 18 Aug, 2017 1 commit
-
-
Ivan Kalvachev authored
Improved version of VBROADCASTSS that works like the avx2 instruction. Emulation of vpbroadcastd. Horizontal sum HSUMPS that places the result in all elements. Emulation of blendvps and pblendvb. Signed-off-by:
Ivan Kalvachev <ikalvachev@gmail.com>
-
- 15 Aug, 2017 1 commit
-
-
Vittorio Giovara authored
Add a pixel format flag to identify this family. Signed-off-by:
Vittorio Giovara <vittorio.giovara@gmail.com>
-
- 10 Aug, 2017 2 commits
-
-
Vittorio Giovara authored
Signed-off-by:
Vittorio Giovara <vittorio.giovara@gmail.com>
-
Martin Storsjö authored
If using the winstore compat library, a fallback LoadLibrary function does exist, that only calls LoadPackagedLibrary though (which doesn't work for dynamically loading d3d11 DLLs). Therefore explicitly check the targeted API family instead. Make this check a reusable HAVE_* component which other parts of the libraries can check when necessary as well. Signed-off-by:
Martin Storsjö <martin@martin.st> Merged from Libav commit 4d330da0.
-
- 08 Aug, 2017 2 commits
-
-
wm4 authored
Black isn't always just memset(ptr, 0, size). Limited YUV in particular requires relatively non-obvious values, and filling a frame with repeating 0 bytes is disallowed in some contexts. With component sizes larger than 8 or packed YUV, this can become relatively complicated. So having a generic function for this seems helpful. In order to handle the complex cases in a generic way without destroying performance, this code attempts to compute a black pixel, and then uses that value to clear the image data quickly by using a function like memset. Common cases like yuv410p10 or rgba can't be handled with a simple memset, so there is some code to fill memory with 2/4/8 byte patterns. For the remaining cases, a generic slow fallback is used. Signed-off-by:
Anton Khirnov <anton@khirnov.net> Merged from Libav commit 45df7adc.
-
wm4 authored
Signed-off-by:
Anton Khirnov <anton@khirnov.net> Merged from Libav commit 47399ccd.
-
- 07 Aug, 2017 1 commit
-
-
Paul B Mahol authored
-
- 03 Aug, 2017 1 commit
-
-
Yogender Gupta authored
Signed-off-by:
Philip Langdale <philipl@overt.org>
-
- 27 Jul, 2017 1 commit
-
-
Tobias Rapp authored
Signed-off-by:
Tobias Rapp <t.rapp@noa-archive.com>
-
- 26 Jul, 2017 1 commit
-
-
James Almer authored
Reviwed-by:
Rostislav Pehlivanov <atomnuker@gmail.com> Signed-off-by:
James Almer <jamrial@gmail.com>
-
- 25 Jul, 2017 2 commits
-
-
Kaustubh Raste authored
Removed memset call and improved performance. Signed-off-by:
Kaustubh Raste <kaustubh.raste@imgtec.com> Reviewed-by:
Manojkumar Bhosale <Manojkumar.Bhosale@imgtec.com> Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
Rostislav Pehlivanov authored
Many image formats support embedding of ICC profiles directly in their bitstreams. Add a new side data type to allow exposing them to API users. Signed-off-by:
Rostislav Pehlivanov <atomnuker@gmail.com>
-
- 22 Jul, 2017 2 commits
-
-
Mark Thompson authored
-
Mark Thompson authored
-
- 21 Jul, 2017 1 commit
-
-
Kaustubh Raste authored
Reduced msa load-store code. Removed inline asm of GP load-store for 64 bit. Updated variable names in GP load-store macros for naming consistency. Corrected macro descriptions. Signed-off-by:
Kaustubh Raste <kaustubh.raste@imgtec.com> Reviewed-by:
Manojkumar Bhosale <Manojkumar.Bhosale@imgtec.com> Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
- 19 Jul, 2017 1 commit
-
-
Muhammad Faiz authored
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>
-
- 18 Jul, 2017 2 commits
-
-
Mark Thompson authored
-
Mark Thompson authored
Hardware pixel formats do not tell you anything about their actual contents, but should still score higher than formats with completely unknown properties, which in turn should score higher than invalid formats. Do not return an AVERROR code as a score. Fixes a hang in libavfilter where format negotiation gets stuck in a loop because AV_PIX_FMT_NONE scores more highly than all other possibilities.
-
- 14 Jul, 2017 1 commit
-
-
Aleksandr Slobodeniuk authored
Reviewed-by:
Nicolas George <george@nsup.org> Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
- 29 Jun, 2017 1 commit
-
-
Clément Bœsch authored
We have AV_CPU_FLAG_ARMV8 == AV_CPU_FLAG_SSE3 which causes a trigger of this MMX warning on AArch64.
-
- 27 Jun, 2017 9 commits
-
-
Hendrik Leppkes authored
-
wm4 authored
Basically copied from VLC (LGPL): http://git.videolan.org/?p=vlc.git;a=blob;f=modules/video_output/win32/direct3d11.c;h=e9fcb83dcabfe778f26e63d19f218caf06a7c3ae;hb=HEAD#l1482 http://git.videolan.org/?p=vlc.git;a=blob;f=modules/codec/avcodec/d3d11va.c;h=85e7d25caebc059a9770da2ef4bb8fe90816d76d;hb=HEAD#l599 Merges Libav commit cfc9e7c9. Signed-off-by:
Luca Barbato <lu_zero@gentoo.org>
-
wm4 authored
Some devices (some phones, apparently) will support only this opaque format. Of course this won't work with CLI, because copying data directly is not supported. Automatic frame allocation (setting AVCodecContext.hw_device_ctx) does not support this mode, even if it's the only supported mode. But since opaque surfaces are generally less useful, that's probably ok. Merges Libav commit 5030e385. Signed-off-by:
Luca Barbato <lu_zero@gentoo.org>
-
wm4 authored
Makes dealing with formats that can not be used for staging textures easier (DXGI_FORMAT_420_OPAQUE). It also saves memory if the staging texture is never needed, so this is a good thing. Merges Libav commit 98d73e41. Signed-off-by:
Luca Barbato <lu_zero@gentoo.org>
-
wm4 authored
It appears in this case, frames_ininit is called twice (once by av_hwframe_ctx_init(), and again by unreffing the frames ctx ref). Merges Libav commit 086321c6. Signed-off-by:
Luca Barbato <lu_zero@gentoo.org>
-
Martin Storsjö authored
When targeting the UWP API subset, the LoadLibrary function is not available (and the fallback, LoadPackagedLibrary, can't be used to load system DLLs). In these cases, link directly to the functions in the DLLs instead of trying to load them dynamically at runtime. Merges Libav commit fd1ffa1f. Signed-off-by:
Martin Storsjö <martin@martin.st>
-
wm4 authored
This also adds support to avconv (which is trivial due to the new hwaccel API being generic enough). The new decoder setup code in dxva2.c is significantly based on work by Steve Lhomme <robux4@gmail.com>, but with heavy changes/rewrites. Merges Libav commit f9e7a2f9. Also adds untested VP9 support. The check for DXVA2 COBJs is removed. Just update your MinGW to something newer than a 5 year old release. Signed-off-by:
Diego Biurrun <diego@biurrun.de>
-
wm4 authored
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 fff90422. Signed-off-by:
Diego Biurrun <diego@biurrun.de>
-
James Almer authored
Yasm: src/libavfilter/x86/af_volume.asm:24: warning: Standard COFF does not support read-only data sections src/libavfilter/x86/af_volume.asm:24: warning: Unrecognized qualifier `align' Nasm: src/libavfilter/x86/af_volume.asm:24: error: standard COFF does not support section alignment specification src/libavutil/x86/x86inc.asm:92: ... from macro `SECTION_RODATA' defined here Tested-by:
Clément Bœsch <u@pkh.me> Signed-off-by:
James Almer <jamrial@gmail.com>
-
- 21 Jun, 2017 1 commit
-
-
Diego Biurrun authored
None of them are specific to the YASM assembler. (Cherry-picked from libav commit 39e208f4) Signed-off-by:
James Almer <jamrial@gmail.com>
-
- 19 Jun, 2017 1 commit
-
-
James Almer authored
About 2x faster than the c version.
-
- 14 Jun, 2017 1 commit
-
-
James Almer authored
It's been ported to checkasm. Signed-off-by:
James Almer <jamrial@gmail.com>
-