summaryrefslogtreecommitdiff
path: root/libavutil
Commit message (Collapse)AuthorAge
* 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
|
* 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
|
* Fix some mismatches between function parameter and doxygen parameter names.Diego Biurrun2016-11-21
|
* hwcontext_dxva2: make sure the sw frame format is the right one during transferAnton Khirnov2016-11-18
|
* 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.
* 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.
* hwcontext_dxva2: do not assume the destination format during mapping is ↵Anton Khirnov2016-11-18
| | | | | | always the right one Handle the cases where it is unsupported or unset.
* arm: Clear the gp register alias at the end of functionsMartin Storsjö2016-11-10
| | | | | | | | | | | We reset .Lpic_gp to zero at the start of each function, which means that the logic within movrelx for clearing gp when necessary will be missed. This fixes using movrelx in different functions with a different helper register. Signed-off-by: Martin Storsjö <martin@martin.st>
* aarch64: Add an offset parameter to the movrel macroMartin Storsjö2016-11-10
| | | | | | | | | With apple tools, the linker fails with errors like these, if the offset is negative: ld: in section __TEXT,__text reloc 8: symbol index out of range for architecture arm64 Signed-off-by: Martin Storsjö <martin@martin.st>
* lavu: Rename ycgco color space appropriatelyVittorio Giovara2016-11-08
| | | | | | Planes are ordered as the name suggests now. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* pixfmt: Add GRAY12Luca Barbato2016-11-07
|
* hwcontext_qsv: support frame mappingAnton Khirnov2016-11-07
| | | | Signed-off-by: Maxym Dmytrychenko <maxym.dmytrychenko@intel.com>
* hwcontext_qsv: transfer data through the child context when VPP failsAnton Khirnov2016-11-07
| | | | | | | | Uploading/downloading data through VPP may not work for some formats, in that case we can still try to call av_hwframe_transfer_data() on the child context. Signed-off-by: Maxym Dmytrychenko <maxym.dmytrychenko@intel.com>
* hwcontext_qsv: do not fail when download/upload VPP session creation failsAnton Khirnov2016-11-07
| | | | | | | Certain pixel formats (e.g. P8) might not be supported for download/upload through VPP operations, but can still be used otherwise. Signed-off-by: Maxym Dmytrychenko <maxym.dmytrychenko@intel.com>
* hwcontext_qsv: add support for the P8 formatAnton Khirnov2016-11-07
| | | | | | | | | | | | When using GPU surfaces with QSV, one needs to supply a frame allocator, which will be invoked to pass surface pools to libmfx. For encoding, this allocator gets invoked not only for the pool of input frames, but also for a separate pool of (apparently) reconstructed frames and another pool of MFX_FOURCC_P8, which on Windows needs to return D3DFMT_P8 D3D surfaces. Those are probably used to store the encoded bitstream on the GPU. Signed-off-by: Maxym Dmytrychenko <maxym.dmytrychenko@intel.com>
* hwcontext_dxva2: add support for the P8 formatAnton Khirnov2016-11-07
| | | | | | | This format is used internally by the QSV encoder to store the encoded bitstream. Signed-off-by: Maxym Dmytrychenko <maxym.dmytrychenko@intel.com>
* hwcontext_dxva2: frame mapping supportAnton Khirnov2016-11-07
| | | | Signed-off-by: Maxym Dmytrychenko <maxym.dmytrychenko@intel.com>
* hwcontext_vaapi: Frame mapping supportMark Thompson2016-11-03
| | | | | Can map to any supported software format (using a GPU copy if it doesn't actually match the surface format underneath).
* hwcontext: Hardware frame mappingMark Thompson2016-11-03
| | | | | | | | | | Adds the new av_hwframe_map() function, which allows mapping between hardware frames and normal memory, along with internal support for implementing it. Also adds av_hwframe_ctx_create_derived(), for creating a hardware frames context associated with one device using frames mapped from another by some hardware-specific means.
* Drop unreachable break and return statementsDiego Biurrun2016-11-03
|
* float_dsp: Have implementation match function pointer prototypeDiego Biurrun2016-11-03
| | | | | libavutil/x86/float_dsp_init.c(144) : warning C4028: formal parameter 1 different from declaration libavutil/x86/float_dsp_init.c(144) : warning C4028: formal parameter 2 different from declaration
* audio_fifo: Drop write-only variableDiego Biurrun2016-10-27
|
* lavu: Add JEDEC P22 color primariesVittorio Giovara2016-10-21
|
* emms: Give apriv_emms_yasm() a more general nameDiego Biurrun2016-10-18
|
* x86: Add missing colons after assembly labelsDiego Biurrun2016-10-17
| | | | | This fixes many warnings of the sort warning: label alone on a line without a colon might be in error
* Add GBRAP12 pixel format supportKieran Kunhya2016-10-12
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* Add GBRP12 pixel format supportMichael Niedermayer2016-10-12
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* pixfmt: Document alternative names for smpte 431 and 432Vittorio Giovara2016-10-02
|
* hwcontext_vaapi: Enable P010 supportMark Thompson2016-10-02
| | | | This is required for 10-bit surfaces.
* lavu: remove the custom atomic APIAnton Khirnov2016-10-02
| | | | It has been replaced by C11 stdatomic.h and is now unused.
* buffer: convert to stdatomicAnton Khirnov2016-10-02
|
* hwcontext_vaapi: add a quirk for the missing MemoryType attributeAnton Khirnov2016-10-02
| | | | | | The Intel binary iHD driver does not support the VASurfaceAttribMemoryType, so surface allocation will fail when using it.
* lavu: Bump version for the 12bit Planar YUV supportLuca Barbato2016-09-27
|
* pixfmt: Add yuv444p12 pixel formatLuca Barbato2016-09-27
|
* pixfmt: Add yuv422p12 pixel formatLuca Barbato2016-09-27
|
* pixfmt: Add yuv420p12 pixel formatLuca Barbato2016-09-27
|
* hwcontext_cuda: Add P010 and YUV444P16 pixel formatYogender Kumar Gupta2016-09-22
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* x86util: Document SBUTTERFLY macroAlexandra Hájková2016-09-19
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* hwcontext_vdpau: Fix missing subscriptsMark Thompson2016-09-14
| | | | Also remove the redundant casts which were hiding the error here.
* hwcontext_vdpau: Remove duplicate definition of GET_CALLBACKMark Thompson2016-09-14
|
* Drop memalign hackDiego Biurrun2016-09-03
| | | | It no longer serves a useful purpose.
* hwcontext_dxva2: use the special UC copy for downloading framesAnton Khirnov2016-08-31
|
* imgutils: add a function for copying image data from GPU mapped memoryAnton Khirnov2016-08-31
| | | | See https://software.intel.com/en-us/articles/copying-accelerated-video-decode-frame-buffers
* mathematics: Kill non-compiling disabled cruftDiego Biurrun2016-08-17
|
* hwcontext_vaapi: Try the first render node as the default DRM deviceMark Thompson2016-08-13
| | | | | | | | | | 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.
* buffer: fix av_buffer_pool_init2() documentationAnton Khirnov2016-08-11
| | | | | | 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.
* buffer: fix av_buffer_realloc() when the data is offset wrt buffer startAnton Khirnov2016-08-03
| | | | | | | | | 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>
* lavu: add LOCAL_ALIGNED_32James Almer2016-08-03
| | | | | Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>