summaryrefslogtreecommitdiff
path: root/libavcodec/ppc/h264_altivec.c
Commit message (Collapse)AuthorAge
* Move mm_support() from libavcodec to libavutil, make it a publicStefano Sabatini2010-09-08
| | | | | | 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-08
| | | | | | | | mm_support() instead. Reduce complexity and simplify pending move to libavutil. Originally committed as revision 25074 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove PPC perf counter supportMåns Rullgård2010-06-26
| | | | | | This functionality is better accessed through tools like oprofile. Originally committed as revision 23808 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move H264 dsputil functions into their own structMåns Rullgård2010-03-16
| | | | | | | | | | | This moves the H264-specific functions from DSPContext to the new H264DSPContext. The code is made conditional on CONFIG_H264DSP which is set by the codecs requiring it. The qpel and chroma MC functions are not moved as these are used by non-h264 code. Originally committed as revision 22565 to svn://svn.ffmpeg.org/ffmpeg/trunk
* PPC: move prototypes to headers and make some functions staticMåns Rullgård2010-03-06
| | | | Originally committed as revision 22267 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove DECLARE_ALIGNED_{8,16} macrosMåns Rullgård2010-03-06
| | | | | | | 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
* Move array specifiers outside DECLARE_ALIGNED() invocationsMåns Rullgård2010-01-22
| | | | Originally committed as revision 21377 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Altivec version of avg_no_rnd_vc1_chroma_mc8David Conrad2009-04-15
| | | | Originally committed as revision 18522 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename put_no_rnd_h264_chroma* to reflect its usage in VC1 onlyDavid Conrad2009-04-14
| | | | Originally committed as revision 18517 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove gcc_fixes.h. It only contains workarounds for unsupported gcc versions.Diego Biurrun2009-04-12
| | | | Originally committed as revision 18476 to svn://svn.ffmpeg.org/ffmpeg/trunk
* prettyprinting cosmeticsDiego Biurrun2009-03-14
| | | | Originally committed as revision 17962 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add av_uninit to vsrcBuc variable to work around someDiego Biurrun2009-03-14
| | | | | | 'may be used uninitialized' warnings. Originally committed as revision 17961 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add AltiVec versions of h264_idct_add(8|16|16intra),David Conrad2009-01-07
| | | | | | | | allowing to re-enable ff_h264_idct_add_altivec's usage. Patch by David Conrad %lessen42 A gmail P com% Originally committed as revision 16465 to svn://svn.ffmpeg.org/ffmpeg/trunk
* add AltiVec implementation of weight_h264_pixels(16|8)x(16|8|4)David Conrad2009-01-06
| | | | | | Patch by David Conrad %lessen42 A gmail P com% Originally committed as revision 16458 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fix compilation with GCC-4.3+David Conrad2009-01-06
| | | | | | patch by David Conrad + fix by myself Originally committed as revision 16450 to svn://svn.ffmpeg.org/ffmpeg/trunk
* offset and weights are signed, fixes some non-bitexact issues.David Conrad2009-01-06
| | | | | | Patch by David Conrad %lessen42 A gmail P com% Originally committed as revision 16449 to svn://svn.ffmpeg.org/ffmpeg/trunk
* add AltiVec implementation of biweight_h264_pixels(16|8)x(16|8|4)David Conrad2009-01-05
| | | | | | Patch by David Conrad %lessen42 A gmail P com% Originally committed as revision 16443 to svn://svn.ffmpeg.org/ffmpeg/trunk
* AltiVec version of h264_idct(8)_dc_addDavid Conrad2009-01-05
| | | | | | Patch by David Conrad %lessen42 A gmail P com% Originally committed as revision 16442 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cleanup _t types in libavcodec/ppcLuca Barbato2008-12-27
| | | | Originally committed as revision 16357 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Disable usage of ff_h264_idct_add_altivec since AltiVec versions of ↵Guillaume Poirier2008-12-25
| | | | | | | | | | | h264_idct_add16, h264_idct_add16intra, h264_idct_add8 need to be implemented. Add C version of ff_h264_idct8_dc_add in AltiVec so that ff_h264_idct8_add_altivec can be used. Originally committed as revision 16311 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: Fix indentation after last commit.Diego Biurrun2008-07-24
| | | | Originally committed as revision 14370 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove AltiVec vector declaration compiler compatibility macros.Diego Biurrun2008-07-24
| | | | | | | | | | 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-20
| | | | | | | This includes indentation changes, comment reformatting, consistent brace placement and some prettyprinting. Originally committed as revision 14316 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use full path for #includes from another directory.Diego Biurrun2008-05-09
| | | | Originally committed as revision 13098 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add necessary #include, fixes the warnings:Diego Biurrun2007-12-27
| | | | | | | | | | | ppc/h264_altivec.c: In function ‘put_h264_qpel16_mc00_altivec’: ppc/h264_altivec.c:394: warning: implicit declaration of function ‘put_pixels16_altivec’ ppc/h264_altivec.c: In function ‘avg_h264_qpel16_mc00_altivec’: ppc/h264_altivec.c:395: warning: implicit declaration of function ‘avg_pixels16_altivec’ ppc/h264_altivec.c: In function ‘dsputil_h264_init_ppc’: ppc/h264_altivec.c:872: warning: implicit declaration of function ‘has_altivec’ Originally committed as revision 11330 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Sanitize altivec code so it can be built with runtime check properlyLuca Barbato2007-10-02
| | | | Originally committed as revision 10640 to svn://svn.ffmpeg.org/ffmpeg/trunk
* whitespace/indentation cosmeticsDiego Biurrun2007-08-24
| | | | Originally committed as revision 10217 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove HAVE_ALTIVEC preprocessor directives that are only compiledDiego Biurrun2007-08-24
| | | | | | when AltiVec is enabled anyway. Originally committed as revision 10216 to svn://svn.ffmpeg.org/ffmpeg/trunk
* use shorter types vec_"type" instead of the too long vector "type"Guillaume Poirier2007-08-12
| | | | | | | | | | part 1 of h264 luma interpolation 8x8 for altivec contributed by Mauricio Alvarez % lokifo A gmail P com % Original thread: Date: Jun 26, 2007 8:15 PM Subject: Re: [FFmpeg-devel] [PATCH] h264 luma interpolation 8x8 for altivec Originally committed as revision 10090 to svn://svn.ffmpeg.org/ffmpeg/trunk
* restore GCC3 supportGuillaume Poirier2007-06-17
| | | | Originally committed as revision 9353 to svn://svn.ffmpeg.org/ffmpeg/trunk
* re-enable use of h264_v_loop_filter_luma_altivec and ↵Guillaume Poirier2007-06-17
| | | | | | | | h264_h_loop_filter_luma_altivec, they work fine now Originally committed as revision 9350 to svn://svn.ffmpeg.org/ffmpeg/trunk
* part 2/2 of fixing Altivec-accelerated H264 luma inloop filterGraham Booker2007-06-17
| | | | | | | | | | | | | In h264_deblock_q1, the result of the deblock needs to be kept to be used in future deblocks, so return this value now. Also change the sign of tc0 vector: It is really a signed value, so treat it as such until after the >=0 check; then, at that point, after being masked, it can be treated as unsigned. Patch by Graham Booker % gbooker A tamu P edu% Originally committed as revision 9349 to svn://svn.ffmpeg.org/ffmpeg/trunk
* convert h264_deblock_q1 to an inline function.Guillaume Poirier2007-06-17
| | | | | | part 1/2 of fixing Altivec-accelerated H264 luma inloop filter Originally committed as revision 9348 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use a faster way to compute 255-val: Instead of creating a vector ofGraham Booker2007-06-16
| | | | | | | | all 255s, and then doing the subtraction, nor of the vector with itself: saves one instruction and a register. Patch by Graham Booker % gbooker A tamu P edu% Originally committed as revision 9340 to svn://svn.ffmpeg.org/ffmpeg/trunk
* some samples aren't decoded correctly such asGuillaume Poirier2007-06-15
| | | | | | | | ( http://www.pennfans.net/files/videos/Penn&Teller.on.The.View.mp4 ) with current Altivec implementation of loopfilter, while others are fine. Let's disable it until we iron this bug out. Originally committed as revision 9317 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmeticsGuillaume Poirier2007-06-12
| | | | Originally committed as revision 9298 to svn://svn.ffmpeg.org/ffmpeg/trunk
* kill one vector constant value load by the right combination of ↵Sigbjorn Skjaeret2007-06-12
| | | | | | | | vec_splatX/vec_sl patch by Sigbjorn Skjaeret %sskjer-1 A broadpark P no% Originally committed as revision 9296 to svn://svn.ffmpeg.org/ffmpeg/trunk
* restore GCC2/3 support, patch by Sigbjorn Skjaeret %sskjer-1 A broadpark P no%Sigbjorn Skjaeret2007-06-12
| | | | Originally committed as revision 9295 to svn://svn.ffmpeg.org/ffmpeg/trunk
* one step closer to restoring GCC-3.3 support: kills 12 errors, just 2 to goGuillaume Poirier2007-06-11
| | | | Originally committed as revision 9280 to svn://svn.ffmpeg.org/ffmpeg/trunk
* minor GCC3 compile fixGuillaume Poirier2007-06-09
| | | | | | (there's still 2 more, but there's burried into several levels of macros, so it's hard to narrow them down) Originally committed as revision 9265 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Altivec version of h264_(h|v)_loop_filter_lumaGraham Booker2007-06-09
| | | | | | | | | | patch by Graham Booker % perian A cod3r P com% with some minor fixes by me. historic of the patch: http://trac.perian.org/ticket/113 Original thread: Date: May 11, 2007 9:45 PM Subject: [FFmpeg-devel] [PATCH] Altivec version of-altivec h264_h-v_loop_filter_luma Originally committed as revision 9264 to svn://svn.ffmpeg.org/ffmpeg/trunk
* h264_idct_add_altivec, based on an old patch from Mauricio Alvarez ↵Luca Barbato2007-06-03
| | | | | | <alvarezATac.upc.edu>, polished by David Conrad <umovimusATgmail.com> Originally committed as revision 9182 to svn://svn.ffmpeg.org/ffmpeg/trunk
* use macro Use DECLARE_ALIGNED_16 to align stack-allocated variablesGuillaume Poirier2007-05-17
| | | | | | | | | 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-16
| | | | | | | 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
* GCC 3.3 compile fixGuillaume Poirier2006-12-11
| | | | Originally committed as revision 7277 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add IDCT8 routine in Altivec. Patch by yours truely with Linux fixes by Luca ↵Guillaume Poirier2006-12-02
| | | | | | Barbato Originally committed as revision 7210 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Unused variable removedLuca Barbato2006-12-02
| | | | Originally committed as revision 7203 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change license headers to say 'FFmpeg' instead of 'this program/this library'Diego Biurrun2006-10-07
| | | | | | and fix GPL/LGPL version mismatches. Originally committed as revision 6577 to svn://svn.ffmpeg.org/ffmpeg/trunk
* AltiVec version of put_no_rnd_h264_chroma_pixels_tab[0] (slightly changed ↵Kostya Shishkov2006-09-03
| | | | | | version of put_h264_chroma_pixels_tab[0]) Originally committed as revision 6154 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Proper fix for the corner case that would have been corrected before, ↵Luca Barbato2006-08-31
| | | | | | praise&blame to me and exg in equal shares Originally committed as revision 6143 to svn://svn.ffmpeg.org/ffmpeg/trunk