Commit Graph

3340 Commits

Author SHA1 Message Date
Luca Abeni
3834be5858 fix rounding errors with NTSC patch by (Luca Abeni <lucabe72 at email dot it>)
Originally committed as revision 3084 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-27 13:28:16 +00:00
Mike Melanson
7daabccb5d move the 0x80 vector outside of the function, thus saving the compiler
the trouble of having to initialize each byte on the stack individually

Originally committed as revision 3083 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-27 04:06:24 +00:00
Mike Melanson
f9ed9d8584 separate out put_signed_pixels_clamped() into its own function and
implement an optimized MMX version of the function

Originally committed as revision 3082 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-27 03:58:06 +00:00
Michael Niedermayer
c0c37848d8 export pts if available
Originally committed as revision 3081 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-27 03:35:14 +00:00
Michael Niedermayer
293ed23f12 NULL pointers ...
Originally committed as revision 3080 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-27 02:55:05 +00:00
Wolfram Gloger
4b85a28f27 Fix synthetic next_pts calculation / audio pts patch by (Wolfram Gloger <wmglo at dent dot med dot uni-muenchen dot de>)
Originally committed as revision 3079 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-26 23:06:29 +00:00
Hauke Duden
224944895e mpeg SVCD compatibility, SCR fixes, standard compliance
- fixed VBR+constrained bitstream header flags for non-VCD
- more sane (and SVCD compatible) value for video stream->max_buffer_size
- always write at least one PES header stuffing byte for MPEG-2 to
prevent accidental start code generation
- do not write more than 16 stuffing bytes in a PES header (not
allowed). Use padding packets instead.
- include a PES extension in the first MPEG-2 packet
- fill the first pack of SVCD files with padding
- "sanity hack" that prevents the SCR from overtaking the PTS for non-VCD
- fixed VCD PTS values to correspond to the SCR
- always include DTS in the first SVCD packet (fixes lots of
compatibility problems with DVD players)

patch by (Hauke Duden <H.NS.Duden at gmx dot net>)

Originally committed as revision 3078 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-26 22:16:06 +00:00
Michael Niedermayer
ae4b7d5947 H.263 MCBPC fix
Originally committed as revision 3077 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-26 21:46:01 +00:00
Matthieu Castet
db7a2e0d17 attribute_used patch by (matthieu castet <castet.matthieu at free dot fr>)
Originally committed as revision 12302 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2004-04-26 19:38:17 +00:00
Alex Beregszaszi
f4ae934a3b avoid macro conflicts
Originally committed as revision 3076 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-26 09:43:55 +00:00
Alex Beregszaszi
d890d4aed1 disable hadamard for gcc below 3.3 - better fix awaited
Originally committed as revision 3075 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-26 08:51:56 +00:00
Alex Beregszaszi
16f5ef9c70 use the AVV macro from gcc_fixes.h instead ifdefs
Originally committed as revision 3074 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-26 08:48:28 +00:00
Alex Beregszaszi
d65f20b1ea 100l, and another one because it boils out with ICE under gcc 3.2.3
Originally committed as revision 3073 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-26 08:30:56 +00:00
Mike Melanson
75b4f3c6d6 yes, that's nice...
Originally committed as revision 3072 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-26 00:33:59 +00:00
Mike Melanson
116824d0aa reorganize and simplify the VP3 IDCT stuff
Originally committed as revision 3071 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-26 00:20:29 +00:00
Michael Niedermayer
4ea4b27469 lmin/lmax
Originally committed as revision 3070 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-25 19:43:01 +00:00
Michael Niedermayer
3c0da30c01 fix decoding with quant matrixes which contain elements <16
Originally committed as revision 3069 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-25 19:03:35 +00:00
Michael Niedermayer
49f3806dd8 rv10 decoding fix
Originally committed as revision 3068 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-25 16:14:13 +00:00
Michael Niedermayer
7aae316869 ring buffer fix by (Luca Abeni <lucabe72 at email dot it>)
Originally committed as revision 3067 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-25 13:30:21 +00:00
Mike Melanson
92a69cf868 move __align16 some place where non-MMX machines can see it
Originally committed as revision 3066 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-25 04:06:09 +00:00
Mike Melanson
6186b94c13 hush...
Originally committed as revision 3065 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-25 03:38:30 +00:00
Mike Melanson
38acbc3cb9 hook up support for SSE2-optimized VP3 IDCT
Originally committed as revision 3064 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-25 03:33:30 +00:00
Mike Melanson
78a16bfec6 add selected SSE2 ASM macros
Originally committed as revision 3063 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-25 03:30:19 +00:00
Mike Melanson
5f9379007c SSE2-optimized variant of VP3 IDCT
Originally committed as revision 3062 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-25 03:29:10 +00:00
Mike Melanson
daae869903 correct MMX-optimized variant of VP3 IDCT, with comments (thank you
Perl!)

