summaryrefslogtreecommitdiff
path: root/libavutil
Commit message (Collapse)AuthorAge
* lavu/rational: add syntactic sugar.Nicolas George2014-01-19
| | | | | Add a function to create a rational and macros for common values.
* x86inc: speed up compilation with yasmLoren Merritt2014-01-18
| | | | | Work around yasm's inefficiency with handling large numbers of variables in the global scope.
* Merge commit '045654f422e74be8ed09a0819d39051d67633a09'Michael Niedermayer2014-01-17
|\ | | | | | | | | | | | | * commit '045654f422e74be8ed09a0819d39051d67633a09': doxy: Document better the available AVFrame flags Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * doxy: Document better the available AVFrame flagsLuca Barbato2014-01-17
| |
* | Merge commit 'ff23c4e4935e96e62d8ff2212a1955a43add88e1'Michael Niedermayer2014-01-17
|\| | | | | | | | | | | | | | | | | | | * commit 'ff23c4e4935e96e62d8ff2212a1955a43add88e1': doxy: Add AVFrame to the structured modules Conflicts: libavutil/frame.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * doxy: Add AVFrame to the structured modulesLuca Barbato2014-01-17
| |
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2014-01-15
|\| | | | | | | | | | | | | * qatar/master: aarch64: port neon clobber test from arm Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * aarch64: port neon clobber test from armJanne Grunau2014-01-15
| |
* | Merge commit 'b7b17ed66e199afc7246e642bf3b35c3f8eca217'Michael Niedermayer2014-01-15
|\| | | | | | | | | | | | | * commit 'b7b17ed66e199afc7246e642bf3b35c3f8eca217': aarch64: add cpuflags support for NEON and VFP Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * aarch64: add cpuflags support for NEON and VFPJanne Grunau2014-01-15
| | | | | | | | | | | | | | NEON and VFP are currently mandatory for all ARMv8 profiles. Both are handled as extensions as far as cpuflags are concerned. This is consistent with handling x86_64 which always has SSE2, but still handles it as an extension.
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2014-01-15
|\| | | | | | | | | | | | | * qatar/master: aarch64: bswap inline assembly Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * aarch64: bswap inline assemblyJanne Grunau2014-01-14
| | | | | | | | Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2014-01-11
|\| | | | | | | | | | | | | | | | | | | * qatar/master: arm: Add an option for making sure NEON registers aren't clobbered Conflicts: configure Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * arm: Add an option for making sure NEON registers aren't clobberedMartin Storsjö2014-01-11
| | | | | | | | | | | | This is pretty much based on the same test for XMM registers. Signed-off-by: Martin Storsjö <martin@martin.st>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2014-01-10
|\| | | | | | | | | | | | | * qatar/master: avutil: do not use avcodec header in frame.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * avutil: do not use avcodec header in frame.hVittorio Giovara2014-01-09
| |
* | Merge commit '5dae4872357613a0b51120b54a4c5221e0ec3f69'Michael Niedermayer2014-01-08
|\| | | | | | | | | | | | | * commit '5dae4872357613a0b51120b54a4c5221e0ec3f69': arm: Allow overriding the alignment set in the function macro Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * arm: Allow overriding the alignment set in the function macroMartin Storsjö2014-01-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The function macro always sets .align 2 before declaring the function label (since 5c5e1ea3) and always sets the section to .text (since 278caa6a). The .align 5 before certain functions, added in fc252eba, were added before .text and .align were added to the function macro and thus became useless/unused when the function macro got them. This restores the original intention, to align the loop entry points. Signed-off-by: Martin Storsjö <martin@martin.st>
* | Merge commit '01d245ef4392152dbdc78a6ba4dfa0a6e8b08e6f'Michael Niedermayer2014-01-06
|\| | | | | | | | | | | | | | | | | | | | | * commit '01d245ef4392152dbdc78a6ba4dfa0a6e8b08e6f': random_seed: Rewrite the generic clock() based seed code Conflicts: libavutil/random_seed.c See: 66531c75d3bfd8a013acd8bd3c04a131dae2a1a0 Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * random_seed: Rewrite the generic clock() based seed codeMichael Niedermayer2014-01-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The new code is faster and reuses the previous state in case of multiple calls. The previous code could easily end up in near-infinite loops, if the difference between two clock() calls never was larger than 1. This makes fate-parseutils finish in finite time when run in wine, if CryptGenRandom isn't available (which e.g. isn't available if targeting Windows RT/metro). Patch originally by Michael Niedermayer but with some modifications by Martin Storsjö. Signed-off-by: Martin Storsjö <martin@martin.st>
* | Merge commit '5b4797a21db900b7d509660b7a4d49829089b004'Michael Niedermayer2014-01-05
|\| | | | | | | | | | | | | | | | | | | * commit '5b4797a21db900b7d509660b7a4d49829089b004': avframe: add AV_FRAME_DATA_MATRIXENCODING side data type. Conflicts: libavutil/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * avframe: add AV_FRAME_DATA_MATRIXENCODING side data type.Tim Walker2014-01-05
| | | | | | | | Includes a libavcodec utility function to update a frame's side data.
* | Merge commit '5c437fb'Michael Niedermayer2014-01-05
|\| | | | | | | | | | | | | | | | | | | | | * commit '5c437fb': lavu: Add values for various Dolby flags to the AVMatrixEncoding enum. Conflicts: doc/APIchanges libavutil/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * lavu: Add values for various Dolby flags to the AVMatrixEncoding enum.Tim Walker2014-01-05
| |
* | avutil/rational: av_add_stable() test codeMichael Niedermayer2014-01-04
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avutil/mathematics: add av_add_stable()Michael Niedermayer2014-01-04
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '94a417acc05cc5151b473abc0bf51fad26f8c5a0'Michael Niedermayer2014-01-04
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '94a417acc05cc5151b473abc0bf51fad26f8c5a0': mathematics: remove asserts from av_rescale_rnd() Conflicts: libavutil/mathematics.c The asserts are left in place for now as no code checks the return value, but we sure can change this if application developers prefer Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * mathematics: remove asserts from av_rescale_rnd()Anton Khirnov2014-01-03
| | | | | | | | It is a public function, it must not assert on its parameters.
* | avutil/mathematics: fix 2 typos in the doxyMichael Niedermayer2014-01-03
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2013-12-30
|\| | | | | | | | | | | | | | | | | | | | | | | * qatar/master: lavu: Move preprocessor macros in a separate file Conflicts: libavutil/avutil.h libavutil/utils.c libavutil/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * lavu: Move preprocessor macros in a separate fileLuca Barbato2013-12-29
| | | | | | | | And remove all the circular inclusions of avutil.h while at it.
* | avutil/frame: increase padding for framesMichael Niedermayer2013-12-28
| | | | | | | | | | | | This matches what avcodec uses Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit 'b83d1ee3b41cfe8357836e2582104db2f3364cb0'Michael Niedermayer2013-12-27
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'b83d1ee3b41cfe8357836e2582104db2f3364cb0': avutil: Move library version related macros to version.h Conflicts: libavcodec/version.h libavresample/version.h libavutil/avutil.h libavutil/utils.c See: 183117fed7d0a910b5f65e5c78b065f125abf369 Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * avutil: Move library version related macros to version.hDiego Biurrun2013-12-26
| | | | | | | | This is a more sensible place for these macros.
| * error.h: Do not circularly depend on avutil.hDiego Biurrun2013-12-25
| |
| * lavu: fix typo in documentation.Tim Walker2013-12-22
| |
* | lavu,lavc,lswr: do not hardcode AV_SAMPLE_FMT_NB value when setting sample ↵Stefano Sabatini2013-12-26
| | | | | | | | | | | | | | | | | | | | | | | | format max value The constant may change in libavutil but the library may be compiled against an older version, thus rejecting a value which is otherwise supported by the new libavutil. INT_MAX is used here to denote the max allowed value for a sample format. The opt-test code is changed to provide a valid reference example.
* | lavu,lavfi,lavd: do not hardcode AV_PIX_FMT_NB value when setting pixel ↵Stefano Sabatini2013-12-26
| | | | | | | | | | | | | | | | | | | | | | | | format max value The constant may change in libavutil but the library may be compiled against an older version, thus rejecting a value which is otherwise supported by the new libavutil. INT_MAX is used here to denote the max allowed value for a pixel format. The opt-test code is changed to provide a valid reference example.
* | lavu/opt: apply range checks also when setting format string valueStefano Sabatini2013-12-26
| | | | | | | | | | | | Previously when setting a pixel/sample format as a string range checks were not performed. This is consistent with the av_opt_set_pixel/sample_fmt() interface.
* | lavu/opt: factorize setting of format values from stringStefano Sabatini2013-12-26
| | | | | | | | Simplify incoming patch.
* | lavu/opt: fix range check logic in set_format()Stefano Sabatini2013-12-26
| | | | | | | | | | In particular, allow to reject undefined values. Previously the code was only accepting values in the range -1 .. NB_FORMATS-1.
* | avutil/avstring: add av_strnlen()Michael Niedermayer2013-12-22
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Convert XvMC to hwaccel v3Ivan Kalvachev2013-12-22
| | | | | | | | | | Signed-off-by: Ivan Kalvachev <ikalvachev@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2013-12-20
|\| | | | | | | | | | | | | * qatar/master: atomics: cosmetics: Restructure ifdefs for greater clarity Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * atomics: cosmetics: Restructure ifdefs for greater clarityDiego Biurrun2013-12-20
| | | | | | | | | | Also fix the #endif comment in a few places and #include config.h to avoid assuming it is #included implicitly.
* | Revert "Merge commit '3bc2e89c76e88ae6f1fd5287e0b11abcfc3c601c'" (Bump ↵Michael Niedermayer2013-12-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | libavutil major version to account for the LLS API/ABI changes.) This reverts commit 792845e436ddc5f3ce11ba02535a3372919061f2, reversing changes made to 1d6666a6b828cca6c6b355a9b62f25607b1ced08. Bumping libavutil requires all libraries that use libavutil to have their major version bumped (yes breakage has been confirmed this is not a hypotheses) One case of breakage is due to new types being added to AVOptions and applications that linked to old libavutil and libswresample then trying to use old libavutil (its soname changed so the old isnt updated) and new swresample (its soame didnt change so it is updated) the new swresample contains AVOption types that the old libavutil doesnt know of thus the application attempting to access these avoptions fails AVOptions are used by all libs so the issue can potentially happen with any other lib, libswresample was just the first that showed the problem ive not checked if the other libs are affected currently by the same issue or not Also in addition to AVOptions, AVFrames are also defined in libavutil, bumping it without all libs that use AVFrames could lead to serious inconsistencies when 2 libs/app end up using 2 different libavutils The alternative of bumping all is still possible after this revert, if it turns out to be the preferred solution
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2013-12-17
|\| | | | | | | | | | | | | * qatar/master: apidoc: fix warning from stereo3d.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * apidoc: fix warning from stereo3d.hVittorio Giovara2013-12-17
| |
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2013-12-17
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: avutil: Remove deprecated intfloat_readwrite code Conflicts: libavutil/intfloat_readwrite.c libavutil/intfloat_readwrite.h The files are left in place as they are still used by some projects mplayer is one. Theres no hurry in removing the code, it can as well be removed once no projects use it anymore Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * avutil: Remove deprecated intfloat_readwrite codeDiego Biurrun2013-12-16
| | | | | | | | It was deprecated over two years ago.