summaryrefslogtreecommitdiff
path: root/libavutil/ppc
Commit message (Collapse)AuthorAge
* avutil/ppc/intreadwrite: remove AV_??64 overriding codeMichael Niedermayer2015-03-01
| | | | | | | The code has undefined behavior and makes no difference when optimizations are enabled. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avutil/ppc/util_altivec: add () to VEC_SPLAT16 macroMichael Niedermayer2014-11-29
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* libavutil/ppc/util_altivec.h : fix load_with_perm_vec() add marcos ↵Rong Yan2014-11-27
| | | | | | vcswapi2s() vcswapc() VEC_SPLAT16() VEC_SLD16() for POWER LE Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avutil/ppc/util_altivec: add () to VEC_LD macro argumentsMichael Niedermayer2014-11-07
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avutil/ppc/util_altivec: make src pointers const, fix warningsMichael Niedermayer2014-11-07
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* libavutil/ppc/util_altivec.h : fix unaligned_load() vec_unaligned_load() add ↵Rong Yan2014-11-07
| | | | | | macros VEC_LD() VEC_MERGEH() VEC_MERGEL() VEC_ST() for POWER LE Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avutil/ppc/float_dsp_altivec: ppc: Fix bug in ff_vector_fmul_add_altivec() ↵Rong Yan2014-09-11
| | | | | | affecting little endian environments on POWER8 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Merge commit 'c19a49e565bd06ea47947d50779ba236df9d4943'Michael Niedermayer2014-09-03
|\ | | | | | | | | | | | | | | | | | | | | * commit 'c19a49e565bd06ea47947d50779ba236df9d4943': ppc: Support little endian intreadwrite Conflicts: libavutil/ppc/intreadwrite.h See: d37c620c84e28400ad071d1c75cc81445b4acb29 Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * ppc: Support little endian intreadwriteLuca Barbato2014-09-03
| |
* | avutil/ppc/intreadwrite: try to fix intreadwrite for ppc64leMichael Niedermayer2014-06-05
| | | | | | | | | | | | Untested due to lack of hardware Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit 'b5aa48551300eed678aaea86ced7086758598a35'Michael Niedermayer2014-05-28
|\| | | | | | | | | | | | | * commit 'b5aa48551300eed678aaea86ced7086758598a35': ppc: Move vec_unaligned_load macro to util_altivec Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * ppc: Move vec_unaligned_load macro to util_altivecDiego Biurrun2014-05-28
| | | | | | | | This allows reusing it from multiple files.
* | Merge commit '593886b5dd2b583657aa3fd80bb173f702c9710d'Michael Niedermayer2014-05-28
|\| | | | | | | | | | | | | * commit '593886b5dd2b583657aa3fd80bb173f702c9710d': ppc: util_altivec: Drop unused macros Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * ppc: util_altivec: Drop unused macrosDiego Biurrun2014-05-28
| |
* | Merge commit 'f61bece684d9685b07895508e6c1c733b5564ccf'Michael Niedermayer2013-08-29
|\| | | | | | | | | | | | | | | | | | | * commit 'f61bece684d9685b07895508e6c1c733b5564ccf': ppc: Add and use convenience macro to check for AltiVec availability Conflicts: libavcodec/ppc/dsputil_ppc.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * ppc: Add and use convenience macro to check for AltiVec availabilityDiego Biurrun2013-08-28
| |
* | Merge commit 'b78b10c4b78b696927f2801cf2d9f193b4eff28b'Michael Niedermayer2013-08-29
|\| | | | | | | | | | | | | * commit 'b78b10c4b78b696927f2801cf2d9f193b4eff28b': avutil: Move internal CPU detection function declarations to private header Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * avutil: Move internal CPU detection function declarations to private headerDiego Biurrun2013-08-28
| |
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2013-07-18
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: Consistently use "cpu_flags" as variable/parameter name for CPU flags Conflicts: libavcodec/x86/dsputil_init.c libavcodec/x86/h264dsp_init.c libavcodec/x86/hpeldsp_init.c libavcodec/x86/motion_est.c libavcodec/x86/mpegvideo.c libavcodec/x86/proresdsp_init.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Consistently use "cpu_flags" as variable/parameter name for CPU flagsDiego Biurrun2013-07-18
| |
* | Merge commit 'ef5b70affc6376bfeadd1ff649b79bad9a124fa8'Michael Niedermayer2013-07-12
|\| | | | | | | | | | | | | | | | | * commit 'ef5b70affc6376bfeadd1ff649b79bad9a124fa8': configure: Check for support for labels in the inline assembly The timer code is not placed under ifdef as ours does not use labels Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * configure: Check for support for labels in the inline assemblyMartin Storsjö2013-07-11
| | | | | | | | | | | | | | Use this for enabling the ppc timer.h implementation only on assemblers that support labels in the inline assembly. Signed-off-by: Martin Storsjö <martin@martin.st>
* | Drop local lable from ppc asm timer.Carl Eugen Hoyos2013-06-30
| | | | | | | | The aix assembler does not support local lables.
* | Merge commit '1fda184a85178cfd7b98d9e308d18e1ded76a511'Michael Niedermayer2013-05-05
|\| | | | | | | | | | | | | * commit '1fda184a85178cfd7b98d9e308d18e1ded76a511': avutil: Add av_cold attributes to init functions missing them Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * avutil: Add av_cold attributes to init functions missing themDiego Biurrun2013-05-04
| |
* | Merge commit 'f5eecee865a731d2412fde2f73c29f8f8115c499'Michael Niedermayer2013-05-01
|\| | | | | | | | | | | | | * commit 'f5eecee865a731d2412fde2f73c29f8f8115c499': ppc: util_altivec: Surround AltiVec-related code by appropriate ifdefs Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * ppc: util_altivec: Surround AltiVec-related code by appropriate ifdefsDiego Biurrun2013-04-30
| | | | | | | | This prevents non-AltiVec-enabled compilers from choking.
* | Merge commit 'b6649ab5037fb55f78c2606f3d23cea0867cdeaa'Michael Niedermayer2013-03-28
|\| | | | | | | | | | | | | | | | | | | * commit 'b6649ab5037fb55f78c2606f3d23cea0867cdeaa': cosmetics: Remove unnecessary extern keywords from function declarations Conflicts: libswscale/x86/swscale.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * cosmetics: Remove unnecessary extern keywords from function declarationsDiego Biurrun2013-03-27
| |
* | Merge commit '42d324694883cdf1fff1612ac70fa403692a1ad4'Michael Niedermayer2013-01-23
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '42d324694883cdf1fff1612ac70fa403692a1ad4': floatdsp: move vector_fmul_reverse from dsputil to avfloatdsp. Conflicts: libavcodec/arm/dsputil_init_vfp.c libavcodec/arm/dsputil_vfp.S libavcodec/dsputil.c libavcodec/ppc/float_altivec.c libavcodec/x86/dsputil.asm libavutil/x86/float_dsp.asm Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * floatdsp: move vector_fmul_reverse from dsputil to avfloatdsp.Ronald S. Bultje2013-01-22
| | | | | | | | | | | | Now, nellymoserenc and aacenc no longer depends on dsputil. Independent of this patch, wmaprodec also does not depend on dsputil, so I removed it from there also.
* | Merge commit '55aa03b9f8f11ebb7535424cc0e5635558590f49'Michael Niedermayer2013-01-23
|\| | | | | | | | | | | | | | | | | | | | | * commit '55aa03b9f8f11ebb7535424cc0e5635558590f49': floatdsp: move vector_fmul_add from dsputil to avfloatdsp. Conflicts: libavcodec/dsputil.c libavcodec/x86/dsputil.asm Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * floatdsp: move vector_fmul_add from dsputil to avfloatdsp.Ronald S. Bultje2013-01-22
| |
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2013-01-16
|\| | | | | | | | | | | | | | | | | | | | | * qatar/master: lavc: Move vector_fmul_window to AVFloatDSPContext rtpdec_mpeg4: Check the remaining amount of data before reading Conflicts: libavcodec/dsputil.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * lavc: Move vector_fmul_window to AVFloatDSPContextJustin Ruggles2013-01-16
| | | | | | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* | ppc/cpu: make linux 32bit specific altivec detection depend on __linux__Michael Niedermayer2012-09-24
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-06-08
|\| | | | | | | | | | | | | | | | | | | | | | | * qatar/master: float_dsp: ppc: add a separate header for Altivec function prototypes ARM: fix float_dsp breakage from d5a7229 Add a float DSP framework to libavutil PPC: Move types_altivec.h and util_altivec.h from libavcodec to libavutil ARM: Move asm.S from libavcodec to libavutil vc1dsp: mark put/avg_vc1_mspel_mc() always_inline Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * float_dsp: ppc: add a separate header for Altivec function prototypesJustin Ruggles2012-06-08
| | | | | | | | | | Also include config.h so that HAVE_ALTIVEC will be defined. Fixes compilation on PPC with Altivec enabled.
| * Add a float DSP framework to libavutilJustin Ruggles2012-06-08
| | | | | | | | Move vector_fmul() from DSPContext to AVFloatDSPContext.
| * PPC: Move types_altivec.h and util_altivec.h from libavcodec to libavutilJustin Ruggles2012-06-08
| | | | | | | | | | This will allow for easier implementation of Altivec functions in libraries other than libavcodec.
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-04-13
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: swscale: K&R formatting cosmetics (part II) tiffdec: Add a malloc check and refactor another. faxcompr: Check malloc results and unify return path configure: escape colons in values written to config.fate ac3dsp: call femms/emms at the end of float_to_fixed24() for 3DNow and SSE matroska: Fix leaking memory allocated for laces. pthread: Fix crash due to fctx->delaying not being cleared. vp3: Assert on invalid filter_limit values. h264: fix 10bit biweight functions after recent x86inc.asm fixes. ffv1: Fix size mismatch in encode_line. movenc: Remove a dead initialization git-howto: Explain how to avoid Windows line endings in git checkouts. build: Move all arch OBJS declarations into arch subdirectory Makefiles. Conflicts: configure libavcodec/vp3.c libavformat/matroskadec.c libavutil/Makefile libswscale/Makefile libswscale/swscale.c libswscale/swscale_internal.h libswscale/utils.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * build: Move all arch OBJS declarations into arch subdirectory Makefiles.Diego Biurrun2012-04-12
| |
* | Merge remote branch 'qatar/master'Michael Niedermayer2011-05-13
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: (33 commits) rtpdec_qdm2: Don't try to parse data packet if no configuration is received ac3enc: put the counting of stereo rematrixing bits in the same place to make the code easier to understand. ac3enc: clean up count_frame_bits() and count_frame_bits_fixed() mpegvideo: make FF_DEBUG_DCT_COEFF output coeffs via av_log() instead of just via AVFrame. srtdec: make sure we don't write past the end of buffer wmaenc: improve channel count and bitrate error handling in encode_init() matroskaenc: make sure we don't produce invalid file with no codec ID matroskadec: check that pointers were initialized before accessing them lavf: fix function name in compute_pkt_fields2 av_dlog message lavf: fix av_find_best_stream when providing a wanted stream. lavf: fix av_find_best_stream when decoder_ret is given and using a related stream. ffmpeg: factorize quality calculation tiff: add support for SamplesPerPixel tag in tiff_decode_tag() tiff: Prefer enum TiffCompr over int for TiffContext.compr. mov: Support edit list atom version 1. configure: Enable libpostproc automatically if GPL code is enabled. Cosmetics: fix prototypes in oggdec oggdec: fix memleak with continuous streams. matroskaenc: add missing new line in av_log() call dnxhdenc: add AVClass in private context. ... swscale changes largely rewritten by me or replaced by baptsites due to lots of bugs in ronalds code. Above code is also just in case its not obvios to a large extended duplicates that where cherry picked from ffmpeg. Conflicts: configure ffmpeg.c libavformat/matroskaenc.c libavutil/pixfmt.h libswscale/ppc/swscale_template.c libswscale/swscale.c libswscale/swscale_template.c libswscale/utils.c libswscale/x86/swscale_template.c tests/fate/h264.mak tests/ref/lavfi/pixdesc_le tests/ref/lavfi/pixfmts_copy_le tests/ref/lavfi/pixfmts_null_le tests/ref/lavfi/pixfmts_scale_le tests/ref/lavfi/pixfmts_vflip_le Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * configure: Do not unconditionally add -D_POSIX_C_SOURCE to CPPFLAGS.Diego Biurrun2011-05-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adding _POSIX_C_SOURCE to CPPFLAGS globally produces all sorts of problems since it causes certain system functions to be hidden on some (BSD) systems. The solution is to only add the flag on systems that really require it, i.e. glibc-based ones. This change makes BSD systems compile out-of-the-box without the need for adding specific flags manually. It also allows dropping a number of flags set manually on a file-per-file basis, but were only present to work around breakage introduced by the presence of _POSIX_C_SOURCE. Also add _XOPEN_SOURCE to CPPFLAGS for glibc systems. We use XSI extensions in several places already, so it is preferable to define it globally instead of littering source files with individual #defines only needed for glibc.
* | Merge remote branch 'qatar/master'Michael Niedermayer2011-04-11
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: avio: add more documentation for AVIOContext. Parse sprite data for WMVP and WVP2, and decode sprites for the latter Replace outdated info on the FAQ Redefine sameq pad: fix example explanation gradfun: add notice from the MPlayer manual eval: add support for trunc, ceil, and floor functions documentation: add setdar and setsar description to filters.texi avio: document some members of AVIOContext. avio: document avio_close(). avio: cosmetics, vertically align comments. avio: cosmetics, group the reading functions. avio: cosmetics, merge all the FF_API_OLD_AVIO blocks. avio: cosmetics, move AVIOContext to start of the file. avio: update file header. os: fix OpenBSD/PowerPC compilation pixfmt: add PIX_FMT_BGR48LE and PIX_FMT_BGR48BE oggdec: fix demuxing chained audio streams fix typo Conflicts: doc/filters.texi libavformat/avio.h libavutil/pixfmt.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * os: fix OpenBSD/PowerPC compilationBrad2011-04-10
| | | | | | | | | | | | | | | | When attempting to re-enable the AltiVec support it was noticed that we need to undefine _POSIX_C_SOURCE to appease the headers for ff_get_cpu_flags_ppc() to be able to compile. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
| * Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-19
|/ | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* consolidate .gitignore patters into a single fileJanne Grunau2011-01-18
| | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* convert svn:ignore properties to .gitignore filesJanne Grunau2011-01-17
| | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* Clean up av_get_cpu_flag()Måns Rullgård2010-09-09
| | | | | | | | Instead of defining functions in per-arch header files included by the main cpu.c, define them normally and call them from the generic one. Originally committed as revision 25084 to svn://svn.ffmpeg.org/ffmpeg/trunk