summaryrefslogtreecommitdiff
path: root/libavcodec/ppc/mpegvideo_altivec.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-06-081-2/+3
|\ | | | | | | | | | | | | | | | | | | | | | | * 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>
| * PPC: Move types_altivec.h and util_altivec.h from libavcodec to libavutilJustin Ruggles2012-06-081-2/+3
| | | | | | | | | | This will allow for easier implementation of Altivec functions in libraries other than libavcodec.
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-04-181-463/+0
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: ppc: drop unused function dct_quantize_altivec() mpegaudiodec: Do not discard mp_decode_frame() return value. matroska: do not set invalid default duration if frame rate is zero mkv: use av_reduce instead of av_d2q for framerate estimation mkv: report average framerate as minimal as well avcodec_string: Favor AVCodecContext.codec over the default codec. cook: Make constants passed to AV_BE2NE32C() unsigned to avoid signed overflow. Conflicts: libavcodec/cook.c libavcodec/ppc/mpegvideo_altivec.c libavcodec/utils.c libavformat/matroskadec.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * ppc: drop unused function dct_quantize_altivec()Diego Biurrun2012-04-181-458/+0
| | | | | | | | This also allows dropping some PPC-specific ugliness from dsputil.[ch].
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-02-161-1/+1
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: (27 commits) ppc: Add ff_ prefix to nonstatic symbols sh4: Add ff_ prefix to nonstatic symbols mpegvideo: Add ff_ prefix to nonstatic functions rtjpeg: Add ff_ prefix to nonstatic symbols rv: Add ff_ prefix to nonstatic symbols vp56: Add ff_ prefix to nonstatic symbols vorbis: Add ff_ prefix to nonstatic symbols msmpeg4: Add ff_ prefix to nonstatic symbols vc1: Add ff_ prefix to nonstatic symbols msmpeg4: Add ff_ prefixes to nonstatic symbols snow: Add ff_ prefix to nonstatic symbols mpeg12: Add ff_ prefix to nonstatic symbols mpeg4: Add ff_ prefixes to nonstatic symbols lagarith: Add ff_ prefix to lag_rac_init libavcodec: Add ff_ prefix to j_rev_dct* dsputil: Add ff_ prefix to inv_zigzag_direct16 libavcodec: Prefix fdct_ifast, fdct_ifast248 dsputil: Add ff_ prefix to the dsputil*_init* functions libavcodec: Add ff_ prefix to some nonstatic symbols vlc/rl: Add ff_ prefix to the nonstatic symbols ... Conflicts: libavcodec/Makefile libavcodec/allcodecs.c libavcodec/dnxhddec.c libavcodec/ffv1.c libavcodec/h263.h libavcodec/h263dec.c libavcodec/h264.c libavcodec/mpegvideo.c libavcodec/mpegvideo_enc.c libavcodec/nuv.c libavcodec/ppc/dsputil_ppc.c libavcodec/proresdsp.c libavcodec/svq3.c libavcodec/version.h libavformat/dv.h libavformat/dvenc.c libavformat/matroskadec.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * mpegvideo: Add ff_ prefix to nonstatic functionsMartin Storsjö2012-02-151-1/+1
| | | | | | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-01-081-5/+5
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: (29 commits) cabac: Move code only used within the CABAC test program into the test program. vp56: Drop unnecessary cabac.h #include. h264-test: Initialize AVCodecContext.av_class. build: Skip compiling network.h and rtsp.h if networking is not enabled. cosmetics: drop some pointless parentheses Disable annoying warning without changing behavior faq: Solutions for common problems with sample paths when running FATE. avcodec: attempt to clarify the CODEC_CAP_DELAY documentation avcodec: fix avcodec_encode_audio() documentation. FATE: xmv-demux test; exercise the XMV demuxer without decoding the perceptual codecs inside. vqf: recognize more metadata chunks FATE test: BMV demuxer and associated video and audio decoders. FATE: indeo4 video decoder test. FATE: update xxan-wc4 test to a sample with more code coverage. Change the recent h264_mp4toannexb bitstream filter test to output to an elementary stream rather than a program stream. g722enc: validate AVCodecContext.trellis g722enc: set frame_size, and also handle an odd number of input samples g722enc: split encoding into separate functions for trellis vs. no trellis mpegaudiodec: Use clearer pointer math tta: Fix returned error code at EOF ... Conflicts: libavcodec/h264.c libavcodec/indeo3.c libavcodec/interplayvideo.c libavcodec/ivi_common.c libavcodec/libxvidff.c libavcodec/mpegvideo.c libavcodec/ppc/mpegvideo_altivec.c libavcodec/tta.c libavcodec/utils.c libavfilter/vsrc_buffer.c libavformat/Makefile tests/fate/indeo.mak tests/ref/acodec/g722 Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * cosmetics: drop some pointless parenthesesDiego Biurrun2012-01-071-4/+4
| |
* | mpegvideo: support encoding with chroma intra tables that differ from luma.Michael Niedermayer2011-09-251-2/+7
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-07-281-9/+0
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: ppc: remove redundant setting of Altivec IDCT mpegvideo: initialise DSPContext in ff_dct_common_init() cosmetics: reindent eac3enc: support writing of basic mixing and info metadata dnxhdenc: fix declarations in for loops dsputil: remove stale bink prototypes and comments dsputil: move a bink-only function to binkdsp dsputil: remove some unused functions bink: make IDCT take 32-bit input Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * ppc: remove redundant setting of Altivec IDCTMans Rullgard2011-07-271-9/+0
| | | | | | | | | | | | | | This is already set by dsputil_init_ppc() and is best done in only one place. Signed-off-by: Mans Rullgard <mans@mansr.com>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-07-161-18/+0
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: (22 commits) arm: remove disabled function dct_unquantize_h263_inter_iwmmxt() Remove commented-out call to non-existing function print_pow1(). Do not decode RV30 files if the extradata is too small flashsv: split flashsv_decode_block() off from flashsv_decode_frame(). ppc: remove disabled code libspeexdec: Drop const qualifier to silence compiler warning. libopenjpeg: Drop const qualifier to silence compiler warning. alac: Remove unused dummy code. Remove unused structs and tables. vaapi: do not assert on value read from input bitstream flashsvenc: replace bitstream description by a link to the specification flashsvenc: drop unnecessary cast flashsvenc: improve some variable names and fix corresponding comments flashsvenc: merge two consecutive if-conditions flashsvenc: merge variable declarations and initializations flashsvenc: convert some debug av_log() to av_dlog() flashsvenc: whitespace cosmetics flashsvenc: drop some unnecessary parentheses flashsvenc: fix some comment typos aacps: skip some memcpy() if src and dst would be equal ... Conflicts: libavcodec/vaapi_mpeg2.c libavformat/aviobuf.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * ppc: remove disabled codeDiego Biurrun2011-07-161-18/+0
| |
| * Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-191-4/+4
|/ | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Move mm_support() from libavcodec to libavutil, make it a publicStefano Sabatini2010-09-081-1/+2
| | | | | | function and rename it to av_get_cpu_flags(). Originally committed as revision 25076 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Merge has_altivec() function into mm_support(), remove it and useStefano Sabatini2010-09-081-1/+1
| | | | | | | | mm_support() instead. Reduce complexity and simplify pending move to libavutil. Originally committed as revision 25074 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove global mm_flags variableMåns Rullgård2010-08-241-1/+1
| | | | Originally committed as revision 24909 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove PPC perf counter supportMåns Rullgård2010-06-261-5/+0
| | | | | | This functionality is better accessed through tools like oprofile. Originally committed as revision 23808 to svn://svn.ffmpeg.org/ffmpeg/trunk
* PPC: move prototypes to headers and make some functions staticMåns Rullgård2010-03-061-5/+3
| | | | Originally committed as revision 22267 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove DECLARE_ALIGNED_{8,16} macrosMåns Rullgård2010-03-061-2/+2
| | | | | | | These macros are redundant. All uses are replaced with the generic DECLARE_ALIGNED macro instead. Originally committed as revision 22233 to svn://svn.ffmpeg.org/ffmpeg/trunk
* PPC: simplify loading some values into altivec registersMåns Rullgård2009-08-241-18/+7
| | | | | | | Instead of filling a local array with the desired value and loading it, load a single element and vec_splat() it to fill the vector. Originally committed as revision 19691 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove gcc_fixes.h. It only contains workarounds for unsupported gcc versions.Diego Biurrun2009-04-121-2/+0
| | | | Originally committed as revision 18476 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Delete unnecessary 'extern' keywords.Diego Biurrun2008-12-031-2/+2
| | | | Originally committed as revision 15990 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove duplicated MM_* macros for CPU capabilities from dsputil.h.Dominik Mierzejewski2008-11-031-1/+1
| | | | | | | Add missing one for FF_MM_ALTIVEC to avcodec.h. Rename all the occurences of MM_* to the corresponding FF_MM_*. Originally committed as revision 15770 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove AltiVec vector declaration compiler compatibility macros.Diego Biurrun2008-07-241-1/+1
| | | | | | | | | | The original problem was that FSF and Apple gcc used a different syntax for vector declarations, i.e. {} vs. (). Nowadays Apple gcc versions support the standard {} syntax and versions that support {} are available on all relevant Mac OS X versions. Thus the greater compatibility is no longer worth cluttering the code with macros. Originally committed as revision 14366 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: Reformat PPC code in libavcodec according to style guidelines.Diego Biurrun2008-07-201-118/+100
| | | | | | | This includes indentation changes, comment reformatting, consistent brace placement and some prettyprinting. Originally committed as revision 14316 to svn://svn.ffmpeg.org/ffmpeg/trunk
* consistency cosmetics: indices --> indexes in variable namesDiego Biurrun2008-05-261-18/+18
| | | | Originally committed as revision 13446 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use full path for #includes from another directory.Diego Biurrun2008-05-091-2/+2
| | | | Originally committed as revision 13098 to svn://svn.ffmpeg.org/ffmpeg/trunk
* misc spelling fixesDiego Biurrun2008-03-101-1/+1
| | | | Originally committed as revision 12410 to svn://svn.ffmpeg.org/ffmpeg/trunk
* arg 10000l. Fix wrong fix committed in r12141Guillaume Poirier2008-02-191-1/+1
| | | | Originally committed as revision 12143 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fix broken indentationGuillaume Poirier2008-02-191-1/+1
| | | | Originally committed as revision 12142 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 10l: fix always false test: Binary & has lower precedence than ==Guillaume Poirier2008-02-191-1/+1
| | | | Originally committed as revision 12141 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Refactor the FOUROF macro using the AVV macro.Diego Biurrun2008-02-181-6/+2
| | | | Originally committed as revision 12139 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove stray #undef.Diego Biurrun2008-02-181-1/+0
| | | | Originally committed as revision 12138 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fix crash on non-AltiVec powered machines: MPV_common_init_altivec doesn't ↵Alexander Strange2008-02-181-0/+2
| | | | | | | | check mm_flags Patch by Alexander Strange %astrange A ithinksw PP com % Originally committed as revision 12137 to svn://svn.ffmpeg.org/ffmpeg/trunk
* spellingVitor Sessak2007-12-011-3/+3
| | | | Originally committed as revision 11122 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename MPV_common_init_ppc to MPV_common_init_altivec, the function isDiego Biurrun2007-10-031-1/+1
| | | | | | AltiVec-specific now. Originally committed as revision 10652 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Merge mpegvideo AltiVec code into mpegvideo_altivec.c where it belongs.Diego Biurrun2007-10-021-0/+45
| | | | Originally committed as revision 10641 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Sanitize altivec code so it can be built with runtime check properlyLuca Barbato2007-10-021-2/+2
| | | | Originally committed as revision 10640 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove const vector macro indirection that is useless and obfuscatingDiego Biurrun2007-10-011-2/+2
| | | | | | now that the Metrowerks workarounds are gone. Originally committed as revision 10633 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace SYS_DARWIN by the more correct __APPLE_CC__, these preprocessorDiego Biurrun2007-08-241-1/+1
| | | | | | directives are aimed at idiosyncracies of Apple's gcc version. Originally committed as revision 10206 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename CONFIG_DARWIN to SYS_DARWIN, it is not configurable (in FFmpeg).Diego Biurrun2007-08-221-1/+1
| | | | Originally committed as revision 10190 to svn://svn.ffmpeg.org/ffmpeg/trunk
* use macro Use DECLARE_ALIGNED_16 to align stack-allocated variablesGuillaume Poirier2007-05-171-3/+3
| | | | | | | | | instead of compiler-dependent __attribute__((aligned(16))) Origiginal thread: Date: May 17, 2007 12:30 AM Subject: [PATCH] Use DECLARE_ALIGNED_16 in libavcodec/ppc/ Originally committed as revision 9047 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add libavcodec to compiler include flags in order to simplify headerRonald S. Bultje2007-05-161-2/+2
| | | | | | | include paths in the source files. mostly from a patch by Ronald S. Bultje, rbultje ronald.bitfreak net Originally committed as revision 9034 to svn://svn.ffmpeg.org/ffmpeg/trunk
* typos/grammarDiego Biurrun2007-04-071-1/+1
| | | | Originally committed as revision 8641 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move TRANSPOSE8 macro to dsputil_altivec.h.Guillaume Poirier2006-10-101-33/+0
| | | | | | | | (was duplicated in libavcodec/ppc/vc1dsp_altivec.c nd libavcodec/ppc/mpegvideo_altivec.c, and will be used in upcoming routines for h264_altivec.c) Originally committed as revision 6621 to svn://svn.ffmpeg.org/ffmpeg/trunk
* removing ALTIVEC_USE_REFERENCE_C_CODE, since has no use anymoreLuca Barbato2006-10-091-15/+0
| | | | Originally committed as revision 6606 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change license headers to say 'FFmpeg' instead of 'this program/this library'Diego Biurrun2006-10-071-4/+6
| | | | | | and fix GPL/LGPL version mismatches. Originally committed as revision 6577 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Update licensing information: The FSF changed postal address.Diego Biurrun2006-01-121-1/+1
| | | | Originally committed as revision 4842 to svn://svn.ffmpeg.org/ffmpeg/trunk
* COSMETICS: tabs --> spaces, some prettyprintingDiego Biurrun2005-12-221-6/+6
| | | | Originally committed as revision 4764 to svn://svn.ffmpeg.org/ffmpeg/trunk