summaryrefslogtreecommitdiff
path: root/libavutil
Commit message (Collapse)AuthorAge
* avfilter: add loop filtersPaul B Mahol2016-02-18
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avutil/hwcontext: Remove duplicate ;Michael Niedermayer2016-02-17
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* Merge commit 'a001ce31bc2bcf875a39b5fb22dae49120293b42'Derek Buitenhuis2016-02-17
|\ | | | | | | | | | | | | * commit 'a001ce31bc2bcf875a39b5fb22dae49120293b42': hwcontext: add a VDPAU implementation Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
| * hwcontext: add a VDPAU implementationAnton Khirnov2016-02-14
| |
* | Merge commit '89923e418b494e337683442ab896d754bc07341a'Derek Buitenhuis2016-02-17
|\| | | | | | | | | | | | | * commit '89923e418b494e337683442ab896d754bc07341a': lavu: add a framework for handling hwaccel frames Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
| * lavu: add a framework for handling hwaccel framesAnton Khirnov2016-02-14
| |
* | Merge commit '721a4efc0545548a241080b53ab480e34f366240'Derek Buitenhuis2016-02-17
|\| | | | | | | | | | | | | * commit '721a4efc0545548a241080b53ab480e34f366240': buffer: add support for pools using caller data in allocation Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
| * buffer: add support for pools using caller data in allocationAnton Khirnov2016-02-14
| | | | | | | | | | This should allow using more complex allocators than simple malloc wrappers.
| * x86: Add ymm_reg structJames Almer2016-01-28
| | | | | | | | | | | | | | Needed to declare 32-byte long constants Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* | Merge commit '6695f178a5929eab91d3da7e9023999f1774bd0e'Derek Buitenhuis2016-02-16
|\| | | | | | | | | | | | | * commit '6695f178a5929eab91d3da7e9023999f1774bd0e': pixdesc: Use AV_CEIL_RSHIFT in documentation Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
| * pixdesc: Use AV_CEIL_RSHIFT in documentationVittorio Giovara2016-01-25
| |
* | Merge commit '1546a41adae818b340acdd9b5dacd6d0a92b6507'Derek Buitenhuis2016-02-16
|\| | | | | | | | | | | | | * commit '1546a41adae818b340acdd9b5dacd6d0a92b6507': pixdesc: Drop unneeded deprecation warning guards Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
| * pixdesc: Drop unneeded deprecation warning guardsVittorio Giovara2016-01-25
| |
| * x86inc: Add debug symbols indicating sizes of compiled functionsGeza Lore2016-01-23
| | | | | | | | | | | | | | | | | | | | | | Some debuggers/profilers use this metadata to determine which function a given instruction is in; without it they get can confused by local labels (if you haven't stripped those). On the other hand, some tools are still confused even with this metadata. e.g. this fixes `gdb`, but not `perf`. Currently only implemented for ELF. Signed-off-by: Anton Khirnov <anton@khirnov.net>
| * x86inc: Avoid creating unnecessary local labelsHenrik Gramner2016-01-23
| | | | | | | | | | | | | | | | | | | | | | | | The REP_RET workaround is only needed on old AMD cpus, and the labels clutter up the symbol table and confuse debugging/profiling tools, so use EQU to create SHN_ABS symbols instead of creating local labels. Furthermore, skip the workaround completely in functions that definitely won't run on such cpus. Note that EQU is just creating a local label when using nasm instead of yasm. This is probably a bug, but at least it doesn't break anything. Signed-off-by: Anton Khirnov <anton@khirnov.net>
| * x86inc: Simplify AUTO_REP_RETHenrik Gramner2016-01-23
| | | | | | | | | | | | | | | | cpuflags is never undefined any more, it's set to 0 instead. Also fix an incorrect comment. Signed-off-by: Anton Khirnov <anton@khirnov.net>
| * x86inc: Use more consistent indentationHenrik Gramner2016-01-23
| | | | | | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
| * x86inc: Preserve arguments when allocating stack spaceHenrik Gramner2016-01-23
| | | | | | | | | | | | | | | | When allocating stack space with a larger alignment than the known stack alignment a temporary register is used for storing the stack pointer. Ensure that this isn't one of the registers used for passing arguments. Signed-off-by: Anton Khirnov <anton@khirnov.net>
| * x86inc: Improve FMA instruction handlingHenrik Gramner2016-01-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Correctly handle FMA instructions with memory operands. * Print a warning if FMA instructions are used without the correct cpuflag. * Simplify the instantiation code. * Clarify documentation. Only the last operand in FMA3 instructions can be a memory operand. When converting FMA4 instructions to FMA3 instructions we can utilize the fact that multiply is a commutative operation and reorder operands if necessary to ensure that a memory operand is used only as the last operand. Signed-off-by: Anton Khirnov <anton@khirnov.net>
| * x86inc: Be more verbose in assertion failuresHenrik Gramner2016-01-23
| | | | | | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
| * x86inc: Make cpuflag() and notcpuflag() return 0 or 1Henrik Gramner2016-01-23
| | | | | | | | | | | | Makes it possible to use them in arithmetic expressions. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* | x86: use the new helper macros where usefulJames Almer2016-02-14
| | | | | | | | | | Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: James Almer <jamrial@gmail.com>
* | x86: add some more helper macros to check for slow cpuflagsJames Almer2016-02-14
| | | | | | | | | | Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: James Almer <jamrial@gmail.com>
* | avutil/imgutils: remove special case for aligning the paletteMichael Niedermayer2016-02-14
| | | | | | | | | | | | | | | | | | | | | | | | | | This was suggested by wm4 and stefano. After this patch using align=1 the size used by various functions would not contain padding, while the palette would be aligned at align>1 This patch makes it required to use align>=4 if the palette is to be accessed as uint32 As a side-effect It fixes storing pal8 in nut with odd with&height Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avutil/parseutils: remove 2112 date from fate testMarton Balint2016-02-14
| | | | | | | | | | | | It is not supported on 32bit. Signed-off-by: Marton Balint <cus@passwd.hu>
* | avutil/parseutils: accept everything in av_parse_time that ↵Marton Balint2016-02-14
| | | | | | | | | | | | | | | | ff_iso8601_to_unix_time accepts Also parse timezone information previously ignored in ff_iso8601_to_unix_time. Signed-off-by: Marton Balint <cus@passwd.hu>
* | avutil/parseutils: use microsecond precision when parsing "now" in ↵Marton Balint2016-02-14
| | | | | | | | | | | | | | | | av_parse_time() Use av_gettime() instead of time(0) for querying current time. Signed-off-by: Marton Balint <cus@passwd.hu>
* | avutil: Remove x86_cpu.hTimothy Gu2016-02-13
| | | | | | | | It is private (uninstalled) and unused.
* | avutil/frame: Free destination qp_table_buf in frame_copy_props()Michael Niedermayer2016-02-13
| | | | | | | | | | | | | | Fixes memleak Fixes: Ticket4899 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avutil/imgutils: only align the palette in av_image_copy_to_buffer() if ↵Michael Niedermayer2016-02-13
| | | | | | | | | | | | | | | | | | there is enough space This allows disabling the alignment by using a compact buffer Reviewed-by: Stefano Sabatini <stefasab@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avutil/avstring: add a "ALL" entry and the possibility to negate matches to ↵Michael Niedermayer2016-02-13
| | | | | | | | | | | | | | | | | | | | av_match_name() This will extend the whitelist features to allow blacklisting individual protocols and to explicitly force everything to be enabled. Reviewed-by: Stefano Sabatini <stefasab@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avutil/imgutils: do not ignore align parameter for pseudo-pal in ↵Michael Niedermayer2016-02-13
| | | | | | | | | | | | | | av_image_get_buffer_size() Reviewed-by: Stefano Sabatini <stefasab@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | x86/cpu: set avxslow cpuflag on btver2 CPUsJames Almer2016-02-07
| | | | | | | | | | | | | | They are also slow when using 256 bit wide registers Reviewed-by: Hendrik Leppkes <h.leppkes@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* | x86/emms: empty the mmx state unconditionally on supported targetsJames Almer2016-02-04
| | | | | | | | | | Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: James Almer <jamrial@gmail.com>
* | avutil/aes_crt: free AVAESCTR struct properlyJames Almer2016-02-03
| | | | | | | | | | Reviewed-by: Andreas Cadhalpun <andreas.cadhalpun@googlemail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* | Merge commit 'd336bfcf69fee159e9dba5e5e486ddb1aba61aab'Derek Buitenhuis2016-02-03
|\| | | | | | | | | | | | | * commit 'd336bfcf69fee159e9dba5e5e486ddb1aba61aab': pixdesc: fix and extend doxy for av_pix_fmt_get_chroma_sub_sample() Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
| * pixdesc: fix and extend doxy for av_pix_fmt_get_chroma_sub_sample()Anton Khirnov2016-01-23
| | | | | | | | The parameters in the docs are currently swapped.
| * lavu: add AV_CEIL_RSHIFT and use it in various placesClément Bœsch2016-01-11
| | | | | | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* | avutil: Add GOP timecode frame side dataDerek Buitenhuis2016-02-01
| | | | | | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* | all: Make header guard names consistentTimothy Gu2016-01-31
| |
* | libavutil/mastering_display_metadata.h: change fields to be rationals as ↵Neil Birkbeck2016-01-29
| | | | | | | | | | | | | | | | | | this is how they are typically coded. (this structure is not referenced anywhere yet) Signed-off-by: Neil Birkbeck <neil.birkbeck@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | all: Add missing header guardsTimothy Gu2016-01-28
| |
* | avutil: Rename FF_CEIL_COMPAT to AV_CEIL_COMPATDerek Buitenhuis2016-01-27
| | | | | | | | | | | | | | | | | | | | Libav, for some reason, merged this as a public API function. This will aid in future merges. A define is left for backwards compat, just in case some person used it, since it is in a public header. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* | avutil/opt: check for and handle errors in av_opt_set_dict2()Michael Niedermayer2016-01-26
| | | | | | | | | | | | Previously errors could result in random entries to be lost. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avutil: add P010 pixel formatHendrik Leppkes2016-01-26
| | | | | | | | | | P010 is the 10-bit variant of NV12 (planar luma, packed chroma), using two bytes per component to store 10-bit data plus 6-bit zeroes in the LSBs.
* | Add missing conversions from side data enum to nameNeil Birkbeck2016-01-22
| | | | | | | | | | | | | | Add names for recently added enums to av_frame_side_data_name. Signed-off-by: Neil Birkbeck <neil.birkbeck@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | x86inc: Add debug symbols indicating sizes of compiled functionsGeza Lore2016-01-21
| | | | | | | | | | | | | | | | | | Some debuggers/profilers use this metadata to determine which function a given instruction is in; without it they get can confused by local labels (if you haven't stripped those). On the other hand, some tools are still confused even with this metadata. e.g. this fixes `gdb`, but not `perf`. Currently only implemented for ELF.
* | x86inc: Avoid creating unnecessary local labelsHenrik Gramner2016-01-21
| | | | | | | | | | | | | | | | | | | | The REP_RET workaround is only needed on old AMD cpus, and the labels clutter up the symbol table and confuse debugging/profiling tools, so use EQU to create SHN_ABS symbols instead of creating local labels. Furthermore, skip the workaround completely in functions that definitely won't run on such cpus. Note that EQU is just creating a local label when using nasm instead of yasm. This is probably a bug, but at least it doesn't break anything.
* | x86inc: Simplify AUTO_REP_RETHenrik Gramner2016-01-21
| | | | | | | | | | | | cpuflags is never undefined any more, it's set to 0 instead. Also fix an incorrect comment.
* | x86inc: Use more consistent indentationHenrik Gramner2016-01-21
| |