summaryrefslogtreecommitdiff
path: root/libavutil
Commit message (Collapse)AuthorAge
* lavu/opt: check if class is NULL tooPaul B Mahol2013-05-21
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avutil/pixfmt: add forgotten deprecated to YUVJ411Michael Niedermayer2013-05-21
| | | | | Found-by: wm4 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* add YUVJ411PMichael Niedermayer2013-05-21
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avutil/frame: continue to process bufs even if some are emptyXidorn Quan2013-05-20
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avutil/md5: move loop inside inner functionGiorgio Vazzana2013-05-20
| | | | | | | | | | | | | | | | 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>
* avutil/hmac: silence pointer type warningsMichael Niedermayer2013-05-20
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* md5: optimize second round by using 4-operation form of G()Giorgio Vazzana2013-05-20
| | | | | | | | | | | | | | | | | | | | | | | 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>
* Merge commit '40020e171a3549a2c0b65ce6f2649aec868872f2'Michael Niedermayer2013-05-18
|\ | | | | | | | | | | | | | | | | | | * commit '40020e171a3549a2c0b65ce6f2649aec868872f2': doxy: add a section about versioning. Conflicts: libavutil/avutil.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * doxy: add a section about versioning.Anton Khirnov2013-05-17
| |
* | Merge commit 'bc8c1cdc7bfe7b1fe56df812aabdac3de2555cec'Michael Niedermayer2013-05-18
|\| | | | | | | | | | | | | | | | | | | | | | | | | * 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>
| * lavfi doxy: add a page for lavfi.Anton Khirnov2013-05-17
| |
* | md5: avoid unnecessary copying.Reimar Döffinger2013-05-17
| | | | | | | | | | | | | | | | | | 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>
* | lavu/opt: add AV_OPT_TYPE_COLORPaul B Mahol2013-05-17
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | Rename ffadler to ffhash and expand it using the generic hash APIJames Almer2013-05-16
| | | | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit 'd46c588f3cb1963a00e990ceaf4ba9ffa05a716d'Michael Niedermayer2013-05-16
|\| | | | | | | | | | | | | | | | | | | | | | | * commit 'd46c588f3cb1963a00e990ceaf4ba9ffa05a716d': Remove commented-out #includes h263dec: Remove broken and disabled debug cruft vc1: Reindent INIT_LUT(), align backslashes Conflicts: libavcodec/vc1.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Remove commented-out #includesDiego Biurrun2013-05-15
| |
* | lavu/hash: Fix CRC32 calculationJames Almer2013-05-15
| | | | | | | | | | | | | | | | Initialize it with UINT32_MAX and xor the result with UINT32_MAX as well. Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavu/hash: Fix adler32 calculationJames Almer2013-05-15
| | | | | | | | | | | | | | Adler must be initialized with a non zero value. Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | murmur3: fix memleakMichael Niedermayer2013-05-15
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | replace remaining PIX_FMT_* flags with AV_PIX_FMT_FLAG_*Michael Niedermayer2013-05-15
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2013-05-15
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: pixdesc: rename PIX_FMT_* flags to AV_PIX_FMT_FLAG_* Conflicts: doc/APIchanges libavcodec/avpicture.c libavcodec/ffv1dec.c libavcodec/ffv1enc.c libavcodec/imgconvert.c libavcodec/tiffenc.c libavfilter/vf_pixdesctest.c libavfilter/vf_scale.c libavutil/imgutils.c libavutil/pixdesc.c libavutil/version.h libswscale/swscale_internal.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * pixdesc: rename PIX_FMT_* flags to AV_PIX_FMT_FLAG_*Anton Khirnov2013-05-15
| |
* | Merge commit '096696ef0dd391d9430376d1444c1a3cde9171fd'Michael Niedermayer2013-05-15
|\| | | | | | | | | | | | | | | * commit '096696ef0dd391d9430376d1444c1a3cde9171fd': avfiltergraph: simplify inserting conversion filters. Clarify output of av_get_bits_per_pixel Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Clarify output of av_get_bits_per_pixelKieran Kunhya2013-05-15
| | | | | | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* | lavu/hash: Fix name of SHA224James Almer2013-05-14
| | | | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Add a generic hash API.Reimar Döffinger2013-05-13
| | | | | | | | | | | | Also use this API in framemd5. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | Add 128 bit murmur3 hash function.Reimar Döffinger2013-05-13
| | | | | | | | Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | lavu/common: make FF_CEIL_RSHIFT faster when shift is constant.Clément Bœsch2013-05-13
| | | | | | | | | | See "[PATCH] lavfi/lut: use FF_CEIL_RSHIFT for chroma w/h rounding." thread for more information.
* | lavu/mem: add av_dynarray2_add()Stefano Sabatini2013-05-13
| | | | | | | | | | | | | | | | | | Based on a patch by Clément Bœsch. See thread: From: Clément Bœsch <ubitux@gmail.com> Subject: [FFmpeg-devel] [PATCH 1/5] lavu: add av_dynarray_alloc_elem(). Date: Sun, 14 Apr 2013 03:07:54 +0200
* | lavu: define FF_MEMORY_POISON and use itStefano Sabatini2013-05-13
| | | | | | | | Allow single-place definition of constant used to fill poisoned memory.
* | lavu/mem.h: fix typoStefano Sabatini2013-05-10
| |
* | lavu: add FF_CEIL_RSHIFT and use it in various places.Clément Bœsch2013-05-09
| |
* | tools: Add adler32 checksum toolMichael Niedermayer2013-05-09
| | | | | | | | | | | | This is about 6 times faster than md5sum on linux Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2013-05-08
|\| | | | | | | | | | | | | | | | | | | * qatar/master: msvc: Move linker pragma from config.h to libavutil/internal.h Conflicts: configure Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * msvc: Move linker pragma from config.h to libavutil/internal.hMartin Storsjö2013-05-08
| | | | | | | | | | | | | | This makes linking succeed for tools that include config.h but don't link to libavutil. Signed-off-by: Martin Storsjö <martin@martin.st>
* | lavu/mem: fix potential int overflow and crash in av_dynarray_add()Stefano Sabatini2013-05-08
| | | | | | | | Also extend documentation accordingly.
* | lavu/mem: extend documentation for av_dynarray_add()Stefano Sabatini2013-05-08
| | | | | | | | | | In particular, mention the fact that the amortized element addition cost is constant.
* | avutil/av_pix_fmt_swap_endianness: simplify and fix codeMichael Niedermayer2013-05-07
| | | | | | | | | | | | | | This makes the code also more robust, not having a hard-coded table that can become (and was) incomplete. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '74652af821d7e526a6541876a637fbf81261fa8e'Michael Niedermayer2013-05-07
|\| | | | | | | | | | | | | | | | | | | | | * commit '74652af821d7e526a6541876a637fbf81261fa8e': pixdesc: add function to return pixel format with swapped endiannes Conflicts: libavutil/pixdesc.c libavutil/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * pixdesc: add function to return pixel format with swapped endiannesJanne Grunau2013-05-06
| |
* | lavu/opencl_internal: use av_opencl_errstrhighgod04012013-05-06
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavu/opencl: add opencl public error APIhighgod04012013-05-05
| | | | | | | | | | Reviewed-by: Stefano Sabatini <stefasab@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '1fda184a85178cfd7b98d9e308d18e1ded76a511'Michael Niedermayer2013-05-05
|\| | | | | | | | | | | | | * commit '1fda184a85178cfd7b98d9e308d18e1ded76a511': avutil: Add av_cold attributes to init functions missing them Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * avutil: Add av_cold attributes to init functions missing themDiego Biurrun2013-05-04
| |
* | lavu: add planar 16 bit and 8 bit rgb with alphaPaul B Mahol2013-05-03
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | Merge commit '566b7a20fd0cab44d344329538d314454a0bcc2f'Michael Niedermayer2013-05-03
|\| | | | | | | | | | | | | | | | | | | * commit '566b7a20fd0cab44d344329538d314454a0bcc2f': x86: float dsp: butterflies_float SSE Conflicts: libavutil/x86/float_dsp.asm Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * x86: float dsp: butterflies_float SSEChristophe Gisquet2013-05-03
| | | | | | | | | | 97c -> 49c Some codecs could benefit from more unrolling, but AAC doesn't.
* | lavu/opencl: fix bug of opencl optionshighgod04012013-05-02
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avutil/mem: add av_memdup()Michael Niedermayer2013-05-02
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2013-05-01
|\| | | | | | | | | | | | | | | | | | | | | | | * qatar/master: avutil: doxy: Small clarification for av_buffer_create() avcodec: doxy: Clarify how to use buf[] when implementing get_buffer2() avcodec: doxy: Clarify what get_buffer2 must fill in buf[] Conflicts: libavutil/buffer.h Merged-by: Michael Niedermayer <michaelni@gmx.at>