1
mirror of https://git.videolan.org/git/ffmpeg.git synced 2024-09-12 02:14:56 +02:00
Commit Graph

302 Commits

Author SHA1 Message Date
Diego Biurrun
b6934d7f9e cosmetics: Reindent two misplaced braces.
Originally committed as revision 14317 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-20 20:02:09 +00:00
Diego Biurrun
e3905ce0af 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://svn.ffmpeg.org/ffmpeg/trunk
2008-07-20 18:58:30 +00:00
Diego Biurrun
716e7c0f0b Remove wrong casts from vector declarations, this would cause errors when
compiling with -std=gnu99. Blessed by Luca Barbato.

Originally committed as revision 14129 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-08 16:02:20 +00:00
Kostya Shishkov
7246d6311e Altivec implementation of APE vector functions
Originally committed as revision 14082 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-06 07:33:09 +00:00
Diego Biurrun
1384e27054 consistency cosmetics: indices --> indexes in variable names
Originally committed as revision 13446 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-26 23:36:05 +00:00
Diego Biurrun
245976da2a Use full path for #includes from another directory.
Originally committed as revision 13098 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-09 11:56:36 +00:00
Diego Biurrun
ccd425e799 Remove unnecessary parentheses from return calls.
Originally committed as revision 13069 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-06 09:16:36 +00:00
Måns Rullgård
5550eba88d typo: add missing \ in multi-line macro
Originally committed as revision 12466 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-17 02:33:05 +00:00
Diego Biurrun
7ce6892373 misc spelling fixes
Originally committed as revision 12410 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-10 18:42:09 +00:00
Guillaume Poirier
c367d0c653 arg 10000l. Fix wrong fix committed in r12141
Originally committed as revision 12143 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-19 07:24:00 +00:00
Guillaume Poirier
d6267d027b fix broken indentation
Originally committed as revision 12142 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-19 07:20:03 +00:00
Guillaume Poirier
9d8109ad0f 10l: fix always false test: Binary & has lower precedence than ==
Originally committed as revision 12141 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-19 07:19:15 +00:00
Diego Biurrun
42a362e57b Refactor vcprm and vcii macros by using the AVV macro.
Originally committed as revision 12140 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-18 23:01:26 +00:00
Diego Biurrun
35c27389c0 Refactor the FOUROF macro using the AVV macro.
Originally committed as revision 12139 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-18 22:26:46 +00:00
Diego Biurrun
b0e21a3b47 Remove stray #undef.
Originally committed as revision 12138 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-18 22:22:17 +00:00
Alexander Strange
3518c5a96b fix crash on non-AltiVec powered machines: MPV_common_init_altivec doesn't check mm_flags
Patch by Alexander Strange %astrange A ithinksw PP com %

Originally committed as revision 12137 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-18 21:35:31 +00:00
Reimar Döffinger
b8659d94b7 Add mfspr-based AltiVec detection code.
Currently not enabled in FFmpeg, because it crashes if the OS does not
emulate mfspr.

