summaryrefslogtreecommitdiff
path: root/libavutil
Commit message (Collapse)AuthorAgeFilesLines
* Put a space between string literals and macros.Chris Watkins2015-07-071-2/+2
| | | | | | | | | When compiling libavutil/internal.h as C++11, clang warns that a space is required between a string literal and an identifier. Put spaces in concatenations of string literals and EXTERN_PREFIX. Signed-off-by: Chris Watkins <watk@chromium.org> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avcodec/mips: MSA (MIPS-SIMD-Arch) optimizations for idctdsp functionsShivraj Patil2015-07-071-0/+37
| | | | | | | This patch adds MSA (MIPS-SIMD-Arch) optimizations for idctdsp functions in new file idctdsp_msa.c and simple_idct_msa.c Signed-off-by: Shivraj Patil <shivraj.patil@imgtec.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avcodec/mips: MSA (MIPS-SIMD-Arch) optimizations for me_cmp functionsShivraj Patil2015-07-061-0/+59
| | | | | | | This patch adds MSA (MIPS-SIMD-Arch) optimizations for me_cmp functions in new file me_cmp_msa.c Signed-off-by: Shivraj Patil <shivraj.patil@imgtec.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avcodec/mips: MSA (MIPS-SIMD-Arch) optimizations for mpegvideoencdsp functionsShivraj Patil2015-07-061-0/+34
| | | | | | | This patch adds MSA (MIPS-SIMD-Arch) optimizations for mpegvideoencdsp functions in new file mpegvideoencdsp_msa.c Signed-off-by: Shivraj Patil <shivraj.patil@imgtec.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Merge commit '832129431fd5c693b12c32a1563944c631feaf36'Michael Niedermayer2015-07-031-1/+1
|\ | | | | | | | | | | | | | | | | | | | | * commit '832129431fd5c693b12c32a1563944c631feaf36': lavu: Add version information for av_version_info() Conflicts: doc/APIchanges libavutil/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * lavu: Add version information for av_version_info()Vittorio Giovara2015-07-031-1/+1
| | | | | | | | Move the APIchange entry at the top.
* | Merge commit '1316df7aa98c4784f190d107206d0bb12c590b89'Michael Niedermayer2015-07-032-5/+5
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '1316df7aa98c4784f190d107206d0bb12c590b89': lavu: add an API function to return the Libav version string Conflicts: .gitignore Makefile cmdutils.c doc/APIchanges libavutil/avutil.h libavutil/utils.c See: f91126643a91c2d3f8d8e210c8facaf259951b03 Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * lavu: add an API function to return the Libav version stringwm42015-07-022-0/+14
| | | | | | | | | | | | | | | | This returns something like "v12_dev0-1332-g333a27c". This is much more useful than the individual library versions, of which there are too many, and which are very hard to map back to releases or git commits. Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* | lavu: Makefile: skip atomic.c if native atomics are availableRodger Combs2015-07-011-1/+2
| | | | | | | | | | | | This prevents a linker warning and skips a useless compilation Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/mips: MSA (MIPS-SIMD-Arch) optimizations for mpegvideo functionsShivraj Patil2015-07-011-0/+94
| | | | | | | | | | | | | | This patch adds MSA (MIPS-SIMD-Arch) optimizations for mpegvideo functions in new file mpegvideo_msa.c Signed-off-by: Shivraj Patil <shivraj.patil@imgtec.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavu: add an API function to return the FFmpeg version stringwm42015-07-012-0/+12
| | | | | | | | | | | | | | | | This returns something like "N-73264-gb54ac84". This is much more useful than the individual library versions, of which there are too much and which are very hard to map back to releases or git commits. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/mips: MSA (MIPS-SIMD-Arch) optimizations for pixblock functionsShivraj Patil2015-06-291-0/+8
| | | | | | | | | | | | | | | | This patch adds MSA (MIPS-SIMD-Arch) optimizations for pixblock functions in new file pixblockdsp_msa.c Adds new generic macros (needed for this patch) in libavutil/mips/generic_macros_msa.h Signed-off-by: Shivraj Patil <shivraj.patil@imgtec.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avutil/x86/intmath: add missing check for inline assemblyJames Almer2015-06-271-1/+1
| | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com>
* | avutil/x86/intmath: use bzhi gcc builtin in av_mod_uintp2()James Almer2015-06-271-0/+7
| | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com>
* | avutil/log: modify AV_LOG_MAX_OFFSET for AV_LOG_TRACEZhang Rui2015-06-261-2/+2
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avutil/fixed_dsp: remove ff_ prefix from static functionJames Almer2015-06-201-2/+2
| | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com>
* | avutil/avstring: Do not print NULLMichael Niedermayer2015-06-191-1/+1
| | | | | | | | | | | | | | Fixes segfault Fixes Ticket4452 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/mips: MSA (MIPS-SIMD-Arch) optimizations for hpel functionsShivraj Patil2015-06-191-0/+162
| | | | | | | | | | | | | | | | This patch adds MSA (MIPS-SIMD-Arch) optimizations for hpel functions in new file hpeldsp_msa.c Adds new generic macros (needed for this patch) in libavutil/mips/generic_macros_msa.h Signed-off-by: Shivraj Patil <shivraj.patil@imgtec.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avutil/crc: Fix type of p table so its content fits without overflwoingMichael Niedermayer2015-06-191-1/+2
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avutil/avstring: Fix undefined shiftMichael Niedermayer2015-06-191-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avutil/aes: Fix typesMichael Niedermayer2015-06-191-2/+2
| | | | | | | | | | | | Fixes "warning: argument #2 is incompatible with prototype:" Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avutil/adler32: Fix data type in test codeMichael Niedermayer2015-06-191-1/+1
| | | | | | | | | | | | Fixes "warning: argument #2 is incompatible with prototype:" Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/mips: MSA (MIPS-SIMD-Arch) optimizations for qpel functionsShivraj Patil2015-06-181-0/+21
| | | | | | | | | | | | | | | | This patch adds MSA (MIPS-SIMD-Arch) optimizations for qpel functions in new file qpeldsp_msa.c Adds new generic macros (needed for this patch) in libavutil/mips/generic_macros_msa.h Signed-off-by: Shivraj Patil <shivraj.patil@imgtec.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | doc: avoid incorrect phrase 'allows to'Andreas Cadhalpun2015-06-161-1/+1
| | | | | | | | | | | | | | | | Also fix typo found by Lou Logan: Sacrifying -> Sacrificing Reviewed-by: Lou Logan <lou@lrcd.com> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
* | doc: fix spelling errorsAndreas Cadhalpun2015-06-142-2/+2
| | | | | | | | | | | | | | | | | | | | | | Neccessary -> Necessary formated -> formatted thee -> the eventhough -> even though seperately -> separately Reviewed-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
* | softfloat: make av_div_sf() inlineJames Almer2015-06-131-1/+1
| | | | | | | | | | | | | | Removes a defined but not used warning on files including softfloat.h Reviewed-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: James Almer <jamrial@gmail.com>
* | avcodec/mips: MSA (MIPS-SIMD-Arch) optimizations for AVC qpel functionsShivraj Patil2015-06-131-0/+124
| | | | | | | | | | | | | | | | | | | | This patch adds MSA (MIPS-SIMD-Arch) optimizations for AVC qpel functions in new file h264qpel_msa.c Adds new generic macros (needed for this patch) in libavutil/mips/generic_macros_msa.h Added const to local static array. Signed-off-by: Shivraj Patil <shivraj.patil@imgtec.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avutil/imgutils: Simplify pix_fmt validity check in av_image_get_linesize()Michael Niedermayer2015-06-121-1/+1
| | | | | | | | | | Found-by: Daemon404 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/mips: MSA (MIPS-SIMD-Arch) optimizations for AVC idct functionsShivraj Patil2015-06-111-0/+96
| | | | | | | | | | | | | | | | This patch adds MSA (MIPS-SIMD-Arch) optimizations for AVC idct functions in new file h264idct_msa.c Adds new generic macros (needed for this patch) in libavutil/mips/generic_macros_msa.h Signed-off-by: Shivraj Patil <shivraj.patil@imgtec.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/mips: MSA (MIPS-SIMD-Arch) optimizations for AVC intra prediction ↵Shivraj Patil2015-06-111-0/+11
| | | | | | | | | | | | | | | | | | | | functions This patch adds MSA (MIPS-SIMD-Arch) optimizations for AVC intra prediction functions in new file h264pred_msa.c Adds new generic macros (needed for this patch) in libavutil/mips/generic_macros_msa.h Signed-off-by: Shivraj Patil <shivraj.patil@imgtec.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avutil/softfloat: Move av_sf2double() to headerMichael Niedermayer2015-06-112-6/+6
| | | | | | | | | | | | It was not intended to be a static private function Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avutil/softfloat: properly separate testcodeMichael Niedermayer2015-06-112-8/+10
| | | | | | | | | | | | This matches how other self tests are implemented Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/mips: MSA (MIPS-SIMD-Arch) optimizations for AVC chroma mc functionsShivraj Patil2015-06-111-0/+56
| | | | | | | | | | | | | | | | s patch adds MSA (MIPS-SIMD-Arch) optimizations for AVC chroma mc functions in new file h264chroma_msa.c Adds new generic macros (needed for this patch) in libavutil/mips/generic_macros_msa.h Signed-off-by: Shivraj Patil <shivraj.patil@imgtec.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/mips: MSA (MIPS-SIMD-Arch) optimizations for HEVC intra prediction ↵Shivraj Patil2015-06-101-0/+46
| | | | | | | | | | | | | | | | | | | | functions This patch adds MSA (MIPS-SIMD-Arch) optimizations for HEVC intra predition functions in new file hevcpred_msa.c Adds new generic macros (needed for this patch) in libavutil/mips/generic_macros_msa.h Signed-off-by: Shivraj Patil <shivraj.patil@imgtec.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/mips: MSA (MIPS-SIMD-Arch) optimizations for HEVC loop filter and ↵Shivraj Patil2015-06-101-1/+110
| | | | | | | | | | | | | | | | | | | | | | | | sao functions This patch adds MSA (MIPS-SIMD-Arch) optimizations for HEVC loop filter and sao functions in new file hevc_lpf_sao_msa.c Adds new generic macros (needed for this patch) in libavutil/mips/generic_macros_msa.h In this patch, in comparision with previous patch, duplicated c functions are removed. Signed-off-by: Shivraj Patil <shivraj.patil@imgtec.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | libavutil/channel_layout: Correctly return layout when channel specification ↵Simon Thelen2015-06-091-1/+1
| | | | | | | | | | | | | | | | | | | | ends with a trailing 'c'. Return layout when FF_API_GET_CHANNEL_LAYOUT_COMPAT is set even if the layout itself is not in the deprecated style. Signed-off-by: Simon Thelen <ffmpeg-dev@c-14.de> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit 'a6f19d6a9f8d1e08653d9d77581e8c823f4955c2'Michael Niedermayer2015-06-081-5/+6
|\ \ | |/ | | | | | | | | | | | | | | | | | | * commit 'a6f19d6a9f8d1e08653d9d77581e8c823f4955c2': configure: Support MSVC 2015 Conflicts: configure libavutil/internal.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * configure: Support MSVC 2015Luca Barbato2015-06-081-5/+6
| | | | | | | | | | | | | | | | | | | | | | The C runtime C99 compatibility had been improved a lot and it now rejects some of the compatibility defines provided for the older versions. Many thanks to Ray for the time spent testing. Bug-Id: 864 CC: libav-stable@libav.org
| * x86: check for AV_CPU_FLAG_AVXSLOW where usefulJames Almer2015-05-312-2/+2
| | | | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* | avutil/colorspace: Remove RGB_TO_Y/U/VMichael Niedermayer2015-06-061-12/+0
| | | | | | | | | | | | | | | | They are unused and colorspace.h is not a installed header Found-by: Timo Rothenpieler <timo@rothenpieler.org> Reviewed-by: Clément Bœsch <u@pkh.me> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avutil/ppc/cpu: add include avassert.hMichael Niedermayer2015-06-051-0/+1
| | | | | | | | | | | | fix build failure on ppc64 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avutil/softfloat: Fix alternative implementation of av_normalize1_sf()Michael Niedermayer2015-06-051-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avutil/softfloat: Fix alternative implementation of av_normalize_sf()Michael Niedermayer2015-06-051-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | arm: only enable setend on ARMv6Andreas Cadhalpun2015-06-051-1/+1
| | | | | | | | | | | | | | Without this check it causes SIGILL crashes on ARMv5. Reviewed-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
* | avutil/softfloat: Move av_sincos_sf() from header to c fileMichael Niedermayer2015-06-052-48/+50
| | | | | | | | | | | | | | The function is quite big and trigonometric functions should not really be used in speed critical code Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | libavutil/doc: Changes in documentation due to changes to fixed_dspNedeljko Babic2015-06-051-2/+2
| | | | | | | | | | | | | | | | New functions are added to fixed_dsp, so the documentation is changed accordingly. Signed-off-by: Nedeljko Babic <nedeljko.babic@imgtec.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avutil/softfloat: Add more tests for the normalizationMichael Niedermayer2015-06-051-0/+10
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avutil/softfloat: Fix thresholds in av_normalize_sf()Michael Niedermayer2015-06-051-1/+1
| | | | | | | | | | Found-by: Nedeljko Babic <Nedeljko.Babic@imgtec.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/mips: MSA (MIPS-SIMD-Arch) optimizations for HEVC idct functionsShivraj Patil2015-06-041-0/+195
| | | | | | | | | | | | | | | | This patch adds MSA (MIPS-SIMD-Arch) optimizations for HEVC idct functions in new file hevc_idct_msa.c Adds new generic macros (needed for this patch) in libavutil/mips/generic_macros_msa.h Signed-off-by: Shivraj Patil <shivraj.patil@imgtec.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | libavutil/softfloat: Fix av_normalize1_sf bias.Nedeljko Babic2015-06-041-1/+1
| | | | | | | | | | | | | | av_normalize1_sf doesn't properly address border case when mantis is exactly -0x40000000. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>