| Branch: | Revision:

ffmpeg / libavcodec / ppc / h264_altivec.c @ fe2ff6d2

History | View | Annotate | Download (47.1 KB)

# Date Author Comment
c6c98d08 09/08/2010 03:07 PM Stefano Sabatini

Move mm_support() from libavcodec to libavutil, make it a public
function and rename it to av_get_cpu_flags().

Originally committed as revision 25076 to svn://

ccf22d3e 09/08/2010 10:02 AM Stefano Sabatini

Merge has_altivec() function into mm_support(), remove it and use
mm_support() instead.

Reduce complexity and simplify pending move to libavutil.

Originally committed as revision 25074 to svn://

2829ce4b 06/26/2010 10:23 PM Måns Rullgård

Remove PPC perf counter support

This functionality is better accessed through tools like oprofile.

Originally committed as revision 23808 to svn://

4693b031 03/16/2010 01:17 AM Måns Rullgård

Move H264 dsputil functions into their own struct

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...

ddb8c2c0 03/06/2010 10:37 PM Måns Rullgård

PPC: move prototypes to headers and make some functions static

Originally committed as revision 22267 to svn://

84dc2d8a 03/06/2010 02:24 PM Måns Rullgård

Remove DECLARE_ALIGNED_{8,16} macros

These macros are redundant. All uses are replaced with the generic
DECLARE_ALIGNED macro instead.

Originally committed as revision 22233 to svn://

c6727809 01/22/2010 03:25 AM Måns Rullgård

Move array specifiers outside DECLARE_ALIGNED() invocations

Originally committed as revision 21377 to svn://

99cc7f8a 04/15/2009 06:23 AM David Conrad

Altivec version of avg_no_rnd_vc1_chroma_mc8

Originally committed as revision 18522 to svn://

c374691b 04/14/2009 11:55 PM David Conrad

Rename put_no_rnd_h264_chroma* to reflect its usage in VC1 only

Originally committed as revision 18517 to svn://

5137235e 04/12/2009 09:45 PM Diego Biurrun

Remove gcc_fixes.h. It only contains workarounds for unsupported gcc versions.

Originally committed as revision 18476 to svn://

6d79971e 03/14/2009 07:12 PM Diego Biurrun

prettyprinting cosmetics

Originally committed as revision 17962 to svn://

f5b2476f 03/14/2009 07:11 PM Diego Biurrun

Add av_uninit to vsrcBuc variable to work around some
'may be used uninitialized' warnings.

Originally committed as revision 17961 to svn://

b06688ff 01/07/2009 01:54 PM David Conrad

Add AltiVec versions of h264_idct_add(8|16|16intra),
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://

8b2bc85f 01/06/2009 10:29 PM David Conrad

add AltiVec implementation of weight_h264_pixels(16|8)x(16|8|4)
Patch by David Conrad lessen42 A gmail P com

Originally committed as revision 16458 to svn://

62865344 01/06/2009 10:44 AM David Conrad

fix compilation with GCC-4.3+
patch by David Conrad + fix by myself

Originally committed as revision 16450 to svn://

54b90958 01/06/2009 10:35 AM David Conrad

offset and weights are signed, fixes some non-bitexact issues.
Patch by David Conrad lessen42 A gmail P com

Originally committed as revision 16449 to svn://

df7fb435 01/05/2009 11:15 PM David Conrad

add AltiVec implementation of biweight_h264_pixels(16|8)x(16|8|4)
Patch by David Conrad lessen42 A gmail P com

Originally committed as revision 16443 to svn://

c663cb0d 01/05/2009 10:13 PM David Conrad

AltiVec version of h264_idct(8)_dc_add
Patch by David Conrad lessen42 A gmail P com

Originally committed as revision 16442 to svn://

a6b4448c 12/27/2008 11:21 AM Luca Barbato

Cleanup _t types in libavcodec/ppc

Originally committed as revision 16357 to svn://

337e3fd9 12/25/2008 06:27 PM Guillaume Poirier

Disable usage of ff_h264_idct_add_altivec since AltiVec versions of 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://

309005c0 07/24/2008 04:54 PM Diego Biurrun

cosmetics: Fix indentation after last commit.

Originally committed as revision 14370 to svn://

80a61f08 07/24/2008 10:53 AM Diego Biurrun

Remove AltiVec vector declaration compiler compatibility macros.
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...

e3905ce0 07/20/2008 06:58 PM Diego Biurrun

cosmetics: Reformat PPC code in libavcodec according to style guidelines.
This includes indentation changes, comment reformatting, consistent brace
placement and some prettyprinting.

Originally committed as revision 14316 to svn://

245976da 05/09/2008 11:56 AM Diego Biurrun

Use full path for #includes from another directory.

Originally committed as revision 13098 to svn://

3035cb67 12/27/2007 12:31 PM Diego Biurrun

Add necessary #include, fixes the warnings:
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’:...

89523bee 10/02/2007 11:39 AM Luca Barbato

Sanitize altivec code so it can be built with runtime check properly

Originally committed as revision 10640 to svn://