Originally committed as revision 11569 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-19 19:27:39 +00:00
Diego Biurrun
61dbf4e557 Simplify preprocessor expression as suggested by Mans.
Originally committed as revision 11549 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-17 08:34:53 +00:00
Luca Barbato
3174c77a3e gcc2 doesn't have bogus mergel, patch from Sigbjørn Skjæret cisc...broadpark___no
Originally committed as revision 11523 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-13 23:58:12 +00:00
Diego Biurrun
0c89322463 Change some files to only include the necessary headers.
Originally committed as revision 11394 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-04 13:38:25 +00:00
Diego Biurrun
35562dc962 Fix make checkheaders.
Originally committed as revision 11331 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-27 12:56:49 +00:00
Diego Biurrun
3035cb6796 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’:
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
2007-12-27 12:31:23 +00:00
Luca Barbato
9e052e8d28 Reindent
Originally committed as revision 11311 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-23 19:07:21 +00:00
Luca Barbato
4049e0142d Minor fix
Originally committed as revision 11310 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-23 19:06:33 +00:00
Luca Barbato
6b646b068e 10l do not load after the buffer...
Originally committed as revision 11308 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-23 15:54:21 +00:00
Luca Barbato
08571377e6 Add C/B == 0 cases, 2% slower on CELL but should address Issue299 eventually
Originally committed as revision 11306 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-22 23:10:02 +00:00
Luca Barbato
4159db8ca3 Reindent
Originally committed as revision 11304 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-22 15:39:32 +00:00
Luca Barbato
e36b639f0f Partially address issue299, no performance change apparently
Originally committed as revision 11303 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-22 15:17:46 +00:00
Luca Barbato
8d8d178dad Avoid a vec_add, directly start with sum
Originally committed as revision 11302 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-22 03:39:53 +00:00
Luca Barbato
c7f66add4c Reindent
Originally committed as revision 11301 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-22 02:53:36 +00:00
Luca Barbato
a75fe63d3e Factorize common code (almost cosmetic)
Originally committed as revision 11300 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-22 02:46:32 +00:00
Luca Barbato
907fc60f31 Cosmetics
Originally committed as revision 11299 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-22 02:35:33 +00:00
Luca Barbato
c49e23e2a4 Make strict altivec parsers happy (gcc-4.3 and others)
Originally committed as revision 11231 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-16 14:31:38 +00:00
Kostya Shishkov
98f48ce157 Reindent after last commit
Originally committed as revision 11191 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-08 11:46:09 +00:00
Kostya Shishkov
51ece6842f Update Altivec variant of vc1_inv_trans_8x4
Originally committed as revision 11190 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-08 11:45:42 +00:00
Kostya Shishkov
d2e45f33a4 Switch VC-1 decoder to output decoded residual immediately.
Originally committed as revision 11188 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-08 10:41:18 +00:00
Vitor Sessak
f87d2632b3 Fix alignment broke by my last patch
Originally committed as revision 11123 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-01 22:35:38 +00:00
Vitor Sessak
52b541ad79 spelling
Originally committed as revision 11122 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-01 22:21:04 +00:00
Michael Niedermayer
90901860c2 stupid code (casting of void*) found by checktree.sh
Originally committed as revision 11117 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-01 00:19:44 +00:00
Diego Biurrun
095c22ac45 Remove unused variable, fixes the warning:
ppc/vc1dsp_altivec.c: In function ‘vc1_inv_trans_8x8_altivec’:
ppc/vc1dsp_altivec.c:141: warning: unused variable ‘vec_5’

Originally committed as revision 11006 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-13 00:48:24 +00:00
Diego Biurrun
5b21bdabe4 Add FFMPEG_ prefix to all multiple inclusion guards.
Originally committed as revision 10765 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-17 09:37:46 +00:00
Diego Biurrun
f62a9a46e1 Rename MPV_common_init_ppc to MPV_common_init_altivec, the function is
AltiVec-specific now.

Originally committed as revision 10652 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-03 14:01:42 +00:00
Reimar Döffinger
d9a5dab2da Remove uses of SIGILL for CPU extension detection, that method is not acceptable
in a library.
Should not change anything for PPC, the autodetection is currently pointless due
to other code being compiled with -maltivec as well (and detection for OSX and
AmigaOS remains in place).
SPARC binaries built with VIS support can now only run on systems with VIS.

Originally committed as revision 10648 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-02 18:18:35 +00:00
Diego Biurrun
1f3a990b3a cosmetics: Fix indentation after last commit.
Originally committed as revision 10643 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-02 12:35:23 +00:00
Diego Biurrun
eee947487b Replace CONFIG_VORBIS_DECODER #ifdef by if (ENABLE_VORBIS_DECODER).
Blessed by Luca Barbato on IRC.

Originally committed as revision 10642 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-02 12:34:43 +00:00
Diego Biurrun
6c05bab46d Merge mpegvideo AltiVec code into mpegvideo_altivec.c where it belongs.
Originally committed as revision 10641 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-02 12:16:33 +00:00
Luca Barbato
89523beea4 Sanitize altivec code so it can be built with runtime check properly
Originally committed as revision 10640 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-02 11:39:32 +00:00
Diego Biurrun
a1d0b6a277 cosmetics: Fix AltiVec spelling.
Originally committed as revision 10639 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-02 10:34:57 +00:00
Diego Biurrun
6006a68989 cosmetics: Fix indentation after last commit.
Originally committed as revision 10638 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-02 10:26:42 +00:00
Diego Biurrun
465c9fdeeb Remove pointless HAVE_ALTIVEC #ifdefs from a file that only contains AltiVec
optimizations and no general PPC optimizations. Instead make the file be
compiled conditional to HAVE_ALTIVEC.

