summaryrefslogtreecommitdiff
path: root/libavutil
Commit message (Collapse)AuthorAge
...
* | 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.
* | avutil/ppc/float_dsp_init: Disable duplicate functionsMichael Niedermayer2015-05-31
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit 'eecd29b3fd7fee221580798346d6582b75c7ade4'Michael Niedermayer2015-05-31
|\| | | | | | | | | | | | | | | | | | | * commit 'eecd29b3fd7fee221580798346d6582b75c7ade4': ppc: vsx: Implement float_dsp Conflicts: libavutil/ppc/float_dsp_init.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * ppc: vsx: Implement float_dspLuca Barbato2015-05-31
| |
* | Merge commit '7d07ee5a9bd170a06d26fd967cf8de5d3b1ce331'Michael Niedermayer2015-05-31
|\| | | | | | | | | | | | | * commit '7d07ee5a9bd170a06d26fd967cf8de5d3b1ce331': ppc: cpu: Add support for VSX and POWER8 extensions Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * ppc: cpu: Add support for VSX and POWER8 extensionsLuca Barbato2015-05-31
| |
| * ppc: Restrict some Altivec implementations to Big EndianLuca Barbato2015-05-31
| | | | | | | | | | In Little Endian the vec_ld/vec_st operations work as expected only for byte-vectors.
* | Merge commit '3058872c293e239e3b51e86fe18cfbe720aadff1'Michael Niedermayer2015-05-31
|\| | | | | | | | | | | | | | | | | | | * commit '3058872c293e239e3b51e86fe18cfbe720aadff1': ppc: Clarify and extend the cpuid check Conflicts: libavutil/ppc/cpu.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * ppc: Clarify and extend the cpuid checkLuca Barbato2015-05-31
| | | | | | | | Add POWER entries.
* | avutil/ppc/cpu: Check if unistd.h is available before including itMichael Niedermayer2015-05-31
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit 'baa94563fede8959a638b0fa132dd2124acd93e8'Michael Niedermayer2015-05-31
|\| | | | | | | | | | | | | | | | | | | * commit 'baa94563fede8959a638b0fa132dd2124acd93e8': ppc: linux: Check altivec using the auxv Conflicts: libavutil/ppc/cpu.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * ppc: linux: Check altivec using the auxvLuca Barbato2015-05-31
| | | | | | | | Should prevent trying to use altivec when it is disabled by the kernel.
* | Merge commit '72cebae0d981dde144340cf51f3c323f01e215e5'Michael Niedermayer2015-05-31
|\| | | | | | | | | | | | | | | | | | | | | * commit '72cebae0d981dde144340cf51f3c323f01e215e5': ppc: avutil: Use the abriged vector types Conflicts: libavutil/ppc/float_dsp_altivec.c libavutil/ppc/util_altivec.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * ppc: avutil: Use the abriged vector typesLuca Barbato2015-05-31
| |
| * ppc: avutil: Drop a potentially dangerous workaroundLuca Barbato2015-05-31
| | | | | | | | The compiler is free to optimize such expressions in any sort of way.