1
mirror of https://git.videolan.org/git/ffmpeg.git synced 2024-07-12 15:40:50 +02:00
Commit Graph

55 Commits

Author SHA1 Message Date
Loren Merritt
2cd340438a allow 2pass ratecontrol. also fixes psnr displayed by mencoder.
Originally committed as revision 4130 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-15 05:54:47 +00:00
Michael Niedermayer
cbb1d2b161 replace complicated pointer dereference + index stuff by pointers in unpack_coeffs()
Originally committed as revision 4129 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-14 20:54:03 +00:00
Michael Niedermayer
99cd59e58f minor optimization
Originally committed as revision 4128 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-14 20:30:08 +00:00
Michael Niedermayer
3c096ac791 optimizing unpack_coeffs()
Originally committed as revision 4127 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-14 18:33:26 +00:00
Yartrebo
86e59cc01d Snow segfault bug in revision 1.43 patch by (Yartrebo /yartrebo earthlink net/)
Originally committed as revision 4126 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-13 01:57:19 +00:00
Michael Niedermayer
f5a719287d rescale coefficients during IDWT, that way the lifting steps are much simpler and faster
Originally committed as revision 4119 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-10 14:21:53 +00:00
Michael Niedermayer
a0a74ad9f0 increasing precission of the quantization parameter
this is needed as the quantization stepsize for each subband is also in this precission and insignificant changes to the wavelet like scaling its coefficients slightly differently would lead to wildly variing PSNR and bitrate
note, a encoder could also simply choose to leave the least significant bits of the quantization parameters zero which would give the exact previous behaviour except a y very tiny number of bits in  the header

Originally committed as revision 4115 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-09 22:15:48 +00:00
Michael Niedermayer
c97de57c39 fix QROOT != 8
Originally committed as revision 4114 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-09 19:48:59 +00:00
Michael Niedermayer
538a38418c 10% faster unpack_coeffs
Originally committed as revision 4108 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-05 17:59:05 +00:00
Michael Niedermayer
3cff4572ce fixing lossless snow
Originally committed as revision 4107 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-05 09:37:43 +00:00
Michael Niedermayer
565a45ace3 merge vertical lifting steps and a little cleanup
Originally committed as revision 4104 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-04 21:35:18 +00:00
Yartrebo
a0d1931c0e Snow Slicing patch by (Yartrebo) yartrebo earthlink net
Originally committed as revision 4101 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-03 15:43:57 +00:00
Loren Merritt
f9e6ebf7f9 slice-based idwt (10% faster decoding)
Originally committed as revision 4040 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-15 21:05:34 +00:00
Michael Niedermayer
53513831da -strict -1 comment fix
Originally committed as revision 3976 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-24 16:39:03 +00:00
Michael Niedermayer
934982c4ac avoid buf_size == 0 checks in every decoder
Originally committed as revision 3872 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-23 18:09:06 +00:00
Matthieu Castet
d06c75a830 10l patch by (matthieu castet <castet.matthieu free fr>)
Originally committed as revision 3842 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-16 22:11:47 +00:00
Michael Niedermayer
0ecca7a49f various security fixes and precautionary checks
Originally committed as revision 3822 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-12 00:16:25 +00:00
Gianluigi Tiesi
8ff53f5b07 Disable encoders patch by (Gianluigi Tiesi <mplayer netfarm it>)
Originally committed as revision 3797 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-03 16:13:52 +00:00
Michael Niedermayer
2554db9b5f fix for build on IRIX by (Michel Bardiaux {mbardiaux peaktime be})
Originally committed as revision 3713 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-25 19:26:46 +00:00
Michael Niedermayer
2886975773 CABAC -> range coder
Originally committed as revision 3655 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-30 02:16:27 +00:00
Michael Niedermayer
d7d51926dd unused
Originally committed as revision 3502 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-24 18:12:43 +00:00
Michael Niedermayer
715a97f0c0 merge predict_plane() with DWTELEM->8bit conversation (21% faster)
Originally committed as revision 3499 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-23 12:20:41 +00:00
Michael Niedermayer
034aff036f 8 -> FRAC_BITS
Originally committed as revision 3489 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-21 23:10:10 +00:00
D Richard Felker III
aa25a462b6 consistent use of types patch by (D Richard Felker III <dalias at aerifal dot cx>)
Originally committed as revision 3480 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-19 14:43:09 +00:00
Loren Merritt
7c2425d239 simplify getsymbol patch by (Loren Merritt <lorenm at u dot washington dot edu>)
Originally committed as revision 3476 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-17 23:51:36 +00:00
Michael Niedermayer
bd368b565b per picture psnr
Originally committed as revision 3465 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-15 01:55:04 +00:00
Michael Niedermayer
d92b58073e 100l (forgot to set the 8x8 mc functions, so ME did use the mpeg ones ...)
Originally committed as revision 3456 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-12 23:09:54 +00:00
Michael Niedermayer
ec69758781 use h264 MC code if possible
50% faster predict_plane() if mmx2/3dnow is available
0.1% bitrate increase