Originally committed as revision 3061 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-25 03:26:24 +00:00
Michael Niedermayer
f20f8a8b0b support reusing mb types and field select values of the source file, but use motion vectors just as additional predictors
minor cleanup
segfault fix

Originally committed as revision 3060 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-25 02:09:47 +00:00
Mike Melanson
7e56cd927b add the minimal documentation to make this decoder useful
Originally committed as revision 3059 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-24 19:30:49 +00:00
James Morrison
0f12310fe2 License change and cpu detection patch by (James Morrison <ja2morri at csclub dot uwaterloo dot ca>)
Originally committed as revision 3058 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-24 15:23:50 +00:00
James Morrison
bb476ff367 vis detection patch by (James Morrison <ja2morri at csclub dot uwaterloo dot ca>)
Originally committed as revision 3057 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-24 15:16:23 +00:00
Michael Niedermayer
aab9cdcff8 qpel & SSE/SATD regression test
Originally committed as revision 3056 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-24 14:41:57 +00:00
Michael Niedermayer
5efe481a15 -qpel option
Originally committed as revision 3055 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-24 13:34:32 +00:00
Sascha Sommer
45d6de9258 nut files in cygwin patch by ("Sascha Sommer" <saschasommer at freenet dot de>)
Originally committed as revision 3054 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-24 13:10:35 +00:00
Sascha Sommer
2a86d50bd9 cygwin patch by ("Sascha Sommer" <saschasommer at freenet dot de>)
Originally committed as revision 3053 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-24 11:51:38 +00:00
Michael Niedermayer
aacc6615f8 sanity checks
Originally committed as revision 3052 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-24 03:43:43 +00:00
Michael Niedermayer
9964df63ee minor motion estimation cleanup
4mv motion vector passthrough

Originally committed as revision 3051 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-24 03:36:37 +00:00
Sascha Sommer
5c668f4610 libavcodec Cygwin compilation failure (II) patch by (Sascha Sommer)
Originally committed as revision 3050 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-24 03:02:40 +00:00
Roman Shaposhnik
cbdd9b5386 * Enabling UltraSparc stuff wit _SPARC64
Originally committed as revision 3049 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-24 02:02:54 +00:00
Michael Niedermayer
44f54ceb30 VIS optimized motion compensation code. by (David S. Miller <davem at redhat dot com>)
ported to ffmpeg by (ja2morri at csclub dot uwaterloo dot ca (james morrison))
useable under LGPL with their agreement

Originally committed as revision 3048 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-23 23:38:54 +00:00
Michael Niedermayer
1671083f55 sanity check
Originally committed as revision 3047 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-23 21:17:31 +00:00
Dmitry Borisov
df70de1f61 Mpeg start codes patch by ("Dmitry Borisov" <jbors at mail dot ru>)
Originally committed as revision 3046 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-23 21:02:01 +00:00
Timofei V. Bondarenko
2f0472ff81 me_range patch by ("Timofei V. Bondarenko" <timm at ipi dot ac dot ru>)
Originally committed as revision 3045 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-23 20:39:23 +00:00
Michael Niedermayer
c8470cc173 h264 nal decoding fix by (Laurent Aimar <fenrir at via dot ecp dot fr>)
Originally committed as revision 3044 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-23 19:44:27 +00:00
Laurent Aimar
693399ba55 h264 hurry up fix and a tiny cabac clean patch by (Laurent Aimar <fenrir at via dot ecp dot fr>)
Originally committed as revision 3043 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-23 19:36:52 +00:00
Michael Niedermayer
f4f3223ffd reuse motion vectors/mb types/field select values of the source video, if the SSE for a macroblock which is predicted with these values is below me_threshold
currently works only with mpeg1/2 source or some luck
may need -sync 0 as otherwise framedrops could lead to extreemly long b frame sequences

Originally committed as revision 3042 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-23 19:06:30 +00:00
Michael Niedermayer
10f3005f51 RSHIFT(x,0) fix
Originally committed as revision 3041 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-22 23:15:24 +00:00
Michael Niedermayer
25ef43bb28 corrupted field pictures segfault fix
Originally committed as revision 3040 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-22 21:41:08 +00:00
Michael Niedermayer
6c08a05743 10l (segfault fix)
Originally committed as revision 3039 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-22 20:56:29 +00:00
Romain Dolbeau
9007f51460 better hadamard8_diff16 in AltiVec, and more patch by (Romain Dolbeau <dolbeau at irisa dot fr>)
Originally committed as revision 3038 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-22 13:21:59 +00:00
Michael Niedermayer
2750b827b3 motion estimation cleanup
replace ugly macros by always_inline functions, that way its much more readable and flexible as always_inline can simply be removed while the macros couldnt be
about 0.5 % speedup with default parameters

Originally committed as revision 3037 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-22 03:31:29 +00:00
Michael Niedermayer
c4a1714826 hadamard8_diff8x8 in AltiVec, the 16bits edition by (Romain Dolbeau <dolbeau at irisa dot fr>)
Originally committed as revision 3036 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-20 17:05:12 +00:00