830bf1f2 08/24/2007 11:49 PM Diego Biurrun

whitespace/indentation cosmetics

Originally committed as revision 10217 to svn://

2722c981 08/24/2007 11:01 PM Diego Biurrun

Remove HAVE_ALTIVEC preprocessor directives that are only compiled
when AltiVec is enabled anyway.

Originally committed as revision 10216 to svn://

3ca96802 08/12/2007 01:50 PM Guillaume Poirier

use shorter types vec_"type" instead of the too long vector "type"
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...

e970d98c 06/17/2007 12:38 PM Guillaume Poirier

restore GCC3 support

Originally committed as revision 9353 to svn://

7d2bf29c 06/17/2007 09:38 AM Guillaume Poirier

re-enable use of h264_v_loop_filter_luma_altivec and h264_h_loop_filter_luma_altivec,
they work fine now

Originally committed as revision 9350 to svn://

22fa38f0 06/17/2007 09:37 AM Graham Booker

part 2/2 of fixing Altivec-accelerated H264 luma inloop filter

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;...

963eca22 06/17/2007 09:14 AM Guillaume Poirier

convert h264_deblock_q1 to an inline function.
part 1/2 of fixing Altivec-accelerated H264 luma inloop filter

Originally committed as revision 9348 to svn://

f4a02f6e 06/16/2007 06:59 PM Graham Booker

Use a faster way to compute 255-val: Instead of creating a vector of
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://

fbb578e9 06/15/2007 08:22 AM Guillaume Poirier

some samples aren't decoded correctly such as
( )
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://

da1fce39 06/12/2007 09:44 PM Guillaume Poirier


Originally committed as revision 9298 to svn://

0aec30c5 06/12/2007 09:24 PM Sigbjorn Skjaeret

kill one vector constant value load by the right combination of vec_splatX/vec_sl
patch by Sigbjorn Skjaeret sskjer-1 A broadpark P no

Originally committed as revision 9296 to svn://

525751c0 06/12/2007 09:17 PM Sigbjorn Skjaeret

restore GCC2/3 support, patch by Sigbjorn Skjaeret sskjer-1 A broadpark P no

Originally committed as revision 9295 to svn://

c01d444b 06/11/2007 08:00 AM Guillaume Poirier

one step closer to restoring GCC-3.3 support: kills 12 errors, just 2 to go

Originally committed as revision 9280 to svn://

5ce27e8c 06/09/2007 10:20 PM Guillaume Poirier

minor GCC3 compile fix
(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://

f057cc03 06/09/2007 07:13 PM Graham Booker

Altivec version of h264_(h|v)_loop_filter_luma
patch by Graham Booker % perian A cod3r P com% with some minor fixes by me.
historic of the patch:
Original thread:
Date: May 11, 2007 9:45 PM
Subject: [FFmpeg-devel] [PATCH] Altivec version of-altivec h264_h-v_loop_filter_luma...

5dda2539 06/03/2007 01:27 PM Luca Barbato

h264_idct_add_altivec, based on an old patch from Mauricio Alvarez <>, polished by David Conrad <>

Originally committed as revision 9182 to svn://

88bcb6c2 05/17/2007 02:14 PM Guillaume Poirier

use macro Use DECLARE_ALIGNED_16 to align stack-allocated variables
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://

b550bfaa 05/16/2007 09:51 AM Ronald S. Bultje

Add libavcodec to compiler include flags in order to simplify header
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://

ec4e0056 12/11/2006 10:52 AM Guillaume Poirier

GCC 3.3 compile fix

Originally committed as revision 7277 to svn://

3813dcc9 12/02/2006 02:50 PM Guillaume Poirier

Add IDCT8 routine in Altivec. Patch by yours truely with Linux fixes by Luca Barbato

Originally committed as revision 7210 to svn://

4b47d258 12/02/2006 01:28 AM Luca Barbato

Unused variable removed

Originally committed as revision 7203 to svn://

b78e7197 10/07/2006 03:30 PM Diego Biurrun

Change license headers to say 'FFmpeg' instead of 'this program/this library'
and fix GPL/LGPL version mismatches.

Originally committed as revision 6577 to svn://

60aae27a 09/03/2006 04:44 AM Kostya Shishkov

AltiVec version of put_no_rnd_h264_chroma_pixels_tab0 (slightly changed version of put_h264_chroma_pixels_tab0)

Originally committed as revision 6154 to svn://

27303c8a 08/31/2006 03:44 PM Luca Barbato

Proper fix for the corner case that would have been corrected before, praise&blame to me and exg in equal shares

Originally committed as revision 6143 to svn://

7e821457 08/31/2006 03:27 PM Luca Barbato

Revert previous commit

Originally committed as revision 6142 to svn://

cb243ea2 08/15/2006 08:36 PM Luca Barbato

10l, thanks to Emanuele Giaquinta <> for testing and finding the issue

Originally committed as revision 6002 to svn://

b5f7e6eb 08/13/2006 08:26 AM Luca Barbato

Clean up:make dsputil subfile names consistent

Originally committed as revision 5993 to svn://