summaryrefslogtreecommitdiff
path: root/libavutil
Commit message (Collapse)AuthorAge
* Merge commit '0232ba62a28527579e34d44700b48017cc727e5f'Michael Niedermayer2015-02-11
|\ | | | | | | | | | | | | * commit '0232ba62a28527579e34d44700b48017cc727e5f': frame: clarify buf documentation Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * frame: clarify buf documentationAnton Khirnov2015-02-08
| | | | | | | | Mention explicitly that the array must be filled contiguously.
* | avutil/error: list most common error code in error_entries when strerror_r() ↵Michael Niedermayer2015-02-10
| | | | | | | | | | | | | | | | is unavailable Fixes Ticket4267 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | libavutil: camellia: remove unwanted memory loadsSupraja Meedinti2015-02-10
| | | | | | | | | | | | lavu CAMELLIA size: 1048576 runs: 1024 time: 21.549 +- 0.17 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | pixdesc: clarify AV_PIX_FMT_FLAG_ALPHA doxygenwm42015-02-10
| | | | | | | | | | | | Also make clear that PAL8 can have alpha. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avutil: check pixdescs in a different placewm42015-02-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Doing this check in avutil_version() is not appropriate. Also, this code is by default disabled (--assert-level is by default 0). A FATE run with defaults will never execute the checks. Move it to the pixelutils test program. Whatever reason there was in avutil_version() not to run this test by default, it should be fine in this test program. This means FATE will run the test by default. (Yes, pixelutils is not strictly the best place for it either, but it's better.) (pixdesc.c also has a small test program, but it's never run by FATE.) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avutil: move internal function out of public headerwm42015-02-10
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avutil/camellia: Remove redundant castsMichael Niedermayer2015-02-09
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avutil/camellia: Fix indention & whitespaceMichael Niedermayer2015-02-09
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | libavutil: optimize camellia cipherSupraja Meedinti2015-02-09
| | | | | | | | | | | | | | | | | | | | | | | | Before the changes : lavu CAMELLIA size: 1048576 runs: 1024 time: 32.541 +- 0.044 After the changes: lavu CAMELLIA size: 1048576 runs: 1024 time: 24.589 +- 0.066 Tested with crypto_bench on a Linux x86_64 OS with Intel Core i5-3210M CPU. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | pixdesc: Include more functions in FF_DISABLE_DEPRECATION_WARNINGSTimothy Gu2015-02-07
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avutil/pixfmt: Clarify meaning of the A/X bit in RGB555 / remove wording ↵Michael Niedermayer2015-02-07
| | | | | | | | | | | | | | about significant bit Found-by:wm4 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avutil/pixfmt: Clarify the meaning of the alpha bits in rgb444 and similar ↵Michael Niedermayer2015-02-07
| | | | | | | | | | | | formats Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avutil/pixfmt: Clarify the meaning of the "alpha" bit in rgb555/bgr555Michael Niedermayer2015-02-07
| | | | | | | | | | | | Found-by: wm4 Reviewed-by: wm4 <nfxjfg@googlemail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avutil/pixfmt: Clarify the meaning of the alpha byte in RGB0 and similar formatsMichael Niedermayer2015-02-07
| | | | | | | | | | | | | | | | Found-by: wm4 Reviewed-by: wm4 <nfxjfg@googlemail.com> Reviewed-by: Paul B Mahol <onemda@gmail.com> Reviewed-by: Carl Eugen Hoyos <cehoyos@ag.or.at> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avutil/opt: Fix type used to access AV_OPT_TYPE_SAMPLE_FMTMichael Niedermayer2015-02-06
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avutil/opt: Fix types used to access AV_OPT_TYPE_PIXEL_FMTMichael Niedermayer2015-02-06
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | 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>