summaryrefslogtreecommitdiff
path: root/libavutil
Commit message (Collapse)AuthorAge
* x86: lavu/x264asm: fix ymm register instantiationChristophe Gisquet2015-02-04
| | | | | | | | This mimicks what is done for the other instruction sets. Tested-by: James Almer <jamrial@gmail.com> Tested-by: Mickaël Raulet <mraulet@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avutil/mem: replace remaining void **/*** casts by memcpy()Michael Niedermayer2015-02-03
| | | | | | This is similar to 60392480181f24ebf3ab48d8ac3614705de90152 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* lavu/x86/x86inc: deprecate INIT_AVXJames Darnley2015-02-02
| | | | | | The same can be done with INIT_XMM avx Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* x264asm: warn when inappropriate instruction used in function with specified ↵Anton Mitrofanov2015-02-02
| | | | | | | cpuflags Requested-by: Christophe Gisquet <christophe.gisquet@gmail.com> Requested-by: "Ronald S. Bultje" <rsbultje@gmail.com>
* Merge commit '60392480181f24ebf3ab48d8ac3614705de90152'Michael Niedermayer2015-02-01
|\ | | | | | | | | | | | | | | | | | | * commit '60392480181f24ebf3ab48d8ac3614705de90152': mem: fix pointer pointer aliasing violations Conflicts: libavutil/mem.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * mem: fix pointer pointer aliasing violationsRémi Denis-Courmont2015-02-01
| | | | | | | | | | | | | | | | | | This uses explicit memory copying to read and write pointer to pointers of arbitrary object types. This works provided that the architecture uses the same representation for all pointer types (the previous code made that assumption already anyway). Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
| * lavu: Check av_dict_set allocationsLuca Barbato2015-01-29
| | | | | | | | | | Bug-Id: CID 1257772 Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* | libavutil: Added twofish symmetric block cipherSupraja Meedinti2015-01-29
| | | | | | | | | | | | Signed-off-by: Supraja Meedinti <supraja0493@gmail.com> Reviewed-by: Giorgio Vazzana <mywing81@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avutil/aes: Rename crypt()Michael Niedermayer2015-01-28
| | | | | | | | | | | | | | This avoids a potential conflict with the equally named function from XOPEN It also could reduce confusion in debugger backtraces Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '728685f37ab333ca35980bd01766c78d197f784a'Michael Niedermayer2015-01-27
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '728685f37ab333ca35980bd01766c78d197f784a': Add a side data type for audio service type. Conflicts: doc/APIchanges libavcodec/avcodec.h libavcodec/version.h libavutil/frame.h libavutil/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Add a side data type for audio service type.Anton Khirnov2015-01-27
| | | | | | | | | | Currently, audio service type is a field in AVCodecContext. However, side data is more appropriate for this kind of information.
* | avutil/pixdesc: rewrite AV_PIX_FMT_FLAG_PSEUDOPAL documentationMichael Niedermayer2015-01-24
| | | | | | | | | | | | It seems many people do not understand its current documentation Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avutil/buffer: factor buffer_replace() outMichael Niedermayer2015-01-23
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avutil/pixfmt: Support the AV_PIX_FMT_GBRAP* formats with ↵Michael Niedermayer2015-01-15
| | | | | | | | | | | | AV_HAVE_INCOMPATIBLE_LIBAV_ABI Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avutil/pixfmt: Document the duplicated AV_PIX_FMT_GBRAP* formatsMichael Niedermayer2015-01-15
| | | | | | | | | | | | This is similar to the other duplicated cases Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '0e6c7dfa650e8b0497bfa7a06394b7a462ddc33a'Michael Niedermayer2015-01-15
|\| | | | | | | | | | | | | | | | | | | | | | | | | * commit '0e6c7dfa650e8b0497bfa7a06394b7a462ddc33a': lavu: add planar 16 bit and 8 bit rgb with alpha Conflicts: libavutil/pixdesc.c libavutil/pixfmt.h libavutil/version.h See: e6d4e687558d08187e7a415a7725e4b1a416f782 Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * lavu: add planar 16 bit and 8 bit rgb with alphaPaul B Mahol2015-01-14
| | | | | | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* | Merge commit 'e2ad0b66fa273c5c823978e8f601f2c0d9ee42f8'Michael Niedermayer2015-01-15
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'e2ad0b66fa273c5c823978e8f601f2c0d9ee42f8': imgutils: create misc functions for dealing with buffers Conflicts: doc/APIchanges libavcodec/avcodec.h libavcodec/avpicture.c libavutil/imgutils.c libavutil/imgutils.h libavutil/version.h See: e6674e46ecdd7aaa93d7f7d818eb1c8224b35eae Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * imgutils: create misc functions for dealing with buffersStefano Sabatini2015-01-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move the lavc/imgconvert functions and rename them as follows: avpicture_get_size -> av_image_get_buffer_size() avpicture_fill -> av_image_fill_arrays() avpicture_layout -> av_image_copy_to_buffer() The new functions have an align parameter, which allows to define the linesize alignment assumed in the buffer (which is set or read). The names of the functions are consistent with the lavu/samples API (av_samples_get_buffer_size(), av_samples_fill_arrays()). A redundant check has been dropped from av_image_fill_arrays(). Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* | avutil/opencl: don't include config.hJames Almer2015-01-12
| | | | | | | | | | | | | | | | | | It's not an installed header. Tested-by: Thilo Borgmann <thilo.borgmann@mail.de> Tested-by: Wei Gao <highgod0401@gmail.com> Reviewed-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: James Almer <jamrial@gmail.com>
* | Merge commit '07a0c0f0005072d115ace61e60f46be68582cc3a'Michael Niedermayer2015-01-06
|\| | | | | | | | | | | | | * commit '07a0c0f0005072d115ace61e60f46be68582cc3a': opt: check memory allocation Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * opt: check memory allocationVittorio Giovara2015-01-05
| | | | | | | | | | CC: libav-stable@libav.org Bug-Id: CID 1257771
* | Factorize avpriv_mirror() outMichael Niedermayer2015-01-05
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avutil/camellia: cosmetic fixesGiorgio Vazzana2015-01-02
| | | | | | | | | | Signed-off-by: Giorgio Vazzana <mywing81@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avutil/camellia: use K[2] instead of *K in generate_round_keys()Giorgio Vazzana2015-01-02
| | | | | | | | | | | | | | Additionally, change parameters order. Signed-off-by: Giorgio Vazzana <mywing81@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avutil/camellia: make LR128() more robustGiorgio Vazzana2015-01-02
| | | | | | | | | | Signed-off-by: Giorgio Vazzana <mywing81@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avutil/camellia: fix documentation for av_camellia_crypt()Giorgio Vazzana2015-01-02
| | | | | | | | | | Signed-off-by: Giorgio Vazzana <mywing81@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | libavutil: Added Camellia symmetric block cipherSupraja Meedinti2015-01-02
| | | | | | | | | | | | Signed-off-by: Supraja Meedinti <supraja0493@gmail.com> Previous version of this patch reviewed-by: Giorgio Vazzana <mywing81@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | x86/swr: add SSE2/AVX pack_8ch functionsJames Almer2014-12-30
| | | | | | | | | | | | Reviewed-by: Michael Niedermayer <michaelni@gmx.at> Reviewed-by: Ronald S. Bultje <rsbultje@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* | avutil/rational: Check that av_reduce() returns values within the requested maxMichael Niedermayer2014-12-29
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avutil/atomic: reuse ret to avoid dereferencing twice the same value.Clément Bœsch2014-12-27
| |
* | avutil/hmac: use av_freep() to avoid leaving stale pointers in memoryMichael Niedermayer2014-12-27
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avutil/audio_fifo: use av_freep() to avoid leaving stale pointers in memoryMichael Niedermayer2014-12-27
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avutil/dict: Use av_freep() to avoid leaving stale pointers in memoryMichael Niedermayer2014-12-27
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Add FFMPEG_VERSION into the binary libsMichael Niedermayer2014-12-19
| | | | | | | | | | | | This simplifies identifying from which revision a binary of a lib came from Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | libavutil: Added cbc mode to cast128Supraja Meedinti2014-12-19
| | | | | | | | | | | | Signed-off-by: Supraja Meedinti <supraja0493@gmail.com> Previous version reviewed-by: Giorgio Vazzana <mywing81@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit 'b1306823d0b3ae998c8e10ad832004eb13bdd93e'Michael Niedermayer2014-12-19
|\| | | | | | | | | | | | | | | | | | | | | | | * commit 'b1306823d0b3ae998c8e10ad832004eb13bdd93e': check memory errors from av_strdup() Conflicts: avprobe.c libavformat/matroskaenc.c libavutil/opt.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * check memory errors from av_strdup()Vittorio Giovara2014-12-18
| |
* | Merge commit '5d839778b9f3edb682b7f71dde4f80f07c75b098'Michael Niedermayer2014-12-19
|\| | | | | | | | | | | | | | | | | | | | | * commit '5d839778b9f3edb682b7f71dde4f80f07c75b098': lavu: Refactor side data wiping Conflicts: libavutil/frame.c See: a400edbb6d00c0211de38e4f1b4f593681db91d8 Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * lavu: Refactor side data wipingLuca Barbato2014-12-18
| | | | | | | | | | | | | | | | And make sure the nb_side_data field is reset as well. Based on an initial patch from wm4 <nfxjfg@googlemail.com>. CC: libav-stable@libav.org
| * thread: use "" instead of <> for including the w32pthreads wrapperAnton Khirnov2014-12-14
| | | | | | | | Found-by: Dave Yeo <dave.r.yeo@gmail.com>
* | libavutil: cosmetic: inserted spaces wherever necessarySupraja Meedinti2014-12-17
| | | | | | | | | | Signed-off-by: Supraja Meedinti <supraja0493@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavu/frame: fix malloc error path in av_frame_copy_props()wm42014-12-15
| | | | | | | | | | | | | | The error path frees all side data, but forgets to reset the side data count. This can blow up later in av_frame_unref() and free_side_data(). Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavu/dict: check for malloc failureswm42014-12-12
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '780cd20b00a69e26bbfffbb8eec16fbe999ea793'Michael Niedermayer2014-12-09
|\| | | | | | | | | | | | | * commit '780cd20b00a69e26bbfffbb8eec16fbe999ea793': aarch64: Use .data.rel.ro for const data with relocations Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * aarch64: Use .data.rel.ro for const data with relocationsMartin Storsjö2014-12-09
| | | | | | | | | | | | | | This reverts commit c00365b46d464ce47716315c1801818d811bdb9a in addition to using a different section. Signed-off-by: Martin Storsjö <martin@martin.st>
* | Merge commit 'f963f80399deb1a2b44c1bac3af7123e8a0c9e46'Michael Niedermayer2014-12-09
|\| | | | | | | | | | | | | | | | | | | * commit 'f963f80399deb1a2b44c1bac3af7123e8a0c9e46': arm: Use .data.rel.ro for const data with relocations Conflicts: configure Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * arm: Use .data.rel.ro for const data with relocationsMartin Storsjö2014-12-09
| | | | | | | | Signed-off-by: Martin Storsjö <martin@martin.st>
| * v210enc: Add SIMD optimised 8-bit and 10-bit encodersKieran Kunhya2014-12-05
| | | | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* | avutil/opt: Fix AV_OPT_TYPE_BINARY case in av_opt_is_set_to_default()Michael Niedermayer2014-12-08
| | | | | | | | | | | | | | Fixes CID1257010 Reviewed-by: Lukasz Marek <lukasz.m.luki2@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>