Commit Graph

6270 Commits

Author SHA1 Message Date
Loren Merritt 31304587da indent
Originally committed as revision 12166 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-21 07:55:42 +00:00
Loren Merritt 469bd7b150 pseudo-simd add_bytes and diff_bytes
2x faster than scalar in 32bit, 4x faster in 64bit (as opposed to 8x in mmx)

Originally committed as revision 12165 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-21 07:54:46 +00:00
Loren Merritt 4a9ca0a279 simd and unroll png_filter_row
cycles per 1000 pixels on core2:
left: 9211->5170
top: 9283->2138
avg: 12215->7611
paeth: 64024->17360
overall rgb png decoding speed: +45%
overall greyscale png decoding speed: +6%

Originally committed as revision 12164 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-21 07:10:46 +00:00
Michael Niedermayer 1435e4ccde Disabling all SSE* code for old gcc to avoid alignment issues.
Originally committed as revision 12163 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-21 00:06:07 +00:00
Michael Niedermayer 635fbcb17f revert 12156
Log:
Make timestamp interpolation work with mpeg2 field pictures.
Cleaner/simpler solutions are welcome.
----
A IMHO cleaner solution has been implemented.

Originally committed as revision 12162 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-20 20:24:38 +00:00
Michael Niedermayer bdd745da60 Forgot this, which is needed for merging field pics too.
Originally committed as revision 12161 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-20 19:48:25 +00:00
Michael Niedermayer 21da962cf1 Make find_frame_end() merge 2 mpeg2 field pictures. This should make mpeg2
field pictures much more digestable.

Originally committed as revision 12160 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-20 19:45:38 +00:00
Michael Niedermayer ff2635b273 Make timestamp interpolation work with mpeg2 field pictures.
Cleaner/simpler solutions are welcome.

Originally committed as revision 12156 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-20 03:20:06 +00:00
Måns Rullgård e97ac1e6f5 Clean up lib* version definitions
Updating version numbers now requires changing only one place.

Originally committed as revision 12154 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-19 22:50:28 +00:00
Michael Niedermayer cea9642014 Fix ;;
Originally committed as revision 12153 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-19 22:09:08 +00:00
Reimar Döffinger 754bf3d8a1 Fix warnings:
i386/vp3dsp_sse2.c:805: warning: cast discards qualifiers from pointer target type
i386/vp3dsp_sse2.c:806: warning: cast discards qualifiers from pointer target type

Originally committed as revision 12150 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-19 21:55:13 +00:00
Reimar Döffinger 816ebf9320 Remove duplicate ;
Originally committed as revision 12149 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-19 21:46:40 +00:00
Reimar Döffinger 721052e981 Add casts to avoid warnings:
fraps.c:102: warning: passing argument 1 of ‘s->dsp.bswap_buf’ from incompatible pointer type
fraps.c:102: warning: passing argument 2 of ‘s->dsp.bswap_buf’ from incompatible pointer type

Originally committed as revision 12148 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-19 21:42:10 +00:00
Reimar Döffinger e3cb2c4a08 Missing const
Originally committed as revision 12147 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-19 21:37:53 +00:00
Michael Niedermayer 0521808158 Reduce the number of senselessly scanned bytes.
Originally committed as revision 12144 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-19 15:55:14 +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
Måns Rullgård 5ff1b0675f remove duplicate AV_STRINGIFY() definition
Originally committed as revision 12129 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-17 03:44:47 +00:00
Måns Rullgård 5c319d3334 clean up definition of DECLARE_ALIGNED_8 and STRIDE_ALIGN
Originally committed as revision 12126 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-16 19:18:30 +00:00
Mike Frysinger e44d7c659b FLAT objects cannot have multiple sections, so using the L1 attributes breaks
linking. The FDPIC relocs also break for any other format. Thus check the
compiler environment and select the appropriate sections/relocs.
patch by Mike Frysinger, vapier.adi a gmail d com

Originally committed as revision 12125 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-16 15:17:31 +00:00
Vitor Sessak f037f7e032 100l
Originally committed as revision 11964 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:01:10 +00:00
Vitor Sessak db7ae7d1b9 Simplify avcodec_default_get_buffer()
Originally committed as revision 11962 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 20:23:49 +00:00
Vitor Sessak 4fe109ebdd Add header for declaration of ff_xxxx functions in imgconvert.c
Originally committed as revision 11961 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 20:20:57 +00:00
Vitor Sessak 6dd36490c7 This should not be part of the public API
Originally committed as revision 11960 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 20:19:46 +00:00
Vitor Sessak fba95d3c23 My commit in r11942 broke compilation.
This fixes it.

