summaryrefslogtreecommitdiffstats
path: root/libavutil
Commit message (Collapse)AuthorAgeFilesLines
* avutil/opt: allow max=min=0 for pixel formatsMichael Niedermayer2014-03-011-0/+6
| | | | | | This is neccessary for maintaining ABI compatibility with FFmpeg 2.1 Signed-off-by: Michael Niedermayer <[email protected]>
* lavu/buffer: add release functionLukasz Marek2014-02-252-0/+41
| | | | | | | new function allows to unref buffer and obtain its data. Signed-off-by: Lukasz Marek <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* avutil/frame_copy_audio: also check that channels matchMichael Niedermayer2014-02-241-0/+1
| | | | Signed-off-by: Michael Niedermayer <[email protected]>
* Merge commit '1155fd02ae7bac215acab316e847c6bb25f74fc3'Michael Niedermayer2014-02-243-19/+81
|\ | | | | | | | | | | | | | | | | | | | | | | * commit '1155fd02ae7bac215acab316e847c6bb25f74fc3': frame: add a convenience function for copying AVFrame data Conflicts: doc/APIchanges libavutil/frame.c libavutil/version.h Merged-by: Michael Niedermayer <[email protected]>
| * frame: add a convenience function for copying AVFrame dataAnton Khirnov2014-02-243-17/+79
| |
* | x86: Move XOP emulation to x86utilJames Almer2014-02-242-19/+19
| | | | | | | | | | | | | | | | | | | | | | We need the emulation to support the cases where the first argument is the same as the fourth. To achieve this a fifth argument working as a temporary may be needed. Emulation that doesn't obey the original instruction semantics can't be in x86inc. Signed-off-by: James Almer <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2014-02-231-5/+4
|\| | | | | | | | | | | | | | | | | | | | | * qatar/master: x86: add detection for Bit Manipulation Instruction sets Conflicts: libavutil/x86/cpu.c See: 0bc3de19ffe296254f214dc7615e624d8e401bcb Merged-by: Michael Niedermayer <[email protected]>
| * x86: add detection for Bit Manipulation Instruction setsJames Almer2014-02-233-6/+19
| | | | | | | | | | | | Based on x264 code Signed-off-by: James Almer <[email protected]>
* | Merge commit '1b932eb1508f550fac9e911923a0383efda53aa3'Michael Niedermayer2014-02-231-1/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | * commit '1b932eb1508f550fac9e911923a0383efda53aa3': x86: add detection for FMA3 instruction set Conflicts: configure libavutil/cpu.h libavutil/x86/cpu.c See: a2af8eddab75f1eac712411e4dde89823c0845e8 Merged-by: Michael Niedermayer <[email protected]>
| * x86: add detection for FMA3 instruction setJames Almer2014-02-234-1/+11
| | | | | | | | | | | | Based on x264 code Signed-off-by: James Almer <[email protected]>
| * x86: add missing XOP checks and macrosJames Almer2014-02-231-0/+3
| | | | | | | | Signed-off-by: James Almer <[email protected]>
* | avutil/pixdesc: set bayer pixfmt descriptor flagsPeter Ross2014-02-231-0/+12
| | | | | | | | | | Signed-off-by: Peter Ross <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* | x86: add detection for Bit Manipulation Instruction setsJames Almer2014-02-223-5/+21
| | | | | | | | | | | | | | Based on x264 code Signed-off-by: James Almer <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* | x86: add detection for FMA3 instruction setJames Almer2014-02-224-1/+12
| | | | | | | | | | | | | | Based on x264 code Signed-off-by: James Almer <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* | Merge commit '9c029f67ca82147ddfa83a1546ee1e109e11fbd4'Michael Niedermayer2014-02-201-1/+8
|\| | | | | | | | | | | | | * commit '9c029f67ca82147ddfa83a1546ee1e109e11fbd4': aarch64: use EXTERN_ASM consistently for exported symbols Merged-by: Michael Niedermayer <[email protected]>
| * aarch64: use EXTERN_ASM consistently for exported symbolsJanne Grunau2014-02-201-1/+8
| | | | | | | | Based on e3fec3f095ab5ea08ee662942d98526aaf5e3635 for arm.
| * x86: float dsp: unroll SSE versionsChristophe Gisquet2014-02-201-16/+24
| | | | | | | | | | | | | | | | | | | | vector_fmul and vector_fmac_scalar are guaranteed that they can process in batch of 16 elements, but their SSE versions only does 8 at a time. Therefore, unroll them a bit. 299 to 261c for 256 elements in vector_fmac_scalar on Arrandale/Win64. Signed-off-by: Janne Grunau <[email protected]>
* | Merge commit 'c3ecd968f0e78da6e77f0c06c2f785b266d83cf1'Michael Niedermayer2014-02-203-4/+25
|\| | | | | | | | | | | | | | | | | | | | | | | * commit 'c3ecd968f0e78da6e77f0c06c2f785b266d83cf1': AVOptions: add flags for read/read-only options Conflicts: libavutil/opt.c libavutil/opt.h libavutil/version.h Merged-by: Michael Niedermayer <[email protected]>
| * AVOptions: add flags for read/read-only optionsAnton Khirnov2014-02-193-5/+22
| |
* | Merge commit '6bb8720f00e2e6209665f819fb351fd42b82d5d0'Michael Niedermayer2014-02-202-1/+6
|\| | | | | | | | | | | | | | | | | | | | | * commit '6bb8720f00e2e6209665f819fb351fd42b82d5d0': AVOptions: deprecate unused AV_OPT_FLAG_METADATA Conflicts: doc/APIchanges libavutil/version.h Merged-by: Michael Niedermayer <[email protected]>
| * AVOptions: deprecate unused AV_OPT_FLAG_METADATAAnton Khirnov2014-02-192-1/+6
| | | | | | | | | | It was never used since it was added and the things it was intended for are now exported differently.
* | Merge commit '874c751cc5b99cd68932e21c2c3a0d21134207e0'Michael Niedermayer2014-02-191-1/+4
|\| | | | | | | | | | | | | * commit '874c751cc5b99cd68932e21c2c3a0d21134207e0': threads: Check w32threads dependencies at the configure stage Merged-by: Michael Niedermayer <[email protected]>
| * threads: Check w32threads dependencies at the configure stageDiego Biurrun2014-02-191-1/+4
| | | | | | | | | | Also add warning comment about threading implementations without matching atomics implementation to the atomics fallback implementation.
* | Merge commit '543156d7518f5e5d731123da066d86278f9fa492'Michael Niedermayer2014-02-191-0/+1
|\| | | | | | | | | | | | | * commit '543156d7518f5e5d731123da066d86278f9fa492': arm: Mark the stack as non-executable Merged-by: Michael Niedermayer <[email protected]>
| * arm: Mark the stack as non-executableMartin Storsjö2014-02-191-0/+1
| | | | | | | | | | | | | | If linking in an object file without this attribute set, the linker will assume that an executable stack might be needed. Signed-off-by: Martin Storsjö <[email protected]>
* | avutil/opt: preserve fractions in set_string_number()Michael Niedermayer2014-02-181-0/+9
| | | | | | | | | | | | This avoids going over a double precission float, which may loose precission Signed-off-by: Michael Niedermayer <[email protected]>
* | Merge commit 'c98f3169bfb578c1a4e407b44524f0bfa3b4dc0c'Michael Niedermayer2014-02-165-2/+161
|\| | | | | | | | | | | | | | | | | | | | | * commit 'c98f3169bfb578c1a4e407b44524f0bfa3b4dc0c': lavu: add AV_FRAME_DATA_DOWNMIX_INFO side data type. Conflicts: doc/APIchanges libavutil/version.h Merged-by: Michael Niedermayer <[email protected]>
| * lavu: add AV_FRAME_DATA_DOWNMIX_INFO side data type.Tim Walker2014-02-155-1/+160
| |
* | x86: float dsp: unroll SSE versionsChristophe Gisquet2014-02-151-16/+24
| | | | | | | | | | | | | | | | | | | | vector_fmul and vector_fmac_scalar are guaranteed that they can process in batch of 16 elements, but their SSE versions only does 8 at a time. Therefore, unroll them a bit. 299 to 261c for 256 elements in vector_fmac_scalar on Arrandale/Win64. Signed-off-by: Michael Niedermayer <[email protected]>
* | x86inc: Extend FMA_INSTR functionalityJames Almer2014-02-131-0/+4
| | | | | | | | | | | | | | | | | | | | Support the cases where the first and last operand of the XOP instruction are the same. Also add vpmacsdql emulation. Signed-off-by: James Almer <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* | Merge commit '25a1ba814ad80056247fd357ec4c6911324a3f66'Michael Niedermayer2014-02-122-7/+8
|\| | | | | | | | | | | | | | | | | | | * commit '25a1ba814ad80056247fd357ec4c6911324a3f66': log: Have function parameter names match between .c and .h file Conflicts: libavutil/log.c Merged-by: Michael Niedermayer <[email protected]>
| * log: Have function parameter names match between .c and .h fileDiego Biurrun2014-02-122-6/+7
| | | | | | | | This fixes two related Doxygen warnings.
* | x86: add missing XOP checks and macrosJames Almer2014-02-111-0/+3
| | | | | | | | | | Signed-off-by: James Almer <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* | Merge commit 'e3fec3f095ab5ea08ee662942d98526aaf5e3635'Michael Niedermayer2014-02-081-1/+4
|\| | | | | | | | | | | | | * commit 'e3fec3f095ab5ea08ee662942d98526aaf5e3635': arm: Add EXTERN_ASM to the .func and .type declarations for exported symbols Merged-by: Michael Niedermayer <[email protected]>
| * arm: Add EXTERN_ASM to the .func and .type declarations for exported symbolsMartin Storsjö2014-02-071-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This makes the generated assembly more internally consistent, avoiding declaring two labels for the same function (for cases where EXTERN_ASM is empty) and not declaring a separate unprefixed label in other cases. This also makes sure the .func and .type delcarations have the same prefix. They have previously not been used on the platforms that have prefixed symbols on arm (iOS), but gas-preprocessor has recently started using the .func declarations for adding .thumb_func declarations for such functions. Signed-off-by: Martin Storsjö <[email protected]>
* | x86/cpu: add missing avx2 AVOption in av_parse_cpu_flags()James Almer2014-02-062-1/+2
| | | | | | | | | | Signed-off-by: James Almer <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* | Merge commit 'a1e1f35203bbcbea0efb51d93e96769c826b8c64'Michael Niedermayer2014-02-051-0/+2
|\| | | | | | | | | | | | | * commit 'a1e1f35203bbcbea0efb51d93e96769c826b8c64': lavu: add missing log.h include in timer.h Merged-by: Michael Niedermayer <[email protected]>
| * lavu: add missing log.h include in timer.hJanne Grunau2014-02-051-0/+2
| |
* | Merge commit '9ecb858775483a76c137e8e1ad45a95e318bca61'Michael Niedermayer2014-02-051-15/+15
|\| | | | | | | | | | | | | * commit '9ecb858775483a76c137e8e1ad45a95e318bca61': doxy: Format @code blocks so they render properly Merged-by: Michael Niedermayer <[email protected]>
| * doxy: Format @code blocks so they render properlyLuca Barbato2014-02-041-15/+15
| | | | | | | | | | | | @code command reports verbatim everything between it and @endcode. Signed-off-by: Anton Khirnov <[email protected]>
* | Merge commit '0e830094ad0dc251613a0aa3234d9c5c397e02e6'Michael Niedermayer2014-02-051-0/+2
|\| | | | | | | | | | | | | * commit '0e830094ad0dc251613a0aa3234d9c5c397e02e6': samplefmt: avoid integer overflow in av_samples_get_buffer_size() Merged-by: Michael Niedermayer <[email protected]>
| * samplefmt: avoid integer overflow in av_samples_get_buffer_size()Justin Ruggles2014-02-041-0/+2
| | | | | | | | CC:[email protected]
| * x86inc: Speed up assembling with YasmLoren Merritt2014-01-261-23/+23
| | | | | | | | | | | | | | Work around Yasm's inefficiency with handling large numbers of variables in the global scope. Signed-off-by: Diego Biurrun <[email protected]>
* | Fix compilation with msvc/icl due to missing header and define.Matt Oliver2014-02-031-0/+3
| | | | | | | | Signed-off-by: Michael Niedermayer <[email protected]>
* | avutil/internal.h: add timer.h backMichael Niedermayer2014-01-261-0/+1
| | | | | | | | | | | | | | | | | | Without this a developer would have to add a include every time he wants to benchmark some code, this is a moderate inconvenience. This reverts the specific hunk from fb0c9d41d685abb58575c5482ca33b8cd457c5ec Signed-off-by: Michael Niedermayer <[email protected]>
* | Merge commit 'fb0c9d41d685abb58575c5482ca33b8cd457c5ec'Michael Niedermayer2014-01-264-1/+3
|\| | | | | | | | | | | | | | | | | | | | | * commit 'fb0c9d41d685abb58575c5482ca33b8cd457c5ec': avutil: remove timer.h include from internal.h Conflicts: libavcodec/ffv1dec.c libavutil/internal.h Merged-by: Michael Niedermayer <[email protected]>
| * avutil: remove timer.h include from internal.hJanne Grunau2014-01-253-1/+2
| | | | | | | | Added libavutil/timer.h include to all files with {START,STOP}_TIMER.
* | avutil/opt: Better print representation of number limitsJoão Bernardo2014-01-241-0/+14
| | | | | | | | | | Signed-off-by: João Bernardo Oliveira <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* | lavu/rational: add syntactic sugar.Nicolas George2014-01-192-1/+12
| | | | | | | | | | Add a function to create a rational and macros for common values.
* | x86inc: speed up compilation with yasmLoren Merritt2014-01-181-23/+23
| | | | | | | | | | Work around yasm's inefficiency with handling large numbers of variables in the global scope.