Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-04-21Merge commit '439929859ae0eb9542d3bb8a0c856bd5a1d1ec48'Derek Buitenhuis
* commit '439929859ae0eb9542d3bb8a0c856bd5a1d1ec48': testprogs: Clean up #includes Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-04-20x86inc: Enable AVX emulation in additional casesAnton Mitrofanov
Allows emulation to work when dst is equal to src2 as long as the instruction is commutative, e.g. `addps m0, m1, m0`.
2016-04-20x86inc: Improve handling of %ifid with multi-token parametersAnton Mitrofanov
The yasm/nasm preprocessor only checks the first token, which means that parameters such as `dword [rax]` are treated as identifiers, which is generally not what we want.
2016-04-20x86inc: Fix AVX emulation of some instructionsAnton Mitrofanov
2016-04-20x86inc: Fix AVX emulation of scalar float instructionsHenrik Gramner
Those instructions are not commutative since they only change the first element in the vector and leave the rest unmodified.
2016-04-19Merge commit '564b4591bbe223bdc5f36a1131eaef103f23f5d0'Derek Buitenhuis
* commit '564b4591bbe223bdc5f36a1131eaef103f23f5d0': opt: Add av_opt_copy() Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-04-17Merge commit '52385410b7de012c2562fb5ba8f07a4e1112c4e7'Derek Buitenhuis
* commit '52385410b7de012c2562fb5ba8f07a4e1112c4e7': des-test: Move a variable declaration to avoid an ifdef Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-04-14Merge commit '551c6775abb5e0ad34c26d7e23bc6fbbe8ccc9d4'Derek Buitenhuis
* commit '551c6775abb5e0ad34c26d7e23bc6fbbe8ccc9d4': lavu: VAAPI hwcontext implementation Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-04-14Merge commit 'd264c720f7b74286840719e506daba39f83b438b'Derek Buitenhuis
* commit 'd264c720f7b74286840719e506daba39f83b438b': lavu: deprecate AV_PIX_FMT_VAAPI_*, replace with AV_PIX_FMT_VAAPI Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-04-14Merge commit 'b1f01e85a92d401a9b29c79f23db36b7685e8c09'Derek Buitenhuis
* commit 'b1f01e85a92d401a9b29c79f23db36b7685e8c09': lavu: add a way to query hwcontext frame constraints Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-04-13Merge commit '328e9a15c568843580ff3ff490748d545f16def8'Derek Buitenhuis
* commit '328e9a15c568843580ff3ff490748d545f16def8': buffer: drop a reference to a non-existing function from the docs Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-04-13Merge commit '7480d001312d9ba706333ec970264ed9df3f82cb'Derek Buitenhuis
* commit '7480d001312d9ba706333ec970264ed9df3f82cb': pixfmt: fix the AV_PIX_FMT_VAAPI_VLD doxy Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-04-13Merge commit '7a6cf2771414c7ab8bca0811d589f6091a6e2b71'Derek Buitenhuis
* commit '7a6cf2771414c7ab8bca0811d589f6091a6e2b71': lavu: improve documentation of some AVFrame functions Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-04-02lavu/base64: add AV_BASE64_DECODE_SIZE() macroStefano Sabatini
This is consistent with the AV_BASE64_SIZE macro and avoids the literal use of constants in the code.
2016-04-01lavu: improve documentation of some AVFrame functionswm4
2016-03-29fix some a/an typosLou Logan
Signed-off-by: Lou Logan <lou@lrcd.com>
2016-03-25lavu/dict: Add new flag to allow multiple equal keys.Thilo Borgmann
2016-03-24avutil/parseutils: mark args as static constMichael Niedermayer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-03-24Added more tests to libavutil/parseutils.cPetru Rares Sincraian
- Added tests for av_find_info_tag(). - Added test for av_get_known_color_name() Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-03-24testprogs: Clean up #includesDiego Biurrun
2016-03-24opt: Add av_opt_copy()Michael Niedermayer
This includes documentation and other modifications by Lukasz Marek and Martin Storsjö. Signed-off-by: Martin Storsjö <martin@martin.st>
2016-03-24opt: Add const to av_opt_nextLukasz Marek
Also add const to pointers in static functions within opt.c where possible/necessary. Signed-off-by: Martin Storsjö <martin@martin.st>
2016-03-24Refactor libavutil/parseutils.cPetru Rares Sincraian
All tests were in the main method which produces a long main. Now, each test is in his own method. I think this produces a more clear code and follows more with the main priority of FFmpeg "simplicity and small code size" Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-03-23opt-test: Merge struct declaration and initializationDiego Biurrun
2016-03-23opt-test: Move some variable declarations to avoid block bracesDiego Biurrun
2016-03-23des-test: Move a variable declaration to avoid an ifdefDiego Biurrun
2016-03-23parseutils-test: Move some variable declarations to avoid block bracesDiego Biurrun
2016-03-22all: move ff_exp10, ff_exp10f, ff_fast_powf to lavu/ffmath.hGanesh Ajjanagadde
The idea is to use ffmath.h for internal implementations of math functions. Currently, it is used for variants of libm functions, but is by no means limited to such things. Note that this is not exported; use lavu/mathematics for such purposes. Reviewed-by: Ronald S. Bultje <rsbultje@gmail.com> Signed-off-by: Ganesh Ajjanagadde <gajjanag@gmail.com>
2016-03-22Added a selftest to libavutil/display.cPetru Rares Sincraian
- Check if av_display_rotation_get() gets the correct degrees - Check if av_display_rotation_set() sets the correct matrix - Check if av_display_matrix_flip() changes correct the matrix Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-03-19lavu: VAAPI hwcontext implementationMark Thompson
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2016-03-19lavu: deprecate AV_PIX_FMT_VAAPI_*, replace with AV_PIX_FMT_VAAPIMark Thompson
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2016-03-19lavu: add a way to query hwcontext frame constraintsMark Thompson
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2016-03-18lavc/aacenc_utils: replace powf(x,y) by expf(logf(x), y)Ganesh Ajjanagadde
This is ~2x faster for y not an integer on Haswell+GCC, and should generally be faster due to the fact that anyway powf essentially does this under the hood. Made an inline function in lavu/internal.h for this purpose. Note that there are some accuracy differences, that should generally be negligible. In particular, FATE still passes on this platform. Results in ~ 7% speedup in aac encoding with -march=native, Haswell+GCC. before: ffmpeg -i sin.flac -acodec aac -y sin_new.aac 6.05s user 0.06s system 104% cpu 5.821 total after: ffmpeg -i sin.flac -acodec aac -y sin_new.aac 5.67s user 0.03s system 105% cpu 5.416 total This is also faster than an alternative approach that pulls in powf, gets rid of the crufty NaN checks and other special cases, exploits knowledge about the intervals, etc. This of course does not exclude smarter approaches; just suggests that there would need to be significant work on this front of lower utility than searches for hotspots elsewhere. Reviewed-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> Reviewed-by: Ronald S. Bultje <rsbultje@gmail.com> Signed-off-by: Ganesh Ajjanagadde <gajjanag@gmail.com>
2016-03-15avutil/dict: add warning to docs about invalidating existing entries when ↵Marton Balint
adding a new entry Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Marton Balint <cus@passwd.hu>
2016-03-15avutil/dict: do not realloc entries when deleting a non-existing itemMarton Balint
Deleting a non-existing item should not invalidate existing entries returned with av_dict_get. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Marton Balint <cus@passwd.hu>
2016-03-13lavu/lfg-test: add simple sample mean, stddev checksGanesh Ajjanagadde
Also added a TODO to change to a proper normality test in the future. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Ganesh Ajjanagadde <gajjanag@gmail.com>
2016-03-12avutil/file: Move av_tempfile() to avutil/file_open ff_tempfile()Michael Niedermayer
document the issue with av_tempfile() Tested-by: Hendrik Leppkes <h.leppkes@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-03-11avutil/random_seed: Add the runtime in cycles of the main loop to the ↵Michael Niedermayer
entropy pool This should theoretically improve the randomness slightly Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-03-10avutil/channel_layout: AV_CH_LAYOUT_6POINT1_BACK not reachable in parsingMartin Cracauer
Trying to make heads and tails out of DTS 6.1 I can across this typo. I also noticed that this wiki page is incorrect or misleading, the channel order for 6.1 given does not match the source code. At the least it should be clarified that the layout given does not apply to DTS. https://trac.ffmpeg.org/wiki/AudioChannelManipulation Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-03-09Add tests for functions in hash.cNagaChaitanya Vellanki
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-03-09mips: add support for R6Vicente Olivert Riera
Understanding the mips32r6 and mips64r6 ISAs in the configure script is not enough. In order to have full support for MIPS R6 in FFmpeg we need to be able to build it, and for that we need to make sure we don't use incompatible assembler code which makes the build fail. Ifdefing the offending code is sufficient to fix the problem. Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-03-07buffer: drop a reference to a non-existing function from the docsAnton Khirnov
This function only ever existed in the draft versions of the API.
2016-03-07pixfmt: fix the AV_PIX_FMT_VAAPI_VLD doxyAnton Khirnov
2016-03-05lavu: improve documentation of some AVFrame functionswm4
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2016-03-03avutil/color_utils: Mark test_data as static constMichael Niedermayer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-03-03Add test for avpriv_get_trc_function_from_trc functionNagaChaitanya Vellanki
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-03-01lavu/rational: add more info regarding floor(x+0.5) usageGanesh Ajjanagadde
Add some more verbose info regarding why the imprecise and slow floor(x+0.5) hack is used; helpful for future maintenance. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Ganesh Ajjanagadde <gajjanag@gmail.com>
2016-02-28Document and validate AVFrame plane pointers.Reimar Döffinger
Check that the required plane pointers and only those are set up. Currently does not enforce anything for the palette pointer of pseudopal formats as I am unsure about the requirements. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
2016-02-28avutil/imgutils: Assert that the 2nd av_image_fill_linesizes() call in ↵Michael Niedermayer
av_image_fill_linesizes() still succeeds Fixes CID1271742 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-02-24Merge commit '29c2d06d67724e994980045afa055c6c34611b30'Derek Buitenhuis
* commit '29c2d06d67724e994980045afa055c6c34611b30': cosmetics: Drop empty comment lines Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>