Originally committed as revision 10637 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-02 10:22:22 +00:00
Diego Biurrun
7fd7259a3f Remove const vector macro indirection that is useless and obfuscating
now that the Metrowerks workarounds are gone.

Originally committed as revision 10633 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-01 14:23:36 +00:00
Diego Biurrun
cd195f14c6 Remove Metrowerks compiler workaround.
Originally committed as revision 10632 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-01 14:16:07 +00:00
Diego Biurrun
dead9db83a Remove Metrowerks compiler workaround.
Originally committed as revision 10631 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-01 14:10:49 +00:00
Luca Barbato
55bf7fb613 snow altivec is broken
Originally committed as revision 10256 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-28 13:39:50 +00:00
Diego Biurrun
06b00c5f65 Simplify preprocessor directives.
Originally committed as revision 10249 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-27 09:21:33 +00:00
Diego Biurrun
c97f54020d Change SYS_DARWIN preprocessor checks to __APPLE__, they are specific
to Mac OS X rather than to Darwin.

Originally committed as revision 10247 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-27 09:17:03 +00:00
Guillaume Poirier
16dae5173b remove alignment correction of the destination pointers in luma_16x6
interpolations, since they are always 16-bytes aligned in practice.
Add asserts to ease narrowing down potential image corructions on exotic plateforms

Based on a patch by Mauricio Alvarez % lokifo A gmail P com %
Original thread:
Date: Jun 26, 2007 1:07 PM
Subject: Re: [FFmpeg-devel] [PATCH] h264 luma interpolation 8x8 for altivec

Originally committed as revision 10238 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-26 21:47:58 +00:00
Diego Biurrun
830bf1f20d whitespace/indentation cosmetics
Originally committed as revision 10217 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-24 23:49:11 +00:00
Diego Biurrun
2722c98128 Remove HAVE_ALTIVEC preprocessor directives that are only compiled
when AltiVec is enabled anyway.

Originally committed as revision 10216 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-24 23:01:50 +00:00
Diego Biurrun
f9edc2331d Fix trivial mixed declarations and code warning caused by a double semicolon.
Originally committed as revision 10212 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-24 15:42:50 +00:00
Diego Biurrun
e4506f0c98 Remove SYS_DARWIN preprocessor directive that is just a duplicate of a
gcc-specific directive a few lines below.

Originally committed as revision 10211 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-24 15:38:37 +00:00
Diego Biurrun
4b180bbd73 Replace SYS_DARWIN by the more correct __APPLE_CC__, these preprocessor
directives are aimed at idiosyncracies of Apple's gcc version.

Originally committed as revision 10210 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-24 15:18:41 +00:00
Diego Biurrun
b1312aa24d Merge __MWERKS__ preprocessor directives.
Originally committed as revision 10208 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-24 15:08:46 +00:00
Diego Biurrun
8008a04325 Move Apple gcc AltiVec vector declaration syntax to libavutil.
Originally committed as revision 10207 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-24 15:04:00 +00:00
Diego Biurrun
08f87a9c99 Replace SYS_DARWIN by the more correct __APPLE_CC__, these preprocessor
directives are aimed at idiosyncracies of Apple's gcc version.

Originally committed as revision 10206 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-24 14:57:46 +00:00
Diego Biurrun
9d16f87ffd Rename CONFIG_DARWIN to SYS_DARWIN, it is not configurable (in FFmpeg).
Originally committed as revision 10190 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-22 22:46:39 +00:00
Diego Biurrun
d55388d028 Simplify preprocessor directives.
Originally committed as revision 10181 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-22 13:04:10 +00:00
Diego Biurrun
57b499c7da Identifiers starting with underscores are reserved.
Originally committed as revision 10179 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-22 12:41:16 +00:00
Guillaume Poirier
3ca96802e2 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

