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
2013-06-16Merge branch 'crypto' of https://github.com/jamrial/FFmpegMichael Niedermayer
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-06-16lavu: Add RIPEMD hashingJames Almer
Includes RIPEMD-128, RIPEMD-160, RIPEMD-256 and RIPEMD-320 Signed-off-by: James Almer <jamrial@gmail.com>
2013-06-16lavu/hash: Add support for SHA-2 512James Almer
Signed-off-by: James Almer <jamrial@gmail.com>
2013-06-16lavu/utils: silence warnings about incompatible pointer typesPaul B Mahol
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2013-06-15avutil/utils: check and warn about llrint() brokennessMichael Niedermayer
Such broken llrint() exist for example on netbsd Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-06-15lavu/md5: Add doxyJames Almer
Mostly a copy&paste from other hash functions, with changes where required. Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-06-15lavu/crc: Fix doxy group definitionJames Almer
Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-06-15lavu/adler32: Fix doxy group definitionJames Almer
Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-06-13avutil/timestamp: remove ""Michael Niedermayer
This may fix an error with C++ Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-06-12fate: Add test vectors for HMAC SHA and SHA-2James Almer
Also replace custom tests for MD5 with those published in RFC 2202 Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-06-12lavu/hmac: Add support for SHA-2James Almer
Includes HMAC-SHA-224, HMAC-SHA-256, HMAC-SHA-384, and HMAC-SHA-512. Tested using test vectors from https://tools.ietf.org/html/rfc4231 Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-06-05avutil/mem: simplify av_reallocp_array() by using av_realloc_f()Michael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-06-05Merge commit '3b4feac1ec14f861bdd7f494f288f4d8dd7f449e'Michael Niedermayer
* commit '3b4feac1ec14f861bdd7f494f288f4d8dd7f449e': movenc: Keep track of the allocated size for the cluster array mem: Add av_realloc_array and av_reallocp_array Conflicts: doc/APIchanges libavformat/movenc.c libavutil/mem.c libavutil/mem.h libavutil/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-06-04mem: Add av_realloc_array and av_reallocp_arrayMartin Storsjö
These help avoiding overflows and simplify error handling. Signed-off-by: Martin Storsjö <martin@martin.st>
2013-06-03Merge commit 'c011ceef78eae66039efc66d9551a7146e08838a'Michael Niedermayer
* commit 'c011ceef78eae66039efc66d9551a7146e08838a': swscale: ppc: Remove commented-out define cruft nsvdec: Remove commented-out debug cruft cpu: Restructure code to avoid pointless ret variable indirection Conflicts: libavutil/cpu.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-06-02avutil/sha: reorder Maj argumentsMichael Niedermayer
about 1% speedup Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-06-02cpu: Restructure code to avoid pointless ret variable indirectionDiego Biurrun
libavutil/cpu.c:133:9: warning: unused variable ‘ret’ [-Wunused-variable]
2013-06-02avutil/sha512: Reshuffle Maj() operandsMichael Niedermayer
This reduces dependancy chains and improves speed by about 2% Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-06-02lavu: Add SHA-2 512 hashingJames Almer
Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-06-01avutil/crc: Dont limit CRC32 standard tablesJames Almer
Currently, standard tables like AV_CRC_32_IEEE and such are being generated (or provided in case the user compiles with hardcoded tables) with only 257 elements. We're missing a considerable boost in performance by not making them with a size of 1024 elements instead. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-05-31av_d2q: Add a special case for |value| > MAX and |value| < 1/MAXMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-05-30Add AV_HASH_MAX_SIZE.Reimar Döffinger
Makes it easier to use static allocation for the result buffer. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
2013-05-27Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: arm: Only output eabi attributes if building for ELF fix scalarproduct_and_madd_int16_altivec() for orders > 16 Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-05-27arm: Only output eabi attributes if building for ELFMartin Storsjö
This matches the other eabi attribute in the same file. This is required in order to build for arm/hardfloat with other object file formats than ELF. Signed-off-by: Martin Storsjö <martin@martin.st>
2013-05-26av_cpu_count: factorize "detected %d logical cores" messageMichael Niedermayer
Also print the message just once Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-05-26av_d2q: Avoid llrint(), its not correctly implemented in old netbsdMichael Niedermayer
This should fix some fate failure Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-05-25avutil/md5: reindent after previous commitsGiorgio Vazzana
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-05-25av_d2q: fix rounding for negative valuesMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-05-25av_d2q: Fix infinity checkMichael Niedermayer
The old check would fail on huge but not infinite values and the later code could then fail to handle them correctly in some cases. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-05-24Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: cpu: Include common.h for av_popcount64 Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-05-24avutil/bprint: Fix doxygen commentsMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-05-24Merge commit '2a6eaeaa85d17b27ee0dd449183ec197c35c9675'Michael Niedermayer
* commit '2a6eaeaa85d17b27ee0dd449183ec197c35c9675': Move get_logical_cpus() from lavc/pthread to lavu/cpu. Conflicts: doc/APIchanges libavcodec/pthread.c libavutil/cpu.c libavutil/cpu.h libavutil/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-05-24cpu: Include common.h for av_popcount64Martin Storsjö
This fixes build failures on windows since 2a6eaeaa8. Signed-off-by: Martin Storsjö <martin@martin.st>
2013-05-24lavu/opencl: remove semi-colon from macro.Clément Bœsch
Fixes compilation when the macros are empty and the label above ends up containing no statement. Also makes usage of these macro consistent (some already have a semi colon, some others don't). Fixes Ticket #2603
2013-05-24Move get_logical_cpus() from lavc/pthread to lavu/cpu.Anton Khirnov
It will be useful in lavfi, and could conceivably be useful to the user applications as well.
2013-05-22pixdesc: mark gray8 as pseudopalAnton Khirnov
Many functions treat it as such already. Fixes Bug 499. CC:libav-stable@libav.org
2013-05-22lavu/opt: check if class is NULL tooPaul B Mahol
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2013-05-21avutil/pixfmt: add forgotten deprecated to YUVJ411Michael Niedermayer
Found-by: wm4 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-05-21add YUVJ411PMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-05-21avutil/frame: continue to process bufs even if some are emptyXidorn Quan
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-05-21avutil/md5: move loop inside inner functionGiorgio Vazzana
AMD Athlon(tm) II X3 450 Processor size: 1048576 runs: 1024 time: 5.660 +- 0.023 size: 1048576 runs: 1024 time: 5.661 +- 0.030 size: 1048576 runs: 1024 time: 5.656 +- 0.022 size: 1048576 runs: 1024 time: 5.647 +- 0.026 size: 1048576 runs: 1024 time: 5.428 +- 0.037 size: 1048576 runs: 1024 time: 5.426 +- 0.034 size: 1048576 runs: 1024 time: 5.426 +- 0.034 size: 1048576 runs: 1024 time: 5.428 +- 0.038 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-05-20avutil/hmac: silence pointer type warningsMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-05-20md5: optimize second round by using 4-operation form of G()Giorgio Vazzana
4-operation form is preferred over 3-operation because it breaks a long dependency chain, thus allowing a superscalar processor to execute more operations in parallel. The idea was taken from: http://www.zorinaq.com/papers/md5-amd64.html AMD Athlon(tm) II X3 450 Processor, x86_64 $ for i in $(seq 1 4); do ./avutil_md5_test2; done size: 1048576 runs: 1024 time: 5.821 +- 0.019 size: 1048576 runs: 1024 time: 5.822 +- 0.019 size: 1048576 runs: 1024 time: 5.841 +- 0.018 size: 1048576 runs: 1024 time: 5.821 +- 0.018 $ for i in $(seq 1 4); do ./avutil_md5_test2; done size: 1048576 runs: 1024 time: 5.646 +- 0.019 size: 1048576 runs: 1024 time: 5.646 +- 0.018 size: 1048576 runs: 1024 time: 5.642 +- 0.019 size: 1048576 runs: 1024 time: 5.641 +- 0.019 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-05-18Merge commit '40020e171a3549a2c0b65ce6f2649aec868872f2'Michael Niedermayer
* commit '40020e171a3549a2c0b65ce6f2649aec868872f2': doxy: add a section about versioning. Conflicts: libavutil/avutil.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-05-18Merge commit 'bc8c1cdc7bfe7b1fe56df812aabdac3de2555cec'Michael Niedermayer
* commit 'bc8c1cdc7bfe7b1fe56df812aabdac3de2555cec': lavfi doxy: add a page for lavfi. jpegls: check the scan offset Conflicts: libavcodec/jpeglsdec.c libavfilter/avfilter.h libavutil/avutil.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-05-17md5: avoid unnecessary copying.Reimar Döffinger
Where necessary use memcpy instead. Thanks to Giorgio Vazzana [mywing81 gmail] for spotting this loop as the cause for the bad performance. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
2013-05-17doxy: add a section about versioning.Anton Khirnov
2013-05-17lavfi doxy: add a page for lavfi.Anton Khirnov
2013-05-17lavu/opt: add AV_OPT_TYPE_COLORPaul B Mahol
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2013-05-16Rename ffadler to ffhash and expand it using the generic hash APIJames Almer
Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>