Originally committed as revision 11959 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 19:47:14 +00:00
Vitor Sessak cc9853d38f Split avpicture_fill() in two functions. This will be
useful for libavfilter and to simplify
avcodec_default_get_buffer().

Originally committed as revision 11942 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 18:01:07 +00:00
Benjamin Larsson ad40b15394 silence wmaenc.c:181: warning:suggestparentheses around assignment used as truth value
Originally committed as revision 11940 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 13:44:08 +00:00
Luca Abeni 6881b8e567 Fix
utils.c: In function ‘avcodec_get_context_defaults2’:
utils.c:793: warning: assignment discards qualifiers from pointer target type

Originally committed as revision 11938 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 12:04:35 +00:00
Luca Abeni 408ed51cdb Fix
opt.c: In function ‘av_set_string’:
opt.c:164: warning: passing argument 9 of ‘ff_eval2’ from incompatible pointer type

Originally committed as revision 11937 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 11:38:38 +00:00
Thorsten Jordan 134e5a9a65 Cosmetics: indentation
Patch by Thorsten Jordan (tjordan atay macrosystem otday de)
[FFmpeg-devel] Behaviour of liba52 decoder

Originally committed as revision 11927 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-13 14:24:34 +00:00
Thorsten Jordan 95e5323510 Remove useless buffering of input data, so that avcodec_decode_audio never
returns 0 for a valid frame

Patch by Thorsten Jordan (tjordan atay macrosystem otday de)
[FFmpeg-devel] Behaviour of liba52 decoder

Originally committed as revision 11926 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-13 14:20:22 +00:00
Diego Biurrun 5e53486545 typo fix: inited --> initialized
Originally committed as revision 11920 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-13 09:26:10 +00:00
Diego Biurrun 356306aca2 Print Theora bitstream version at DEBUG, not at VERBOSE level.
Originally committed as revision 11916 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-13 08:05:51 +00:00
Diego Biurrun 5edac5dc94 cosmetics: Replace // by /* */ comments.
sync with upstream libmpeg2 0.4.1

Originally committed as revision 11915 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-13 01:18:12 +00:00
Vitor Sessak 22ed53e5f4 Factor bytewidth determination in its own function
Originally committed as revision 11907 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-11 21:49:24 +00:00
Paul Kelly f1618fd939 Add 'reservoir' flag to lavc's flags2 controlling whether or not codes may
utilize a bit reservoir. Also, make the lame encoder utilize this flag.

patch by Paul Kelly, paul a stjohnspoint d co d uk

Originally committed as revision 11903 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-11 08:01:07 +00:00
Loren Merritt ec199cc94c asm argument that might be in memory needs a size
Originally committed as revision 11890 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-10 01:45:42 +00:00
Michael Niedermayer a3689bf7b4 Remove pointless code.
Originally committed as revision 11887 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-09 18:02:28 +00:00
Diego Biurrun 7bab3a26e4 Use HAVE_ALTIVEC preprocessor conditionals like in the rest of FFmpeg.
Originally committed as revision 11886 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-09 17:55:07 +00:00
Michael Niedermayer dc6340e048 Remove pointless code.
Originally committed as revision 11885 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-09 17:26:40 +00:00
Michael Niedermayer a4195e68b6 assert() and note about odd len.
Originally committed as revision 11884 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-09 14:45:36 +00:00
Loren Merritt e1813a2f1e 30% faster ff_vorbis_floor1_render_list, 3% faster overall
Originally committed as revision 11883 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-09 13:53:15 +00:00
Loren Merritt 2c70770e33 use fewer registers in apply_welch_window_sse2
Originally committed as revision 11882 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-09 05:29:47 +00:00
Michael Niedermayer fa4ed8c10a optimize apply_welch_window()
Originally committed as revision 11881 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-09 03:42:48 +00:00
Reimar Döffinger cb4ddf7765 Add support for speex in ogg
Originally committed as revision 11878 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-06 12:37:37 +00:00