Originally committed as revision 10090 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-12 13:50:06 +00:00
Diego Biurrun
1903245071 Ahem, fix typos overlooked in last commit.
Originally committed as revision 9816 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-28 12:50:28 +00:00
Diego Biurrun
df3a80b50a cosmetics: misc typo fixes
Originally committed as revision 9815 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-28 12:46:26 +00:00
Måns Rullgård
a00177a952 make arguments to ssd_int8_vs_int16() const
Originally committed as revision 9548 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-08 23:15:00 +00:00
Diego Biurrun
e5a389a1b7 license header consistency cosmetics
Originally committed as revision 9484 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-05 10:40:25 +00:00
Guillaume Poirier
efb775777f add a comment to indicate which #endif belong to which #define
Originally committed as revision 9356 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-17 18:59:28 +00:00
Måns Rullgård
9cafbd6c49 simplify ppc64 handling
Originally committed as revision 9355 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-17 15:47:03 +00:00
Guillaume Poirier
e970d98c47 restore GCC3 support
Originally committed as revision 9353 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-17 12:38:51 +00:00
Guillaume Poirier
7d2bf29c88 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://svn.ffmpeg.org/ffmpeg/trunk
2007-06-17 09:38:35 +00:00
Graham Booker
22fa38f0c8 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;
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
2007-06-17 09:37:13 +00:00
Guillaume Poirier
963eca226e 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://svn.ffmpeg.org/ffmpeg/trunk
2007-06-17 09:14:02 +00:00
Måns Rullgård
699b3f99d0 add multiple inclusion guards to headers
Originally committed as revision 9345 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-17 00:01:30 +00:00
Graham Booker
f4a02f6e9b 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://svn.ffmpeg.org/ffmpeg/trunk
2007-06-16 18:59:10 +00:00
Guillaume Poirier
fbb578e90d some samples aren't decoded correctly such as
( 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
2007-06-15 08:22:06 +00:00
Guillaume Poirier
da1fce3921 cosmetics
Originally committed as revision 9298 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-12 21:44:38 +00:00
Sigbjorn Skjaeret
0aec30c58d 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://svn.ffmpeg.org/ffmpeg/trunk
2007-06-12 21:24:25 +00:00
Sigbjorn Skjaeret
525751c053 restore GCC2/3 support, patch by Sigbjorn Skjaeret %sskjer-1 A broadpark P no%
Originally committed as revision 9295 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-12 21:17:22 +00:00
Guillaume Poirier
c01d444b3e one step closer to restoring GCC-3.3 support: kills 12 errors, just 2 to go
Originally committed as revision 9280 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-11 08:00:31 +00:00
Guillaume Poirier
5ce27e8c92 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://svn.ffmpeg.org/ffmpeg/trunk
2007-06-09 22:20:24 +00:00
Graham Booker
f057cc0399 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: 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
2007-06-09 19:13:34 +00:00
Luca Barbato
5dda253943 h264_idct_add_altivec, based on an old patch from Mauricio Alvarez <alvarezATac.upc.edu>, polished by David Conrad <umovimusATgmail.com>
Originally committed as revision 9182 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-03 13:27:44 +00:00
Guillaume Poirier
88bcb6c23f 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://svn.ffmpeg.org/ffmpeg/trunk
2007-05-17 14:14:53 +00:00
Ronald S. Bultje
b550bfaa61 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://svn.ffmpeg.org/ffmpeg/trunk
2007-05-16 09:51:45 +00:00
Luca Barbato
1f1aadc37c ssd_int8_vs_int16_altivec, not completely benchmarkedwith svq1
Originally committed as revision 8706 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-10 09:47:37 +00:00
Diego Biurrun
e42dba481f typos/grammar
Originally committed as revision 8641 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-07 14:09:20 +00:00
Måns Rullgård
35f9736988 rename POWERPC_PERFORMANCE_REPORT to CONFIG_POWERPC_PERF
Originally committed as revision 7968 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-13 23:45:28 +00:00
Luca Barbato
fe70f25c58 Simplify and avoid a warning (should be faster on Cell and certain G4 revisions)
Originally committed as revision 7734 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-27 15:09:34 +00:00
Luca Barbato
6847e61af3 10l, there is a corner case afterall...
Originally committed as revision 7660 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-23 12:04:48 +00:00
Guillaume Poirier
ec4e0056ef GCC 3.3 compile fix
Originally committed as revision 7277 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-11 10:52:18 +00:00
Guillaume Poirier
3813dcc9bf Add IDCT8 routine in Altivec. Patch by yours truely with Linux fixes by Luca Barbato
Originally committed as revision 7210 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-02 14:50:42 +00:00
Luca Barbato
4b47d258f6 Unused variable removed
Originally committed as revision 7203 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-02 01:28:21 +00:00
Diego Biurrun
8cff89be43 Conditionally compile some of the AltiVec optimizations.
Originally committed as revision 7154 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-22 09:20:16 +00:00
Guillaume Poirier
00f636a04f Add useful Altivec types, taken from with permission from x264 authors
Originally committed as revision 7125 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-19 22:51:54 +00:00
Måns Rullgård
486497e07b revert bad checkin
Originally committed as revision 7044 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-14 03:18:09 +00:00
Måns Rullgård
be6ed6fff4 move some CFLAGS settings away from config.* writing section
Originally committed as revision 7043 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-14 03:12:29 +00:00
Luca Barbato
d9d2f88def Simplify
Originally committed as revision 6932 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-07 12:45:29 +00:00
Steve L'Homme
949b1a13bf Replace most of the %lld and %llx by their (cleaner) PRI*64 counterparts.
patch by Steve Lhomme, slhomme divxcorp com

Originally committed as revision 6868 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-01 22:39:58 +00:00
Luca Barbato
a5db5bda07 ppc generic prefetch
Originally committed as revision 6669 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-12 10:26:07 +00:00
Guillaume Poirier
ab5a1435ec Move TRANSPOSE8 macro to dsputil_altivec.h.
(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
2006-10-10 08:01:19 +00:00
Luca Barbato
b420448e38 removing ALTIVEC_USE_REFERENCE_C_CODE, since has no use anymore
Originally committed as revision 6606 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-09 18:29:46 +00:00
Luca Barbato
441e8fe9c9 add_bytes passes tests
Originally committed as revision 6600 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-09 13:37:43 +00:00
Luca Barbato
75336fc885 Non Altivec optimizations already present at the top
Originally committed as revision 6588 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-08 13:55:02 +00:00
Luca Barbato
87ea51e0b5 fix the dcbz check and move it in configure
Originally committed as revision 6580 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-07 19:14:25 +00:00
Diego Biurrun
b78e7197a8 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://svn.ffmpeg.org/ffmpeg/trunk
2006-10-07 15:30:46 +00:00
Luca Barbato
d4165a8190 fix a warning
Originally committed as revision 6575 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-07 11:46:35 +00:00
Luca Barbato
99aed7c8fc New single instruction math operation header
Originally committed as revision 6291 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-19 22:22:29 +00:00
Diego Biurrun
04d7f60143 Add official LGPL license headers to the files that were missing them.
Originally committed as revision 6219 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-10 14:02:42 +00:00
Kostya Shishkov
60aae27ad9 AltiVec version of put_no_rnd_h264_chroma_pixels_tab[0] (slightly changed version of put_h264_chroma_pixels_tab[0])
Originally committed as revision 6154 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-03 04:44:50 +00:00
Luca Barbato
27303c8abc 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://svn.ffmpeg.org/ffmpeg/trunk
2006-08-31 15:44:37 +00:00
Luca Barbato
7e82145755 Revert previous commit
Originally committed as revision 6142 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-31 15:27:26 +00:00
Luca Barbato
99d239b3e7 Fix float_to_int16, unaligned case, broken by the previous commit
Originally committed as revision 6141 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-31 15:15:14 +00:00
Luca Barbato
cb243ea220 10l, thanks to Emanuele Giaquinta <exg@gentoo.org> for testing and finding the issue
Originally committed as revision 6002 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-15 20:36:05 +00:00
Luca Barbato
241807f32d altivec float optimizations
Originally committed as revision 5999 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-14 22:55:11 +00:00
Luca Barbato
b5f7e6eb95 Clean up:make dsputil subfile names consistent
Originally committed as revision 5993 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-13 08:26:43 +00:00
Luca Barbato
876031a74e keep in sync with dsputil, makes --disable-decoder=vorbis build
Originally committed as revision 5979 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-11 02:56:32 +00:00
Luca Barbato
bf29ed5dbc Cosmetics: 2->4 spaces and some braces
Originally committed as revision 5940 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-06 23:15:32 +00:00
Luca Barbato
c489d907e1 Yet another typo
Originally committed as revision 5933 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-04 19:11:12 +00:00
Luca Barbato
532877894b Fix a stupid typo and another error, thanks to Emanuele Giaquinta <exg@gentoo.org> for pointing out the issue and the patch
Originally committed as revision 5932 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-04 19:03:01 +00:00
Luca Barbato
7f624e80ef standalone snow dsputil init
Originally committed as revision 5919 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-03 16:19:13 +00:00
Luca Barbato
73e4ff9de9 Almost cosmetic changes in dsputil_init_ppc and vorbis_inverse_coupling_altivec:
- whitespace consistency 2->4 [dsputil_init_ppc]
- reorder struct initialization with dsputil_init_altivec [dsputil_init_ppc]
- use casts instead of temp variables [vorbis_inverse_coupling_altivec]

Originally committed as revision 5918 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-03 16:13:50 +00:00
Luca Barbato
7c2a270b70 Minor fix
Originally committed as revision 5916 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-03 14:37:58 +00:00
Luca Barbato
8047fe72a9 avoid alignment hacks, luckly gcc does the right thing on arches different from x86
Originally committed as revision 5915 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-03 13:21:13 +00:00
Luca Barbato
3b0df5254e vorbis_inverse_coupling_altivec
Originally committed as revision 5914 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-03 13:19:32 +00:00
Luca Barbato
90530cec20 Cleanup
Originally committed as revision 5913 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-03 13:00:37 +00:00
Kostya Shishkov
481fb636b1 Some AltiVec optimizations for VC-1
Originally committed as revision 5899 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-03 05:02:31 +00:00
Luca Barbato
832e6e9071 avoid possible segfault situations
Originally committed as revision 5895 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-02 21:37:38 +00:00
Luca Barbato
50b35f7aa6 Cosmetics
Originally committed as revision 5890 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-02 11:18:10 +00:00
Luca Barbato
4726111362 Make gcc-3 happy again, thanks to Olivier Castan <castan.o@free.fr> for pointing the issue
Originally committed as revision 5504 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-20 10:35:30 +00:00
Luca Barbato
e8772eecdc Cosmetics: should not hurt performance, scream if are
Originally committed as revision 5493 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-17 18:46:06 +00:00
Luca Barbato
0d18f79860 put_pixels16_l2_altivec and avg_pixels16_l2_altivec
Originally committed as revision 5452 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-03 22:18:03 +00:00
Luca Barbato
a487e0f654 Macosx fix
Originally committed as revision 5342 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-02 18:45:04 +00:00
Luca Barbato
5f22aa3cc0 13% faster inner_add_yblock
Originally committed as revision 5316 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-25 19:54:02 +00:00
Luca Barbato
f420826c35 40% faster decode
Originally committed as revision 5315 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-25 17:29:31 +00:00
Luca Barbato
fd925db3c8 typo in the gcc handmade regalloc trigger
Originally committed as revision 5297 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-16 03:40:04 +00:00
Luca Barbato
a01e08ee5c hadamard8_diff* enabled on linux/ppc
Originally committed as revision 5272 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-07 12:40:28 +00:00
Luca Barbato
46641a135c Proper typecast for vector bool
Originally committed as revision 5250 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-31 09:59:53 +00:00
Luca Barbato
085065f0fd Cast cruft in order to support Apple gcc
Originally committed as revision 5242 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-29 18:42:50 +00:00
Luca Barbato
22b48b85b6 altivec support for snow
Originally committed as revision 5228 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-27 12:51:19 +00:00
Luca Barbato
e62c29bf57 altivec support for snow
Originally committed as revision 5227 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-27 12:45:27 +00:00
Likai Liu
11c19637d2 use vec_splat_u32 to initialise a v16ui (patch by Likai Liu < liulk _at_ cs.bu.edu >)
Originally committed as revision 5079 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-28 21:55:18 +00:00
Luca Barbato
5cb9fda4b0 Fix AltiVec H.264 decoding on FSF gcc.
patch by Luca Barbato, lu_zero aatt gentoo ddoott org

Originally committed as revision 5046 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-21 22:24:19 +00:00
Steve L'Homme
68b51e58ce MSVC-compatible __align8/__align16 declaration
patch by Steve Lhomme, steve .dot. lhomme .at. free .dot. fr

Originally committed as revision 4942 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-05 13:35:17 +00:00