summaryrefslogtreecommitdiff
path: root/libavutil
Commit message (Collapse)AuthorAge
* avutil/log: modify AV_LOG_MAX_OFFSET for AV_LOG_TRACEZhang Rui2015-06-26
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avutil/fixed_dsp: remove ff_ prefix from static functionJames Almer2015-06-20
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avutil/avstring: Do not print NULLMichael Niedermayer2015-06-19
| | | | | | | Fixes segfault Fixes Ticket4452 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avcodec/mips: MSA (MIPS-SIMD-Arch) optimizations for hpel functionsShivraj Patil2015-06-19
| | | | | | | | 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-19
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avutil/avstring: Fix undefined shiftMichael Niedermayer2015-06-19
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avutil/aes: Fix typesMichael Niedermayer2015-06-19
| | | | | | 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-19
| | | | | | 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-18
| | | | | | | | 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-16
| | | | | | | | 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-14
| | | | | | | | | | | 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-13
| | | | | | | 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-13
| | | | | | | | | | 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-12
| | | | | Found-by: Daemon404 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avcodec/mips: MSA (MIPS-SIMD-Arch) optimizations for AVC idct functionsShivraj Patil2015-06-11
| | | | | | | | 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-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-11
| | | | | | 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-11
| | | | | | 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-11
| | | | | | | | 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-10
| | | | | | | | | | 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-10
| | | | | | | | | | | | 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-09
| | | | | | | | | | 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-08
|\ | | | | | | | | | | | | | | | | | | | | * commit 'a6f19d6a9f8d1e08653d9d77581e8c823f4955c2': configure: Support MSVC 2015 Conflicts: configure libavutil/internal.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * configure: Support MSVC 2015Luca Barbato2015-06-08
| | | | | | | | | | | | | | | | | | | | | | 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-31
| | | | | | | | | | 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-06
| | | | | | | | | | | | | | | | 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-05
| | | | | | | | | | | | 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-05
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avutil/softfloat: Fix alternative implementation of av_normalize_sf()Michael Niedermayer2015-06-05
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | arm: only enable setend on ARMv6Andreas Cadhalpun2015-06-05
| | | | | | | | | | | | | | 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-05
| | | | | | | | | | | | | | 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-05
| | | | | | | | | | | | | | | | 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-05
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avutil/softfloat: Fix thresholds in av_normalize_sf()Michael Niedermayer2015-06-05
| | | | | | | | | | 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-04
| | | | | | | | | | | | | | | | 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-04
| | | | | | | | | | | | | | av_normalize1_sf doesn't properly address border case when mantis is exactly -0x40000000. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | libavutil: Add new fixed dsp functions.Nedeljko Babic2015-06-03
| | | | | | | | | | | | | | Add functions needed for implementation of fixed point aac dec. Signed-off-by: Nedeljko Babic <nedeljko.babic@imgtec.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/mips: MSA (MIPS-SIMD-Arch) optimizations for HEVC uni mc epel functionsShivraj Patil2015-06-03
| | | | | | | | | | | | | | | | This patch adds MSA (MIPS-SIMD-Arch) optimizations for HEVC uni mc epel functions. 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/ppc/cpu: Our code assumes vsx implies altivec, thus assert thisMichael Niedermayer2015-06-03
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/mips: MSA (MIPS-SIMD-Arch) optimizations for HEVC uniw mc functionsShivraj Patil2015-06-03
| | | | | | | | | | | | | | | | This patch adds MSA (MIPS-SIMD-Arch) optimizations for HEVC uniw mc functions (qpel as well as epel) in new file hevc_mc_uniw_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 bi mc functionsShivraj Patil2015-06-02
| | | | | | | | | | | | | | | | | | This patch adds MSA (MIPS-SIMD-Arch) optimizations for HEVC bi mc functions (qpel as well as epel) in new file hevc_mc_bi_msa.c Adds new generic macros (needed for this patch) in libavutil/mips/generic_macros_msa.h Adds HEVC specific macros (needed for this patch) in libavcodec/mips/hevc_macros_msa.h Signed-off-by: Shivraj Patil <shivraj.patil@imgtec.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avutil/float_dsp: Fix ambiguous wording about vector productsMichael Niedermayer2015-06-01
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avutil/ppc/cpu: Remove !ARCH_PPC64 check for mfspr, the code should now ↵Michael Niedermayer2015-06-01
| | | | | | | | | | | | support ppc64 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | x86: check for AV_CPU_FLAG_AVXSLOW where usefulJames Almer2015-06-01
| | | | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit 'cae39851201b7781f1262e1c23627b45e6e80bb4'Michael Niedermayer2015-05-31
|\| | | | | | | | | | | | | * commit 'cae39851201b7781f1262e1c23627b45e6e80bb4': x86: Add helper macros to check for slow cpuflags Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * x86: Add helper macros to check for slow cpuflagsJames Almer2015-05-31
| | | | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* | Merge commit 'f7cafb5d02aa3f26c185f6f9851413ad77a73872'Michael Niedermayer2015-05-31
|\| | | | | | | | | | | | | | | | | | | | | | | * commit 'f7cafb5d02aa3f26c185f6f9851413ad77a73872': x86: add AV_CPU_FLAG_AVXSLOW flag Conflicts: doc/APIchanges libavutil/version.h See: c312bfac4c8ac1ac55d6648fd6eb36db436100f3 Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * x86: add AV_CPU_FLAG_AVXSLOW flagJames Almer2015-05-31
| | | | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* | Merge commit 'd0bf20a4f25ac5de021c860a0c8ad05638ee2078'Michael Niedermayer2015-05-31
|\| | | | | | | | | | | | | * commit 'd0bf20a4f25ac5de021c860a0c8ad05638ee2078': ppc: vsx: Implement diff_pixels and get_pixels Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * ppc: vsx: Implement diff_pixels and get_pixelsLuca Barbato2015-05-31
| | | | | | | | Use a macro to abstract the endianness.