Originally committed as revision 3455 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-12 21:32:36 +00:00
Michael Niedermayer
3924dac4c8 use pointer arithmetic in mc_block(), 25% faster
Originally committed as revision 3452 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-12 10:51:02 +00:00
Michael Niedermayer
ff158dc95d 20% faster predict_plane()
moion vector max/min fix

Originally committed as revision 3434 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-05 21:46:16 +00:00
Michael Niedermayer
19aa028dc5 10l (keyframes and context resets)
Originally committed as revision 3426 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-31 16:28:49 +00:00
Michael Niedermayer
39c61bbbd3 cleanup
Originally committed as revision 3425 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-28 14:24:48 +00:00
Michael Niedermayer
fff6d4ea4e 10l
more benchmarking code
inline

Originally committed as revision 3424 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-28 14:08:50 +00:00
Michael Niedermayer
ea7d9cd4bc merge decode_subband() and dequantize()
Originally committed as revision 3422 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-27 21:16:51 +00:00
Michael Niedermayer
ff76515933 11% faster decode_subband()
Originally committed as revision 3421 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-27 20:33:16 +00:00
Michael Niedermayer
0cea8a037c 5% faster decode_subband()
a little cleanup

Originally committed as revision 3420 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-27 20:15:32 +00:00
Michael Niedermayer
7b49c30974 46% faster decode_subband()
Originally committed as revision 3419 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-27 19:52:32 +00:00
Michael Niedermayer
3c1adccd1c 50% faster decode_subband()
Originally committed as revision 3418 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-27 01:06:58 +00:00
Michael Niedermayer
155ec6edf8 quad tree based motion compensation (currently only 16x16 & 8x8 OBMC blocks, but can be extended to other block sizes easily)
different intra block coding (previous was just an ugly hack)
1.8% bitrate reduction -0.01PSNR (foreman@352x288 qscale=8)
1.5% bitrate reduction +0.05PSNR (foreman@352x288 qscale=1)

Originally committed as revision 3416 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-26 20:04:54 +00:00
Michael Niedermayer
64886072f5 edge bugfix
1-1.3% lower bitrate and +0.01 PSNR (foremen@352x288 qscale=1,8)

Originally committed as revision 3414 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-25 00:26:01 +00:00
Michael Niedermayer
46c281e8c1 cleanup
Originally committed as revision 3377 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-03 02:34:50 +00:00
Michael Niedermayer
93fbdb5ac5 lossless support
Originally committed as revision 3374 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-02 19:09:28 +00:00
Michael Niedermayer
3bb9f096d4 cleanup
Originally committed as revision 3373 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-02 18:01:03 +00:00
Michael Niedermayer
0635cbfc32 improved magnitude coding, 0.2% lower bitrate (foreman@352x288 qscale 1 and 8)
Originally committed as revision 3372 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-02 17:53:57 +00:00
Michael Niedermayer
bc68bfdde0 cleanup
Originally committed as revision 3367 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-02 01:06:55 +00:00
Michael Niedermayer
4f4e963383 various subband encoders (all either worse or complicated so they are commented out)
different 0-context encoding, 1.2% lower bitrate (foreman@352x288 qscale=8) no significant change at qscale=1

Originally committed as revision 3366 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-02 01:03:52 +00:00
Michael Niedermayer
620ab797f0 1/0 fix
Originally committed as revision 3357 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-28 01:35:29 +00:00
Michael Niedermayer
2ff9ff5bdf dont segfault without -strict -1
Originally committed as revision 3356 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-28 00:09:03 +00:00
Michael Niedermayer
da66b6313e optimize quantizaton (about 3x faster)
further opt is easily possible but could lead to overflows depening upon coefficient range, so this wont be done yet as it would make the code somewhat less flexible

Originally committed as revision 3354 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-27 17:38:53 +00:00
Michael Niedermayer
a8d73e56e6 cleanup
remove ugly and slow vertical scaning code
0.1% bitrate increase (foreman@352x288 qp=1)
0.3% bitrate increase (foreman@352x288 qp=8)

Originally committed as revision 3353 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-27 17:02:31 +00:00