Alexander Strange
f6d0390657
Add macros for 64- and 128-bit write-combining optimization to intreadwrite.h.
...
Add x86 implementation using MMX/SSE.
Originally committed as revision 21281 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-18 10:24:33 +00:00
Zuxy Meng
3c52d4849f
Define out currently unused static functions.
...
Originally committed as revision 30365 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2010-01-18 08:42:04 +00:00
Michael Niedermayer
6d7e6b2657
Perform reference remapping at fill_cache() time instead of in the
...
loop filter. This removes one obstacle of getting ff_h264_filter_mb_fast()
bitexact. code is maybe 0.1% faster
Originally committed as revision 21280 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-18 05:15:31 +00:00
Ben Littler
5bc3fc2187
add uldx fourcc to mpeg4 in riff.c
...
Originally committed as revision 21279 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-18 03:57:01 +00:00
Måns Rullgård
bdd19e29df
Mark all intreadwrite functions av_always_inline
...
Originally committed as revision 21278 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-18 01:35:19 +00:00
Måns Rullgård
8d072dd2a9
Only set HAVE_MMX when a supported CPU is specified
...
Originally committed as revision 21277 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-18 01:25:57 +00:00
Michael Niedermayer
7da0d82104
Make qp check for loop filter skiping also work with MBAFF.
...
Originally committed as revision 21276 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-18 00:34:28 +00:00
Michael Niedermayer
12be38ec18
Comment about a cornercase we ignore currently
...
Originally committed as revision 21275 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-18 00:21:58 +00:00
Michael Niedermayer
44a5e7b64c
Move the qp check to skip the loop filter up.
...
Originally committed as revision 21274 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-18 00:20:44 +00:00
Michael Niedermayer
b6303e6d2a
Reorganize how values are stored in h->non_zero_count.
...
~1% faster
Originally committed as revision 21273 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-17 23:44:23 +00:00
Stefano Sabatini
c36a4294dc
Remove stray '\' at the end of macro definitions.
...
Originally committed as revision 30362 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2010-01-17 23:29:31 +00:00
Stefano Sabatini
90eb284a77
Remove duplicated or pointless newlines.
...
Originally committed as revision 30361 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2010-01-17 23:17:47 +00:00
Stefano Sabatini
398c193d0b
Factorize error message logging, log it if the converter cannot be
...
set.
Originally committed as revision 30360 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2010-01-17 23:07:37 +00:00
Stefano Sabatini
e36a545de5
Reindent after the last commit.
...
Originally committed as revision 30359 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2010-01-17 23:02:20 +00:00
Stefano Sabatini
c0d1dc1c4f
Make the pal2rgbWrapper set and use the converter in pal2rgbWrapper
...
only if the input format is paletted.
Fix potential crashes/weirdness if the input format is non-paletted.
Originally committed as revision 30358 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2010-01-17 23:00:01 +00:00
Michael Niedermayer
2911e13224
Disable a few things in fill_filter_caches() that arent needed.
...
0.1% speedup
Originally committed as revision 21272 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-17 22:05:36 +00:00
Michael Niedermayer
f432b43b08
Split fill_caches() between filter and decoder.
...
Originally committed as revision 21271 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-17 21:43:08 +00:00
Michael Niedermayer
c988f97566
Rearchitecturing the stiched up goose part 1
...
Run loop filter per row instead of per MB, this also should make it
much easier to switch to per frame filtering and also doing so in a
seperate thread in the future if some volunteer wants to try.
Overall decoding speedup of 1.7% (single thread on pentium dual / cathedral sample)
This change also allows some optimizations to be tried that would not have
been possible before.
Originally committed as revision 21270 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-17 20:35:55 +00:00
Måns Rullgård
00c4127ec9
Remove double const
...
Originally committed as revision 30357 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2010-01-17 19:26:35 +00:00
Ben Littler
6667d5a5e5
add vspx fourcc to mpeg4 in riff.c
...
Originally committed as revision 21269 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-17 19:25:49 +00:00
Måns Rullgård
aa692d547b
configure: simplify libsdl check
...
Originally committed as revision 21268 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-17 19:10:05 +00:00
Måns Rullgård
14d3675165
configure: add check_struct function
...
This adds a check_struct function to test for availability of a
member within a struct.
Originally committed as revision 21267 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-17 19:10:03 +00:00
Måns Rullgård
300cde27b6
configure: simplify check_lib2
...
Originally committed as revision 21266 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-17 19:05:57 +00:00
Måns Rullgård
f855b7b9c9
configure: pass extra flags to check_cpp from check_cpp_condition
...
Originally committed as revision 21265 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-17 19:05:53 +00:00
Måns Rullgård
2a194acd95
configure: pass extra flags to check_cc from check_ld
...
Originally committed as revision 21264 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-17 19:05:50 +00:00
Stefano Sabatini
ade5b91dda
Use av_match_ext() rather than the deprecated match_ext(), fix
...
warnings.
Originally committed as revision 21263 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-17 15:57:51 +00:00
Stefano Sabatini
9a180390b9
Factorize error message logging in rgb2rgbWrapper().
...
Originally committed as revision 30356 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2010-01-17 15:11:25 +00:00
Måns Rullgård
1b5d46c6a6
Reindent
...
Originally committed as revision 30350 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2010-01-17 14:25:19 +00:00
Måns Rullgård
d39d7cf693
Remove inline from initFilter()
...
It makes no sense having that function inlined.
Originally committed as revision 30349 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2010-01-17 14:25:17 +00:00
Reimar Döffinger
3f37ab8e41
Make sure we do not export incorrect _NE pixformat descriptions by either
...
including config.h if available or not defining them if it isn't.
Originally committed as revision 21262 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-17 14:17:03 +00:00
Måns Rullgård
48fdb66c68
Fix comment typo carefull -> careful
...
Spotted by someone on IRC.
Originally committed as revision 21261 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-17 13:39:34 +00:00
Måns Rullgård
c25210278c
Add missing parens in AV_WN macros
...
Originally committed as revision 21260 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-17 12:47:06 +00:00
Alexander Strange
0209e1e160
Add missing Makefile dependencies to CONFIG_SNOW_ENCODER.
...
Fixes build with --disable-encoders --enable-encoder=snow.
This fixes MPlayer build with --disable-mencoder.
Originally committed as revision 21259 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-17 08:24:45 +00:00
Carl Eugen Hoyos
45becaf337
Fix indentation after r21257.
...
Originally committed as revision 21258 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-17 00:27:22 +00:00
Stefano Sabatini
e922e34c96
Add a const qualifier in a cast, fix the gcc warning:
...
swscale.c: In function ‘sws_scale’:
swscale.c:2968: warning: cast discards qualifiers from pointer target type
Originally committed as revision 30341 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2010-01-17 00:26:29 +00:00
Michael Karcher
1454618426
Support demuxing of Sony OpenMG files without metadata header.
...
Original patch by Michael Karcher, ffmpeg A mkarcher dialup fu-berlin de
Originally committed as revision 21257 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-17 00:23:08 +00:00
Stefano Sabatini
5090d8e16a
Add a const qualifier in a cast, fix the gcc warning:
...
swscale.c: In function ‘planarCopy’:
swscale.c:2256: warning: cast discards qualifiers from pointer target type
Originally committed as revision 30340 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2010-01-17 00:21:50 +00:00
Stefano Sabatini
a630ed3ee9
Fix typo, "get rid off" -> "get rid of".
...
Originally committed as revision 30338 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2010-01-16 22:49:00 +00:00
Måns Rullgård
05e24fa852
regtest: run tests only for enabled codecs and formats
...
Originally committed as revision 21256 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-16 20:18:24 +00:00
Måns Rullgård
4b294c1872
regtest: split wma test into wmav1 and wmav2
...
Originally committed as revision 21255 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-16 20:18:22 +00:00
Måns Rullgård
eca478c317
regtest: split reference files allowing tests to run individually
...
With this change, the output is checked immediately after each test
has run. This means commands like "make regtest-mpeg2" can now be
used to run a single test and get meaningful results.
By default, make will abort if any test fails. To run all tests
regardless, use make -k.
Originally committed as revision 21254 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-16 20:18:13 +00:00
Måns Rullgård
16cd99bbed
regtest: suppress console output from tests
...
This disables all console output from the *-regression.sh scripts by
default. If the V environment variable is set to 1, ffmpeg commands
are printed before being run. If V is greater than 1, ffmpeg output
goes to the console, otherwise stderr is redirected to a file.
Originally committed as revision 21253 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-16 20:17:55 +00:00
Stefano Sabatini
730cb9dab3
Revert r30331, which broke compilation.
...
swScale_C is not templated if any optimization is to be used and
!runtime_cpudetect.
Originally committed as revision 30334 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2010-01-16 19:51:26 +00:00
Stefano Sabatini
73cadb4f13
Prefer enum PixelFormat to int as the parameter type of
...
fmt_depth(fmt).
Originally committed as revision 30333 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2010-01-16 19:32:58 +00:00
Stefano Sabatini
bc45751f7f
Declare with av_unused the variable alpMmxFilter, fix the gcc warning:
...
swscale_template.c: In function ‘swScale_C’:
swscale_template.c:2580: warning: unused variable ‘alpMmxFilter’
swscale_template.c: In function ‘sws_init_swScale_C’:
Originally committed as revision 30332 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2010-01-16 19:22:30 +00:00
Stefano Sabatini
80853cfc6a
Factorize the code which calls the non optimized C functions in
...
getSwsFunc().
Originally committed as revision 30331 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2010-01-16 19:19:54 +00:00
Stefano Sabatini
c70f1401df
Prefer "to %s%s" over "to%s %s", slightly more readable.
...
Originally committed as revision 30330 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2010-01-16 19:14:29 +00:00
Stefano Sabatini
a9e2878c48
Simplify code in sws_getContext() which logs if the destination format
...
support dithering, remove the const char *dither variable and use a
literal string instead.
Originally committed as revision 30329 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2010-01-16 19:11:03 +00:00
Ramiro Polla
9556124c97
Document some of SwsContext.
...
Originally committed as revision 30328 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2010-01-16 19:04:55 +00:00
Ramiro Polla
0cc854e377
Reuse h{lum,chr}Filter{,Pos} variables for MMX2 fast_bilinear horizontal scaler.
...
Originally committed as revision 30327 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2010-01-16 18:39:06 +00:00